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.
Files changed (123) hide show
  1. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  2. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +37 -1
  3. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  4. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +522 -36
  5. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  6. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +170 -14
  7. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +61 -0
  8. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +68 -2
  9. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  10. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +26 -2
  11. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +62 -0
  12. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +81 -3
  13. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.scss +41 -0
  14. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxss +35 -3
  15. package/miniprogram_dist/CouponList/components/CouponItem/index.css +1715 -1715
  16. package/miniprogram_dist/CouponList/components/CouponItem/index.js +31 -22
  17. package/miniprogram_dist/CouponList/components/CouponItem/index.min.css +1 -1
  18. package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +6 -2
  19. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +1037 -79
  20. package/miniprogram_dist/CouponList/couponColumn/index.js +5 -1
  21. package/miniprogram_dist/CouponList/couponColumn/index.scss +118 -0
  22. package/miniprogram_dist/CouponList/couponColumn/index.wxml +1 -0
  23. package/miniprogram_dist/CouponList/couponColumn/index.wxss +221 -32
  24. package/miniprogram_dist/CouponReceivePopup/index.js +75 -0
  25. package/miniprogram_dist/CouponReceivePopup/index.json +6 -0
  26. package/miniprogram_dist/CouponReceivePopup/index.scss +99 -0
  27. package/miniprogram_dist/CouponReceivePopup/index.wxml +85 -0
  28. package/miniprogram_dist/CouponReceivePopup/index.wxss +75 -0
  29. package/miniprogram_dist/GoodsItem/index.js +7 -5
  30. package/miniprogram_dist/GoodsItem/index.scss +45 -22
  31. package/miniprogram_dist/GoodsItem/index.wxml +11 -11
  32. package/miniprogram_dist/GoodsItem/index.wxs +18 -18
  33. package/miniprogram_dist/GoodsItem/index.wxss +1273 -116
  34. package/miniprogram_dist/GoodsRecommend/index.scss +162 -0
  35. package/miniprogram_dist/GoodsRecommend/index.wxss +418 -33
  36. package/miniprogram_dist/LiveGoodsList/Header/index.scss +79 -0
  37. package/miniprogram_dist/LiveGoodsList/Header/index.wxss +148 -10
  38. package/miniprogram_dist/LiveGoodsList/index.js +167 -25
  39. package/miniprogram_dist/LiveGoodsList/index.scss +93 -0
  40. package/miniprogram_dist/LiveGoodsList/index.wxml +41 -19
  41. package/miniprogram_dist/LiveGoodsList/index.wxss +187 -19
  42. package/miniprogram_dist/PayModule/button/index.scss +45 -0
  43. package/miniprogram_dist/PayModule/button/index.wxss +46 -4
  44. package/miniprogram_dist/TeacherGoodsList/index.js +778 -585
  45. package/miniprogram_dist/TeacherGoodsList/index.scss +5 -2
  46. package/miniprogram_dist/TeacherGoodsList/index.wxml +42 -24
  47. package/miniprogram_dist/TeacherGoodsList/index.wxss +132 -14
  48. package/miniprogram_dist/common/api/liveGoodsList.js +10 -2
  49. package/miniprogram_dist/common/utils/index.js +14 -0
  50. package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
  51. package/miniprogram_dist/coupon/components/CouponItem/index.scss +247 -0
  52. package/miniprogram_dist/coupon/components/CouponItem/index.wxss +677 -86
  53. package/miniprogram_dist/coupon/components/CouponSelect/index.scss +331 -0
  54. package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +861 -59
  55. package/miniprogram_dist/coupon/index.scss +83 -0
  56. package/miniprogram_dist/coupon/index.wxss +171 -15
  57. package/package.json +2 -2
  58. package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  59. package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +42 -1
  60. package/src/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  61. package/src/ConfirmOrder/components/GoodsInfo/index.wxss +552 -39
  62. package/src/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  63. package/src/ConfirmOrder/components/IntegralSelect/index.wxss +182 -14
  64. package/src/ConfirmOrder/components/Invoice/index.scss +61 -0
  65. package/src/ConfirmOrder/components/Invoice/index.wxss +75 -2
  66. package/src/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  67. package/src/ConfirmOrder/components/LeaveWord/index.wxss +30 -2
  68. package/src/ConfirmOrder/components/PayBar/index.scss +62 -0
  69. package/src/ConfirmOrder/components/PayBar/index.wxss +87 -3
  70. package/src/ConfirmOrder/components/PayDetail/index.scss +41 -0
  71. package/src/ConfirmOrder/components/PayDetail/index.wxss +39 -3
  72. package/src/CouponList/components/CouponItem/index.css +1715 -1715
  73. package/src/CouponList/components/CouponItem/index.js +31 -22
  74. package/src/CouponList/components/CouponItem/index.min.css +1 -1
  75. package/src/CouponList/components/CouponItem/index.wxml +6 -2
  76. package/src/CouponList/components/CouponItem/index.wxss +1039 -85
  77. package/src/CouponList/couponColumn/index.js +5 -1
  78. package/src/CouponList/couponColumn/index.scss +118 -0
  79. package/src/CouponList/couponColumn/index.wxml +1 -0
  80. package/src/CouponList/couponColumn/index.wxss +236 -32
  81. package/src/CouponReceivePopup/index.js +75 -0
  82. package/src/CouponReceivePopup/index.json +6 -0
  83. package/src/CouponReceivePopup/index.scss +99 -0
  84. package/src/CouponReceivePopup/index.wxml +85 -0
  85. package/src/CouponReceivePopup/index.wxss +1 -0
  86. package/src/GoodsItem/index.js +7 -5
  87. package/src/GoodsItem/index.scss +45 -22
  88. package/src/GoodsItem/index.wxml +11 -11
  89. package/src/GoodsItem/index.wxs +18 -18
  90. package/src/GoodsItem/index.wxss +1331 -116
  91. package/src/GoodsRecommend/index.scss +162 -0
  92. package/src/GoodsRecommend/index.wxss +441 -33
  93. package/src/LiveGoodsList/Header/index.scss +79 -0
  94. package/src/LiveGoodsList/Header/index.wxss +156 -10
  95. package/src/LiveGoodsList/index.js +167 -25
  96. package/src/LiveGoodsList/index.scss +93 -0
  97. package/src/LiveGoodsList/index.wxml +41 -19
  98. package/src/LiveGoodsList/index.wxss +230 -50
  99. package/src/PayModule/button/index.scss +45 -0
  100. package/src/PayModule/button/index.wxss +50 -4
  101. package/src/TeacherGoodsList/index.js +778 -585
  102. package/src/TeacherGoodsList/index.scss +5 -2
  103. package/src/TeacherGoodsList/index.wxml +42 -24
  104. package/src/TeacherGoodsList/index.wxss +151 -14
  105. package/src/common/api/liveGoodsList.js +10 -2
  106. package/src/common/utils/index.js +14 -0
  107. package/src/coupon/components/CouponItem/index.less +1 -0
  108. package/src/coupon/components/CouponItem/index.scss +247 -0
  109. package/src/coupon/components/CouponItem/index.wxss +712 -86
  110. package/src/coupon/components/CouponSelect/index.scss +331 -0
  111. package/src/coupon/components/CouponSelect/index.wxss +910 -59
  112. package/src/coupon/index.scss +83 -0
  113. package/src/coupon/index.wxss +181 -15
  114. package/miniprogram_dist/GoodsItem/index.css +0 -1364
  115. package/miniprogram_dist/GoodsItem/index.less +0 -299
  116. package/miniprogram_dist/GoodsItem/index.min.css +0 -1
  117. package/miniprogram_dist/TeacherGoodsList/index.css +0 -187
  118. package/miniprogram_dist/TeacherGoodsList/index.min.css +0 -1
  119. package/src/GoodsItem/index.css +0 -1364
  120. package/src/GoodsItem/index.less +0 -299
  121. package/src/GoodsItem/index.min.css +0 -1
  122. package/src/TeacherGoodsList/index.css +0 -187
  123. 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.13vmin 0 rgba(0, 0, 0, 0.08);
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.33vmin;
14
- height: 14.93vmin;
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.73vmin;
4
+ font-size: 3.73333vmin;
5
5
  }
6
+
6
7
  .price-wrapper .price-item {
7
- padding: 3.73vmin 0;
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.13vmin solid rgba(240, 240, 240, 0.6);
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
  }