action.scss
2.12 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
@import '/style/common.wxss';
.buy_car_wrapper {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: white;
height: 96rpx;
z-index: 10;
// .desc {
// height: 48rpx;
// background: #FFEBE6;
// display: flex;
// align-items: center;
// box-sizing: border-box;
// padding-left: 12rpx;
// font-weight: 400;
// font-size: 24rpx;
// color: #FF6038;
// }
.buy_action {
display: flex;
align-items: center;
margin-top: 8rpx;
position: relative;
.buy_bag {
position: relative;
margin-right: 20rpx;
.icon {
width: 120rpx;
height: 80rpx;
}
.count {
position: absolute;
right: -4rpx;
top: 1rpx;
width: 28rpx;
height: 28rpx;
background: #F25544;
border-radius: 50%;
font-size: 20rpx;
color: #FFFFFF;
text-align: center;
}
}
.buy_btn {
width: 208rpx;
height: 72rpx;
background: #FF6038;
border-radius: 40rpx;
font-weight: 500;
font-size: 30rpx;
color: #FFFFFF;
position: absolute;
right: 24rpx;
top: 50%;
transform: translateY(-50%);
}
}
}
.red_price {
display: table-cell;
vertical-align: bottom;
font-size: 38rpx;
color: #FC5B32;
font-weight: 500;
.unit {
font-size: 22rpx;
}
}
.grey_price {
display: table-cell;
vertical-align: bottom;
color: #858a94;
font-size: 24rpx;
font-weight: 400;
text-decoration: line-through;
line-height: 38rpx;
}
.btnText {
font-weight: 400;
font-size: 20rpx;
color: #FC5B32;
margin-left: 12rpx;
padding-top: 8rpx;
.up-icon {
width: 28rpx;
height: 28rpx;
}
}
.flex_cc {
display: flex;
align-items: center;
justify-content: center;
}