创作者微信小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
835 B

<template>
<view>
<uni-segmented-control :current="statusCurrent" :values="statusList" :style-type="styleType"
:active-color="activeColor" @clickItem="onClickStatus" />
<uni-segmented-control :current="ttypeCurrent" :values="typeList" :style-type="styleType"
:active-color="activeColor" @clickItem="onClickType" />
</view>
</template>
<script>
export default {
data() {
return {
statusCurrent: 0,
activeColor: '#007aff',
styleType: 'text',
statusList: ['已上架', '已下架','待审核','审核通过','审核未通过'],
typeList:['头像','Gif动图','手机壁纸','朋友圈','表情包','iwatch'],
}
},
methods: {
onClickStatus(e1){
console.log('statusE',e1)
},
onClickType(e2){
console.log('typeE',e2)
},
}
}
</script>
<style>
</style>