index.wxss
3.96 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
/* stylelint-disable-next-line */
page {
background-color: #ebebeb;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
background-color: #ebebeb;
}
/* 顶部TAB切换 START */
.tab-bar-container {
display: flex;
position: fixed;
left: 0;
top: 0;
flex-direction: row;
align-items: center;
width: 100%;
height: 88rpx;
background-color: #fff;
border-bottom: 1px solid #e0e0e0;
}
.tab-bar-item {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 33.3%;
height: 40rpx;
text-align: center;
}
.tab-bar-item text {
font-family: PingFang-SC-Medium;
font-weight: bold;
margin-left: 4rpx;
font-size: 28rpx;
color: #B0B0B0 ;
}
.tab-bar-item text.selected {
color: #444444;
}
.tab-bar-item image {
height: 30rpx;
width: 30rpx;
}
.tab-bar-item:nth-child(n + 2) {
height: 30rpx;
border-left: 2rpx solid #e0e0e0;
}
/* END */
/* 限定发售列表 START */
.list-wrapper {
width: 100%;
}
/* 顶部底部留出的空白区 */
.list-wrapper .list-top-blank,
.list-wrapper .list-foot-blank {
width: 100%;
height: 88rpx;
text-align: center;
line-height: 88rpx;
font-size: 30rpx;
color: #ccc;
}
/* 列表外层容器 */
.list-wrapper .list-container {
display: flex;
width: 100%;
flex-direction: column;
align-items: center;
}
/* 列表元素容器 */
.list-wrapper .list-container .item-container {
display: flex;
flex-direction: column;
width: 750rpx;
margin-bottom: 20rpx;
position: relative;
}
/* 列表item大图 */
.item-container image {
width: 100%;
height: 470rpx;
margin: 0;
padding: 0;
}
.list-wrapper .list-container .rank {
position: absolute;
width: 90rpx;
height: 38rpx;
top: 30rpx;
left: 30rpx;
}
/* 列表item文字及价格等信息容器 */
.item-container .item-content {
display: flex;
width: 100%;
flex-direction: column;
background-color: #fff;
line-height: 42rpx;
font-size: 30rpx;
}
/* 列表item标题文字 */
.item-content .item-name {
padding: 36rpx 30rpx 0rpx 40rpx;
margin-bottom: 22rpx;
font-family: PingFang-SC-Regular;
font-size: 14px;
color: #222222;
letter-spacing: -0.34px;
/* 以下样式为控制 行数超过2行后显示... */
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
/* 价格及时间容器 */
.item-content .item-info {
display: flex;
width: 100%;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
/* 价格 */
.item-info .item-price {
padding: 0 0 10rpx 40rpx;
font-family: PingFang-SC-Semibold;
font-weight: bolder;
font-size: 18px;
color: #D0021B;
letter-spacing: -0.43px;
}
/* 发售时间 */
.item-info .item-date {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background-color: white;
line-height: 40rpx;
width: 220rpx;
height: 60rpx;
border: 1rpx solid #222222;
margin-right: 30rpx;
margin-bottom: 20rpx;
}
/* 发售时间内文字 */
.item-info .item-date text {
/* padding: 0 14rpx 0 2rpx; */
font-family: PingFang-SC-Bold;
font-weight: bold;
font-size: 14px;
color: #222222;
letter-spacing: 0;
}
/* END */
.rule-bg {
opacity: 0.6;
background-color: #000000;
border-radius: 50%;
width: 92rpx;
height: 92rpx;
right: 40rpx;
bottom: 170rpx;
float: right;
position: fixed;
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
}
.rule-text {
width: 52rpx;
font-family: PingFang-SC-Regular;
font-size: 13px;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 16px;
}
.my-code-button {
position: fixed;
bottom: 0;
width: 100%;
height: 88rpx;
text-align: center;
font-size: 30rpx;
line-height: 88rpx;
background-color: #fff;
border-top: 1rpx solid #E0E0E0;
}