Coupon.scss
2.43 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
.box {
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
z-index: 102;
background-color: rgba($color: #000000, $alpha: .5);
.flex {
display: flex;
align-items: center;
}
.content {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 590rpx;
height: 628rpx;
background-image: linear-gradient(149deg, #FFC296 4%, #FFEED0 47%, #FFF0E6 100%);
box-shadow: 0 0 48rpx 4rpx #fff08ab3;
border-radius: 44rpx;
display: flex;
flex-direction: column;
align-items: center;
.icon-title {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: -230rpx;
width: 438rpx;
height: 76rpx;
}
.card {
flex-direction: column;
width: 100%;
.content-icon {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 228rpx;
height: 228rpx;
top: -120rpx;
}
.name {
font-weight: 600;
font-size: 40rpx;
color: #863e00;
letter-spacing: 0;
width: 95%;
padding: 114rpx 40rpx 8rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.describe {
height: 52rpx;
background: #f6dcaa;
border-radius: 26rpx;
padding: 0 32rpx;
font-size: 28rpx;
color: #985e23;
text-align: center;
}
.price {
font-weight: 700;
font-size: 116rpx;
color: #f32226;
display: flex;
align-items: baseline;
line-height: 134rpx;
.unit {
font-weight: 600;
font-size: 68rpx;
color: #f32226;
}
}
.tips {
font-weight: 600;
font-size: 40rpx;
color: #F32226;
}
.btn {
width: 312rpx;
height: 80rpx;
background-image: linear-gradient(88deg, #FF444D 16%, #FF5BA8 90%);
border: 2rpx solid #FF7887;
box-shadow: inset 0 4rpx 24rpx 0 #ffffff80;
border-radius: 50rpx;
font-weight: 600;
font-size: 40rpx;
color: #FFFFFF;
justify-content: center;
margin: 22rpx 0;
}
.time {
font-size: 28rpx;
color: #8B7E7C;
}
}
}
.close {
width: 72rpx;
height: 72rpx;
position: absolute;
left: 50%;
bottom: -132rpx;
transform: translateX(-50%);
}
}