xiaoe_mp_npm 0.5.39 → 0.5.40-alpha2

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 (81) hide show
  1. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +37 -0
  2. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +25 -1
  3. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +215 -0
  4. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +360 -36
  5. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +83 -0
  6. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +118 -14
  7. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +51 -0
  8. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +46 -2
  9. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +32 -0
  10. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +18 -2
  11. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +54 -0
  12. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +55 -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.js +83 -91
  16. package/miniprogram_dist/CouponList/components/CouponItem/index.scss +130 -132
  17. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +624 -78
  18. package/miniprogram_dist/CouponList/couponColumn/index.scss +106 -0
  19. package/miniprogram_dist/CouponList/couponColumn/index.wxss +159 -33
  20. package/miniprogram_dist/GoodsItem/index.js +21 -3
  21. package/miniprogram_dist/GoodsItem/index.scss +323 -0
  22. package/miniprogram_dist/GoodsItem/index.wxml +1 -1
  23. package/miniprogram_dist/GoodsItem/index.wxss +630 -85
  24. package/miniprogram_dist/GoodsRecommend/index.scss +154 -0
  25. package/miniprogram_dist/GoodsRecommend/index.wxss +289 -33
  26. package/miniprogram_dist/LiveGoodsList/Header/index.scss +71 -0
  27. package/miniprogram_dist/LiveGoodsList/Header/index.wxss +102 -10
  28. package/miniprogram_dist/LiveGoodsList/index.js +8 -1
  29. package/miniprogram_dist/LiveGoodsList/index.scss +80 -0
  30. package/miniprogram_dist/LiveGoodsList/index.wxml +56 -33
  31. package/miniprogram_dist/LiveGoodsList/index.wxss +123 -19
  32. package/miniprogram_dist/PayModule/button/index.scss +37 -0
  33. package/miniprogram_dist/PayModule/button/index.wxss +32 -4
  34. package/miniprogram_dist/common/utils/index.js +9 -0
  35. package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
  36. package/miniprogram_dist/coupon/components/CouponItem/index.scss +239 -0
  37. package/miniprogram_dist/coupon/components/CouponSelect/index.scss +319 -0
  38. package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +594 -59
  39. package/miniprogram_dist/coupon/index.scss +75 -0
  40. package/miniprogram_dist/coupon/index.wxss +119 -15
  41. package/package.json +1 -1
  42. package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +37 -0
  43. package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +29 -1
  44. package/src/ConfirmOrder/components/GoodsInfo/index.scss +215 -0
  45. package/src/ConfirmOrder/components/GoodsInfo/index.wxss +390 -39
  46. package/src/ConfirmOrder/components/IntegralSelect/index.scss +83 -0
  47. package/src/ConfirmOrder/components/IntegralSelect/index.wxss +129 -14
  48. package/src/ConfirmOrder/components/Invoice/index.scss +51 -0
  49. package/src/ConfirmOrder/components/Invoice/index.wxss +52 -2
  50. package/src/ConfirmOrder/components/LeaveWord/index.scss +32 -0
  51. package/src/ConfirmOrder/components/LeaveWord/index.wxss +21 -2
  52. package/src/ConfirmOrder/components/PayBar/index.scss +54 -0
  53. package/src/ConfirmOrder/components/PayBar/index.wxss +60 -3
  54. package/src/ConfirmOrder/components/PayDetail/index.scss +41 -0
  55. package/src/ConfirmOrder/components/PayDetail/index.wxss +39 -3
  56. package/src/CouponList/components/CouponItem/index.js +83 -91
  57. package/src/CouponList/components/CouponItem/index.scss +130 -132
  58. package/src/CouponList/components/CouponItem/index.wxss +625 -84
  59. package/src/CouponList/couponColumn/index.scss +106 -0
  60. package/src/CouponList/couponColumn/index.wxss +173 -33
  61. package/src/GoodsItem/index.js +21 -3
  62. package/src/GoodsItem/index.scss +323 -0
  63. package/src/GoodsItem/index.wxml +1 -1
  64. package/src/GoodsItem/index.wxss +673 -85
  65. package/src/GoodsRecommend/index.scss +154 -0
  66. package/src/GoodsRecommend/index.wxss +311 -33
  67. package/src/LiveGoodsList/Header/index.scss +71 -0
  68. package/src/LiveGoodsList/Header/index.wxss +109 -10
  69. package/src/LiveGoodsList/index.js +8 -1
  70. package/src/LiveGoodsList/index.scss +80 -0
  71. package/src/LiveGoodsList/index.wxml +56 -33
  72. package/src/LiveGoodsList/index.wxss +133 -19
  73. package/src/PayModule/button/index.scss +37 -0
  74. package/src/PayModule/button/index.wxss +35 -4
  75. package/src/common/utils/index.js +9 -0
  76. package/src/coupon/components/CouponItem/index.less +1 -0
  77. package/src/coupon/components/CouponItem/index.scss +239 -0
  78. package/src/coupon/components/CouponSelect/index.scss +319 -0
  79. package/src/coupon/components/CouponSelect/index.wxss +642 -59
  80. package/src/coupon/index.scss +75 -0
  81. package/src/coupon/index.wxss +128 -15
@@ -0,0 +1,75 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin confrim-order {
7
+ padding: 0 vmin(32);
8
+ background: #FFF;
9
+ .coupon-panel {
10
+ box-sizing: border-box;
11
+ display: flex;
12
+ justify-content: space-between;
13
+ align-items: center;
14
+ width: 100%;
15
+ height: vmin(88);
16
+ .coupon-left {
17
+ display: flex;
18
+ align-items: center;
19
+ .coupon-title {
20
+ margin-right: vmin(18);
21
+ line-height: vmin(48);
22
+ font-size: vmin(28);
23
+ color: #333;
24
+ }
25
+ .coupon-tip {
26
+ box-sizing: border-box;
27
+ height: vmin(40);
28
+ line-height: vmin(40);
29
+ padding: 0 vmin(14);
30
+ border-radius: vmin(4);
31
+ font-size: vmin(24);
32
+ color: #FF821F;
33
+ background: rgba(255, 132, 31, 0.16);
34
+ }
35
+ }
36
+ .coupon-right {
37
+ display: flex;
38
+ flex: 1;
39
+ align-items: center;
40
+ justify-content: flex-end;
41
+ .coupon-value {
42
+ color: #ff821f;
43
+ margin-right: vmin(8);
44
+ width: fit-content;
45
+ font-size: vmin(28);
46
+ }
47
+ .have-no-coupon {
48
+ margin-right: vmin(8);
49
+ line-height: vmin(44);
50
+ font-size: vmin(28);
51
+ color: #999;
52
+ }
53
+ }
54
+ }
55
+ }
56
+
57
+ .confrim-order {
58
+ @include confrim-order;
59
+ }
60
+ // 竖屏pad
61
+ @media screen and (min-width: 768px) and (orientation: portrait) {
62
+ $deviceWidth: 1536 !global;
63
+
64
+ .confrim-order {
65
+ @include confrim-order;
66
+ }
67
+ }
68
+ // 横屏pad
69
+ @media screen and (min-height: 768px) and (orientation: landscape) {
70
+ $deviceWidth: 1536 !global;
71
+
72
+ .confrim-order {
73
+ @include confrim-order;
74
+ }
75
+ }
@@ -1,50 +1,163 @@
1
1
  .confrim-order {
2
- padding: 0 4.27vmin;
2
+ padding: 0 4.26667vmin;
3
3
  background: #FFF;
4
4
  }
5
+
5
6
  .confrim-order .coupon-panel {
6
7
  box-sizing: border-box;
7
8
  display: flex;
8
9
  justify-content: space-between;
9
10
  align-items: center;
10
11
  width: 100%;
11
- height: 11.73vmin;
12
+ height: 11.73333vmin;
12
13
  }
14
+
13
15
  .confrim-order .coupon-panel .coupon-left {
14
16
  display: flex;
15
17
  align-items: center;
16
18
  }
19
+
17
20
  .confrim-order .coupon-panel .coupon-left .coupon-title {
18
- margin-right: 2.35vmin;
19
- line-height: 6.45vmin;
20
- font-size: 3.73vmin;
21
+ margin-right: 2.4vmin;
22
+ line-height: 6.4vmin;
23
+ font-size: 3.73333vmin;
21
24
  color: #333;
22
25
  }
26
+
23
27
  .confrim-order .coupon-panel .coupon-left .coupon-tip {
24
28
  box-sizing: border-box;
25
- height: 5.28vmin;
26
- line-height: 5.28vmin;
27
- padding: 0 1.76vmin;
28
- border-radius: 0.59vmin;
29
- font-size: 3.23vmin;
29
+ height: 5.33333vmin;
30
+ line-height: 5.33333vmin;
31
+ padding: 0 1.86667vmin;
32
+ border-radius: 0.53333vmin;
33
+ font-size: 3.2vmin;
30
34
  color: #FF821F;
31
35
  background: rgba(255, 132, 31, 0.16);
32
36
  }
37
+
33
38
  .confrim-order .coupon-panel .coupon-right {
34
39
  display: flex;
35
40
  flex: 1;
36
41
  align-items: center;
37
42
  justify-content: flex-end;
38
43
  }
44
+
39
45
  .confrim-order .coupon-panel .coupon-right .coupon-value {
40
46
  color: #ff821f;
41
- margin-right: 1.07vmin;
47
+ margin-right: 1.06667vmin;
42
48
  width: fit-content;
43
- font-size: 3.73vmin;
49
+ font-size: 3.73333vmin;
44
50
  }
51
+
45
52
  .confrim-order .coupon-panel .coupon-right .have-no-coupon {
46
- margin-right: 1.07vmin;
47
- line-height: 5.87vmin;
48
- font-size: 3.73vmin;
53
+ margin-right: 1.06667vmin;
54
+ line-height: 5.86667vmin;
55
+ font-size: 3.73333vmin;
49
56
  color: #999;
50
57
  }
58
+
59
+ @media screen and (min-width: 768px) and (orientation: portrait) {
60
+ .confrim-order {
61
+ padding: 0 2.08333vmin;
62
+ background: #FFF;
63
+ }
64
+ .confrim-order .coupon-panel {
65
+ box-sizing: border-box;
66
+ display: flex;
67
+ justify-content: space-between;
68
+ align-items: center;
69
+ width: 100%;
70
+ height: 5.72917vmin;
71
+ }
72
+ .confrim-order .coupon-panel .coupon-left {
73
+ display: flex;
74
+ align-items: center;
75
+ }
76
+ .confrim-order .coupon-panel .coupon-left .coupon-title {
77
+ margin-right: 1.17188vmin;
78
+ line-height: 3.125vmin;
79
+ font-size: 1.82292vmin;
80
+ color: #333;
81
+ }
82
+ .confrim-order .coupon-panel .coupon-left .coupon-tip {
83
+ box-sizing: border-box;
84
+ height: 2.60417vmin;
85
+ line-height: 2.60417vmin;
86
+ padding: 0 0.91146vmin;
87
+ border-radius: 0.26042vmin;
88
+ font-size: 1.5625vmin;
89
+ color: #FF821F;
90
+ background: rgba(255, 132, 31, 0.16);
91
+ }
92
+ .confrim-order .coupon-panel .coupon-right {
93
+ display: flex;
94
+ flex: 1;
95
+ align-items: center;
96
+ justify-content: flex-end;
97
+ }
98
+ .confrim-order .coupon-panel .coupon-right .coupon-value {
99
+ color: #ff821f;
100
+ margin-right: 0.52083vmin;
101
+ width: fit-content;
102
+ font-size: 1.82292vmin;
103
+ }
104
+ .confrim-order .coupon-panel .coupon-right .have-no-coupon {
105
+ margin-right: 0.52083vmin;
106
+ line-height: 2.86458vmin;
107
+ font-size: 1.82292vmin;
108
+ color: #999;
109
+ }
110
+ }
111
+
112
+ @media screen and (min-height: 768px) and (orientation: landscape) {
113
+ .confrim-order {
114
+ padding: 0 2.08333vmin;
115
+ background: #FFF;
116
+ }
117
+ .confrim-order .coupon-panel {
118
+ box-sizing: border-box;
119
+ display: flex;
120
+ justify-content: space-between;
121
+ align-items: center;
122
+ width: 100%;
123
+ height: 5.72917vmin;
124
+ }
125
+ .confrim-order .coupon-panel .coupon-left {
126
+ display: flex;
127
+ align-items: center;
128
+ }
129
+ .confrim-order .coupon-panel .coupon-left .coupon-title {
130
+ margin-right: 1.17188vmin;
131
+ line-height: 3.125vmin;
132
+ font-size: 1.82292vmin;
133
+ color: #333;
134
+ }
135
+ .confrim-order .coupon-panel .coupon-left .coupon-tip {
136
+ box-sizing: border-box;
137
+ height: 2.60417vmin;
138
+ line-height: 2.60417vmin;
139
+ padding: 0 0.91146vmin;
140
+ border-radius: 0.26042vmin;
141
+ font-size: 1.5625vmin;
142
+ color: #FF821F;
143
+ background: rgba(255, 132, 31, 0.16);
144
+ }
145
+ .confrim-order .coupon-panel .coupon-right {
146
+ display: flex;
147
+ flex: 1;
148
+ align-items: center;
149
+ justify-content: flex-end;
150
+ }
151
+ .confrim-order .coupon-panel .coupon-right .coupon-value {
152
+ color: #ff821f;
153
+ margin-right: 0.52083vmin;
154
+ width: fit-content;
155
+ font-size: 1.82292vmin;
156
+ }
157
+ .confrim-order .coupon-panel .coupon-right .have-no-coupon {
158
+ margin-right: 0.52083vmin;
159
+ line-height: 2.86458vmin;
160
+ font-size: 1.82292vmin;
161
+ color: #999;
162
+ }
163
+ }