xiaoe_mp_npm 0.5.26-alpha7 → 0.5.26-alpha9
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.
- package/miniprogram_dist/CouponList/components/CouponItem/index.scss +19 -0
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +262 -0
- package/miniprogram_dist/GoodsItem/index.js +1 -1
- package/package.json +1 -1
- package/src/CouponList/components/CouponItem/index.scss +19 -0
- package/src/CouponList/components/CouponItem/index.wxss +265 -1
- package/src/GoodsItem/index.js +1 -1
|
@@ -557,4 +557,23 @@ $deviceWidth: 750;
|
|
|
557
557
|
|
|
558
558
|
.styleType1_wrapper-v {
|
|
559
559
|
@include styleType1_wrapper-v;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
// 竖屏pad
|
|
564
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
565
|
+
$deviceWidth: 1536 !global;
|
|
566
|
+
|
|
567
|
+
.styleType1_wrapper-v {
|
|
568
|
+
@include styleType1_wrapper-v;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
// 横屏pad
|
|
573
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
574
|
+
$deviceWidth: 1536 !global;
|
|
575
|
+
|
|
576
|
+
.styleType1_wrapper-v {
|
|
577
|
+
@include styleType1_wrapper-v;
|
|
578
|
+
}
|
|
560
579
|
}
|
|
@@ -424,3 +424,265 @@
|
|
|
424
424
|
text-align: center;
|
|
425
425
|
font-family: "PingFang SC";
|
|
426
426
|
}
|
|
427
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
428
|
+
.styleType1_wrapper-v.vertical-screen {
|
|
429
|
+
width: 17.1875vmin;
|
|
430
|
+
height: 23.69792vmin;
|
|
431
|
+
margin: 0 auto;
|
|
432
|
+
}
|
|
433
|
+
.styleType1_wrapper-v.vertical-screen.not-pop-card {
|
|
434
|
+
margin-bottom: 0;
|
|
435
|
+
}
|
|
436
|
+
.styleType1_wrapper-v.vertical-screen .coupon_style1 {
|
|
437
|
+
height: 11.19792vmin;
|
|
438
|
+
}
|
|
439
|
+
.styleType1_wrapper-v.full-screen-list {
|
|
440
|
+
width: 92.47vmin;
|
|
441
|
+
margin: 3.2vmin 4.27vmin 0 4.27vmin;
|
|
442
|
+
}
|
|
443
|
+
.styleType1_wrapper-v.full-screen-list .coupon_style1 {
|
|
444
|
+
height: 27vmin;
|
|
445
|
+
}
|
|
446
|
+
.styleType1_wrapper-v .coupon_style1 {
|
|
447
|
+
display: block;
|
|
448
|
+
position: static;
|
|
449
|
+
width: 100%;
|
|
450
|
+
}
|
|
451
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue {
|
|
452
|
+
padding: 1.6276vmin 0;
|
|
453
|
+
min-width: unset;
|
|
454
|
+
height: 11.19792vmin;
|
|
455
|
+
background: #ff781f;
|
|
456
|
+
color: #fff;
|
|
457
|
+
display: flex;
|
|
458
|
+
flex-direction: column;
|
|
459
|
+
justify-content: space-around;
|
|
460
|
+
align-items: center;
|
|
461
|
+
box-sizing: border-box;
|
|
462
|
+
border-radius: 1.04167vmin 1.04167vmin 0 0;
|
|
463
|
+
}
|
|
464
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap {
|
|
465
|
+
position: relative;
|
|
466
|
+
display: flex;
|
|
467
|
+
flex-direction: row;
|
|
468
|
+
align-items: center;
|
|
469
|
+
font-weight: 700;
|
|
470
|
+
}
|
|
471
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-symbol {
|
|
472
|
+
margin-right: 0.26042vmin;
|
|
473
|
+
font-size: 2.08333vmin;
|
|
474
|
+
}
|
|
475
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-price {
|
|
476
|
+
display: flex;
|
|
477
|
+
align-items: baseline;
|
|
478
|
+
font-weight: 500;
|
|
479
|
+
font-size: 4.16667vmin !important;
|
|
480
|
+
}
|
|
481
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-price-long {
|
|
482
|
+
font-size: 3.125vmin !important;
|
|
483
|
+
}
|
|
484
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .discountFont {
|
|
485
|
+
font-size: 2.08333vmin;
|
|
486
|
+
font-weight: 500;
|
|
487
|
+
}
|
|
488
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .discount-decimal {
|
|
489
|
+
display: flex;
|
|
490
|
+
align-items: center;
|
|
491
|
+
}
|
|
492
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap.couponPriceWrap-discount-v {
|
|
493
|
+
align-items: baseline;
|
|
494
|
+
}
|
|
495
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponUseCondition {
|
|
496
|
+
color: white;
|
|
497
|
+
font-size: 1.5625vmin;
|
|
498
|
+
font-weight: 500;
|
|
499
|
+
font-family: "PingFang SC";
|
|
500
|
+
text-align: center;
|
|
501
|
+
line-height: 2.08333vmin;
|
|
502
|
+
}
|
|
503
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo {
|
|
504
|
+
display: flex;
|
|
505
|
+
flex-direction: column;
|
|
506
|
+
justify-content: flex-start;
|
|
507
|
+
width: 100%;
|
|
508
|
+
height: 12.5vmin;
|
|
509
|
+
box-sizing: border-box;
|
|
510
|
+
background: white;
|
|
511
|
+
padding: 1.04167vmin;
|
|
512
|
+
color: #999999;
|
|
513
|
+
font-size: 1.30208vmin;
|
|
514
|
+
line-height: 1.30208vmin;
|
|
515
|
+
font-weight: 400;
|
|
516
|
+
text-align: left;
|
|
517
|
+
border-radius: 0 0 1.04167vmin 1.04167vmin;
|
|
518
|
+
}
|
|
519
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponName {
|
|
520
|
+
color: #333;
|
|
521
|
+
font-size: 1.5625vmin;
|
|
522
|
+
line-height: 2.08333vmin;
|
|
523
|
+
height: 2.08333vmin;
|
|
524
|
+
width: 15.10417vmin;
|
|
525
|
+
font-weight: 700;
|
|
526
|
+
margin-bottom: 0.52083vmin;
|
|
527
|
+
overflow: hidden;
|
|
528
|
+
white-space: nowrap;
|
|
529
|
+
text-overflow: ellipsis;
|
|
530
|
+
}
|
|
531
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponUseHint {
|
|
532
|
+
margin-bottom: 0.52083vmin;
|
|
533
|
+
}
|
|
534
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponUseTime {
|
|
535
|
+
margin-bottom: 0;
|
|
536
|
+
}
|
|
537
|
+
.styleType1_wrapper-v .coupon_style1 .couponState {
|
|
538
|
+
position: absolute;
|
|
539
|
+
right: 1.04167vmin;
|
|
540
|
+
bottom: 1.04167vmin;
|
|
541
|
+
height: 3.125vmin;
|
|
542
|
+
line-height: 3.125vmin;
|
|
543
|
+
border-radius: 0.52083vmin;
|
|
544
|
+
border: 0;
|
|
545
|
+
background: #ff781f;
|
|
546
|
+
}
|
|
547
|
+
.styleType1_wrapper-v .coupon_style1 .couponState.vertical-btn {
|
|
548
|
+
width: 15.10417vmin;
|
|
549
|
+
}
|
|
550
|
+
.styleType1_wrapper-v .coupon_style1 .couponState .couponBtn {
|
|
551
|
+
color: white;
|
|
552
|
+
font-size: 1.5625vmin;
|
|
553
|
+
font-weight: 500;
|
|
554
|
+
text-align: center;
|
|
555
|
+
font-family: "PingFang SC";
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
559
|
+
.styleType1_wrapper-v.vertical-screen {
|
|
560
|
+
width: 17.1875vmin;
|
|
561
|
+
height: 23.69792vmin;
|
|
562
|
+
margin: 0 auto;
|
|
563
|
+
}
|
|
564
|
+
.styleType1_wrapper-v.vertical-screen.not-pop-card {
|
|
565
|
+
margin-bottom: 0;
|
|
566
|
+
}
|
|
567
|
+
.styleType1_wrapper-v.vertical-screen .coupon_style1 {
|
|
568
|
+
height: 11.19792vmin;
|
|
569
|
+
}
|
|
570
|
+
.styleType1_wrapper-v.full-screen-list {
|
|
571
|
+
width: 92.47vmin;
|
|
572
|
+
margin: 3.2vmin 4.27vmin 0 4.27vmin;
|
|
573
|
+
}
|
|
574
|
+
.styleType1_wrapper-v.full-screen-list .coupon_style1 {
|
|
575
|
+
height: 27vmin;
|
|
576
|
+
}
|
|
577
|
+
.styleType1_wrapper-v .coupon_style1 {
|
|
578
|
+
display: block;
|
|
579
|
+
position: static;
|
|
580
|
+
width: 100%;
|
|
581
|
+
}
|
|
582
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue {
|
|
583
|
+
padding: 1.6276vmin 0;
|
|
584
|
+
min-width: unset;
|
|
585
|
+
height: 11.19792vmin;
|
|
586
|
+
background: #ff781f;
|
|
587
|
+
color: #fff;
|
|
588
|
+
display: flex;
|
|
589
|
+
flex-direction: column;
|
|
590
|
+
justify-content: space-around;
|
|
591
|
+
align-items: center;
|
|
592
|
+
box-sizing: border-box;
|
|
593
|
+
border-radius: 1.04167vmin 1.04167vmin 0 0;
|
|
594
|
+
}
|
|
595
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap {
|
|
596
|
+
position: relative;
|
|
597
|
+
display: flex;
|
|
598
|
+
flex-direction: row;
|
|
599
|
+
align-items: center;
|
|
600
|
+
font-weight: 700;
|
|
601
|
+
}
|
|
602
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-symbol {
|
|
603
|
+
margin-right: 0.26042vmin;
|
|
604
|
+
font-size: 2.08333vmin;
|
|
605
|
+
}
|
|
606
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-price {
|
|
607
|
+
display: flex;
|
|
608
|
+
align-items: baseline;
|
|
609
|
+
font-weight: 500;
|
|
610
|
+
font-size: 4.16667vmin !important;
|
|
611
|
+
}
|
|
612
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-price-long {
|
|
613
|
+
font-size: 3.125vmin !important;
|
|
614
|
+
}
|
|
615
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .discountFont {
|
|
616
|
+
font-size: 2.08333vmin;
|
|
617
|
+
font-weight: 500;
|
|
618
|
+
}
|
|
619
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .discount-decimal {
|
|
620
|
+
display: flex;
|
|
621
|
+
align-items: center;
|
|
622
|
+
}
|
|
623
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap.couponPriceWrap-discount-v {
|
|
624
|
+
align-items: baseline;
|
|
625
|
+
}
|
|
626
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponUseCondition {
|
|
627
|
+
color: white;
|
|
628
|
+
font-size: 1.5625vmin;
|
|
629
|
+
font-weight: 500;
|
|
630
|
+
font-family: "PingFang SC";
|
|
631
|
+
text-align: center;
|
|
632
|
+
line-height: 2.08333vmin;
|
|
633
|
+
}
|
|
634
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo {
|
|
635
|
+
display: flex;
|
|
636
|
+
flex-direction: column;
|
|
637
|
+
justify-content: flex-start;
|
|
638
|
+
width: 100%;
|
|
639
|
+
height: 12.5vmin;
|
|
640
|
+
box-sizing: border-box;
|
|
641
|
+
background: white;
|
|
642
|
+
padding: 1.04167vmin;
|
|
643
|
+
color: #999999;
|
|
644
|
+
font-size: 1.30208vmin;
|
|
645
|
+
line-height: 1.30208vmin;
|
|
646
|
+
font-weight: 400;
|
|
647
|
+
text-align: left;
|
|
648
|
+
border-radius: 0 0 1.04167vmin 1.04167vmin;
|
|
649
|
+
}
|
|
650
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponName {
|
|
651
|
+
color: #333;
|
|
652
|
+
font-size: 1.5625vmin;
|
|
653
|
+
line-height: 2.08333vmin;
|
|
654
|
+
height: 2.08333vmin;
|
|
655
|
+
width: 15.10417vmin;
|
|
656
|
+
font-weight: 700;
|
|
657
|
+
margin-bottom: 0.52083vmin;
|
|
658
|
+
overflow: hidden;
|
|
659
|
+
white-space: nowrap;
|
|
660
|
+
text-overflow: ellipsis;
|
|
661
|
+
}
|
|
662
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponUseHint {
|
|
663
|
+
margin-bottom: 0.52083vmin;
|
|
664
|
+
}
|
|
665
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponUseTime {
|
|
666
|
+
margin-bottom: 0;
|
|
667
|
+
}
|
|
668
|
+
.styleType1_wrapper-v .coupon_style1 .couponState {
|
|
669
|
+
position: absolute;
|
|
670
|
+
right: 1.04167vmin;
|
|
671
|
+
bottom: 1.04167vmin;
|
|
672
|
+
height: 3.125vmin;
|
|
673
|
+
line-height: 3.125vmin;
|
|
674
|
+
border-radius: 0.52083vmin;
|
|
675
|
+
border: 0;
|
|
676
|
+
background: #ff781f;
|
|
677
|
+
}
|
|
678
|
+
.styleType1_wrapper-v .coupon_style1 .couponState.vertical-btn {
|
|
679
|
+
width: 15.10417vmin;
|
|
680
|
+
}
|
|
681
|
+
.styleType1_wrapper-v .coupon_style1 .couponState .couponBtn {
|
|
682
|
+
color: white;
|
|
683
|
+
font-size: 1.5625vmin;
|
|
684
|
+
font-weight: 500;
|
|
685
|
+
text-align: center;
|
|
686
|
+
font-family: "PingFang SC";
|
|
687
|
+
}
|
|
688
|
+
}
|
|
@@ -497,7 +497,7 @@ Component({
|
|
|
497
497
|
let params = encodeURIComponent(`img_url=${img_url}&title=${title}¶ms_url=${this.data.params_url}`)
|
|
498
498
|
console.log("urlurlurl", `/page/customerService/customerService?params=${params}`)
|
|
499
499
|
if (this.data.goodsItem.resource_type === 4) {
|
|
500
|
-
wx && wx.
|
|
500
|
+
wx && wx.redirectTo({
|
|
501
501
|
url: `/pages/webView/webView?appId=${this.properties.aliveInfo.app_id}&aliveId=${this.data.goodsItem.id}&refreshAliveId=${this.properties.aliveInfo.alive_id}`,
|
|
502
502
|
})
|
|
503
503
|
|
package/package.json
CHANGED
|
@@ -557,4 +557,23 @@ $deviceWidth: 750;
|
|
|
557
557
|
|
|
558
558
|
.styleType1_wrapper-v {
|
|
559
559
|
@include styleType1_wrapper-v;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
// 竖屏pad
|
|
564
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
565
|
+
$deviceWidth: 1536 !global;
|
|
566
|
+
|
|
567
|
+
.styleType1_wrapper-v {
|
|
568
|
+
@include styleType1_wrapper-v;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
// 横屏pad
|
|
573
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
574
|
+
$deviceWidth: 1536 !global;
|
|
575
|
+
|
|
576
|
+
.styleType1_wrapper-v {
|
|
577
|
+
@include styleType1_wrapper-v;
|
|
578
|
+
}
|
|
560
579
|
}
|
|
@@ -494,4 +494,268 @@
|
|
|
494
494
|
font-weight: 500;
|
|
495
495
|
text-align: center;
|
|
496
496
|
font-family: "PingFang SC";
|
|
497
|
-
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
500
|
+
.styleType1_wrapper-v.vertical-screen {
|
|
501
|
+
width: 17.1875vmin;
|
|
502
|
+
height: 23.69792vmin;
|
|
503
|
+
margin: 0 auto;
|
|
504
|
+
}
|
|
505
|
+
.styleType1_wrapper-v.vertical-screen.not-pop-card {
|
|
506
|
+
margin-bottom: 0;
|
|
507
|
+
}
|
|
508
|
+
.styleType1_wrapper-v.vertical-screen .coupon_style1 {
|
|
509
|
+
height: 11.19792vmin;
|
|
510
|
+
}
|
|
511
|
+
.styleType1_wrapper-v.full-screen-list {
|
|
512
|
+
width: 92.47vmin;
|
|
513
|
+
margin: 3.2vmin 4.27vmin 0 4.27vmin;
|
|
514
|
+
}
|
|
515
|
+
.styleType1_wrapper-v.full-screen-list .coupon_style1 {
|
|
516
|
+
height: 27vmin;
|
|
517
|
+
}
|
|
518
|
+
.styleType1_wrapper-v .coupon_style1 {
|
|
519
|
+
display: block;
|
|
520
|
+
position: static;
|
|
521
|
+
width: 100%;
|
|
522
|
+
}
|
|
523
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue {
|
|
524
|
+
padding: 1.6276vmin 0;
|
|
525
|
+
min-width: unset;
|
|
526
|
+
height: 11.19792vmin;
|
|
527
|
+
background: #ff781f;
|
|
528
|
+
color: #fff;
|
|
529
|
+
display: flex;
|
|
530
|
+
flex-direction: column;
|
|
531
|
+
justify-content: space-around;
|
|
532
|
+
align-items: center;
|
|
533
|
+
box-sizing: border-box;
|
|
534
|
+
border-radius: 1.04167vmin 1.04167vmin 0 0;
|
|
535
|
+
}
|
|
536
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap {
|
|
537
|
+
position: relative;
|
|
538
|
+
display: flex;
|
|
539
|
+
flex-direction: row;
|
|
540
|
+
align-items: center;
|
|
541
|
+
font-weight: 700;
|
|
542
|
+
}
|
|
543
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-symbol {
|
|
544
|
+
margin-right: 0.26042vmin;
|
|
545
|
+
font-size: 2.08333vmin;
|
|
546
|
+
}
|
|
547
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-price {
|
|
548
|
+
display: flex;
|
|
549
|
+
align-items: baseline;
|
|
550
|
+
font-weight: 500;
|
|
551
|
+
font-size: 4.16667vmin !important;
|
|
552
|
+
}
|
|
553
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-price-long {
|
|
554
|
+
font-size: 3.125vmin !important;
|
|
555
|
+
}
|
|
556
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .discountFont {
|
|
557
|
+
font-size: 2.08333vmin;
|
|
558
|
+
font-weight: 500;
|
|
559
|
+
}
|
|
560
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .discount-decimal {
|
|
561
|
+
display: flex;
|
|
562
|
+
align-items: center;
|
|
563
|
+
}
|
|
564
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap.couponPriceWrap-discount-v {
|
|
565
|
+
align-items: baseline;
|
|
566
|
+
}
|
|
567
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponUseCondition {
|
|
568
|
+
color: white;
|
|
569
|
+
font-size: 1.5625vmin;
|
|
570
|
+
font-weight: 500;
|
|
571
|
+
font-family: "PingFang SC";
|
|
572
|
+
text-align: center;
|
|
573
|
+
line-height: 2.08333vmin;
|
|
574
|
+
}
|
|
575
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo {
|
|
576
|
+
display: flex;
|
|
577
|
+
flex-direction: column;
|
|
578
|
+
justify-content: flex-start;
|
|
579
|
+
width: 100%;
|
|
580
|
+
height: 12.5vmin;
|
|
581
|
+
box-sizing: border-box;
|
|
582
|
+
background: white;
|
|
583
|
+
padding: 1.04167vmin;
|
|
584
|
+
color: #999999;
|
|
585
|
+
font-size: 1.30208vmin;
|
|
586
|
+
line-height: 1.30208vmin;
|
|
587
|
+
font-weight: 400;
|
|
588
|
+
text-align: left;
|
|
589
|
+
border-radius: 0 0 1.04167vmin 1.04167vmin;
|
|
590
|
+
}
|
|
591
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponName {
|
|
592
|
+
color: #333;
|
|
593
|
+
font-size: 1.5625vmin;
|
|
594
|
+
line-height: 2.08333vmin;
|
|
595
|
+
height: 2.08333vmin;
|
|
596
|
+
width: 15.10417vmin;
|
|
597
|
+
font-weight: 700;
|
|
598
|
+
margin-bottom: 0.52083vmin;
|
|
599
|
+
overflow: hidden;
|
|
600
|
+
white-space: nowrap;
|
|
601
|
+
text-overflow: ellipsis;
|
|
602
|
+
}
|
|
603
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponUseHint {
|
|
604
|
+
margin-bottom: 0.52083vmin;
|
|
605
|
+
}
|
|
606
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponUseTime {
|
|
607
|
+
margin-bottom: 0;
|
|
608
|
+
}
|
|
609
|
+
.styleType1_wrapper-v .coupon_style1 .couponState {
|
|
610
|
+
position: absolute;
|
|
611
|
+
right: 1.04167vmin;
|
|
612
|
+
bottom: 1.04167vmin;
|
|
613
|
+
height: 3.125vmin;
|
|
614
|
+
line-height: 3.125vmin;
|
|
615
|
+
border-radius: 0.52083vmin;
|
|
616
|
+
border: 0;
|
|
617
|
+
background: #ff781f;
|
|
618
|
+
}
|
|
619
|
+
.styleType1_wrapper-v .coupon_style1 .couponState.vertical-btn {
|
|
620
|
+
width: 15.10417vmin;
|
|
621
|
+
}
|
|
622
|
+
.styleType1_wrapper-v .coupon_style1 .couponState .couponBtn {
|
|
623
|
+
color: white;
|
|
624
|
+
font-size: 1.5625vmin;
|
|
625
|
+
font-weight: 500;
|
|
626
|
+
text-align: center;
|
|
627
|
+
font-family: "PingFang SC";
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
632
|
+
.styleType1_wrapper-v.vertical-screen {
|
|
633
|
+
width: 17.1875vmin;
|
|
634
|
+
height: 23.69792vmin;
|
|
635
|
+
margin: 0 auto;
|
|
636
|
+
}
|
|
637
|
+
.styleType1_wrapper-v.vertical-screen.not-pop-card {
|
|
638
|
+
margin-bottom: 0;
|
|
639
|
+
}
|
|
640
|
+
.styleType1_wrapper-v.vertical-screen .coupon_style1 {
|
|
641
|
+
height: 11.19792vmin;
|
|
642
|
+
}
|
|
643
|
+
.styleType1_wrapper-v.full-screen-list {
|
|
644
|
+
width: 92.47vmin;
|
|
645
|
+
margin: 3.2vmin 4.27vmin 0 4.27vmin;
|
|
646
|
+
}
|
|
647
|
+
.styleType1_wrapper-v.full-screen-list .coupon_style1 {
|
|
648
|
+
height: 27vmin;
|
|
649
|
+
}
|
|
650
|
+
.styleType1_wrapper-v .coupon_style1 {
|
|
651
|
+
display: block;
|
|
652
|
+
position: static;
|
|
653
|
+
width: 100%;
|
|
654
|
+
}
|
|
655
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue {
|
|
656
|
+
padding: 1.6276vmin 0;
|
|
657
|
+
min-width: unset;
|
|
658
|
+
height: 11.19792vmin;
|
|
659
|
+
background: #ff781f;
|
|
660
|
+
color: #fff;
|
|
661
|
+
display: flex;
|
|
662
|
+
flex-direction: column;
|
|
663
|
+
justify-content: space-around;
|
|
664
|
+
align-items: center;
|
|
665
|
+
box-sizing: border-box;
|
|
666
|
+
border-radius: 1.04167vmin 1.04167vmin 0 0;
|
|
667
|
+
}
|
|
668
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap {
|
|
669
|
+
position: relative;
|
|
670
|
+
display: flex;
|
|
671
|
+
flex-direction: row;
|
|
672
|
+
align-items: center;
|
|
673
|
+
font-weight: 700;
|
|
674
|
+
}
|
|
675
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-symbol {
|
|
676
|
+
margin-right: 0.26042vmin;
|
|
677
|
+
font-size: 2.08333vmin;
|
|
678
|
+
}
|
|
679
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-price {
|
|
680
|
+
display: flex;
|
|
681
|
+
align-items: baseline;
|
|
682
|
+
font-weight: 500;
|
|
683
|
+
font-size: 4.16667vmin !important;
|
|
684
|
+
}
|
|
685
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .coupon-price-long {
|
|
686
|
+
font-size: 3.125vmin !important;
|
|
687
|
+
}
|
|
688
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .discountFont {
|
|
689
|
+
font-size: 2.08333vmin;
|
|
690
|
+
font-weight: 500;
|
|
691
|
+
}
|
|
692
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap .discount-decimal {
|
|
693
|
+
display: flex;
|
|
694
|
+
align-items: center;
|
|
695
|
+
}
|
|
696
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponPriceWrap.couponPriceWrap-discount-v {
|
|
697
|
+
align-items: baseline;
|
|
698
|
+
}
|
|
699
|
+
.styleType1_wrapper-v .coupon_style1 .couponValue .couponUseCondition {
|
|
700
|
+
color: white;
|
|
701
|
+
font-size: 1.5625vmin;
|
|
702
|
+
font-weight: 500;
|
|
703
|
+
font-family: "PingFang SC";
|
|
704
|
+
text-align: center;
|
|
705
|
+
line-height: 2.08333vmin;
|
|
706
|
+
}
|
|
707
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo {
|
|
708
|
+
display: flex;
|
|
709
|
+
flex-direction: column;
|
|
710
|
+
justify-content: flex-start;
|
|
711
|
+
width: 100%;
|
|
712
|
+
height: 12.5vmin;
|
|
713
|
+
box-sizing: border-box;
|
|
714
|
+
background: white;
|
|
715
|
+
padding: 1.04167vmin;
|
|
716
|
+
color: #999999;
|
|
717
|
+
font-size: 1.30208vmin;
|
|
718
|
+
line-height: 1.30208vmin;
|
|
719
|
+
font-weight: 400;
|
|
720
|
+
text-align: left;
|
|
721
|
+
border-radius: 0 0 1.04167vmin 1.04167vmin;
|
|
722
|
+
}
|
|
723
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponName {
|
|
724
|
+
color: #333;
|
|
725
|
+
font-size: 1.5625vmin;
|
|
726
|
+
line-height: 2.08333vmin;
|
|
727
|
+
height: 2.08333vmin;
|
|
728
|
+
width: 15.10417vmin;
|
|
729
|
+
font-weight: 700;
|
|
730
|
+
margin-bottom: 0.52083vmin;
|
|
731
|
+
overflow: hidden;
|
|
732
|
+
white-space: nowrap;
|
|
733
|
+
text-overflow: ellipsis;
|
|
734
|
+
}
|
|
735
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponUseHint {
|
|
736
|
+
margin-bottom: 0.52083vmin;
|
|
737
|
+
}
|
|
738
|
+
.styleType1_wrapper-v .coupon_style1 .couponInfo .couponUseTime {
|
|
739
|
+
margin-bottom: 0;
|
|
740
|
+
}
|
|
741
|
+
.styleType1_wrapper-v .coupon_style1 .couponState {
|
|
742
|
+
position: absolute;
|
|
743
|
+
right: 1.04167vmin;
|
|
744
|
+
bottom: 1.04167vmin;
|
|
745
|
+
height: 3.125vmin;
|
|
746
|
+
line-height: 3.125vmin;
|
|
747
|
+
border-radius: 0.52083vmin;
|
|
748
|
+
border: 0;
|
|
749
|
+
background: #ff781f;
|
|
750
|
+
}
|
|
751
|
+
.styleType1_wrapper-v .coupon_style1 .couponState.vertical-btn {
|
|
752
|
+
width: 15.10417vmin;
|
|
753
|
+
}
|
|
754
|
+
.styleType1_wrapper-v .coupon_style1 .couponState .couponBtn {
|
|
755
|
+
color: white;
|
|
756
|
+
font-size: 1.5625vmin;
|
|
757
|
+
font-weight: 500;
|
|
758
|
+
text-align: center;
|
|
759
|
+
font-family: "PingFang SC";
|
|
760
|
+
}
|
|
761
|
+
}
|
package/src/GoodsItem/index.js
CHANGED
|
@@ -497,7 +497,7 @@ Component({
|
|
|
497
497
|
let params = encodeURIComponent(`img_url=${img_url}&title=${title}¶ms_url=${this.data.params_url}`)
|
|
498
498
|
console.log("urlurlurl", `/page/customerService/customerService?params=${params}`)
|
|
499
499
|
if (this.data.goodsItem.resource_type === 4) {
|
|
500
|
-
wx && wx.
|
|
500
|
+
wx && wx.redirectTo({
|
|
501
501
|
url: `/pages/webView/webView?appId=${this.properties.aliveInfo.app_id}&aliveId=${this.data.goodsItem.id}&refreshAliveId=${this.properties.aliveInfo.alive_id}`,
|
|
502
502
|
})
|
|
503
503
|
|