discount.wxss
1.75 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
/* components/reserve/discount.wxss */
@import "../../app.wxss";
.discount{
position: fixed;
bottom: 0;
background-color: #ffffff;
border-radius: 10rpx 10rpx 0rpx 0rpx;
color: #353535;
width: 90%;
padding: 30rpx 5%;
animation: discountShow 0.3s;
}
.discount.discountHide{
animation: discountHide 0.3s;
}
.discount view{
background-size: 100% 100%;
}
.discount-name{
font-size: 32rpx;
height: 44rpx;
line-height: 44rpx;
width: 100%;
position: relative;
text-align: center;
}
.discount-name .close{
background-image: url("http://nosqn.colorcun.com/reserve/images/%E5%85%B3%20%20%E9%97%AD.png");
width: 32rpx;
height: 32rpx;
position: absolute;
right:0;
top:6rpx;
}
.slogan{
background-color: #FEF1EA;
height: 70rpx;
line-height: 70rpx;
font-size: 28rpx;
color:#C28C56;
margin-top: 30rpx;
text-align: center;
border-radius: 6rpx;
}
.list{
max-height: 730rpx;
}
.item{
width: 100%;
max-width: 690rpx;
height: 190rpx;
background-image: url("http://nosqn.colorcun.com/reserve/images/%E4%BC%98%E6%83%A0%E5%88%B8.png");
margin-top: 40rpx;
}
.item .left{
width: 220rpx;
height: 190rpx;
color: #fff;
}
.item .right{
max-width: 300rpx;
height: 190rpx;
margin-left: 50rpx;
font-size: 28rpx;
}
.item .info{
font-size: 24rpx;
height: 34rpx;
line-height: 34rpx;
margin-top: 12rpx;
}
.item .block{
height: 52rpx;
align-items: flex-end;
}
.item .min-font{
font-size: 32rpx;
height: 32rpx;
line-height: 32rpx;
}
.item .max-font{
font-size: 52rpx;
height: 52rpx;
line-height: 52rpx;
}
.item .flx{
height: 52rpx;
line-height: 52rpx;
width: 10rpx;
}
@keyframes discountShow
{
from {bottom: -870rpx;}
to {bottom: 0rpx;}
}
@keyframes discountHide
{
from {height: 730rpx;}
to {height: 0rpx;}
}