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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
| <template>
| <view class="main_app">
| <view class="title">
| <view class="icon"></view>
| <view class="name">安泰物流卸货月台</view>
| </view>
| <div class="data_list">
| <div
| class="item"
| :class="{ active: i == 1 }"
| v-for="(item, i) in 7"
| :key="i"
| >
| {{ i }}号月台
| </div>
| </div>
| </view>
| </template>
|
| <script>
| export default {
| data() {
| return {
| }
| },
| onLoad() {
|
| },
| methods: {
|
| }
| }
| </script>
| <style lang="scss">
| page {
| background-color: #f5f9f8;
| }
| .main_app {
| padding: 0rpx;
| .data_list {
| display: flex;
| flex-wrap: wrap;
| margin-bottom: 20rpx;
| padding: 30rpx;
| background-color: #fff;
| .item {
| width: 210rpx;
| height: 80rpx;
| background: #f3f3f3;
| border-radius: 40rpx;
| display: flex;
| justify-content: center;
| align-items: center;
| margin-bottom: 20rpx;
| font-size: 30rpx;
| margin-right: 30rpx;
| &:nth-of-type(3n){
| margin-right: 0;
| }
| }
| .active {
| background: $uni-color-primary;
| color: #fff;
| box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(39, 155, 170, 0.4);
| }
| }
| .title {
| display: flex;
| align-items: center;
| padding: 30rpx 30rpx 0;
| background-color: #fff;
| .icon {
| width: 22rpx;
| height: 22rpx;
| margin-right: 16rpx;
| border: 6rpx solid $uni-color-primary;
| border-radius: 50%;
| }
| .name {
| font-weight: 600;
| font-size: 34rpx;
| color: #111111;
| }
| }
| }
| </style>
|
|