buyDetails.wxss
1.25 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
@charset "utf-8";
.noMore {
padding: 20rpx;
color: #bbb;
text-align: center;
font-size: 22rpx;
}
.c-a4 {
color: #a4a4a4;
}
.c-red {
color: #FF6768;
}
page {
background-color: #f0f0f0;
}
.tab-title {
display: flex;
position: sticky;
background-color: white;
top: 0;
font-size: 30rpx;
z-index: 999;
}
.tab-title::after {
position: absolute;
content: '';
width: 2rpx;
height: 40%;
background-color: #f0f0f0;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
.tab-title-item {
flex: 1;
text-align: center;
padding-top: 20rpx;
padding-bottom: 20rpx;
position: relative;
}
.tab-title-item.active {
color: #FF6768;
font-weight: bold;
}
.tab-title-item::after {
position: absolute;
content: '';
left: 100%;
bottom: 0;
width: 0;
border-bottom: 2rpx solid #FF6768;
/* height: 3rpx; */
transition: 0.2s all linear;
}
.tab-title-item.active::after {
/* left: 100%; */
width: 100%;
left: 0;
/* background-color: #FF6768; */
/* transition-delay: 0.1s; */
}
.tab-title-item.active ~ .tab-title-item::after {
/* width: 100%; */
left: 0;
}
.list {
padding: 20rpx 20rpx 0 20rpx;
}
.item {
background-color: white;
border-radius: 8rpx;
overflow: hidden;
}
.item ~ .item {
margin-top: 20rpx;
}
.rmb::before {
content: '¥';
}