index.wxss
2.92 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
/* 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 {
margin-left: 4rpx;
font-size: 28rpx;
color: #afafaf;
}
.tab-bar-item text.selected {
color: #000;
}
.tab-bar-item image {
height: 30rpx;
width: 30rpx;
}
.tab-bar-item:nth-child(n + 2) {
border-left: 2rpx solid #afafaf;
}
/* 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: 690rpx;
margin-top: 30rpx;
margin-bottom: 10rpx;
box-shadow: 0 0 10rpx #e0e0e0;
}
/* 列表item大图 */
.item-container image {
width: 100%;
height: 432rpx;
border-radius: 20rpx 20rpx 0 0;
margin: 0;
padding: 0;
}
/* 列表item文字及价格等信息容器 */
.item-container .item-content {
display: flex;
width: 100%;
flex-direction: column;
border-radius: 0 0 20rpx 20rpx;
background-color: #fff;
line-height: 42rpx;
font-size: 30rpx;
}
/* 列表item标题文字 */
.item-content .item-name {
padding: 20rpx 30rpx 22rpx 30rpx;
}
/* 价格及时间容器 */
.item-content .item-info {
display: flex;
width: 100%;
flex-direction: row;
justify-content: space-between;
}
/* 价格 */
.item-info .item-price {
padding: 0 0 40rpx 30rpx;
}
/* 发售时间 */
.item-info .item-date {
display: flex;
flex-direction: row;
background-color: #444;
line-height: 40rpx;
height: 40rpx;
border-radius: 20rpx;
margin-right: 30rpx;
}
/* 发售时间内文字 */
.item-info .item-date text {
color: #fff;
font-size: 24rpx;
padding: 0 14rpx 0 2rpx;
}
/* 发售时间小图标 */
.item-info .item-date image {
width: 24rpx;
height: 24rpx;
padding: 8rpx;
}
/* END */
.my-code-button {
position: fixed;
bottom: 0;
width: 100%;
height: 88rpx;
text-align: center;
font-size: 30rpx;
line-height: 88rpx;
background-color: #fff;
}