coupon-select.wxss
3.01 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
.coupon-use-select .mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0.4;
z-index: 999;
background: #000000;
}
.coupon-use-select .content {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 960rpx;
z-index: 1000;
background-color: #F5F5F5;
}
.coupon-use-select .coupon-scroll {
overflow-y: scroll;
height: 720rpx;
padding-bottom: 120rpx;
text-align: center;
font-size: 0;
}
.coupon-use-select .empty {
padding-top: 316rpx;
text-align: center;
font-size: 28px;
color: #CCCCCC;
letter-spacing: 0;
height: 720rpx;
background-color: #ffffff;
}
.coupon-use-select .header {
position: relative;
height: 120rpx;
background-color: #ffffff;
padding-left: 40rpx;
line-height: 120rpx;
font-size: 32px;
color: #000000;
letter-spacing: 0;
font-weight: 500;
}
.coupon-use-select .header .close {
width: 40rpx;
height: 40rpx;
float: right;
margin-top: 40rpx;
margin-right: 40rpx;
}
.coupon-use-select .coupon-item {
display: inline-block;
position: relative;
height: 200rpx;
width: 720rpx;
background: url("https://img10.static.yhbimg.com/yhb-img01/2019/03/05/20/01b68a5d4f22945fe5afcf0f768538cfd3.png") no-repeat;
background-size: 720rpx 200rpx;
}
.coupon-use-select .coupon-item:first-child {
margin-top: 10rpx;
}
.coupon-use-select .coupon-item:last-child {
margin-bottom: 10rpx;
}
.coupon-use-select .coupon-item .left {
position: absolute;
top: 0;
left: 10rpx;
height: 200rpx;
width: 220rpx;
padding-top: 38rpx;
text-align: center;
box-sizing: border-box;
}
.coupon-use-select .coupon-item .left .value {
display: block;
font-weight: bold;
font-size: 72px;
color: #002B47;
letter-spacing: 0;
text-align: center;
line-height: 1;
}
.coupon-use-select .coupon-item .left .condition {
display: block;
font-size: 24px;
color: #002B47;
letter-spacing: 0;
text-align: center;
line-height: 1;
margin-top: 16rpx;
}
.coupon-use-select .coupon-item .right {
padding-top: 30rpx;
padding-left: 240rpx;
padding-right: 80rpx;
box-sizing: border-box;
}
.coupon-use-select .coupon-item .right .name {
display: block;
font-size: 24px;
color: #222222;
letter-spacing: 0;
line-height: 30rpx;
word-break: break-all;
overflow : hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
text-align: left;
}
.coupon-use-select .coupon-item .right .period {
display: block;
font-size: 22px;
color: #999999;
letter-spacing: 0;
margin-top: 26rpx;
text-align: left;
}
.coupon-use-select .coupon-item .right .check {
position: absolute;
top: 50%;
right: 50rpx;
width: 48rpx;
height: 48rpx;
margin-top: -24rpx;
border: 2rpx solid #cccccc;
border-radius: 48rpx;
box-sizing: border-box;
}
.coupon-use-select .confirm {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 120rpx;
font-size: 32px;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 120rpx;
background: #002B47;
}