chongzhi.wxss
1.7 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/* packageA/pages/chongzhi/chongzhi.wxss */
@charset "utf-8";
page {
/* background-color: #FA437E; */
height: 100%;
}
.container {
display: block;
}
.banner-container {
height: 400rpx;
}
.title {
background-color: white;
position: relative;
}
.title::after {
content: '';
position: absolute;
width: 2rpx;
height: 50%;
background-color: #f5f5f5;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
}
.t-item {
width: 50%;
text-align: center;
line-height: 100rpx;
font-size: 30rpx;
position: relative;
}
.t-item.active {
color: #FE6867;
font-weight: bold;
}
.t-item.active::after {
content: '';
position: absolute;
width: 10%;
height: 4rpx;
background-color: #FE6867;
bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
}
.list {
padding: 0 20rpx;
overflow: hidden;
}
.l-item {
padding: 20rpx;
background-color: white;
border-radius: 16rpx;
margin-top: 20rpx;
}
.img-block {
display: block;
width: 100%;
height: 100%;
background-color: #ccc;
}
.top {
padding-bottom: 20rpx;
border-bottom: 2rpx solid #f2f2f2;
}
.bottom {
padding-top: 20rpx;
text-align: right;
}
.left {
width: 200rpx;
height: 200rpx;
flex-shrink: 0;
padding-right: 20rpx;
}
.right {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.price {
text-decoration:line-through;
}
.date {
padding-top: 10rpx;
color: #FE6867;
}
.btn {
display: inline-block;
background-color: #FE6867;
color: white;
padding: 20rpx 60rpx;
font-size: 24rpx;
border-radius: 8rpx;
}
.btn.details{
margin-left: 8rpx; background-color: #ff9a00;
}
.nodata {
text-align: center;
/* background-color: #f2f2f2; */
}
.no-more {
line-height: 3;
color: #ccc;
font-size: 26rpx;
}
.t-c {
text-align: center;
}