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,37 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin confirm-order-content {
7
+ height: 100%;
8
+
9
+ .confirm-main {
10
+ padding-bottom: vmin(150);
11
+ background: #f5f5f5;
12
+
13
+ .coupon-integral-wrapper {
14
+ margin-bottom: vmin(16);
15
+ }
16
+ }
17
+ }
18
+
19
+ .confirm-order-content {
20
+ @include confirm-order-content;
21
+ }
22
+ // 竖屏pad
23
+ @media screen and (min-width: 768px) and (orientation: portrait) {
24
+ $deviceWidth: 1536 !global;
25
+
26
+ .confirm-order-content {
27
+ @include confirm-order-content;
28
+ }
29
+ }
30
+ // 横屏pad
31
+ @media screen and (min-height: 768px) and (orientation: landscape) {
32
+ $deviceWidth: 1536 !global;
33
+
34
+ .confirm-order-content {
35
+ @include confirm-order-content;
36
+ }
37
+ }
@@ -6,5 +6,29 @@
6
6
  background: #f5f5f5;
7
7
  }
8
8
  .confirm-order-content .confirm-main .coupon-integral-wrapper {
9
- margin-bottom: 2.13vmin;
9
+ margin-bottom: 2.13333vmin;
10
+ }
11
+ @media screen and (min-width: 768px) and (orientation: portrait) {
12
+ .confirm-order-content {
13
+ height: 100%;
14
+ }
15
+ .confirm-order-content .confirm-main {
16
+ padding-bottom: 9.76562vmin;
17
+ background: #f5f5f5;
18
+ }
19
+ .confirm-order-content .confirm-main .coupon-integral-wrapper {
20
+ margin-bottom: 1.04167vmin;
21
+ }
22
+ }
23
+ @media screen and (min-height: 768px) and (orientation: landscape) {
24
+ .confirm-order-content {
25
+ height: 100%;
26
+ }
27
+ .confirm-order-content .confirm-main {
28
+ padding-bottom: 9.76562vmin;
29
+ background: #f5f5f5;
30
+ }
31
+ .confirm-order-content .confirm-main .coupon-integral-wrapper {
32
+ margin-bottom: 1.04167vmin;
33
+ }
10
34
  }
@@ -0,0 +1,215 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin goods-info-wrapper {
7
+ margin-bottom: vmin(18);
8
+ background: #fff;
9
+ .font-12{
10
+ font-size: vmin(24);
11
+ }
12
+
13
+ .goods-info {
14
+ padding: vmin(32);
15
+
16
+ .shop-title {
17
+ display: flex;
18
+ align-items: center;
19
+
20
+ .shop-img {
21
+ width: vmin(32);
22
+ height: vmin(32);
23
+ margin-right: vmin(16);
24
+ }
25
+
26
+ .shop-name {
27
+ font-size: vmin(28);
28
+ }
29
+ }
30
+
31
+ .goods-wrapper {
32
+ display: flex;
33
+ margin-top: vmin(32);
34
+
35
+ .goods-thumbnail {
36
+ position: relative;
37
+ flex: 0 0 vmin(180);
38
+ height: vmin(180);
39
+ width: vmin(180);
40
+ border-radius: vmin(8);
41
+ border: vmin(2) solid #e5e5e5;
42
+ overflow: hidden;
43
+
44
+ .goods-type {
45
+ position: absolute;
46
+ right: vmin(8);
47
+ bottom: vmin(8);
48
+ text-size-adjust: none;
49
+ color: #ffffff !important;
50
+ padding: vmin(6);
51
+ border-radius: vmin(4);
52
+ background: rgba(0, 0, 0, 0.25);
53
+ font-size: vmin(20);
54
+ backdrop-filter: blur(vmin(24));
55
+ font-weight: 500;
56
+ }
57
+
58
+ .svip-tag {
59
+ position: absolute;
60
+ top: 0;
61
+ left: 0;
62
+ padding: vmin(2) vmin(8);
63
+ background: linear-gradient(315deg, #333333 0%, #525252 68%, #333333 100%);
64
+ border-radius: vmin(8) 0vmin vmin(8) 0vmin;
65
+ }
66
+
67
+ .svip-tag-text {
68
+ font-size: vmin(20);
69
+ text-size-adjust: none;
70
+ color: #ffc266;
71
+ // background: linear-gradient(90deg, #ffe4ad 0%, #ffc266 100%);
72
+ // background-clip: text;
73
+ // -webkit-text-fill-color: transparent;
74
+ }
75
+ }
76
+
77
+ .goods-detail {
78
+ flex: 1;
79
+ margin-left: vmin(24);
80
+ display: flex;
81
+ flex-direction: column;
82
+ justify-content: space-around;
83
+ padding: 0;
84
+
85
+ .goods-title {
86
+ display: -webkit-box;
87
+ -webkit-box-orient: vertical;
88
+ -webkit-line-clamp: 2;
89
+ overflow: hidden;
90
+ word-break: break-all;
91
+
92
+ .goods-tag {
93
+ margin-right: vmin(4);
94
+ white-space: nowrap;
95
+ color: #1472FF;
96
+ border: vmin(2) solid #1472FF;
97
+ padding: 0 vmin(8);
98
+ border-radius: vmin(4);
99
+ background-color: #fff;
100
+ top: -vmin(4);
101
+ position: relative;
102
+ }
103
+
104
+ .goods-name {
105
+ font-size: vmin(28);
106
+ }
107
+ }
108
+
109
+ .goods-specification {
110
+ margin-top: vmin(12);
111
+ height: vmin(36);
112
+ color: #999;
113
+ word-break: break-all;
114
+ }
115
+
116
+ .goods-quantity {
117
+ display: flex;
118
+ justify-content: space-between;
119
+ align-items: flex-end;
120
+ margin-top: vmin(12);
121
+ width: 100%;
122
+ color: #999;
123
+
124
+ .goods-pay-info {
125
+ flex-grow: 1;
126
+ display: flex;
127
+ flex-direction: column;
128
+ }
129
+
130
+ .goods-limit {
131
+ margin-bottom: vmin(16);
132
+ display: flex;
133
+ font-size: vmin(24);
134
+
135
+ .border-blue {
136
+ border: #1472FF .02rem solid;
137
+ color: rgba(20, 114, 255, 1);
138
+ padding: 0 vmin(8);
139
+ margin-right: vmin(8);
140
+ border-radius: vmin(4);
141
+ }
142
+
143
+ .border-orange {
144
+ border: rgba(255, 120, 31, 1) vmin(2) solid;
145
+ color: rgba(255, 120, 31, 1);
146
+ padding: 0 vmin(8);
147
+ border-radius: vmin(4);
148
+ }
149
+ }
150
+
151
+ .goods-price {
152
+ display: inline-block;
153
+ margin-right: vmin(8);
154
+ margin-bottom: 0;
155
+ font-size: vmin(32);
156
+ }
157
+
158
+ .goods-tags {
159
+ display: inline-block;
160
+ }
161
+
162
+ .goods-tag {
163
+ display: inline-block;
164
+ padding: vmin(2) vmin(12);
165
+ font-size: vmin(20);
166
+ border-radius: vmin(20);
167
+
168
+ &+.goods-tag {
169
+ margin-left: vmin(8);
170
+ }
171
+
172
+ &.marketing-tag {
173
+ color: #ff781f;
174
+ background: #fff3eb;
175
+ }
176
+
177
+ &.send-friend {
178
+ color: #07c160;
179
+ border: vmin(2) solid rgba(7, 193, 96, 0.5);
180
+ }
181
+ }
182
+
183
+ .goods-counter {
184
+ flex-shrink: 0;
185
+
186
+ .goods-plus, .goods-minus {
187
+ background: none;
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+
196
+
197
+ .goods-info-wrapper {
198
+ @include goods-info-wrapper;
199
+ }
200
+ // 竖屏pad
201
+ @media screen and (min-width: 768px) and (orientation: portrait) {
202
+ $deviceWidth: 1536 !global;
203
+
204
+ .goods-info-wrapper {
205
+ @include goods-info-wrapper;
206
+ }
207
+ }
208
+ // 横屏pad
209
+ @media screen and (min-height: 768px) and (orientation: landscape) {
210
+ $deviceWidth: 1536 !global;
211
+
212
+ .goods-info-wrapper {
213
+ @include goods-info-wrapper;
214
+ }
215
+ }