xiaoe_mp_npm 0.5.39 → 0.5.40-alpha2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +37 -0
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +25 -1
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +215 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +360 -36
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +83 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +118 -14
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +51 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +46 -2
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +32 -0
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +18 -2
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +54 -0
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +55 -3
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.scss +41 -0
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxss +35 -3
- package/miniprogram_dist/CouponList/components/CouponItem/index.js +83 -91
- package/miniprogram_dist/CouponList/components/CouponItem/index.scss +130 -132
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +624 -78
- package/miniprogram_dist/CouponList/couponColumn/index.scss +106 -0
- package/miniprogram_dist/CouponList/couponColumn/index.wxss +159 -33
- package/miniprogram_dist/GoodsItem/index.js +21 -3
- package/miniprogram_dist/GoodsItem/index.scss +323 -0
- package/miniprogram_dist/GoodsItem/index.wxml +1 -1
- package/miniprogram_dist/GoodsItem/index.wxss +630 -85
- package/miniprogram_dist/GoodsRecommend/index.scss +154 -0
- package/miniprogram_dist/GoodsRecommend/index.wxss +289 -33
- package/miniprogram_dist/LiveGoodsList/Header/index.scss +71 -0
- package/miniprogram_dist/LiveGoodsList/Header/index.wxss +102 -10
- package/miniprogram_dist/LiveGoodsList/index.js +8 -1
- package/miniprogram_dist/LiveGoodsList/index.scss +80 -0
- package/miniprogram_dist/LiveGoodsList/index.wxml +56 -33
- package/miniprogram_dist/LiveGoodsList/index.wxss +123 -19
- package/miniprogram_dist/PayModule/button/index.scss +37 -0
- package/miniprogram_dist/PayModule/button/index.wxss +32 -4
- package/miniprogram_dist/common/utils/index.js +9 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.scss +239 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.scss +319 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +594 -59
- package/miniprogram_dist/coupon/index.scss +75 -0
- package/miniprogram_dist/coupon/index.wxss +119 -15
- package/package.json +1 -1
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +37 -0
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +29 -1
- package/src/ConfirmOrder/components/GoodsInfo/index.scss +215 -0
- package/src/ConfirmOrder/components/GoodsInfo/index.wxss +390 -39
- package/src/ConfirmOrder/components/IntegralSelect/index.scss +83 -0
- package/src/ConfirmOrder/components/IntegralSelect/index.wxss +129 -14
- package/src/ConfirmOrder/components/Invoice/index.scss +51 -0
- package/src/ConfirmOrder/components/Invoice/index.wxss +52 -2
- package/src/ConfirmOrder/components/LeaveWord/index.scss +32 -0
- package/src/ConfirmOrder/components/LeaveWord/index.wxss +21 -2
- package/src/ConfirmOrder/components/PayBar/index.scss +54 -0
- package/src/ConfirmOrder/components/PayBar/index.wxss +60 -3
- package/src/ConfirmOrder/components/PayDetail/index.scss +41 -0
- package/src/ConfirmOrder/components/PayDetail/index.wxss +39 -3
- package/src/CouponList/components/CouponItem/index.js +83 -91
- package/src/CouponList/components/CouponItem/index.scss +130 -132
- package/src/CouponList/components/CouponItem/index.wxss +625 -84
- package/src/CouponList/couponColumn/index.scss +106 -0
- package/src/CouponList/couponColumn/index.wxss +173 -33
- package/src/GoodsItem/index.js +21 -3
- package/src/GoodsItem/index.scss +323 -0
- package/src/GoodsItem/index.wxml +1 -1
- package/src/GoodsItem/index.wxss +673 -85
- package/src/GoodsRecommend/index.scss +154 -0
- package/src/GoodsRecommend/index.wxss +311 -33
- package/src/LiveGoodsList/Header/index.scss +71 -0
- package/src/LiveGoodsList/Header/index.wxss +109 -10
- package/src/LiveGoodsList/index.js +8 -1
- package/src/LiveGoodsList/index.scss +80 -0
- package/src/LiveGoodsList/index.wxml +56 -33
- package/src/LiveGoodsList/index.wxss +133 -19
- package/src/PayModule/button/index.scss +37 -0
- package/src/PayModule/button/index.wxss +35 -4
- package/src/common/utils/index.js +9 -0
- package/src/coupon/components/CouponItem/index.less +1 -0
- package/src/coupon/components/CouponItem/index.scss +239 -0
- package/src/coupon/components/CouponSelect/index.scss +319 -0
- package/src/coupon/components/CouponSelect/index.wxss +642 -59
- package/src/coupon/index.scss +75 -0
- package/src/coupon/index.wxss +128 -15
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
.integral-select {
|
|
2
|
-
padding: 0 4.
|
|
2
|
+
padding: 0 4.26667vmin;
|
|
3
3
|
background-color: #fff;
|
|
4
4
|
}
|
|
5
5
|
.integral-select .integral-wrapper {
|
|
6
|
-
border-top: 0.
|
|
6
|
+
border-top: 0.13333vmin solid #eee;
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
justify-content: space-between;
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
background: #fff;
|
|
12
|
-
height: 11.
|
|
12
|
+
height: 11.73333vmin;
|
|
13
13
|
}
|
|
14
14
|
.integral-select .integral-wrapper .width16 {
|
|
15
|
-
width: 4.
|
|
15
|
+
width: 4.26667vmin;
|
|
16
16
|
}
|
|
17
17
|
.integral-select .integral-wrapper .left-text {
|
|
18
18
|
display: flex;
|
|
@@ -20,31 +20,135 @@
|
|
|
20
20
|
align-items: center;
|
|
21
21
|
}
|
|
22
22
|
.integral-select .integral-wrapper .left-text .title {
|
|
23
|
-
font-size: 3.
|
|
23
|
+
font-size: 3.73333vmin;
|
|
24
24
|
color: #333;
|
|
25
25
|
}
|
|
26
26
|
.integral-select .integral-wrapper .left-text .tips-icon {
|
|
27
|
-
width: 3.
|
|
28
|
-
height: 3.
|
|
29
|
-
margin-left: 1.
|
|
27
|
+
width: 3.73333vmin;
|
|
28
|
+
height: 3.73333vmin;
|
|
29
|
+
margin-left: 1.06667vmin;
|
|
30
30
|
color: #999;
|
|
31
|
-
padding-top: 0.
|
|
31
|
+
padding-top: 0.26667vmin;
|
|
32
32
|
}
|
|
33
33
|
.integral-select .integral-wrapper .right-text {
|
|
34
34
|
display: flex;
|
|
35
35
|
align-items: center;
|
|
36
36
|
}
|
|
37
37
|
.integral-select .integral-wrapper .right-text .current {
|
|
38
|
-
font-size: 3.
|
|
38
|
+
font-size: 3.73333vmin;
|
|
39
39
|
color: #999;
|
|
40
|
-
margin-right: 2.
|
|
40
|
+
margin-right: 2.13333vmin;
|
|
41
41
|
}
|
|
42
42
|
.integral-select .integral-wrapper .right-text .discount {
|
|
43
|
-
font-size: 3.
|
|
43
|
+
font-size: 3.73333vmin;
|
|
44
44
|
color: #ff8205;
|
|
45
|
-
margin-right: 2.
|
|
45
|
+
margin-right: 2.13333vmin;
|
|
46
46
|
}
|
|
47
47
|
.integral-select .integral-wrapper .cannot-use {
|
|
48
|
-
font-size: 3.
|
|
48
|
+
font-size: 3.73333vmin;
|
|
49
49
|
color: #c8c8c8;
|
|
50
50
|
}
|
|
51
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
52
|
+
.integral-select {
|
|
53
|
+
padding: 0 2.08333vmin;
|
|
54
|
+
background-color: #fff;
|
|
55
|
+
}
|
|
56
|
+
.integral-select .integral-wrapper {
|
|
57
|
+
border-top: 0.0651vmin solid #eee;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
background: #fff;
|
|
63
|
+
height: 5.72917vmin;
|
|
64
|
+
}
|
|
65
|
+
.integral-select .integral-wrapper .width16 {
|
|
66
|
+
width: 2.08333vmin;
|
|
67
|
+
}
|
|
68
|
+
.integral-select .integral-wrapper .left-text {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: row;
|
|
71
|
+
align-items: center;
|
|
72
|
+
}
|
|
73
|
+
.integral-select .integral-wrapper .left-text .title {
|
|
74
|
+
font-size: 1.82292vmin;
|
|
75
|
+
color: #333;
|
|
76
|
+
}
|
|
77
|
+
.integral-select .integral-wrapper .left-text .tips-icon {
|
|
78
|
+
width: 1.82292vmin;
|
|
79
|
+
height: 1.82292vmin;
|
|
80
|
+
margin-left: 0.52083vmin;
|
|
81
|
+
color: #999;
|
|
82
|
+
padding-top: 0.13021vmin;
|
|
83
|
+
}
|
|
84
|
+
.integral-select .integral-wrapper .right-text {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
}
|
|
88
|
+
.integral-select .integral-wrapper .right-text .current {
|
|
89
|
+
font-size: 1.82292vmin;
|
|
90
|
+
color: #999;
|
|
91
|
+
margin-right: 1.04167vmin;
|
|
92
|
+
}
|
|
93
|
+
.integral-select .integral-wrapper .right-text .discount {
|
|
94
|
+
font-size: 1.82292vmin;
|
|
95
|
+
color: #ff8205;
|
|
96
|
+
margin-right: 1.04167vmin;
|
|
97
|
+
}
|
|
98
|
+
.integral-select .integral-wrapper .cannot-use {
|
|
99
|
+
font-size: 1.82292vmin;
|
|
100
|
+
color: #c8c8c8;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
104
|
+
.integral-select {
|
|
105
|
+
padding: 0 2.08333vmin;
|
|
106
|
+
background-color: #fff;
|
|
107
|
+
}
|
|
108
|
+
.integral-select .integral-wrapper {
|
|
109
|
+
border-top: 0.0651vmin solid #eee;
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: space-between;
|
|
113
|
+
box-sizing: border-box;
|
|
114
|
+
background: #fff;
|
|
115
|
+
height: 5.72917vmin;
|
|
116
|
+
}
|
|
117
|
+
.integral-select .integral-wrapper .width16 {
|
|
118
|
+
width: 2.08333vmin;
|
|
119
|
+
}
|
|
120
|
+
.integral-select .integral-wrapper .left-text {
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: row;
|
|
123
|
+
align-items: center;
|
|
124
|
+
}
|
|
125
|
+
.integral-select .integral-wrapper .left-text .title {
|
|
126
|
+
font-size: 1.82292vmin;
|
|
127
|
+
color: #333;
|
|
128
|
+
}
|
|
129
|
+
.integral-select .integral-wrapper .left-text .tips-icon {
|
|
130
|
+
width: 1.82292vmin;
|
|
131
|
+
height: 1.82292vmin;
|
|
132
|
+
margin-left: 0.52083vmin;
|
|
133
|
+
color: #999;
|
|
134
|
+
padding-top: 0.13021vmin;
|
|
135
|
+
}
|
|
136
|
+
.integral-select .integral-wrapper .right-text {
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
}
|
|
140
|
+
.integral-select .integral-wrapper .right-text .current {
|
|
141
|
+
font-size: 1.82292vmin;
|
|
142
|
+
color: #999;
|
|
143
|
+
margin-right: 1.04167vmin;
|
|
144
|
+
}
|
|
145
|
+
.integral-select .integral-wrapper .right-text .discount {
|
|
146
|
+
font-size: 1.82292vmin;
|
|
147
|
+
color: #ff8205;
|
|
148
|
+
margin-right: 1.04167vmin;
|
|
149
|
+
}
|
|
150
|
+
.integral-select .integral-wrapper .cannot-use {
|
|
151
|
+
font-size: 1.82292vmin;
|
|
152
|
+
color: #c8c8c8;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
$deviceWidth: 750;
|
|
2
|
+
@function vmin($rpx) {
|
|
3
|
+
@return #{$rpx * 100 / $deviceWidth}vmin;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin invoice-show {
|
|
7
|
+
.invoice-title {
|
|
8
|
+
min-width: vmin(144);
|
|
9
|
+
flex-grow: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.right-cont {
|
|
13
|
+
display: flex;
|
|
14
|
+
text-align: right;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
|
|
18
|
+
.img-zhixiang {
|
|
19
|
+
width: vmin(32);
|
|
20
|
+
height: vmin(32);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.EC1 {
|
|
25
|
+
color: #333;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.EC4 {
|
|
29
|
+
color: #ccc;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.invoice-show {
|
|
34
|
+
@include invoice-show;
|
|
35
|
+
}
|
|
36
|
+
// 竖屏pad
|
|
37
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
38
|
+
$deviceWidth: 1536 !global;
|
|
39
|
+
|
|
40
|
+
.invoice-show {
|
|
41
|
+
@include invoice-show;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
// 横屏pad
|
|
45
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
46
|
+
$deviceWidth: 1536 !global;
|
|
47
|
+
|
|
48
|
+
.invoice-show {
|
|
49
|
+
@include invoice-show;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
justify-content: flex-end;
|
|
10
10
|
}
|
|
11
11
|
.invoice-show .right-cont .img-zhixiang {
|
|
12
|
-
width: 4.
|
|
13
|
-
height: 4.
|
|
12
|
+
width: 4.26667vmin;
|
|
13
|
+
height: 4.26667vmin;
|
|
14
14
|
}
|
|
15
15
|
.invoice-show .EC1 {
|
|
16
16
|
color: #333;
|
|
@@ -18,3 +18,47 @@
|
|
|
18
18
|
.invoice-show .EC4 {
|
|
19
19
|
color: #ccc;
|
|
20
20
|
}
|
|
21
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
22
|
+
.invoice-show .invoice-title {
|
|
23
|
+
min-width: 9.375vmin;
|
|
24
|
+
flex-grow: 0;
|
|
25
|
+
}
|
|
26
|
+
.invoice-show .right-cont {
|
|
27
|
+
display: flex;
|
|
28
|
+
text-align: right;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: flex-end;
|
|
31
|
+
}
|
|
32
|
+
.invoice-show .right-cont .img-zhixiang {
|
|
33
|
+
width: 2.08333vmin;
|
|
34
|
+
height: 2.08333vmin;
|
|
35
|
+
}
|
|
36
|
+
.invoice-show .EC1 {
|
|
37
|
+
color: #333;
|
|
38
|
+
}
|
|
39
|
+
.invoice-show .EC4 {
|
|
40
|
+
color: #ccc;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
44
|
+
.invoice-show .invoice-title {
|
|
45
|
+
min-width: 9.375vmin;
|
|
46
|
+
flex-grow: 0;
|
|
47
|
+
}
|
|
48
|
+
.invoice-show .right-cont {
|
|
49
|
+
display: flex;
|
|
50
|
+
text-align: right;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: flex-end;
|
|
53
|
+
}
|
|
54
|
+
.invoice-show .right-cont .img-zhixiang {
|
|
55
|
+
width: 2.08333vmin;
|
|
56
|
+
height: 2.08333vmin;
|
|
57
|
+
}
|
|
58
|
+
.invoice-show .EC1 {
|
|
59
|
+
color: #333;
|
|
60
|
+
}
|
|
61
|
+
.invoice-show .EC4 {
|
|
62
|
+
color: #ccc;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
$deviceWidth: 750;
|
|
2
|
+
@function vmin($rpx) {
|
|
3
|
+
@return #{$rpx * 100 / $deviceWidth}vmin;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin leave-word {
|
|
7
|
+
margin-bottom: vmin(16);
|
|
8
|
+
|
|
9
|
+
.van-cell {
|
|
10
|
+
line-height: vmin(40);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.leave-word {
|
|
15
|
+
@include leave-word;
|
|
16
|
+
}
|
|
17
|
+
// 竖屏pad
|
|
18
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
19
|
+
$deviceWidth: 1536 !global;
|
|
20
|
+
|
|
21
|
+
.leave-word {
|
|
22
|
+
@include leave-word;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
// 横屏pad
|
|
26
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
27
|
+
$deviceWidth: 1536 !global;
|
|
28
|
+
|
|
29
|
+
.leave-word {
|
|
30
|
+
@include leave-word;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
.leave-word {
|
|
2
|
-
margin-bottom: 2.
|
|
2
|
+
margin-bottom: 2.13333vmin;
|
|
3
3
|
}
|
|
4
4
|
.leave-word .van-cell {
|
|
5
|
-
line-height: 5.
|
|
5
|
+
line-height: 5.33333vmin;
|
|
6
|
+
}
|
|
7
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
8
|
+
.leave-word {
|
|
9
|
+
margin-bottom: 1.04167vmin;
|
|
10
|
+
}
|
|
11
|
+
.leave-word .van-cell {
|
|
12
|
+
line-height: 2.60417vmin;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
16
|
+
.leave-word {
|
|
17
|
+
margin-bottom: 1.04167vmin;
|
|
18
|
+
}
|
|
19
|
+
.leave-word .van-cell {
|
|
20
|
+
line-height: 2.60417vmin;
|
|
21
|
+
}
|
|
6
22
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
$deviceWidth: 750;
|
|
2
|
+
@function vmin($rpx) {
|
|
3
|
+
@return #{$rpx * 100 / $deviceWidth}vmin;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin paybar {
|
|
7
|
+
bottom: 0;
|
|
8
|
+
background: #fff;
|
|
9
|
+
box-shadow: 0 0 vmin(16) 0 rgba(0, 0, 0, 0.08);
|
|
10
|
+
position: fixed;
|
|
11
|
+
width: 100%;
|
|
12
|
+
|
|
13
|
+
.pay-wrapper {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
align-items: center;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
padding: 0 vmin(40);
|
|
19
|
+
height: vmin(112);
|
|
20
|
+
|
|
21
|
+
.pay-amount {
|
|
22
|
+
.pay-text {
|
|
23
|
+
font-weight: 500;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.pay-price-float,
|
|
27
|
+
.pay-price-int,
|
|
28
|
+
.pay-currency {
|
|
29
|
+
color: #ff5429;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.paybar {
|
|
37
|
+
@include paybar;
|
|
38
|
+
}
|
|
39
|
+
// 竖屏pad
|
|
40
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
41
|
+
$deviceWidth: 1536 !global;
|
|
42
|
+
|
|
43
|
+
.paybar {
|
|
44
|
+
@include paybar;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// 横屏pad
|
|
48
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
49
|
+
$deviceWidth: 1536 !global;
|
|
50
|
+
|
|
51
|
+
.paybar {
|
|
52
|
+
@include paybar;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.paybar {
|
|
2
2
|
bottom: 0;
|
|
3
3
|
background: #fff;
|
|
4
|
-
box-shadow: 0 0 2.
|
|
4
|
+
box-shadow: 0 0 2.13333vmin 0 rgba(0, 0, 0, 0.08);
|
|
5
5
|
position: fixed;
|
|
6
6
|
width: 100%;
|
|
7
7
|
}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
align-items: center;
|
|
12
12
|
box-sizing: border-box;
|
|
13
|
-
padding: 0 5.
|
|
14
|
-
height: 14.
|
|
13
|
+
padding: 0 5.33333vmin;
|
|
14
|
+
height: 14.93333vmin;
|
|
15
15
|
}
|
|
16
16
|
.paybar .pay-wrapper .pay-amount .pay-text {
|
|
17
17
|
font-weight: 500;
|
|
@@ -22,3 +22,55 @@
|
|
|
22
22
|
color: #ff5429;
|
|
23
23
|
font-weight: 500;
|
|
24
24
|
}
|
|
25
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
26
|
+
.paybar {
|
|
27
|
+
bottom: 0;
|
|
28
|
+
background: #fff;
|
|
29
|
+
box-shadow: 0 0 1.04167vmin 0 rgba(0, 0, 0, 0.08);
|
|
30
|
+
position: fixed;
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
.paybar .pay-wrapper {
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
align-items: center;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
padding: 0 2.60417vmin;
|
|
39
|
+
height: 7.29167vmin;
|
|
40
|
+
}
|
|
41
|
+
.paybar .pay-wrapper .pay-amount .pay-text {
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
}
|
|
44
|
+
.paybar .pay-wrapper .pay-amount .pay-price-float,
|
|
45
|
+
.paybar .pay-wrapper .pay-amount .pay-price-int,
|
|
46
|
+
.paybar .pay-wrapper .pay-amount .pay-currency {
|
|
47
|
+
color: #ff5429;
|
|
48
|
+
font-weight: 500;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
52
|
+
.paybar {
|
|
53
|
+
bottom: 0;
|
|
54
|
+
background: #fff;
|
|
55
|
+
box-shadow: 0 0 1.04167vmin 0 rgba(0, 0, 0, 0.08);
|
|
56
|
+
position: fixed;
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
.paybar .pay-wrapper {
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: space-between;
|
|
62
|
+
align-items: center;
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
padding: 0 2.60417vmin;
|
|
65
|
+
height: 7.29167vmin;
|
|
66
|
+
}
|
|
67
|
+
.paybar .pay-wrapper .pay-amount .pay-text {
|
|
68
|
+
font-weight: 500;
|
|
69
|
+
}
|
|
70
|
+
.paybar .pay-wrapper .pay-amount .pay-price-float,
|
|
71
|
+
.paybar .pay-wrapper .pay-amount .pay-price-int,
|
|
72
|
+
.paybar .pay-wrapper .pay-amount .pay-currency {
|
|
73
|
+
color: #ff5429;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
$deviceWidth: 750;
|
|
2
|
+
@function vmin($rpx) {
|
|
3
|
+
@return #{$rpx * 100 / $deviceWidth}vmin;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin price-wrapper {
|
|
7
|
+
padding: 0 vmin(30);
|
|
8
|
+
background: #fff;
|
|
9
|
+
font-size: vmin(28);
|
|
10
|
+
|
|
11
|
+
.price-item {
|
|
12
|
+
padding: vmin(28) 0;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.price-item:not(:last-child) {
|
|
19
|
+
border-bottom: vmin(1) solid rgba(240, 240, 240, 0.6);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.price-wrapper {
|
|
24
|
+
@include price-wrapper;
|
|
25
|
+
}
|
|
26
|
+
// 竖屏pad
|
|
27
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
28
|
+
$deviceWidth: 1536 !global;
|
|
29
|
+
|
|
30
|
+
.price-wrapper {
|
|
31
|
+
@include price-wrapper;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
// 横屏pad
|
|
35
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
36
|
+
$deviceWidth: 1536 !global;
|
|
37
|
+
|
|
38
|
+
.price-wrapper {
|
|
39
|
+
@include price-wrapper;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,14 +1,46 @@
|
|
|
1
1
|
.price-wrapper {
|
|
2
2
|
padding: 0 4vmin;
|
|
3
3
|
background: #fff;
|
|
4
|
-
font-size: 3.
|
|
4
|
+
font-size: 3.73333vmin;
|
|
5
5
|
}
|
|
6
6
|
.price-wrapper .price-item {
|
|
7
|
-
padding: 3.
|
|
7
|
+
padding: 3.73333vmin 0;
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
}
|
|
12
12
|
.price-wrapper .price-item:not(:last-child) {
|
|
13
|
-
border-bottom: 0.
|
|
13
|
+
border-bottom: 0.13333vmin solid rgba(240, 240, 240, 0.6);
|
|
14
|
+
}
|
|
15
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
16
|
+
.price-wrapper {
|
|
17
|
+
padding: 0 1.95312vmin;
|
|
18
|
+
background: #fff;
|
|
19
|
+
font-size: 1.82292vmin;
|
|
20
|
+
}
|
|
21
|
+
.price-wrapper .price-item {
|
|
22
|
+
padding: 1.82292vmin 0;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
}
|
|
27
|
+
.price-wrapper .price-item:not(:last-child) {
|
|
28
|
+
border-bottom: 0.0651vmin solid rgba(240, 240, 240, 0.6);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
32
|
+
.price-wrapper {
|
|
33
|
+
padding: 0 1.95312vmin;
|
|
34
|
+
background: #fff;
|
|
35
|
+
font-size: 1.82292vmin;
|
|
36
|
+
}
|
|
37
|
+
.price-wrapper .price-item {
|
|
38
|
+
padding: 1.82292vmin 0;
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
}
|
|
43
|
+
.price-wrapper .price-item:not(:last-child) {
|
|
44
|
+
border-bottom: 0.0651vmin solid rgba(240, 240, 240, 0.6);
|
|
45
|
+
}
|
|
14
46
|
}
|