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,331 @@
1
+ @import "../../../common/css/theme.wxss";
2
+
3
+ $deviceWidth: 750;
4
+ @function vmin($rpx) {
5
+ @return #{$rpx * 100 / $deviceWidth}vmin;
6
+ }
7
+
8
+
9
+ @mixin popUp {
10
+ height: 80%;
11
+ border-radius: vmin(26) vmin(26) 0 0;
12
+ }
13
+
14
+ @mixin coupon-select-box {
15
+ display: flex;
16
+ flex-direction: column;
17
+ margin: 0 auto;
18
+ max-width: 100vmin;
19
+ background-color: #F5F6F9;
20
+ border-radius: vmin(26) vmin(26) 0 0;
21
+ user-select: none;
22
+ &.vertical-screen {
23
+ height: 100%;
24
+ }
25
+ &.full-screen {
26
+ height: vmin(562);
27
+ overflow: scroll;
28
+ margin: vmin(97.5) 0;
29
+
30
+ .header-content {
31
+ position: absolute;
32
+ width: 90vmin;
33
+ }
34
+ }
35
+ .coupon-header {
36
+ display: flex;
37
+ flex-direction: column;
38
+ .header-content {
39
+ display: flex;
40
+ flex-direction: row;
41
+ justify-content: space-between;
42
+ align-items: center;
43
+ height: vmin(90);
44
+ padding: 0 vmin(36);
45
+ top: 0;
46
+ left: 0;
47
+ font-size: vmin(32);
48
+ font-weight: 500;
49
+ background-color: #ffffff;
50
+ border-radius: vmin(26) vmin(26) 0 0;
51
+ }
52
+ .promo-code-wrap {
53
+ display: flex;
54
+ justify-content: center;
55
+ align-items: center;
56
+ padding: 0 vmin(36);
57
+ height: vmin(115);
58
+ background-color: #fff;
59
+ .promo-code-input {
60
+ width: vmin(470);
61
+ height: vmin(84);
62
+ padding: 0 vmin(22);
63
+ border: vmin(1) solid #DCDCDC;
64
+ border-right: none;
65
+ border-radius: vmin(8) 0 0 vmin(8);
66
+ color: #333;
67
+ font-size: vmin(30);
68
+ user-select: text;
69
+ box-shadow: none;
70
+ }
71
+ .promo-code-input::-webkit-input-placeholder {
72
+ color: #c8c8c8;
73
+ }
74
+ .promo-code-input:disabled {
75
+ color: #999;
76
+ background-color: #eee;
77
+ }
78
+ .promo-code-btn {
79
+ width: vmin(180);
80
+ height: vmin(84);
81
+ line-height: vmin(84);
82
+ margin: 0;
83
+ border: none;
84
+ border-radius: 0 vmin(8) vmin(8) 0;
85
+ text-align: center;
86
+ color: #fff;
87
+ font-size: vmin(27);
88
+ cursor: pointer;
89
+ }
90
+ }
91
+ .coupon-code-tip {
92
+ display: flex;
93
+ align-items: center;
94
+ padding: 0 vmin(36);
95
+ background-color: #fff;
96
+ height: vmin(40);
97
+ .tips-img {
98
+ margin-right: 0.88vmin;
99
+ width: vmin(30);
100
+ height: vmin(28);
101
+ }
102
+ text {
103
+ font-size: vmin(26);
104
+ color: #999;
105
+ }
106
+ }
107
+ .coupon-tab_warp{
108
+ display: flex;
109
+ justify-items: center;
110
+ align-items: center;
111
+ font-size: vmin(35);
112
+ padding: 0 vmin(36);
113
+ font-weight: 700;
114
+ text-align: center;
115
+ background-color:#fff;
116
+ text{
117
+ display: block;
118
+ }
119
+ .tabItem{
120
+ position: relative;
121
+ width:50%;
122
+ height:vmin(106);
123
+ line-height: vmin(106);
124
+ text-align: center;
125
+ cursor: pointer;
126
+ }
127
+ .greyColor{
128
+ color: #999999;
129
+ font-size: vmin(30);
130
+ font-weight: normal;
131
+ }
132
+ .activeBorder{
133
+ position:absolute;
134
+ bottom:0;
135
+ left:50%;
136
+ transform: translateX(-50%);
137
+ width:vmin(44);
138
+ height:vmin(4);
139
+ background:#09BB07;
140
+ border-radius: vmin(4);
141
+ }
142
+ }
143
+ .coupon-tips {
144
+ display: flex;
145
+ background: #fff;
146
+ align-items: center;
147
+ justify-items: center;
148
+ padding: vmin(10) vmin(36);
149
+ justify-content: space-between;
150
+ .coupon-tips-font {
151
+ line-height: vmin(55);
152
+ font-size: vmin(26);
153
+ font-weight: 500;
154
+ color: #000;
155
+ .coupon-money-num {
156
+ color: #FF4747;
157
+ }
158
+ }
159
+ .coupon-best-combination {
160
+ min-width: vmin(211);
161
+ height: vmin(53);
162
+ text-align: center;
163
+ line-height: vmin(55);
164
+ background: #FF821F;
165
+ border: 0;
166
+ margin: 0;
167
+ border-radius: vmin(44);
168
+ font-size: vmin(26);
169
+ font-weight: 500;
170
+ color: #fff;
171
+ }
172
+ }
173
+ }
174
+ &.vertical-screen {
175
+ .coupon-list {
176
+ overflow: scroll;
177
+ -webkit-overflow-scrolling: touch;
178
+ }
179
+ }
180
+ .coupon-list {
181
+ box-sizing: border-box;
182
+ flex: 1; /* 撑满剩余容器高度 */
183
+ // overflow: scroll;
184
+ // -webkit-overflow-scrolling: touch;
185
+ text-align: center;
186
+ padding: vmin(26) vmin(35) 0;
187
+
188
+ .coupon-item {
189
+ position: relative;
190
+ display: flex;
191
+ margin-bottom: vmin(26);
192
+ border-radius: vmin(8);
193
+ background: #fff;
194
+ }
195
+
196
+ .not-use-coupon {
197
+ display: flex;
198
+ justify-content: space-between;
199
+ align-items: center;
200
+ width: 100%;
201
+ height: vmin(114);
202
+ margin-bottom: vmin(26);
203
+ border-radius: vmin(8);
204
+ background: #fff;
205
+ .not-use-text {
206
+ width: vmin(558);
207
+ padding-left: vmin(35);
208
+ font-size: vmin(30);
209
+ color: #333;
210
+ text-align: left;
211
+ }
212
+ .choose-box {
213
+ display: flex;
214
+ align-items: center;
215
+ justify-content: center;
216
+ width: vmin(132);
217
+ height: 100%;
218
+ .choose-inner {
219
+ width: vmin(40);
220
+ height: vmin(40);
221
+ border-radius: 50%;
222
+ border: vmin(4) solid #ccc;
223
+ }
224
+ .coupon-not-used {
225
+ border: none;
226
+ }
227
+ }
228
+ }
229
+
230
+ }
231
+
232
+ .coupon-bottom {
233
+ height: vmin(100);
234
+ display: flex;
235
+ align-items: center;
236
+ justify-content: center;
237
+ background-color: #fff;
238
+ .coupon-confirm-button {
239
+ height: vmin(80);
240
+ border-radius: vmin(48);
241
+ line-height: vmin(80);
242
+ text-align: center;
243
+ font-size: vmin(30);
244
+ font-weight: 500;
245
+ color: #fff;
246
+ }
247
+ }
248
+ &.vertical-screen {
249
+ .coupon-bottom {
250
+ padding: 0 vmin(36);
251
+ .coupon-confirm-button {
252
+ background: #FF821F;
253
+ width: vmin(754);
254
+ }
255
+ }
256
+ .promo-code-btn {
257
+ background-color: #FF821F !important;
258
+ }
259
+ }
260
+ &.full-screen {
261
+ .coupon-bottom {
262
+ width: 100%;
263
+ position: absolute;
264
+ bottom: 0;
265
+ .coupon-confirm-button {
266
+ background: linear-gradient(270deg, rgba(254,101,0,1) 0%, rgba(255,65,2,1) 100%);
267
+ width: vmin(712);
268
+ }
269
+ }
270
+ .promo-code-btn {
271
+ background: linear-gradient(270deg, rgba(254,101,0,1) 0%, rgba(255,65,2,1) 100%);
272
+ }
273
+ }
274
+ .coupon_emptypage{
275
+ text-align: center;
276
+ margin: vmin(15) 0 vmin(75) 0;
277
+ font-size: vmin(26);
278
+ color:#ADADB4;
279
+ .coupon_emptyImg{
280
+ margin-bottom: vmin(16);
281
+ width: vmin(188);
282
+ height: vmin(188);
283
+ background-size: 100% 100%;
284
+ }
285
+
286
+ }
287
+ }
288
+
289
+ .popUp {
290
+ @include popUp;
291
+ }
292
+
293
+ .coupon-select-box {
294
+ @include coupon-select-box;
295
+ }
296
+ // 竖屏pad
297
+ @media screen and (min-width: 768px) and (orientation: portrait) {
298
+ $deviceWidth: 1536 !global;
299
+
300
+ .popUp {
301
+ @include popUp;
302
+ }
303
+
304
+ .coupon-select-box {
305
+ @include coupon-select-box;
306
+ }
307
+ }
308
+ // PC 放大适配
309
+ @media screen and (min-height: 630px) and (orientation: landscape) {
310
+ $deviceWidth: 1260 !global;
311
+
312
+ .popUp {
313
+ @include popUp;
314
+ }
315
+
316
+ .coupon-select-box {
317
+ @include coupon-select-box;
318
+ }
319
+ }
320
+ // 横屏pad
321
+ @media screen and (min-height: 768px) and (orientation: landscape) {
322
+ $deviceWidth: 1536 !global;
323
+
324
+ .popUp {
325
+ @include popUp;
326
+ }
327
+
328
+ .coupon-select-box {
329
+ @include coupon-select-box;
330
+ }
331
+ }