|
|
@ -1,6 +1,9 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view> |
|
|
<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> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
@ -8,11 +11,20 @@ |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
statusCurrent: 0, |
|
|
|
|
|
activeColor: '#007aff', |
|
|
|
|
|
styleType: 'text', |
|
|
|
|
|
statusList: ['已上架', '已下架','待审核','审核通过','审核未通过'], |
|
|
|
|
|
typeList:['头像','Gif动图','手机壁纸','朋友圈','表情包','iwatch'], |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
onClickStatus(e1){ |
|
|
|
|
|
console.log('statusE',e1) |
|
|
|
|
|
}, |
|
|
|
|
|
onClickType(e2){ |
|
|
|
|
|
console.log('typeE',e2) |
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|