xiaoe_mp_npm 0.5.42-alpha4 → 0.5.42-alpha5

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 (34) hide show
  1. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +8 -0
  2. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +12 -0
  3. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +8 -0
  4. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +162 -0
  5. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +8 -0
  6. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +52 -0
  7. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +10 -0
  8. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +22 -0
  9. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +8 -0
  10. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +8 -0
  11. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +8 -0
  12. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +26 -0
  13. package/miniprogram_dist/CouponList/components/CouponItem/index.scss +15 -0
  14. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +412 -0
  15. package/miniprogram_dist/CouponList/couponColumn/index.scss +12 -0
  16. package/miniprogram_dist/CouponList/couponColumn/index.wxss +63 -0
  17. package/miniprogram_dist/GoodsItem/index.scss +9 -1
  18. package/miniprogram_dist/GoodsItem/index.wxss +272 -0
  19. package/miniprogram_dist/GoodsRecommend/index.scss +8 -0
  20. package/miniprogram_dist/GoodsRecommend/index.wxss +129 -0
  21. package/miniprogram_dist/LiveGoodsList/Header/index.scss +8 -0
  22. package/miniprogram_dist/LiveGoodsList/Header/index.wxss +46 -0
  23. package/miniprogram_dist/LiveGoodsList/index.scss +8 -0
  24. package/miniprogram_dist/LiveGoodsList/index.wxss +52 -0
  25. package/miniprogram_dist/PayModule/button/index.scss +8 -0
  26. package/miniprogram_dist/PayModule/button/index.wxss +14 -0
  27. package/miniprogram_dist/common/utils/index.js +6 -2
  28. package/miniprogram_dist/coupon/components/CouponItem/index.scss +8 -0
  29. package/miniprogram_dist/coupon/components/CouponItem/index.wxss +677 -86
  30. package/miniprogram_dist/coupon/components/CouponSelect/index.scss +12 -0
  31. package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +267 -0
  32. package/miniprogram_dist/coupon/index.scss +8 -0
  33. package/miniprogram_dist/coupon/index.wxss +52 -0
  34. package/package.json +1 -1
@@ -27,6 +27,14 @@ $deviceWidth: 750;
27
27
  @include confirm-order-content;
28
28
  }
29
29
  }
30
+ // PC 放大适配
31
+ @media screen and (min-height: 630px) and (orientation: landscape) {
32
+ $deviceWidth: 1260 !global;
33
+
34
+ .confirm-order-content {
35
+ @include confirm-order-content;
36
+ }
37
+ }
30
38
  // 横屏pad
31
39
  @media screen and (min-height: 768px) and (orientation: landscape) {
32
40
  $deviceWidth: 1536 !global;
@@ -20,6 +20,18 @@
20
20
  margin-bottom: 1.04167vmin;
21
21
  }
22
22
  }
23
+ @media screen and (min-height: 630px) and (orientation: landscape) {
24
+ .confirm-order-content {
25
+ height: 100%;
26
+ }
27
+ .confirm-order-content .confirm-main {
28
+ padding-bottom: 11.90476vmin;
29
+ background: #f5f5f5;
30
+ }
31
+ .confirm-order-content .confirm-main .coupon-integral-wrapper {
32
+ margin-bottom: 1.26984vmin;
33
+ }
34
+ }
23
35
  @media screen and (min-height: 768px) and (orientation: landscape) {
24
36
  .confirm-order-content {
25
37
  height: 100%;
@@ -205,6 +205,14 @@ $deviceWidth: 750;
205
205
  @include goods-info-wrapper;
206
206
  }
207
207
  }
208
+ // PC 放大适配
209
+ @media screen and (min-height: 630px) and (orientation: landscape) {
210
+ $deviceWidth: 1260 !global;
211
+
212
+ .goods-info-wrapper {
213
+ @include goods-info-wrapper;
214
+ }
215
+ }
208
216
  // 横屏pad
209
217
  @media screen and (min-height: 768px) and (orientation: landscape) {
210
218
  $deviceWidth: 1536 !global;
@@ -320,6 +320,168 @@
320
320
  background: none;
321
321
  }
322
322
  }
323
+ @media screen and (min-height: 630px) and (orientation: landscape) {
324
+ .goods-info-wrapper {
325
+ margin-bottom: 1.42857vmin;
326
+ background: #fff;
327
+ }
328
+ .goods-info-wrapper .font-12 {
329
+ font-size: 1.90476vmin;
330
+ }
331
+ .goods-info-wrapper .goods-info {
332
+ padding: 2.53968vmin;
333
+ }
334
+ .goods-info-wrapper .goods-info .shop-title {
335
+ display: flex;
336
+ align-items: center;
337
+ }
338
+ .goods-info-wrapper .goods-info .shop-title .shop-img {
339
+ width: 2.53968vmin;
340
+ height: 2.53968vmin;
341
+ margin-right: 1.26984vmin;
342
+ }
343
+ .goods-info-wrapper .goods-info .shop-title .shop-name {
344
+ font-size: 2.22222vmin;
345
+ }
346
+ .goods-info-wrapper .goods-info .goods-wrapper {
347
+ display: flex;
348
+ margin-top: 2.53968vmin;
349
+ }
350
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-thumbnail {
351
+ position: relative;
352
+ flex: 0 0 14.28571vmin;
353
+ height: 14.28571vmin;
354
+ width: 14.28571vmin;
355
+ border-radius: 0.63492vmin;
356
+ border: 0.15873vmin solid #e5e5e5;
357
+ overflow: hidden;
358
+ }
359
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-thumbnail .goods-type {
360
+ position: absolute;
361
+ right: 0.63492vmin;
362
+ bottom: 0.63492vmin;
363
+ text-size-adjust: none;
364
+ color: #ffffff !important;
365
+ padding: 0.47619vmin;
366
+ border-radius: 0.31746vmin;
367
+ background: rgba(0, 0, 0, 0.25);
368
+ font-size: 1.5873vmin;
369
+ backdrop-filter: blur(1.90476vmin);
370
+ font-weight: 500;
371
+ }
372
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-thumbnail .svip-tag {
373
+ position: absolute;
374
+ top: 0;
375
+ left: 0;
376
+ padding: 0.15873vmin 0.63492vmin;
377
+ background: linear-gradient(315deg, #333333 0%, #525252 68%, #333333 100%);
378
+ border-radius: 0.63492vmin 0vmin 0.63492vmin 0vmin;
379
+ }
380
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-thumbnail .svip-tag-text {
381
+ font-size: 1.5873vmin;
382
+ text-size-adjust: none;
383
+ color: #ffc266;
384
+ }
385
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail {
386
+ flex: 1;
387
+ margin-left: 1.90476vmin;
388
+ display: flex;
389
+ flex-direction: column;
390
+ justify-content: space-around;
391
+ padding: 0;
392
+ }
393
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-title {
394
+ display: -webkit-box;
395
+ -webkit-box-orient: vertical;
396
+ -webkit-line-clamp: 2;
397
+ overflow: hidden;
398
+ word-break: break-all;
399
+ }
400
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-title .goods-tag {
401
+ margin-right: 0.31746vmin;
402
+ white-space: nowrap;
403
+ color: #1472FF;
404
+ border: 0.15873vmin solid #1472FF;
405
+ padding: 0 0.63492vmin;
406
+ border-radius: 0.31746vmin;
407
+ background-color: #fff;
408
+ top: -vmin(4);
409
+ position: relative;
410
+ }
411
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-title .goods-name {
412
+ font-size: 2.22222vmin;
413
+ }
414
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-specification {
415
+ margin-top: 0.95238vmin;
416
+ height: 2.85714vmin;
417
+ color: #999;
418
+ word-break: break-all;
419
+ }
420
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity {
421
+ display: flex;
422
+ justify-content: space-between;
423
+ align-items: flex-end;
424
+ margin-top: 0.95238vmin;
425
+ width: 100%;
426
+ color: #999;
427
+ }
428
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-pay-info {
429
+ flex-grow: 1;
430
+ display: flex;
431
+ flex-direction: column;
432
+ }
433
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-limit {
434
+ margin-bottom: 1.26984vmin;
435
+ display: flex;
436
+ font-size: 1.90476vmin;
437
+ }
438
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-limit .border-blue {
439
+ border: #1472FF 0.02rem solid;
440
+ color: #1472ff;
441
+ padding: 0 0.63492vmin;
442
+ margin-right: 0.63492vmin;
443
+ border-radius: 0.31746vmin;
444
+ }
445
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-limit .border-orange {
446
+ border: #ff781f 0.15873vmin solid;
447
+ color: #ff781f;
448
+ padding: 0 0.63492vmin;
449
+ border-radius: 0.31746vmin;
450
+ }
451
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-price {
452
+ display: inline-block;
453
+ margin-right: 0.63492vmin;
454
+ margin-bottom: 0;
455
+ font-size: 2.53968vmin;
456
+ }
457
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-tags {
458
+ display: inline-block;
459
+ }
460
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-tag {
461
+ display: inline-block;
462
+ padding: 0.15873vmin 0.95238vmin;
463
+ font-size: 1.5873vmin;
464
+ border-radius: 1.5873vmin;
465
+ }
466
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-tag + .goods-tag {
467
+ margin-left: 0.63492vmin;
468
+ }
469
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-tag.marketing-tag {
470
+ color: #ff781f;
471
+ background: #fff3eb;
472
+ }
473
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-tag.send-friend {
474
+ color: #07c160;
475
+ border: 0.15873vmin solid rgba(7, 193, 96, 0.5);
476
+ }
477
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-counter {
478
+ flex-shrink: 0;
479
+ }
480
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-counter .goods-plus,
481
+ .goods-info-wrapper .goods-info .goods-wrapper .goods-detail .goods-quantity .goods-counter .goods-minus {
482
+ background: none;
483
+ }
484
+ }
323
485
  @media screen and (min-height: 768px) and (orientation: landscape) {
324
486
  .goods-info-wrapper {
325
487
  margin-bottom: 1.17188vmin;
@@ -73,6 +73,14 @@ $deviceWidth: 750;
73
73
  @include integral-select;
74
74
  }
75
75
  }
76
+ // PC 放大适配
77
+ @media screen and (min-height: 630px) and (orientation: landscape) {
78
+ $deviceWidth: 1260 !global;
79
+
80
+ .integral-select {
81
+ @include integral-select;
82
+ }
83
+ }
76
84
  // 横屏pad
77
85
  @media screen and (min-height: 768px) and (orientation: landscape) {
78
86
  $deviceWidth: 1536 !global;
@@ -100,6 +100,58 @@
100
100
  color: #c8c8c8;
101
101
  }
102
102
  }
103
+ @media screen and (min-height: 630px) and (orientation: landscape) {
104
+ .integral-select {
105
+ padding: 0 2.53968vmin;
106
+ background-color: #fff;
107
+ }
108
+ .integral-select .integral-wrapper {
109
+ border-top: 0.07937vmin solid #eee;
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: space-between;
113
+ box-sizing: border-box;
114
+ background: #fff;
115
+ height: 6.98413vmin;
116
+ }
117
+ .integral-select .integral-wrapper .width16 {
118
+ width: 2.53968vmin;
119
+ }
120
+ .integral-select .integral-wrapper .left-text {
121
+ display: flex;
122
+ flex-direction: row;
123
+ align-items: center;
124
+ }
125
+ .integral-select .integral-wrapper .left-text .title {
126
+ font-size: 2.22222vmin;
127
+ color: #333;
128
+ }
129
+ .integral-select .integral-wrapper .left-text .tips-icon {
130
+ width: 2.22222vmin;
131
+ height: 2.22222vmin;
132
+ margin-left: 0.63492vmin;
133
+ color: #999;
134
+ padding-top: 0.15873vmin;
135
+ }
136
+ .integral-select .integral-wrapper .right-text {
137
+ display: flex;
138
+ align-items: center;
139
+ }
140
+ .integral-select .integral-wrapper .right-text .current {
141
+ font-size: 2.22222vmin;
142
+ color: #999;
143
+ margin-right: 1.26984vmin;
144
+ }
145
+ .integral-select .integral-wrapper .right-text .discount {
146
+ font-size: 2.22222vmin;
147
+ color: #ff8205;
148
+ margin-right: 1.26984vmin;
149
+ }
150
+ .integral-select .integral-wrapper .cannot-use {
151
+ font-size: 2.22222vmin;
152
+ color: #c8c8c8;
153
+ }
154
+ }
103
155
  @media screen and (min-height: 768px) and (orientation: landscape) {
104
156
  .integral-select {
105
157
  padding: 0 2.08333vmin;
@@ -41,6 +41,16 @@ $deviceWidth: 750;
41
41
  @include invoice-show;
42
42
  }
43
43
  }
44
+
45
+ // PC 放大适配
46
+ @media screen and (min-height: 630px) and (orientation: landscape) {
47
+ $deviceWidth: 1260 !global;
48
+
49
+ .invoice-show {
50
+ @include invoice-show;
51
+ }
52
+ }
53
+
44
54
  // 横屏pad
45
55
  @media screen and (min-height: 768px) and (orientation: landscape) {
46
56
  $deviceWidth: 1536 !global;
@@ -40,6 +40,28 @@
40
40
  color: #ccc;
41
41
  }
42
42
  }
43
+ @media screen and (min-height: 630px) and (orientation: landscape) {
44
+ .invoice-show .invoice-title {
45
+ min-width: 11.42857vmin;
46
+ flex-grow: 0;
47
+ }
48
+ .invoice-show .right-cont {
49
+ display: flex;
50
+ text-align: right;
51
+ align-items: center;
52
+ justify-content: flex-end;
53
+ }
54
+ .invoice-show .right-cont .img-zhixiang {
55
+ width: 2.53968vmin;
56
+ height: 2.53968vmin;
57
+ }
58
+ .invoice-show .EC1 {
59
+ color: #333;
60
+ }
61
+ .invoice-show .EC4 {
62
+ color: #ccc;
63
+ }
64
+ }
43
65
  @media screen and (min-height: 768px) and (orientation: landscape) {
44
66
  .invoice-show .invoice-title {
45
67
  min-width: 9.375vmin;
@@ -22,6 +22,14 @@ $deviceWidth: 750;
22
22
  @include leave-word;
23
23
  }
24
24
  }
25
+ // PC 放大适配
26
+ @media screen and (min-height: 630px) and (orientation: landscape) {
27
+ $deviceWidth: 1260 !global;
28
+
29
+ .leave-word {
30
+ @include leave-word;
31
+ }
32
+ }
25
33
  // 横屏pad
26
34
  @media screen and (min-height: 768px) and (orientation: landscape) {
27
35
  $deviceWidth: 1536 !global;
@@ -12,6 +12,14 @@
12
12
  line-height: 2.60417vmin;
13
13
  }
14
14
  }
15
+ @media screen and (min-height: 630px) and (orientation: landscape) {
16
+ .leave-word {
17
+ margin-bottom: 1.26984vmin;
18
+ }
19
+ .leave-word .van-cell {
20
+ line-height: 3.1746vmin;
21
+ }
22
+ }
15
23
  @media screen and (min-height: 768px) and (orientation: landscape) {
16
24
  .leave-word {
17
25
  margin-bottom: 1.04167vmin;
@@ -44,6 +44,14 @@ $deviceWidth: 750;
44
44
  @include paybar;
45
45
  }
46
46
  }
47
+ // PC 放大适配
48
+ @media screen and (min-height: 630px) and (orientation: landscape) {
49
+ $deviceWidth: 1260 !global;
50
+
51
+ p.paybar {
52
+ @include paybar;
53
+ }
54
+ }
47
55
  // 横屏pad
48
56
  @media screen and (min-height: 768px) and (orientation: landscape) {
49
57
  $deviceWidth: 1536 !global;
@@ -48,6 +48,32 @@
48
48
  font-weight: 500;
49
49
  }
50
50
  }
51
+ @media screen and (min-height: 630px) and (orientation: landscape) {
52
+ p.paybar {
53
+ bottom: 0;
54
+ background: #fff;
55
+ box-shadow: 0 0 1.26984vmin 0 rgba(0, 0, 0, 0.08);
56
+ position: fixed;
57
+ width: 100%;
58
+ }
59
+ p.paybar .pay-wrapper {
60
+ display: flex;
61
+ justify-content: space-between;
62
+ align-items: center;
63
+ box-sizing: border-box;
64
+ padding: 0 3.1746vmin;
65
+ height: 8.88889vmin;
66
+ }
67
+ p.paybar .pay-wrapper .pay-amount .pay-text {
68
+ font-weight: 500;
69
+ }
70
+ p.paybar .pay-wrapper .pay-amount .pay-price-float,
71
+ p.paybar .pay-wrapper .pay-amount .pay-price-int,
72
+ p.paybar .pay-wrapper .pay-amount .pay-currency {
73
+ color: #ff5429;
74
+ font-weight: 500;
75
+ }
76
+ }
51
77
  @media screen and (min-height: 768px) and (orientation: landscape) {
52
78
  .paybar {
53
79
  bottom: 0;
@@ -558,7 +558,22 @@ $deviceWidth: 750;
558
558
  @include styleType1_wrapper-v;
559
559
  }
560
560
  }
561
+ // PC 放大适配
562
+ @media screen and (min-height: 630px) and (orientation: landscape) {
563
+ $deviceWidth: 1260 !global;
561
564
 
565
+ .styleType1_wrapper {
566
+ @include styleType1_wrapper;
567
+ }
568
+
569
+ .styleType2_wrapper {
570
+ @include styleType2_wrapper;
571
+ }
572
+
573
+ .styleType1_wrapper-v {
574
+ @include styleType1_wrapper-v;
575
+ }
576
+ }
562
577
  // 横屏pad
563
578
  @media screen and (min-height: 768px) and (orientation: landscape) {
564
579
  $deviceWidth: 1536 !global;