boost.wxss
1.15 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
/* components/tips/boost.wxss */
@import "../../app.wxss";
@keyframes discountShow
{
from {bottom: -738rpx;}
to {bottom: 0rpx;}
}
@keyframes discountHide
{
from {bottom: 0rpx;}
to {bottom: -738rpx;}
}
.boost{
width:100%;
height:738rpx;
background:rgba(255,255,255,1);
border-radius:40rpx 40rpx 0rpx 0rpx;
padding: 40rpx 42rpx 0;
box-sizing: border-box;
position: fixed;
bottom: 0;
}
.boost.discountShow{
animation: discountShow 0.6s;
}
.boost.discountHide{
animation: discountHide 0.6s;
bottom: -738rpx;
}
.title{
height:42rpx;
font-size:30rpx;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(53,53,53,1);
line-height:42rpx;
}
.close{
width:28rpx;
height:29rpx;
background-size: 100% 100%;
background-image: url("http://nosqn.colorcun.com/sellerbaobao/close.png");
}
.content{
margin-top: 80rpx;
}
.swiper-image{
width:468rpx;
height:290rpx;
}
.swiper-txt{
height:44rpx;
font-size:32rpx;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(53,53,53,1);
line-height:44rpx;
margin-top: 60rpx;
}