diy_luckyGo.wxss
1.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
@import '../../app.wxss';
.s_it {
width: 100%;
display: flex;
background-color: white;
}
swiper {
height: 450rpx;
}
.nav {
width: calc(100% / 3);
box-sizing: border-box;
}
.arrow-r {
width: 30rpx;
height: 30rpx;
}
.icon-luck {
color: #ED6064;
margin-right: 4rpx;
}
.list-item {
background-color: white;
padding: 20rpx;
}
.img-container {
width: 220rpx;
height: 220rpx;
border-radius: 14rpx;
overflow: hidden;
flex-shrink: 0;
position: relative;
}
.img-container::before {
content: '幸运购';
position: absolute;
left: 0;
top: 0;
padding: 4rpx;
background-color: rgba(255,103,103,.7);
color: white;
font-size: 22rpx;
border-radius: 0 0 14rpx 0;
}
.img-container.row::before {
content: attr(data-content);
position: absolute;
left: 0;
top: 0;
padding: 4rpx;
background-color: rgba(255,103,103,.7);
color: white;
font-size: 22rpx;
border-radius: 0 0 14rpx 0;
}
.name::before {
content: attr(data-content);
background-color: #FF6768;
color: white;
font-size: 24rpx;
padding-left: 10rpx;
padding-right: 10rpx;
border-radius: 20rpx;
margin-right: 10rpx;
}
.name.clearbadge::before {
content: none;
}
.rmb::before {
content: '¥';
font-size: 24rpx;
}
.del {
text-decoration: line-through;
}
.btn {
background-color: #FF6768;
border-radius: 20rpx;
padding-left:20rpx;
padding-right: 20rpx;
color: white;
}
.name {
height: 88rpx;
}
.no-more {
font-size: 24rpx;
line-height: 2;
text-align: center;
padding-top: 20rpx;
padding-bottom: 20rpx;
color: #ccc;
}
.progress {
position: relative;
}
.progress::before {
position: absolute;
width: 100%;
content: attr(data-content);
font-size: 20rpx;
color: white;
text-align: center;
}
.btn.gray {
background-color: #ccc;
}
.img-container.active::after {
content: '已抢光';
position: absolute;
font-size: 24rpx;
color: white;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
background-color: rgba(0,0,0,.4);
}