xiaoe_mp_npm 1.0.36 → 1.0.37-test02

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 (101) hide show
  1. package/miniprogram_dist/CouponList/components/CouponItem/index.js +1 -22
  2. package/miniprogram_dist/CouponList/components/CouponItem/index.json +0 -1
  3. package/miniprogram_dist/CouponList/components/CouponItem/index.scss +134 -230
  4. package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +113 -175
  5. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +12 -172
  6. package/miniprogram_dist/CouponList/couponColumn/index.js +38 -118
  7. package/miniprogram_dist/CouponList/couponColumn/index.scss +74 -134
  8. package/miniprogram_dist/CouponList/couponColumn/index.wxml +32 -43
  9. package/miniprogram_dist/CouponList/couponColumn/index.wxss +8 -168
  10. package/miniprogram_dist/CouponList/stuCouponPopup/index.js +19 -17
  11. package/miniprogram_dist/GoodsItem/index.json +6 -6
  12. package/miniprogram_dist/GoodsItem/index.wxs +18 -18
  13. package/miniprogram_dist/LiveGoodsList/Header/index.js +54 -54
  14. package/miniprogram_dist/LiveGoodsList/Header/index.json +6 -6
  15. package/miniprogram_dist/LiveGoodsList/Header/index.less +45 -45
  16. package/miniprogram_dist/LiveGoodsList/Header/index.scss +105 -105
  17. package/miniprogram_dist/LiveGoodsList/Header/index.wxml +32 -32
  18. package/miniprogram_dist/LiveGoodsList/README.md +9 -9
  19. package/miniprogram_dist/LiveGoodsList/index.json +8 -8
  20. package/miniprogram_dist/LiveGoodsList/index.less +53 -53
  21. package/miniprogram_dist/LiveGoodsList/index.scss +92 -92
  22. package/miniprogram_dist/Task/TaskBubble/index.js +7 -1
  23. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.js +27 -0
  24. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxml +5 -0
  25. package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.js +9 -2
  26. package/miniprogram_dist/Task/TaskPopup/index.js +3 -2
  27. package/miniprogram_dist/common/api/couponlist.js +1 -21
  28. package/package.json +2 -2
  29. package/src/AliveInvite/LiveRoomVertical/index.wxss +252 -252
  30. package/src/CollectionAddress/index.wxss +5 -5
  31. package/src/ConfirmOrder/components/AddressEdit/index.wxss +120 -120
  32. package/src/ConfirmOrder/components/AddressManage/index.wxss +98 -98
  33. package/src/ConfirmOrder/components/AddressSelect/index.wxss +67 -67
  34. package/src/ConfirmOrder/components/ChoosePicker/index.wxss +18 -18
  35. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxss +45 -45
  36. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxss +100 -100
  37. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.wxss +55 -55
  38. package/src/ConfirmOrder/components/GoodsInfo/components/ImageData/index.wxss +13 -13
  39. package/src/ConfirmOrder/components/Header/index.wxss +26 -26
  40. package/src/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.wxss +85 -85
  41. package/src/ConfirmOrder/components/Invoice/components/InvoiceTip/index.wxss +51 -51
  42. package/src/ConfirmOrder/components/ModeSelect/index.wxss +44 -44
  43. package/src/ConfirmOrder/components/PickupSelect/index.wxss +22 -22
  44. package/src/ConfirmOrder/components/SelectSite/index.wxss +82 -82
  45. package/src/ConfirmOrder/components/Shipper/index.wxss +76 -76
  46. package/src/ConfirmOrder/components/ShipperEdit/index.wxss +78 -78
  47. package/src/ConfirmOrder/components/WechatAddress/index.wxss +22 -22
  48. package/src/ConfirmOrder/index.wxss +5 -5
  49. package/src/CouponList/components/CouponItem/index.js +1 -22
  50. package/src/CouponList/components/CouponItem/index.json +0 -1
  51. package/src/CouponList/components/CouponItem/index.scss +134 -230
  52. package/src/CouponList/components/CouponItem/index.wxml +113 -175
  53. package/src/CouponList/components/CouponItem/index.wxss +1 -1
  54. package/src/CouponList/couponColumn/index.js +38 -118
  55. package/src/CouponList/couponColumn/index.scss +74 -134
  56. package/src/CouponList/couponColumn/index.wxml +32 -43
  57. package/src/CouponList/couponColumn/index.wxss +23 -168
  58. package/src/CouponList/stuCouponPopup/index.js +19 -17
  59. package/src/CustomPopup/index.wxss +22 -22
  60. package/src/GoodsItem/index.json +6 -6
  61. package/src/GoodsItem/index.wxs +18 -18
  62. package/src/LiveGoodsList/Header/index.js +54 -54
  63. package/src/LiveGoodsList/Header/index.json +6 -6
  64. package/src/LiveGoodsList/Header/index.less +45 -45
  65. package/src/LiveGoodsList/Header/index.scss +105 -105
  66. package/src/LiveGoodsList/Header/index.wxml +32 -32
  67. package/src/LiveGoodsList/README.md +9 -9
  68. package/src/LiveGoodsList/index.json +8 -8
  69. package/src/LiveGoodsList/index.less +53 -53
  70. package/src/LiveGoodsList/index.scss +92 -92
  71. package/src/LiveGoodsList/index.wxss +218 -218
  72. package/src/PayComplete/Components/CouponItem/index.wxss +122 -122
  73. package/src/PayComplete/Components/Header/index.wxss +27 -27
  74. package/src/PayComplete/Components/LeadGroup/index.wxss +33 -33
  75. package/src/PayComplete/Components/PayGifts/index.wxss +157 -157
  76. package/src/PayComplete/Components/PayState/earnIntegral/index.wxss +23 -23
  77. package/src/PayComplete/Components/PayState/index.wxss +20 -20
  78. package/src/PayComplete/index.wxss +27 -27
  79. package/src/PayModule/wechatLoading/index.wxss +57 -57
  80. package/src/Recommend/index.wxss +110 -110
  81. package/src/Sku/Header/index.wxss +27 -27
  82. package/src/Sku/goods-info/index.wxss +52 -52
  83. package/src/Sku/index/index.wxss +52 -52
  84. package/src/Sku/row-item/index.wxss +50 -50
  85. package/src/Sku/step/index.wxss +11 -11
  86. package/src/Task/TaskBubble/index.js +7 -1
  87. package/src/Task/TaskBubble/index.wxss +289 -289
  88. package/src/Task/TaskIcon/index.wxss +130 -130
  89. package/src/Task/TaskPopup/component/RewardList/index.wxss +18 -18
  90. package/src/Task/TaskPopup/component/TaskItem/index.js +27 -0
  91. package/src/Task/TaskPopup/component/TaskItem/index.wxml +5 -0
  92. package/src/Task/TaskPopup/component/TaskList/index.js +9 -2
  93. package/src/Task/TaskPopup/component/TaskList/index.wxss +118 -118
  94. package/src/Task/TaskPopup/index.js +3 -2
  95. package/src/Task/TaskPopup/index.wxss +406 -406
  96. package/src/Task/taskReceivePopup/customPrizes/index.wxss +220 -220
  97. package/src/Task/taskReceivePopup/index.wxss +1 -1
  98. package/src/Task/taskReceivePopup/integral/index.wxss +94 -94
  99. package/src/common/api/couponlist.js +1 -21
  100. package/src/common/css/theme.wxss +16 -16
  101. package/src/miniprogram_npm/miniprogram-computed/index.js +1 -0
@@ -95,11 +95,6 @@ Component({
95
95
  isNewList: {
96
96
  type: Boolean,
97
97
  value: false
98
- },
99
- // 是优惠券管理
100
- isCouponManage: {
101
- type: Boolean,
102
- value: false
103
98
  }
104
99
  },
105
100
  /**
@@ -362,12 +357,6 @@ Component({
362
357
  });
363
358
  },
364
359
  getCouponFunction() {
365
- if (this.data.isCouponManage) {
366
- this.triggerEvent('selectCoupon', {
367
- couponItem: this.data.item
368
- });
369
- return
370
- }
371
360
  if (this.data.isFullscreenList || (this.data.userRole === 'teacher' && !this.data.isFullScreenPopCard)) {
372
361
  this.sendCoupon();
373
362
  } else if (this.data.coupon_type == 1 || this.data.coupon_type == 2) {
@@ -639,16 +628,6 @@ Component({
639
628
  this.setData({ coupon_type: COUPON_TYPE_ENUM.RECEIVED_COMPLETED }); // 展示已领完
640
629
  }
641
630
  }
642
- },
643
- showCoupon() {
644
- this.triggerEvent('showCoupon', {
645
- couponItem: this.data.item
646
- });
647
- },
648
- hideCoupon() {
649
- this.triggerEvent('hideCoupon', {
650
- couponItem: this.data.item
651
- });
652
- },
631
+ }
653
632
  }
654
633
  });
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "component": true,
3
3
  "usingComponents": {
4
- "van-checkbox": "@vant/weapp/checkbox/index"
5
4
  }
6
5
  }
@@ -6,24 +6,15 @@ $deviceWidth: 750;
6
6
 
7
7
  // 互动页优惠券卡片样式
8
8
  @mixin styleType1_wrapper {
9
- .hide-img {
10
- position: absolute;
11
- right: 0;
12
- top: 0;
13
- width: vmin(110);
14
- height: vmin(110);
15
- }
16
9
  &.pop-card {
17
10
  width: vmin(280);
18
11
  margin-bottom: 0;
19
12
  position: relative;
20
13
  height: 100%;
21
-
22
14
  /* 右下角卡片 */
23
15
  &.vertical-screen {
24
16
  width: vmin(280);
25
17
  height: 100%;
26
-
27
18
  .coupon_style1 {
28
19
  display: flex;
29
20
  flex-direction: column;
@@ -31,7 +22,6 @@ $deviceWidth: 750;
31
22
  width: 100%;
32
23
  min-height: vmin(360);
33
24
  background: none !important;
34
-
35
25
  .couponValue {
36
26
  padding: vmin(40) vmin(16) vmin(16) vmin(16);
37
27
  width: 98.5%;
@@ -40,8 +30,7 @@ $deviceWidth: 750;
40
30
  color: #fff;
41
31
  border-radius: vmin(16) vmin(16) 0 0;
42
32
  margin: 0;
43
-
44
- .couponUseCondition {
33
+ .couponUseCondition{
45
34
  color: #fff;
46
35
  padding-top: vmin(0) !important;
47
36
  }
@@ -96,7 +85,6 @@ $deviceWidth: 750;
96
85
  &.not-pop-card {
97
86
  margin-bottom: vmin(32);
98
87
  }
99
-
100
88
  /* 讨论区 */
101
89
  .coupon_style1 {
102
90
  height: 100%;
@@ -104,32 +92,26 @@ $deviceWidth: 750;
104
92
  background: url('https://commonresource-1252524126.cdn.xiaoeknow.com/image/lwofsfs60b74.png') no-repeat;
105
93
  background-size: 99% 99%;
106
94
  box-sizing: border-box;
107
-
108
95
  .couponValue {
109
96
  width: vmin(192);
110
97
  box-sizing: border-box;
111
98
  padding: 0 .4vmin;
112
-
113
- .couponPriceWrap {
99
+ .couponPriceWrap{
114
100
  margin-top: -1.6vmin;
115
101
  }
116
-
117
- .coupon-price-long {
102
+ .coupon-price-long{
118
103
  margin-top: 1vmin;
119
104
  }
120
105
  }
121
-
122
106
  .couponName {
123
107
  font-size: vmin(24) !important;
124
108
  }
125
-
126
109
  .couponInfo {
127
110
  height: vmin(170);
128
111
  justify-content: flex-start;
129
112
  overflow: hidden;
130
113
  padding: vmin(16) vmin(22) vmin(16) vmin(26);
131
114
  }
132
-
133
115
  .couponState {
134
116
  position: absolute;
135
117
  right: vmin(12);
@@ -152,18 +134,16 @@ $deviceWidth: 750;
152
134
  &.full-screen-list {
153
135
  width: vmin(694);
154
136
  margin: vmin(24) vmin(32) 0 vmin(32);
155
-
156
137
  /* 全屏列表 */
157
138
  .coupon_style1 {
158
- height: vmin(192);
139
+ height: vmin(176);
159
140
  }
160
141
  }
161
142
 
162
-
143
+
163
144
  .is-gray {
164
145
  filter: grayscale(100%) opacity(0.5);
165
146
  }
166
-
167
147
  .coupon_style1 {
168
148
  display: flex;
169
149
  align-items: center;
@@ -172,7 +152,6 @@ $deviceWidth: 750;
172
152
  width: 100%;
173
153
  background: url('https://commonresource-1252524126.cdn.xiaoeknow.com/image/lw67cw3y0qse.png') center no-repeat;
174
154
  background-size: 99% 99%;
175
-
176
155
  // height: vmin(184);
177
156
  .couponValue {
178
157
  width: vmin(192);
@@ -184,13 +163,11 @@ $deviceWidth: 750;
184
163
  align-items: center;
185
164
  justify-content: center;
186
165
  position: relative;
187
-
188
- .giftCouponName {
166
+ .giftCouponName{
189
167
  font-size: vmin(36);
190
168
  font-weight: 500;
191
169
  }
192
-
193
- .giftCouponTitle {
170
+ .giftCouponTitle{
194
171
  font-size: vmin(32);
195
172
  font-weight: 500;
196
173
  overflow: hidden;
@@ -201,7 +178,6 @@ $deviceWidth: 750;
201
178
  text-align: center;
202
179
 
203
180
  }
204
-
205
181
  .couponPriceWrap {
206
182
  position: relative;
207
183
  display: flex;
@@ -224,12 +200,10 @@ $deviceWidth: 750;
224
200
  font-weight: 500;
225
201
  }
226
202
  }
227
-
228
203
  .discount-percent {
229
204
  margin-top: -2vmin;
230
205
  padding-top: vmin(6) !important;
231
206
  }
232
-
233
207
  .couponUseCondition {
234
208
  width: vmin(160);
235
209
  margin: 0 auto;
@@ -245,13 +219,14 @@ $deviceWidth: 750;
245
219
 
246
220
  .couponInfo {
247
221
  // flex: 1;
222
+ position: relative;
248
223
  display: flex;
249
224
  flex-direction: column;
250
225
  justify-content: space-around;
251
226
  max-width: vmin(302);
252
227
  height: 100%;
253
228
  box-sizing: border-box;
254
- padding: vmin(24) 0 vmin(24) vmin(32);
229
+ padding: vmin(26) 0 vmin(26) vmin(32);
255
230
  color: #666;
256
231
  font-size: vmin(24);
257
232
  line-height: vmin(24);
@@ -270,35 +245,20 @@ $deviceWidth: 750;
270
245
  -webkit-line-clamp: 1;
271
246
  -webkit-box-orient: vertical;
272
247
  }
273
-
274
- .moreCouponInfo {
248
+ .moreCouponInfo{
275
249
  display: flex;
276
250
  flex-direction: column;
277
251
  justify-content: space-between;
278
- font-size: vmin(24);
279
- color: #666666;
280
252
  }
281
253
 
282
254
  .couponUseHint {
283
255
  margin-bottom: vmin(4);
284
256
  line-height: vmin(32);
285
- max-width: vmin(222);
286
- white-space: nowrap;
287
- overflow: hidden;
288
- text-overflow: ellipsis;
289
- color: #666666;
290
- font-size: vmin(24);
291
257
  }
292
258
 
293
259
  .couponUseTime {
294
260
  line-height: vmin(32);
295
261
  // margin-bottom: 4.8vmin;
296
- font-size: vmin(24);
297
- color: #666666;
298
- white-space: nowrap;
299
- overflow: hidden;
300
- text-overflow: ellipsis;
301
- max-width: vmin(222)
302
262
  }
303
263
 
304
264
  .moreInfo {
@@ -314,7 +274,6 @@ $deviceWidth: 750;
314
274
  }
315
275
  }
316
276
  }
317
-
318
277
  .blank-item {
319
278
  flex: 1;
320
279
  }
@@ -328,28 +287,6 @@ $deviceWidth: 750;
328
287
  border: none;
329
288
  cursor: pointer;
330
289
  margin-right: vmin(24);
331
- flex-shrink: 1;
332
-
333
- &.teacher-btn{
334
- .couponBtn{
335
- position: absolute;
336
- bottom: vmin(24);
337
- right: vmin(28);
338
- display: flex;
339
- justify-content: center;
340
- align-items: center;
341
- width: vmin(96);
342
- height: vmin(56);
343
- flex-shrink: 1;
344
- &.is-line{
345
- background: initial;
346
- color: #ff5429;
347
- border: 1px #ff5429 solid;
348
- right: vmin(138);
349
- box-sizing: border-box;
350
- }
351
- }
352
- }
353
290
 
354
291
  &.fullscreen-btn {
355
292
  width: vmin(144);
@@ -369,7 +306,6 @@ $deviceWidth: 750;
369
306
  text-align: center;
370
307
  font-family: "PingFang SC";
371
308
  }
372
-
373
309
  .received {
374
310
  opacity: 0.4;
375
311
  }
@@ -436,8 +372,7 @@ $deviceWidth: 750;
436
372
  width: 100%;
437
373
  height: 100%;
438
374
  }
439
-
440
- .giftCouponInfo {
375
+ .giftCouponInfo{
441
376
  display: flex;
442
377
  flex-direction: column;
443
378
  justify-content: center;
@@ -450,8 +385,7 @@ $deviceWidth: 750;
450
385
  line-height: vmin(24);
451
386
  font-weight: 400;
452
387
  padding: 0 vmin(16);
453
-
454
- .giftCouponName {
388
+ .giftCouponName{
455
389
  font-size: vmin(36);
456
390
  font-weight: 500;
457
391
  height: vmin(32);
@@ -459,7 +393,6 @@ $deviceWidth: 750;
459
393
  margin-bottom: vmin(40);
460
394
  }
461
395
  }
462
-
463
396
  .couponInfo {
464
397
  display: inline-flex;
465
398
  flex-direction: column;
@@ -583,26 +516,22 @@ $deviceWidth: 750;
583
516
  width: vmin(476);
584
517
  margin-bottom: 0;
585
518
  }
586
-
519
+
587
520
  .coupon_style1 {
588
521
  height: 100%;
589
522
  width: 100%;
590
523
  background: url('https://commonresource-1252524126.cdn.xiaoeknow.com/image/lwofsfs60b74.png') no-repeat !important;
591
524
  background-size: 99% 99%;
592
-
593
525
  .couponValue {
594
526
  width: vmin(190);
595
527
  }
596
-
597
528
  .couponName {
598
529
  font-size: vmin(24) !important;
599
530
  }
600
-
601
531
  .couponInfo {
602
532
  justify-content: flex-start;
603
533
  padding: vmin(16) vmin(22) vmin(16) vmin(26);
604
534
  }
605
-
606
535
  .couponState {
607
536
  position: absolute;
608
537
  right: vmin(12);
@@ -638,7 +567,6 @@ $deviceWidth: 750;
638
567
  width: 100%;
639
568
  background: url('https://commonresource-1252524126.cdn.xiaoeknow.com/image/lw67cw3y0qse.png') center no-repeat;
640
569
  background-size: 100% 100%;
641
-
642
570
  // height: vmin(184);
643
571
  .couponValue {
644
572
  padding: vmin(25) 0;
@@ -651,11 +579,10 @@ $deviceWidth: 750;
651
579
  justify-content: center;
652
580
  position: relative;
653
581
 
654
- .giftCouponName {
582
+ .giftCouponName{
655
583
  font-size: vmin(36);
656
584
  font-weight: 500;
657
585
  }
658
-
659
586
  .couponPriceWrap {
660
587
  position: relative;
661
588
  display: flex;
@@ -673,7 +600,6 @@ $deviceWidth: 750;
673
600
  align-items: baseline;
674
601
  font-weight: 500;
675
602
  font-size: vmin(64) !important;
676
-
677
603
  &.discount-percent {
678
604
  margin-top: -1vmin;
679
605
  }
@@ -688,12 +614,12 @@ $deviceWidth: 750;
688
614
  font-weight: 500;
689
615
  }
690
616
 
691
- .discount-decimal {
617
+ .discount-decimal{
692
618
  display: flex;
693
619
  align-items: center;
694
620
  }
695
621
 
696
- &.couponPriceWrap-discount-v {
622
+ &.couponPriceWrap-discount-v{
697
623
  align-items: baseline;
698
624
  }
699
625
  }
@@ -816,156 +742,141 @@ $deviceWidth: 750;
816
742
  background-size: 100% 100%;
817
743
  padding-top: vmin(80);
818
744
  box-sizing: border-box;
819
-
820
745
  .coupon-title {
821
- width: vmin(248);
822
- margin: 0 auto;
823
- text-align: center;
824
- overflow: hidden;
825
- white-space: nowrap;
826
- text-overflow: ellipsis;
827
- color: #fffce0;
828
- font-size: vmin(24);
829
- font-weight: 500;
830
- line-height: vmin(32);
831
- margin-top: vmin(24);
832
- }
833
-
834
- .coupon-discount {
835
- margin-top: vmin(8);
836
- color: #fffce0;
837
- line-height: vmin(64);
838
- font-size: vmin(56);
839
- font-weight: 600;
840
- text-align: center;
841
-
842
- .disc-logo {
843
- font-family: "D-DIN";
844
- font-size: vmin(40);
845
- line-height: vmin(40);
846
- }
847
-
848
- .disc-detail {
849
- font-family: "D-DIN";
850
- }
851
-
852
- .discount-detail {
853
- color: #fffce0;
854
- text-align: center;
855
- font-size: vmin(24);
856
- line-height: vmin(32);
857
- overflow: hidden;
858
- text-overflow: ellipsis;
859
- white-space: nowrap;
860
- }
861
-
862
- .disc-bpart {
863
- font-size: vmin(40);
864
- line-height: vmin(40);
865
- }
866
- }
867
-
868
- .coupon-gift {
869
- //height: 2.56rem;
870
- display: flex;
871
- justify-content: center;
872
- align-items: center;
873
- flex-direction: column;
874
-
875
- &-label {
876
746
  width: vmin(248);
747
+ margin: 0 auto;
877
748
  text-align: center;
878
749
  overflow: hidden;
879
750
  white-space: nowrap;
880
751
  text-overflow: ellipsis;
881
752
  color: #fffce0;
882
- font-family: "PingFang SC";
883
- font-size: vmin(40);
884
- font-weight: 600;
885
- height: vmin(56);
886
- line-height: vmin(56);
753
+ font-size: vmin(24);
754
+ font-weight: 500;
755
+ line-height: vmin(32);
887
756
  margin-top: vmin(24);
888
- margin-bottom: vmin(8);
889
- }
890
-
891
- &-title {
757
+ }
758
+ .coupon-discount {
759
+ margin-top: vmin(8);
760
+ color: #fffce0;
761
+ line-height: vmin(64);
762
+ font-size: vmin(56);
763
+ font-weight: 600;
764
+ text-align: center;
765
+ .disc-logo {
766
+ font-family: "D-DIN";
767
+ font-size: vmin(40);
768
+ line-height: vmin(40);
769
+ }
770
+ .disc-detail {
771
+ font-family: "D-DIN";
772
+ }
773
+ .discount-detail {
774
+ color: #fffce0;
775
+ text-align: center;
776
+ font-size: vmin(24);
777
+ line-height: vmin(32);
778
+ overflow: hidden;
779
+ text-overflow: ellipsis;
780
+ white-space: nowrap;
781
+ }
782
+ .disc-bpart {
783
+ font-size: vmin(40);
784
+ line-height: vmin(40);
785
+ }
786
+ }
787
+ .coupon-gift {
788
+ //height: 2.56rem;
892
789
  display: flex;
893
790
  justify-content: center;
894
791
  align-items: center;
895
- height: vmin(72);
896
-
897
- .title-txt {
898
- width: vmin(248);
899
- color: #fffce0;
900
- text-align: center;
901
- display: -webkit-box;
902
- -webkit-box-orient: vertical;
903
- -webkit-line-clamp: 2;
904
- font-family: "PingFang SC";
905
- font-size: vmin(24);
906
- font-weight: 600;
907
- line-height: vmin(36);
908
- overflow: hidden;
792
+ flex-direction: column;
793
+ &-label {
794
+ width: vmin(248);
795
+ text-align: center;
796
+ overflow: hidden;
797
+ white-space: nowrap;
798
+ text-overflow: ellipsis;
799
+ color: #fffce0;
800
+ font-family: "PingFang SC";
801
+ font-size: vmin(40);
802
+ font-weight: 600;
803
+ height: vmin(56);
804
+ line-height: vmin(56);
805
+ margin-top: vmin(24);
806
+ margin-bottom: vmin(8);
807
+ }
808
+ &-title {
809
+ display: flex;
810
+ justify-content: center;
811
+ align-items: center;
812
+ height: vmin(72);
813
+ .title-txt {
814
+ width: vmin(248);
815
+ color: #fffce0;
816
+ text-align: center;
817
+ display: -webkit-box;
818
+ -webkit-box-orient: vertical;
819
+ -webkit-line-clamp: 2;
820
+ font-family: "PingFang SC";
821
+ font-size: vmin(24);
822
+ font-weight: 600;
823
+ line-height: vmin(36);
824
+ overflow: hidden;
825
+ }
909
826
  }
910
- }
911
827
  }
912
-
913
828
  .coupon-usage {
914
- margin-top: vmin(32);
915
- font-size: vmin(24);
916
- font-weight: 400;
917
- line-height: vmin(32);
918
- overflow: hidden;
919
- color: #ffffff;
920
- text-align: center;
921
- text-overflow: ellipsis;
922
-
923
- .qlive-coupon-btn {
924
- margin: vmin(24) auto 0;
925
- width: vmin(224);
926
- display: flex;
927
- height: vmin(56);
928
- justify-content: center;
929
- align-items: center;
930
- gap: vmin(8);
931
- border-radius: vmin(28);
932
- border: vmin(2) solid #f8ffaa;
933
- background: linear-gradient(0deg, #ffffe9 0%, #ffe499 100%);
934
- box-shadow: 0 vmin(4) vmin(12) 0 #ff5034, 0 vmin(8) vmin(8) 0 #ffffff33 inset;
935
- box-sizing: border-box;
936
- color: #ff5429;
937
- text-align: center;
938
- font-size: vmin(28);
939
- font-weight: 600;
940
- }
941
-
942
- .disable-btn {
943
- border: none;
944
- background: #ebebeb;
945
- color: #b2b2b2;
946
- }
947
-
948
- .received-btn {
949
- border: 1px solid #f8ffaa;
950
- opacity: 0.4;
951
- background: linear-gradient(0deg, #ffffe9 0%, #ffe499 100%);
952
- color: #ff5429;
953
- }
954
-
955
- .discount-date-new {
956
- width: vmin(248);
829
+ margin-top: vmin(32);
830
+ font-size: vmin(24);
831
+ font-weight: 400;
832
+ line-height: vmin(32);
833
+ overflow: hidden;
957
834
  color: #ffffff;
958
835
  text-align: center;
959
- overflow: hidden;
960
- white-space: nowrap;
961
836
  text-overflow: ellipsis;
962
- font-family: "PingFang SC";
963
- font-size: vmin(22);
964
- font-style: normal;
965
- font-weight: 400;
966
- line-height: vmin(32);
967
- margin: 0 auto;
968
- }
837
+ .qlive-coupon-btn {
838
+ margin: vmin(24) auto 0;
839
+ width: vmin(224);
840
+ display: flex;
841
+ height: vmin(56);
842
+ justify-content: center;
843
+ align-items: center;
844
+ gap: vmin(8);
845
+ border-radius: vmin(28);
846
+ border: vmin(2) solid #f8ffaa;
847
+ background: linear-gradient(0deg, #ffffe9 0%, #ffe499 100%);
848
+ box-shadow: 0 vmin(4) vmin(12) 0 #ff5034, 0 vmin(8) vmin(8) 0 #ffffff33 inset;
849
+ box-sizing: border-box;
850
+ color: #ff5429;
851
+ text-align: center;
852
+ font-size: vmin(28);
853
+ font-weight: 600;
854
+ }
855
+ .disable-btn {
856
+ border: none;
857
+ background: #ebebeb;
858
+ color: #b2b2b2;
859
+ }
860
+ .received-btn {
861
+ border: 1px solid #f8ffaa;
862
+ opacity: 0.4;
863
+ background: linear-gradient(0deg, #ffffe9 0%, #ffe499 100%);
864
+ color: #ff5429;
865
+ }
866
+ .discount-date-new {
867
+ width: vmin(248);
868
+ color: #ffffff;
869
+ text-align: center;
870
+ overflow: hidden;
871
+ white-space: nowrap;
872
+ text-overflow: ellipsis;
873
+ font-family: "PingFang SC";
874
+ font-size: vmin(22);
875
+ font-style: normal;
876
+ font-weight: 400;
877
+ line-height: vmin(32);
878
+ margin: 0 auto;
879
+ }
969
880
  }
970
881
  }
971
882
 
@@ -1006,7 +917,6 @@ $deviceWidth: 750;
1006
917
  @include coupon-container;
1007
918
  }
1008
919
  }
1009
-
1010
920
  // PC 放大适配
1011
921
  @media screen and (min-height: 630px) and (orientation: landscape) {
1012
922
  $deviceWidth: 1260 !global;
@@ -1027,7 +937,6 @@ $deviceWidth: 750;
1027
937
  @include coupon-container;
1028
938
  }
1029
939
  }
1030
-
1031
940
  // 横屏pad
1032
941
  @media screen and (min-height: 768px) and (orientation: landscape) {
1033
942
  $deviceWidth: 1536 !global;
@@ -1048,8 +957,3 @@ $deviceWidth: 750;
1048
957
  @include coupon-container;
1049
958
  }
1050
959
  }
1051
-
1052
- .coupon-manage {
1053
- display: flex;
1054
- align-items: center;
1055
- }