assetMgtH5/pages/approval/approval.vue
@@ -1,6 +1,21 @@ <template> <view> <view class=""> <cu-custom bgColor="bg-gradual-blue" > <!-- <block slot="backText">返回</block> --> <block slot="content">我的审批</block> </cu-custom> </view> <view class=""> <view class=""> <u-subsection :list="curlist" mode="button" :current="current" @change="changeCurrent" ></u-subsection> </view> </view> </view> </template> @@ -8,11 +23,14 @@ export default { data() { return { current: 0, curlist: ['待处理', '已完成'], } }, methods: { changeCurrent(index) { this.current = index }, } } </script>