hongBao.wxss
2.08 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
/* packageA//pages/hongBao/hongBao.wxss */
page {
background: url('https://mshopimg.yolipai.net/miniapp/images/redmoney/hongbao_bg.jpg') center top;
background-size: 100% auto;
}
.hongBao-container {
padding: 20rpx;
}
.btn-container {
padding-top: 60rpx;
padding-bottom: 60rpx;
-webkit-animation: free_download 600ms linear alternate infinite;
animation: free_download 600ms linear alternate infinite;
}
@-webkit-keyframes free_download{
0% {-webkit-transform:scale(0.9);}
100% {-webkit-transform:scale(1.1);}
}
@keyframes free_download{
0% {transform:scale(0.9);}
100% {transform:scale(1.1);}
}
.countdown-container {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 688rpx;
background: url('https://mshopimg.yolipai.net/miniapp/images/redmoney/indexbot.png') no-repeat left bottom;
background-size: 100% auto;
text-align: center;
}
.countdown {
display: flex;
justify-content: space-around;
padding: 200rpx 160rpx 0;
}
.countdown-item {
background: url('https://mshopimg.yolipai.net/miniapp/images/redmoney/timebox.png') no-repeat;
background-size: 100% 100%;
width: 90rpx;
height: 100rpx;
line-height: 120rpx;
color: white;
}
.btn {
width: 100%;
height: 400rpx;
}
.countdown-txt {
color: #ff6768;
text-align: center;
padding-top: 120rpx;
font-size: 36rpx;
font-weight: bold;
}
.popup-container {
position: fixed;
width: 100%;
height: 100%;
top: 0;
background-color: rgba(0,0,0,.7);
}
.popup {
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.btn-img {
width: 200rpx;
height: 50rpx;
}
.amount-container {
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-55%);
}
.amount {
color: #fff005;
font-size: 68rpx;
text-align: center;
padding-top: 10rpx;
padding-bottom: 20rpx;
}
.none,
.see {
position: absolute;
font-size: 26rpx;
color: white;
left: 50%;
transform: translateX(-60%);
}
.none {
font-size: 20rpx;
top: 36%;
margin-left: 55rpx;
}
.see {
top: 82%;
left: 50%;
transform: translateX(-58%);
}
.late {
font-size: 38;
color: #fff005;
padding-top: 40rpx;
}