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
@@ -0,0 +1,83 @@
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
+ // PC 放大适配
69
+ @media screen and (min-height: 630px) and (orientation: landscape) {
70
+ $deviceWidth: 1260 !global;
71
+
72
+ .confrim-order {
73
+ @include confrim-order;
74
+ }
75
+ }
76
+ // 横屏pad
77
+ @media screen and (min-height: 768px) and (orientation: landscape) {
78
+ $deviceWidth: 1536 !global;
79
+
80
+ .confrim-order {
81
+ @include confrim-order;
82
+ }
83
+ }
@@ -1,50 +1,216 @@
1
1
  .confrim-order {
2
- padding: 0 4.27vmin;
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.73vmin;
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.35vmin;
19
- line-height: 6.45vmin;
20
- font-size: 3.73vmin;
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.28vmin;
26
- line-height: 5.28vmin;
27
- padding: 0 1.76vmin;
28
- border-radius: 0.59vmin;
29
- font-size: 3.23vmin;
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.07vmin;
47
+ margin-right: 1.06667vmin;
42
48
  width: fit-content;
43
- font-size: 3.73vmin;
49
+ font-size: 3.73333vmin;
44
50
  }
51
+
45
52
  .confrim-order .coupon-panel .coupon-right .have-no-coupon {
46
- margin-right: 1.07vmin;
47
- line-height: 5.87vmin;
48
- font-size: 3.73vmin;
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: 630px) and (orientation: landscape) {
113
+ .confrim-order {
114
+ padding: 0 2.53968vmin;
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: 6.98413vmin;
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.42857vmin;
131
+ line-height: 3.80952vmin;
132
+ font-size: 2.22222vmin;
133
+ color: #333;
134
+ }
135
+ .confrim-order .coupon-panel .coupon-left .coupon-tip {
136
+ box-sizing: border-box;
137
+ height: 3.1746vmin;
138
+ line-height: 3.1746vmin;
139
+ padding: 0 1.11111vmin;
140
+ border-radius: 0.31746vmin;
141
+ font-size: 1.90476vmin;
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.63492vmin;
154
+ width: fit-content;
155
+ font-size: 2.22222vmin;
156
+ }
157
+ .confrim-order .coupon-panel .coupon-right .have-no-coupon {
158
+ margin-right: 0.63492vmin;
159
+ line-height: 3.49206vmin;
160
+ font-size: 2.22222vmin;
161
+ color: #999;
162
+ }
163
+ }
164
+
165
+ @media screen and (min-height: 768px) and (orientation: landscape) {
166
+ .confrim-order {
167
+ padding: 0 2.08333vmin;
168
+ background: #FFF;
169
+ }
170
+ .confrim-order .coupon-panel {
171
+ box-sizing: border-box;
172
+ display: flex;
173
+ justify-content: space-between;
174
+ align-items: center;
175
+ width: 100%;
176
+ height: 5.72917vmin;
177
+ }
178
+ .confrim-order .coupon-panel .coupon-left {
179
+ display: flex;
180
+ align-items: center;
181
+ }
182
+ .confrim-order .coupon-panel .coupon-left .coupon-title {
183
+ margin-right: 1.17188vmin;
184
+ line-height: 3.125vmin;
185
+ font-size: 1.82292vmin;
186
+ color: #333;
187
+ }
188
+ .confrim-order .coupon-panel .coupon-left .coupon-tip {
189
+ box-sizing: border-box;
190
+ height: 2.60417vmin;
191
+ line-height: 2.60417vmin;
192
+ padding: 0 0.91146vmin;
193
+ border-radius: 0.26042vmin;
194
+ font-size: 1.5625vmin;
195
+ color: #FF821F;
196
+ background: rgba(255, 132, 31, 0.16);
197
+ }
198
+ .confrim-order .coupon-panel .coupon-right {
199
+ display: flex;
200
+ flex: 1;
201
+ align-items: center;
202
+ justify-content: flex-end;
203
+ }
204
+ .confrim-order .coupon-panel .coupon-right .coupon-value {
205
+ color: #ff821f;
206
+ margin-right: 0.52083vmin;
207
+ width: fit-content;
208
+ font-size: 1.82292vmin;
209
+ }
210
+ .confrim-order .coupon-panel .coupon-right .have-no-coupon {
211
+ margin-right: 0.52083vmin;
212
+ line-height: 2.86458vmin;
213
+ font-size: 1.82292vmin;
214
+ color: #999;
215
+ }
216
+ }