MoneySavingTips.wxss
1.6 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
.saving-tips-box {
position: relative;
}
.save-title-box .text {
position: absolute;
top: 14rpx;
font-size: 36rpx;
color: #000000;
font-weight: 500;
margin-left: 20rpx;
}
.bg-box {
width: 200rpx;
height: 60rpx;
background: #d6e8fe;
/* 宽高background-image: linear-gradient(180deg, #d6e8fe 0%, #f8f8f8 100%); */
/*颜色*/
border-radius: 16rpx 16rpx 0 0;
/*设置圆角*/
transform: perspective(48rpx) scale(1.1, 1.3) rotateX(5deg);
/*镜头距离元素表面的位置为8px,x轴为1.1倍y轴为1.3倍,绕x轴旋转5度*/
transform-origin: bottom left;
/*bottomleft=leftbottom=0100%中心点偏移量*/
border: 1rpx solid #fff;
border-bottom: none;
}
.saving-img {
width: 690rpx;
height: 388rpx;
border-radius: 8rpx;
-webkit-border-radius: 8rpx;
-moz-border-radius: 8rpx;
-ms-border-radius: 8rpx;
-o-border-radius: 8rpx;
}
.img-top-box {
/* padding: 30rpx; */
height: 68rpx;
background-image: linear-gradient(180deg, #d6e8fe 0%, #f8f8f8 100%);
border-radius: 0 16rpx 0 0;
-webkit-border-radius: 0 16rpx 0 0;
-moz-border-radius: 0 16rpx 0 0;
-ms-border-radius: 0 16rpx 0 0;
-o-border-radius: 0 16rpx 0 0;
border-top: 1rpx solid #fff;
margin-top: -1rpx;
}
.img-box {
padding: 30rpx;
position: absolute;
top: 64rpx;
}
.img-item-box {
position: relative;
margin-bottom: 30rpx;
}
.viewer {
position: absolute;
top: 20rpx;
right: 28rpx;
/* width: 146rpx; */
height: 36rpx;
opacity: 0.3;
background: #000000;
border-radius: 18rpx;
font-size: 24rpx;
color: #ffffff;
line-height: 36rpx;
padding: 0 12rpx;
text-align: center;
}