xiaoe_mp_npm 1.0.12-alpha4 → 1.0.12-alpha6
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 +32 -26
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +516 -479
- package/package.json +1 -1
- package/src/CouponList/components/CouponItem/index.scss +32 -26
- package/src/CouponList/components/CouponItem/index.wxss +2376 -1
|
@@ -11,6 +11,7 @@ $deviceWidth: 750;
|
|
|
11
11
|
margin-bottom: 0;
|
|
12
12
|
position: relative;
|
|
13
13
|
height: 100%;
|
|
14
|
+
/* 右下角卡片 */
|
|
14
15
|
&.vertical-screen {
|
|
15
16
|
width: vmin(280);
|
|
16
17
|
height: 100%;
|
|
@@ -34,14 +35,14 @@ $deviceWidth: 750;
|
|
|
34
35
|
padding-top: vmin(0) !important;
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
|
-
|
|
38
|
+
|
|
38
39
|
.couponInfo {
|
|
39
40
|
flex: 1;
|
|
40
41
|
background: rgba(255, 255, 255, 1);
|
|
41
42
|
padding: vmin(16) vmin(16) vmin(30) vmin(16);
|
|
42
43
|
border-radius: 0 0 vmin(16) vmin(16);
|
|
43
44
|
margin: 0;
|
|
44
|
-
|
|
45
|
+
|
|
45
46
|
.couponName {
|
|
46
47
|
height: vmin(32);
|
|
47
48
|
line-height: vmin(32);
|
|
@@ -53,7 +54,7 @@ $deviceWidth: 750;
|
|
|
53
54
|
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
|
-
|
|
57
|
+
|
|
57
58
|
.couponState {
|
|
58
59
|
position: absolute;
|
|
59
60
|
left: vmin(16);
|
|
@@ -62,15 +63,15 @@ $deviceWidth: 750;
|
|
|
62
63
|
height: vmin(48);
|
|
63
64
|
line-height: vmin(48);
|
|
64
65
|
border-radius: vmin(8);
|
|
65
|
-
|
|
66
|
+
|
|
66
67
|
&.fullscreen-btn {
|
|
67
68
|
width: 90%;
|
|
68
69
|
}
|
|
69
|
-
|
|
70
|
+
|
|
70
71
|
&.vertical-btn {
|
|
71
72
|
width: 88%;
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
+
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
77
|
}
|
|
@@ -78,19 +79,21 @@ $deviceWidth: 750;
|
|
|
78
79
|
|
|
79
80
|
&.vertical-screen {
|
|
80
81
|
width: vmin(476);
|
|
82
|
+
height: 100%;
|
|
81
83
|
margin: 0 auto;
|
|
82
84
|
|
|
83
85
|
&.not-pop-card {
|
|
84
86
|
margin-bottom: vmin(32);
|
|
85
87
|
}
|
|
86
|
-
|
|
88
|
+
/* 讨论区 */
|
|
87
89
|
.coupon_style1 {
|
|
88
|
-
height:
|
|
89
|
-
width:
|
|
90
|
-
background: url('https://commonresource-1252524126.cdn.xiaoeknow.com/image/
|
|
90
|
+
height: 100%;
|
|
91
|
+
width: 100%;
|
|
92
|
+
background: url('https://commonresource-1252524126.cdn.xiaoeknow.com/image/lwofsfs60b74.png') no-repeat;
|
|
93
|
+
background-size: 99% 99%;
|
|
94
|
+
box-sizing: border-box;
|
|
91
95
|
.couponValue {
|
|
92
|
-
width: vmin(192);
|
|
93
|
-
margin-left: 1vmin;
|
|
96
|
+
width: vmin(192);
|
|
94
97
|
box-sizing: border-box;
|
|
95
98
|
padding: 0 .4vmin;
|
|
96
99
|
.couponPriceWrap{
|
|
@@ -131,7 +134,7 @@ $deviceWidth: 750;
|
|
|
131
134
|
&.full-screen-list {
|
|
132
135
|
width: vmin(694);
|
|
133
136
|
margin: vmin(24) vmin(32) 0 vmin(32);
|
|
134
|
-
|
|
137
|
+
/* 全屏列表 */
|
|
135
138
|
.coupon_style1 {
|
|
136
139
|
height: vmin(202);
|
|
137
140
|
}
|
|
@@ -141,9 +144,10 @@ $deviceWidth: 750;
|
|
|
141
144
|
display: flex;
|
|
142
145
|
align-items: center;
|
|
143
146
|
position: relative;
|
|
147
|
+
height: 100%;
|
|
144
148
|
width: 100%;
|
|
145
149
|
background: url('https://commonresource-1252524126.cdn.xiaoeknow.com/image/lw67cw3y0qse.png') center no-repeat;
|
|
146
|
-
background-size:
|
|
150
|
+
background-size: 99% 99%;
|
|
147
151
|
// height: vmin(184);
|
|
148
152
|
.couponValue {
|
|
149
153
|
width: vmin(192);
|
|
@@ -390,7 +394,7 @@ $deviceWidth: 750;
|
|
|
390
394
|
flex-direction: row;
|
|
391
395
|
align-items: flex-end;
|
|
392
396
|
height: vmin(48);
|
|
393
|
-
|
|
397
|
+
|
|
394
398
|
.couponPriceWrap {
|
|
395
399
|
position: relative;
|
|
396
400
|
display: flex;
|
|
@@ -498,10 +502,12 @@ $deviceWidth: 750;
|
|
|
498
502
|
}
|
|
499
503
|
|
|
500
504
|
.coupon_style1 {
|
|
501
|
-
height:
|
|
502
|
-
|
|
505
|
+
height: 100%;
|
|
506
|
+
width: 100%;
|
|
507
|
+
background: url('https://commonresource-1252524126.cdn.xiaoeknow.com/image/lwofsfs60b74.png') no-repeat !important;
|
|
508
|
+
background-size: 99% 99%;
|
|
503
509
|
.couponValue {
|
|
504
|
-
width: vmin(190);
|
|
510
|
+
width: vmin(190);
|
|
505
511
|
}
|
|
506
512
|
.couponName {
|
|
507
513
|
font-size: vmin(24) !important;
|
|
@@ -556,7 +562,7 @@ $deviceWidth: 750;
|
|
|
556
562
|
align-items: center;
|
|
557
563
|
justify-content: center;
|
|
558
564
|
position: relative;
|
|
559
|
-
|
|
565
|
+
|
|
560
566
|
.giftCouponName{
|
|
561
567
|
font-size: vmin(36);
|
|
562
568
|
font-weight: 500;
|
|
@@ -731,11 +737,11 @@ $deviceWidth: 750;
|
|
|
731
737
|
.styleType1_wrapper {
|
|
732
738
|
@include styleType1_wrapper;
|
|
733
739
|
}
|
|
734
|
-
|
|
740
|
+
|
|
735
741
|
.styleType2_wrapper {
|
|
736
742
|
@include styleType2_wrapper;
|
|
737
743
|
}
|
|
738
|
-
|
|
744
|
+
|
|
739
745
|
.styleType1_wrapper-v {
|
|
740
746
|
@include styleType1_wrapper-v;
|
|
741
747
|
}
|
|
@@ -747,11 +753,11 @@ $deviceWidth: 750;
|
|
|
747
753
|
.styleType1_wrapper {
|
|
748
754
|
@include styleType1_wrapper;
|
|
749
755
|
}
|
|
750
|
-
|
|
756
|
+
|
|
751
757
|
.styleType2_wrapper {
|
|
752
758
|
@include styleType2_wrapper;
|
|
753
759
|
}
|
|
754
|
-
|
|
760
|
+
|
|
755
761
|
.styleType1_wrapper-v {
|
|
756
762
|
@include styleType1_wrapper-v;
|
|
757
763
|
}
|
|
@@ -763,12 +769,12 @@ $deviceWidth: 750;
|
|
|
763
769
|
.styleType1_wrapper {
|
|
764
770
|
@include styleType1_wrapper;
|
|
765
771
|
}
|
|
766
|
-
|
|
772
|
+
|
|
767
773
|
.styleType2_wrapper {
|
|
768
774
|
@include styleType2_wrapper;
|
|
769
775
|
}
|
|
770
|
-
|
|
776
|
+
|
|
771
777
|
.styleType1_wrapper-v {
|
|
772
778
|
@include styleType1_wrapper-v;
|
|
773
779
|
}
|
|
774
|
-
}
|
|
780
|
+
}
|