_brand-coupon.css
1.89 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
/*
商品品牌券 CSS
*/
.good-detail-page {
.coupon-drawer {
&.open .coupon-drawer-mask {
display: block;
}
&.open .coupon-drawer-dialog {
bottom: 0;
}
}
.coupon-drawer-mask {
display: none;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
background-color: rgba(0, 0, 0, 0.6);
}
.coupon-drawer-dialog {
position: fixed;
right: 0;
bottom: -100%;
left: 0;
z-index: 11;
transition: all 0.3s;
background-color: #fff;
.title {
text-align: center;
font-size: 28px;
line-height: 88px;
border-bottom: 1px solid #e0e0e0;
}
.body {
height: 540px;
border-bottom: 20px solid #fff;
overflow: auto;
}
}
.coupon {
min-height: 165px;
margin-left: 30px;
margin-right: 30px;
padding-top: 30px;
padding-bottom: 15px;
border-bottom: 1px solid #e0e0e0;
&:last-of-type {
border-bottom: none;
}
}
.coupon-btn {
min-width: 130px;
height: 55px;
font-size: 28px;
background-color: #fff;
border-radius: 8px;
margin-top: 20px;
padding: 0;
color: #b0b0b0;
border: 1px solid #b0b0b0;
}
.coupon-btn-valid {
color: #d0021b;
border-color: #d0021b;
}
.coupon-intro {
overflow: hidden;
padding-right: 15px;
}
.coupon-price {
font-size: 52px;
line-height: 1;
color: #d0021b;
}
.coupon-desc {
font-size: 26px;
color: #444;
}
.coupon-time {
font-size: 18px;
color: #b0b0b0;
}
}
body.coupon-drawer-open {
overflow: hidden;
}