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
41
42
43
44
45
46
| <template>
| <view class="content">
| <uv-sticky>
| <uv-tabs
| lineColor="#4766FE"
| lineWidth="60"
| :activeStyle="{ color: '#333333',fontWeight: 'bold',transform: 'scale(1.05)'}"
| :inactiveStyle="{color: '#666666',transform: 'scale(1)'}"
| :list="list" class="full-width-tabs"></uv-tabs>
| </uv-sticky>
| </view>
| </template>
|
| <script>
| export default {
| name: 'orderForm',
| data() {
| return {
| list: [
| { name: '审核中' },
| { name: '待提现' },
| { name: '待还款' }
| ],
| activeTab: 'tab_1'
| }
| },
| methods: {}
| }
| </script>
|
| <style scoped>
| .full-width-tabs {
| display: flex;
| justify-content: space-between;
| width: 100%;
| }
|
| :deep(.uv-tabs__wrapper__nav__item) {
| flex: 1;
| text-align: center;
| }
|
| :deep(.uv-tabs__wrapper__nav) {
| width: 100%;
| }
| </style>
|
|