GoodsCoupon.scss
3.36 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
167
168
169
170
171
172
173
174
175
.page-total {
position: fixed;
left: 0;
top: 0;
z-index: 1000;
width: 100%;
height: 100%;
// background: rgba(0,0,0,0.3);
overflow-x: hidden;
overflow-y: auto;
}
/* 优惠券 */
.cu-dialog{
width: 100%;
height: 70%;
border-radius: 30rpx 30rpx 0 0 !important;
overflow: hidden;
.modal-title{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 80rpx;
text{
font-size: 26rpx;
color: #212121;
}
}
.tips{
display: flex;
align-items: center;
padding: 0 4%;
height: 60rpx;
color: #212121;
font-size: 24rpx;
}
.coupon-list{
padding: 0 4%;
margin: 10rpx auto;
.list{
position: relative;
display: flex;
align-items: center;
width: 100%;
height: 200rpx;
box-shadow: 0 0 14rpx rgba(0,0,0,0.1);
border-radius: 6rpx;
margin-bottom: 20rpx;
overflow: hidden;
.coupon-price{
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 30%;
height: 100%;
background-color: $base;
.discounts{
display: flex;
justify-content: center;
align-items: flex-end;
width: 100%;
.min{
color: #FFFFFF;
font-size: 32rpx;
font-weight: bold;
}
.max{
font-size: 48rpx;
color: #FFFFFF;
font-weight: bold;
}
}
.full-reduction{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 60rpx;
text{
font-size: 24rpx;
color: #FFFFFF;
}
}
.jag{
position: absolute;
top: 0;
left: -6rpx;
width: 6px;
height: 100%;
background-size: 10px 6px;
background-color: #fff;
background-position: 100% 35%;
background-image: linear-gradient(-45deg, $base 25%, transparent 25%, transparent),
linear-gradient(-135deg, $base 25%, transparent 25%, transparent),
linear-gradient(-45deg, transparent 75%, $base 75%),
linear-gradient(-135deg, transparent 75%, $base 75%);
}
}
.coupon-info{
width: 70%;
height: 90%;
padding: 0 4%;
.info-title{
display: flex;
width: 100%;
height: 100rpx;
.tag{
margin-right: 10rpx;
text{
padding: 4rpx 16rpx;
color: #FFFFFF;
background-color: $base;
font-size: 24rpx;
border-radius: 40rpx;
}
}
.title{
text{
font-size: 24rpx;
color: #212121;
}
}
}
.date-get{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 80rpx;
.date{
display: flex;
align-items: center;
text{
font-size: 24rpx;
color: #555555;
}
}
.get{
text{
padding: 10rpx 20rpx;
background-color: $base;
color: #FFFFFF;
font-size: 24rpx;
border-radius: 100rpx;
}
.use{
background-color: transparent;
border: 1px solid $base;
color: $base;
}
}
}
}
.use-status{
position: absolute;
right: -20rpx;
top: -25rpx;
z-index: 10;
width: 100rpx;
height: 100rpx;
border: 2rpx solid #C0C0C0;
border-radius: 100%;
text{
display: inline-block;
color: #C0C0C0;
font-size: 24rpx;
transform: rotate(45deg);
margin-top: 40rpx;
}
}
}
}
}