xiaoe_mp_npm 0.5.42-test2 → 0.5.42-test21
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 +45 -0
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +37 -1
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +522 -36
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +170 -14
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +61 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +68 -2
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +40 -0
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +26 -2
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +62 -0
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +81 -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.css +1715 -1715
- package/miniprogram_dist/CouponList/components/CouponItem/index.js +31 -22
- package/miniprogram_dist/CouponList/components/CouponItem/index.min.css +1 -1
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +6 -2
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +1037 -79
- package/miniprogram_dist/CouponList/couponColumn/index.js +5 -1
- package/miniprogram_dist/CouponList/couponColumn/index.scss +118 -0
- package/miniprogram_dist/CouponList/couponColumn/index.wxml +1 -0
- package/miniprogram_dist/CouponList/couponColumn/index.wxss +221 -32
- package/miniprogram_dist/CouponReceivePopup/index.js +75 -0
- package/miniprogram_dist/CouponReceivePopup/index.json +6 -0
- package/miniprogram_dist/CouponReceivePopup/index.scss +99 -0
- package/miniprogram_dist/CouponReceivePopup/index.wxml +85 -0
- package/miniprogram_dist/CouponReceivePopup/index.wxss +75 -0
- package/miniprogram_dist/GoodsItem/index.js +7 -5
- package/miniprogram_dist/GoodsItem/index.scss +45 -22
- package/miniprogram_dist/GoodsItem/index.wxml +11 -11
- package/miniprogram_dist/GoodsItem/index.wxs +18 -18
- package/miniprogram_dist/GoodsItem/index.wxss +1273 -116
- package/miniprogram_dist/GoodsRecommend/index.scss +162 -0
- package/miniprogram_dist/GoodsRecommend/index.wxss +418 -33
- package/miniprogram_dist/LiveGoodsList/Header/index.scss +79 -0
- package/miniprogram_dist/LiveGoodsList/Header/index.wxss +148 -10
- package/miniprogram_dist/LiveGoodsList/index.js +167 -25
- package/miniprogram_dist/LiveGoodsList/index.scss +93 -0
- package/miniprogram_dist/LiveGoodsList/index.wxml +41 -19
- package/miniprogram_dist/LiveGoodsList/index.wxss +187 -19
- package/miniprogram_dist/PayModule/button/index.scss +45 -0
- package/miniprogram_dist/PayModule/button/index.wxss +46 -4
- package/miniprogram_dist/TeacherGoodsList/index.js +778 -585
- package/miniprogram_dist/TeacherGoodsList/index.scss +5 -2
- package/miniprogram_dist/TeacherGoodsList/index.wxml +42 -24
- package/miniprogram_dist/TeacherGoodsList/index.wxss +132 -14
- package/miniprogram_dist/common/api/liveGoodsList.js +10 -2
- package/miniprogram_dist/common/utils/index.js +14 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.scss +247 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.wxss +677 -86
- package/miniprogram_dist/coupon/components/CouponSelect/index.scss +331 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +861 -59
- package/miniprogram_dist/coupon/index.scss +83 -0
- package/miniprogram_dist/coupon/index.wxss +171 -15
- package/package.json +2 -2
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +42 -1
- package/src/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
- package/src/ConfirmOrder/components/GoodsInfo/index.wxss +552 -39
- package/src/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
- package/src/ConfirmOrder/components/IntegralSelect/index.wxss +182 -14
- package/src/ConfirmOrder/components/Invoice/index.scss +61 -0
- package/src/ConfirmOrder/components/Invoice/index.wxss +75 -2
- package/src/ConfirmOrder/components/LeaveWord/index.scss +40 -0
- package/src/ConfirmOrder/components/LeaveWord/index.wxss +30 -2
- package/src/ConfirmOrder/components/PayBar/index.scss +62 -0
- package/src/ConfirmOrder/components/PayBar/index.wxss +87 -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.css +1715 -1715
- package/src/CouponList/components/CouponItem/index.js +31 -22
- package/src/CouponList/components/CouponItem/index.min.css +1 -1
- package/src/CouponList/components/CouponItem/index.wxml +6 -2
- package/src/CouponList/components/CouponItem/index.wxss +1039 -85
- package/src/CouponList/couponColumn/index.js +5 -1
- package/src/CouponList/couponColumn/index.scss +118 -0
- package/src/CouponList/couponColumn/index.wxml +1 -0
- package/src/CouponList/couponColumn/index.wxss +236 -32
- package/src/CouponReceivePopup/index.js +75 -0
- package/src/CouponReceivePopup/index.json +6 -0
- package/src/CouponReceivePopup/index.scss +99 -0
- package/src/CouponReceivePopup/index.wxml +85 -0
- package/src/CouponReceivePopup/index.wxss +1 -0
- package/src/GoodsItem/index.js +7 -5
- package/src/GoodsItem/index.scss +45 -22
- package/src/GoodsItem/index.wxml +11 -11
- package/src/GoodsItem/index.wxs +18 -18
- package/src/GoodsItem/index.wxss +1331 -116
- package/src/GoodsRecommend/index.scss +162 -0
- package/src/GoodsRecommend/index.wxss +441 -33
- package/src/LiveGoodsList/Header/index.scss +79 -0
- package/src/LiveGoodsList/Header/index.wxss +156 -10
- package/src/LiveGoodsList/index.js +167 -25
- package/src/LiveGoodsList/index.scss +93 -0
- package/src/LiveGoodsList/index.wxml +41 -19
- package/src/LiveGoodsList/index.wxss +230 -50
- package/src/PayModule/button/index.scss +45 -0
- package/src/PayModule/button/index.wxss +50 -4
- package/src/TeacherGoodsList/index.js +778 -585
- package/src/TeacherGoodsList/index.scss +5 -2
- package/src/TeacherGoodsList/index.wxml +42 -24
- package/src/TeacherGoodsList/index.wxss +151 -14
- package/src/common/api/liveGoodsList.js +10 -2
- package/src/common/utils/index.js +14 -0
- package/src/coupon/components/CouponItem/index.less +1 -0
- package/src/coupon/components/CouponItem/index.scss +247 -0
- package/src/coupon/components/CouponItem/index.wxss +712 -86
- package/src/coupon/components/CouponSelect/index.scss +331 -0
- package/src/coupon/components/CouponSelect/index.wxss +910 -59
- package/src/coupon/index.scss +83 -0
- package/src/coupon/index.wxss +181 -15
- package/miniprogram_dist/GoodsItem/index.css +0 -1364
- package/miniprogram_dist/GoodsItem/index.less +0 -299
- package/miniprogram_dist/GoodsItem/index.min.css +0 -1
- package/miniprogram_dist/TeacherGoodsList/index.css +0 -187
- package/miniprogram_dist/TeacherGoodsList/index.min.css +0 -1
- package/src/GoodsItem/index.css +0 -1364
- package/src/GoodsItem/index.less +0 -299
- package/src/GoodsItem/index.min.css +0 -1
- package/src/TeacherGoodsList/index.css +0 -187
- package/src/TeacherGoodsList/index.min.css +0 -1
|
@@ -1,24 +1,108 @@
|
|
|
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
|
}
|
|
8
|
+
|
|
8
9
|
.paybar .pay-wrapper {
|
|
9
10
|
display: flex;
|
|
10
11
|
justify-content: space-between;
|
|
11
12
|
align-items: center;
|
|
12
13
|
box-sizing: border-box;
|
|
13
|
-
padding: 0 5.
|
|
14
|
-
height: 14.
|
|
14
|
+
padding: 0 5.33333vmin;
|
|
15
|
+
height: 14.93333vmin;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
.paybar .pay-wrapper .pay-amount .pay-text {
|
|
17
19
|
font-weight: 500;
|
|
18
20
|
}
|
|
21
|
+
|
|
19
22
|
.paybar .pay-wrapper .pay-amount .pay-price-float,
|
|
20
23
|
.paybar .pay-wrapper .pay-amount .pay-price-int,
|
|
21
24
|
.paybar .pay-wrapper .pay-amount .pay-currency {
|
|
22
25
|
color: #ff5429;
|
|
23
26
|
font-weight: 500;
|
|
24
27
|
}
|
|
28
|
+
|
|
29
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
30
|
+
.paybar {
|
|
31
|
+
bottom: 0;
|
|
32
|
+
background: #fff;
|
|
33
|
+
box-shadow: 0 0 1.04167vmin 0 rgba(0, 0, 0, 0.08);
|
|
34
|
+
position: fixed;
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
.paybar .pay-wrapper {
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
align-items: center;
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
padding: 0 2.60417vmin;
|
|
43
|
+
height: 7.29167vmin;
|
|
44
|
+
}
|
|
45
|
+
.paybar .pay-wrapper .pay-amount .pay-text {
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
}
|
|
48
|
+
.paybar .pay-wrapper .pay-amount .pay-price-float,
|
|
49
|
+
.paybar .pay-wrapper .pay-amount .pay-price-int,
|
|
50
|
+
.paybar .pay-wrapper .pay-amount .pay-currency {
|
|
51
|
+
color: #ff5429;
|
|
52
|
+
font-weight: 500;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@media screen and (min-height: 630px) and (orientation: landscape) {
|
|
57
|
+
p.paybar {
|
|
58
|
+
bottom: 0;
|
|
59
|
+
background: #fff;
|
|
60
|
+
box-shadow: 0 0 1.26984vmin 0 rgba(0, 0, 0, 0.08);
|
|
61
|
+
position: fixed;
|
|
62
|
+
width: 100%;
|
|
63
|
+
}
|
|
64
|
+
p.paybar .pay-wrapper {
|
|
65
|
+
display: flex;
|
|
66
|
+
justify-content: space-between;
|
|
67
|
+
align-items: center;
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
padding: 0 3.1746vmin;
|
|
70
|
+
height: 8.88889vmin;
|
|
71
|
+
}
|
|
72
|
+
p.paybar .pay-wrapper .pay-amount .pay-text {
|
|
73
|
+
font-weight: 500;
|
|
74
|
+
}
|
|
75
|
+
p.paybar .pay-wrapper .pay-amount .pay-price-float,
|
|
76
|
+
p.paybar .pay-wrapper .pay-amount .pay-price-int,
|
|
77
|
+
p.paybar .pay-wrapper .pay-amount .pay-currency {
|
|
78
|
+
color: #ff5429;
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
84
|
+
.paybar {
|
|
85
|
+
bottom: 0;
|
|
86
|
+
background: #fff;
|
|
87
|
+
box-shadow: 0 0 1.04167vmin 0 rgba(0, 0, 0, 0.08);
|
|
88
|
+
position: fixed;
|
|
89
|
+
width: 100%;
|
|
90
|
+
}
|
|
91
|
+
.paybar .pay-wrapper {
|
|
92
|
+
display: flex;
|
|
93
|
+
justify-content: space-between;
|
|
94
|
+
align-items: center;
|
|
95
|
+
box-sizing: border-box;
|
|
96
|
+
padding: 0 2.60417vmin;
|
|
97
|
+
height: 7.29167vmin;
|
|
98
|
+
}
|
|
99
|
+
.paybar .pay-wrapper .pay-amount .pay-text {
|
|
100
|
+
font-weight: 500;
|
|
101
|
+
}
|
|
102
|
+
.paybar .pay-wrapper .pay-amount .pay-price-float,
|
|
103
|
+
.paybar .pay-wrapper .pay-amount .pay-price-int,
|
|
104
|
+
.paybar .pay-wrapper .pay-amount .pay-currency {
|
|
105
|
+
color: #ff5429;
|
|
106
|
+
font-weight: 500;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -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,50 @@
|
|
|
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
7
|
.price-wrapper .price-item {
|
|
7
|
-
padding: 3.
|
|
8
|
+
padding: 3.73333vmin 0;
|
|
8
9
|
display: flex;
|
|
9
10
|
align-items: center;
|
|
10
11
|
justify-content: space-between;
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
.price-wrapper .price-item:not(:last-child) {
|
|
13
|
-
border-bottom: 0.
|
|
15
|
+
border-bottom: 0.13333vmin solid rgba(240, 240, 240, 0.6);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
19
|
+
.price-wrapper {
|
|
20
|
+
padding: 0 1.95312vmin;
|
|
21
|
+
background: #fff;
|
|
22
|
+
font-size: 1.82292vmin;
|
|
23
|
+
}
|
|
24
|
+
.price-wrapper .price-item {
|
|
25
|
+
padding: 1.82292vmin 0;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
}
|
|
30
|
+
.price-wrapper .price-item:not(:last-child) {
|
|
31
|
+
border-bottom: 0.0651vmin solid rgba(240, 240, 240, 0.6);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
36
|
+
.price-wrapper {
|
|
37
|
+
padding: 0 1.95312vmin;
|
|
38
|
+
background: #fff;
|
|
39
|
+
font-size: 1.82292vmin;
|
|
40
|
+
}
|
|
41
|
+
.price-wrapper .price-item {
|
|
42
|
+
padding: 1.82292vmin 0;
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
}
|
|
47
|
+
.price-wrapper .price-item:not(:last-child) {
|
|
48
|
+
border-bottom: 0.0651vmin solid rgba(240, 240, 240, 0.6);
|
|
49
|
+
}
|
|
14
50
|
}
|