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
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
$deviceWidth: 750;
|
|
2
|
+
@function vmin($rpx) {
|
|
3
|
+
@return #{$rpx * 100 / $deviceWidth}vmin;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin confrim-order {
|
|
7
|
+
padding: 0 vmin(32);
|
|
8
|
+
background: #FFF;
|
|
9
|
+
.coupon-panel {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: vmin(88);
|
|
16
|
+
.coupon-left {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
.coupon-title {
|
|
20
|
+
margin-right: vmin(18);
|
|
21
|
+
line-height: vmin(48);
|
|
22
|
+
font-size: vmin(28);
|
|
23
|
+
color: #333;
|
|
24
|
+
}
|
|
25
|
+
.coupon-tip {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
height: vmin(40);
|
|
28
|
+
line-height: vmin(40);
|
|
29
|
+
padding: 0 vmin(14);
|
|
30
|
+
border-radius: vmin(4);
|
|
31
|
+
font-size: vmin(24);
|
|
32
|
+
color: #FF821F;
|
|
33
|
+
background: rgba(255, 132, 31, 0.16);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.coupon-right {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex: 1;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: flex-end;
|
|
41
|
+
.coupon-value {
|
|
42
|
+
color: #ff821f;
|
|
43
|
+
margin-right: vmin(8);
|
|
44
|
+
width: fit-content;
|
|
45
|
+
font-size: vmin(28);
|
|
46
|
+
}
|
|
47
|
+
.have-no-coupon {
|
|
48
|
+
margin-right: vmin(8);
|
|
49
|
+
line-height: vmin(44);
|
|
50
|
+
font-size: vmin(28);
|
|
51
|
+
color: #999;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.confrim-order {
|
|
58
|
+
@include confrim-order;
|
|
59
|
+
}
|
|
60
|
+
// 竖屏pad
|
|
61
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
62
|
+
$deviceWidth: 1536 !global;
|
|
63
|
+
|
|
64
|
+
.confrim-order {
|
|
65
|
+
@include confrim-order;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
// 横屏pad
|
|
69
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
70
|
+
$deviceWidth: 1536 !global;
|
|
71
|
+
|
|
72
|
+
.confrim-order {
|
|
73
|
+
@include confrim-order;
|
|
74
|
+
}
|
|
75
|
+
}
|
package/src/coupon/index.wxss
CHANGED
|
@@ -1,50 +1,163 @@
|
|
|
1
1
|
.confrim-order {
|
|
2
|
-
padding: 0 4.
|
|
2
|
+
padding: 0 4.26667vmin;
|
|
3
3
|
background: #FFF;
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.confrim-order .coupon-panel {
|
|
6
7
|
box-sizing: border-box;
|
|
7
8
|
display: flex;
|
|
8
9
|
justify-content: space-between;
|
|
9
10
|
align-items: center;
|
|
10
11
|
width: 100%;
|
|
11
|
-
height: 11.
|
|
12
|
+
height: 11.73333vmin;
|
|
12
13
|
}
|
|
14
|
+
|
|
13
15
|
.confrim-order .coupon-panel .coupon-left {
|
|
14
16
|
display: flex;
|
|
15
17
|
align-items: center;
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
.confrim-order .coupon-panel .coupon-left .coupon-title {
|
|
18
|
-
margin-right: 2.
|
|
19
|
-
line-height: 6.
|
|
20
|
-
font-size: 3.
|
|
21
|
+
margin-right: 2.4vmin;
|
|
22
|
+
line-height: 6.4vmin;
|
|
23
|
+
font-size: 3.73333vmin;
|
|
21
24
|
color: #333;
|
|
22
25
|
}
|
|
26
|
+
|
|
23
27
|
.confrim-order .coupon-panel .coupon-left .coupon-tip {
|
|
24
28
|
box-sizing: border-box;
|
|
25
|
-
height: 5.
|
|
26
|
-
line-height: 5.
|
|
27
|
-
padding: 0 1.
|
|
28
|
-
border-radius: 0.
|
|
29
|
-
font-size: 3.
|
|
29
|
+
height: 5.33333vmin;
|
|
30
|
+
line-height: 5.33333vmin;
|
|
31
|
+
padding: 0 1.86667vmin;
|
|
32
|
+
border-radius: 0.53333vmin;
|
|
33
|
+
font-size: 3.2vmin;
|
|
30
34
|
color: #FF821F;
|
|
31
35
|
background: rgba(255, 132, 31, 0.16);
|
|
32
36
|
}
|
|
37
|
+
|
|
33
38
|
.confrim-order .coupon-panel .coupon-right {
|
|
34
39
|
display: flex;
|
|
35
40
|
flex: 1;
|
|
36
41
|
align-items: center;
|
|
37
42
|
justify-content: flex-end;
|
|
38
43
|
}
|
|
44
|
+
|
|
39
45
|
.confrim-order .coupon-panel .coupon-right .coupon-value {
|
|
40
46
|
color: #ff821f;
|
|
41
|
-
margin-right: 1.
|
|
47
|
+
margin-right: 1.06667vmin;
|
|
42
48
|
width: fit-content;
|
|
43
|
-
font-size: 3.
|
|
49
|
+
font-size: 3.73333vmin;
|
|
44
50
|
}
|
|
51
|
+
|
|
45
52
|
.confrim-order .coupon-panel .coupon-right .have-no-coupon {
|
|
46
|
-
margin-right: 1.
|
|
47
|
-
line-height: 5.
|
|
48
|
-
font-size: 3.
|
|
53
|
+
margin-right: 1.06667vmin;
|
|
54
|
+
line-height: 5.86667vmin;
|
|
55
|
+
font-size: 3.73333vmin;
|
|
49
56
|
color: #999;
|
|
50
57
|
}
|
|
58
|
+
|
|
59
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
60
|
+
.confrim-order {
|
|
61
|
+
padding: 0 2.08333vmin;
|
|
62
|
+
background: #FFF;
|
|
63
|
+
}
|
|
64
|
+
.confrim-order .coupon-panel {
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
display: flex;
|
|
67
|
+
justify-content: space-between;
|
|
68
|
+
align-items: center;
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 5.72917vmin;
|
|
71
|
+
}
|
|
72
|
+
.confrim-order .coupon-panel .coupon-left {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
}
|
|
76
|
+
.confrim-order .coupon-panel .coupon-left .coupon-title {
|
|
77
|
+
margin-right: 1.17188vmin;
|
|
78
|
+
line-height: 3.125vmin;
|
|
79
|
+
font-size: 1.82292vmin;
|
|
80
|
+
color: #333;
|
|
81
|
+
}
|
|
82
|
+
.confrim-order .coupon-panel .coupon-left .coupon-tip {
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
height: 2.60417vmin;
|
|
85
|
+
line-height: 2.60417vmin;
|
|
86
|
+
padding: 0 0.91146vmin;
|
|
87
|
+
border-radius: 0.26042vmin;
|
|
88
|
+
font-size: 1.5625vmin;
|
|
89
|
+
color: #FF821F;
|
|
90
|
+
background: rgba(255, 132, 31, 0.16);
|
|
91
|
+
}
|
|
92
|
+
.confrim-order .coupon-panel .coupon-right {
|
|
93
|
+
display: flex;
|
|
94
|
+
flex: 1;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: flex-end;
|
|
97
|
+
}
|
|
98
|
+
.confrim-order .coupon-panel .coupon-right .coupon-value {
|
|
99
|
+
color: #ff821f;
|
|
100
|
+
margin-right: 0.52083vmin;
|
|
101
|
+
width: fit-content;
|
|
102
|
+
font-size: 1.82292vmin;
|
|
103
|
+
}
|
|
104
|
+
.confrim-order .coupon-panel .coupon-right .have-no-coupon {
|
|
105
|
+
margin-right: 0.52083vmin;
|
|
106
|
+
line-height: 2.86458vmin;
|
|
107
|
+
font-size: 1.82292vmin;
|
|
108
|
+
color: #999;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
113
|
+
.confrim-order {
|
|
114
|
+
padding: 0 2.08333vmin;
|
|
115
|
+
background: #FFF;
|
|
116
|
+
}
|
|
117
|
+
.confrim-order .coupon-panel {
|
|
118
|
+
box-sizing: border-box;
|
|
119
|
+
display: flex;
|
|
120
|
+
justify-content: space-between;
|
|
121
|
+
align-items: center;
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: 5.72917vmin;
|
|
124
|
+
}
|
|
125
|
+
.confrim-order .coupon-panel .coupon-left {
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
}
|
|
129
|
+
.confrim-order .coupon-panel .coupon-left .coupon-title {
|
|
130
|
+
margin-right: 1.17188vmin;
|
|
131
|
+
line-height: 3.125vmin;
|
|
132
|
+
font-size: 1.82292vmin;
|
|
133
|
+
color: #333;
|
|
134
|
+
}
|
|
135
|
+
.confrim-order .coupon-panel .coupon-left .coupon-tip {
|
|
136
|
+
box-sizing: border-box;
|
|
137
|
+
height: 2.60417vmin;
|
|
138
|
+
line-height: 2.60417vmin;
|
|
139
|
+
padding: 0 0.91146vmin;
|
|
140
|
+
border-radius: 0.26042vmin;
|
|
141
|
+
font-size: 1.5625vmin;
|
|
142
|
+
color: #FF821F;
|
|
143
|
+
background: rgba(255, 132, 31, 0.16);
|
|
144
|
+
}
|
|
145
|
+
.confrim-order .coupon-panel .coupon-right {
|
|
146
|
+
display: flex;
|
|
147
|
+
flex: 1;
|
|
148
|
+
align-items: center;
|
|
149
|
+
justify-content: flex-end;
|
|
150
|
+
}
|
|
151
|
+
.confrim-order .coupon-panel .coupon-right .coupon-value {
|
|
152
|
+
color: #ff821f;
|
|
153
|
+
margin-right: 0.52083vmin;
|
|
154
|
+
width: fit-content;
|
|
155
|
+
font-size: 1.82292vmin;
|
|
156
|
+
}
|
|
157
|
+
.confrim-order .coupon-panel .coupon-right .have-no-coupon {
|
|
158
|
+
margin-right: 0.52083vmin;
|
|
159
|
+
line-height: 2.86458vmin;
|
|
160
|
+
font-size: 1.82292vmin;
|
|
161
|
+
color: #999;
|
|
162
|
+
}
|
|
163
|
+
}
|