1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
| <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>
|
| <script>
| export default {
| data() {
| return {
| current: 0,
| curlist: ['待处理', '已完成'],
| }
| },
| methods: {
| changeCurrent(index) {
| this.current = index
| },
| }
| }
| </script>
|
| <style>
|
| </style>
|
|