Coupon.wxss
1.24 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
/* components/Coupon/Coupon.wxss */
.coupon-box {
width: calc(100% + var(--fontSize64));
height: 100%;
margin-left: calc(-1 * var(--fontSize32));
}
.coupon {
height: calc(100% - var(--fontSize104));
}
.box {
border-bottom: var(--fontSize2) solid #EBEDF0;
padding-left: var(--fontSize72);
}
.title {
padding: var(--fontSize18) 0 0 var(--fontSize32);
font-size: var(--fontSize32);
color: #333333;
height: var(--fontSize88);
box-sizing: border-box;
}
.text-center {
text-align: center;
}
.item {
border-top: var(--fontSize2) solid #EBEDF0;
height: var(--fontSize84);
display: flex;
align-items: center;
font-size: var(--fontSize28);
color: #888888;
position: relative;
}
.item.disabled {
color: #ccc;
}
.text-hide {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item .iconCoupon {
display: none;
width: var(--fontSize32);
height: var(--fontSize32);
position: absolute;
top: 50%;
left: calc(-1 * var(--fontSize52));
transform: translateY(-50%);
}
.item.active {
color: #347BFF;
}
.item.active .iconCoupon {
display: block;
}
.nothing {
padding: var(--fontSize100);
text-align: center;
color: #999;
}