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,154 @@
1
+
2
+ $deviceWidth: 750;
3
+ @function vmin($rpx) {
4
+ @return #{$rpx * 100 / $deviceWidth}vmin;
5
+ }
6
+
7
+
8
+ @mixin goods-recommend-container {
9
+ width: 100%;
10
+ background-color: #ffffff;
11
+ padding-bottom: vmin(100);
12
+
13
+ .recommend-title {
14
+ font-size: vmin(32);
15
+ padding-left: vmin(32);
16
+ padding-top: vmin(32);
17
+ }
18
+ .goods-item {
19
+ display: flex;
20
+ padding: vmin(32) vmin(24) 0rpx vmin(24);
21
+ height: vmin(180);
22
+ .cover-picture {
23
+ margin-right: vmin(16);
24
+ position: relative;
25
+ .picture {
26
+ width: vmin(240);
27
+ height: vmin(180);
28
+ border-radius: vmin(16);
29
+ }
30
+ .marketing-type {
31
+ position: absolute;
32
+ font-size: vmin(20);
33
+ left: 0;
34
+ color: #807157;
35
+ padding: vmin(4) vmin(8);
36
+ top: 0;
37
+ border-radius: vmin(8) 0 vmin(8) 0;
38
+ }
39
+ .super-member {
40
+ background: linear-gradient(-45deg, rgba(51, 51, 51, 1) 0%, rgba(82, 82, 82, 1) 68%, rgba(51, 51, 51, 1) 100%);
41
+ color: #ffc166;
42
+ }
43
+ .else-activity {
44
+ color: #fff;
45
+ border: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);
46
+ background: linear-gradient(270deg, rgba(254, 101, 0, 1) 0%, rgba(255, 65, 2, 1) 100%);
47
+ }
48
+ .goods-type {
49
+ position: absolute;
50
+ font-size: vmin(20);
51
+ right: vmin(12);
52
+ bottom: vmin(12);
53
+ padding: vmin(4) vmin(8);
54
+ color: #ffffff;
55
+ border-radius: vmin(8);
56
+ border: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);
57
+ background: rgba(0, 0, 0, 0.25);
58
+ backdrop-filter: blur(10.17462539672851.56rem);
59
+ }
60
+ }
61
+ .goods-info {
62
+ font-size: vmin(28);
63
+ display: flex;
64
+ flex-direction: column;
65
+ justify-content: space-between;
66
+ .goods-title {
67
+ font-weight: 600;
68
+ display: -webkit-box;
69
+ overflow: hidden;
70
+ text-overflow: ellipsis;
71
+ -webkit-box-orient: vertical;
72
+ -webkit-line-clamp: 2;
73
+ }
74
+ .price-watch {
75
+ display: flex;
76
+ justify-content: space-between;
77
+ align-items: center;
78
+ .goods-type {
79
+ font-size: vmin(24);
80
+ color: #ff5024;
81
+ font-weight: 700;
82
+ }
83
+ .goods-price {
84
+ width: 75%;
85
+ color: #b2b2b2;
86
+ font-weight: 700;
87
+ white-space: nowrap;
88
+ text-overflow: ellipsis;
89
+ overflow: hidden;
90
+ display: flex;
91
+ align-items: baseline;
92
+ .greenback-one {
93
+ font-size: vmin(32);
94
+ color: #ff5024;
95
+ }
96
+ .greenback {
97
+ font-size: vmin(24);
98
+ color: #ff5024;
99
+ }
100
+ .discount {
101
+ font-size: vmin(24);
102
+ margin-left: vmin(8);
103
+ text-decoration: line-through;
104
+ }
105
+ }
106
+ .goods-watch {
107
+ text-align: right;
108
+ width: 25%;
109
+ white-space: nowrap;
110
+ text-overflow: ellipsis;
111
+ overflow: hidden;
112
+ font-size: vmin(20);
113
+ color: #b2b2b2;
114
+ }
115
+ }
116
+ }
117
+ }
118
+ .empty {
119
+ width: 100%;
120
+ display: flex;
121
+ justify-content: center;
122
+ align-items: center;
123
+ flex-direction: column;
124
+ padding: vmin(80) 0;
125
+ .empty-text {
126
+ color: #9e9e9e;
127
+ font-size: vmin(32);
128
+ margin-top: vmin(32);
129
+ }
130
+ image {
131
+ width: vmin(176);
132
+ height: vmin(176);
133
+ }
134
+ }
135
+ }
136
+
137
+ .goods-recommend-container {
138
+ @include goods-recommend-container;
139
+ }
140
+ // 竖屏pad
141
+ @media screen and (min-width: 768px) and (orientation: portrait) {
142
+ $deviceWidth: 1536 !global;
143
+ .goods-recommend-container {
144
+ @include goods-recommend-container;
145
+ }
146
+ }
147
+ // 横屏pad
148
+ @media screen and (min-height: 768px) and (orientation: landscape) {
149
+ $deviceWidth: 1536 !global;
150
+ .goods-recommend-container {
151
+ @include goods-recommend-container;
152
+ }
153
+ }
154
+
@@ -1,35 +1,35 @@
1
1
  .goods-recommend-container {
2
2
  width: 100%;
3
3
  background-color: #ffffff;
4
- padding-bottom: 100rpx;
4
+ padding-bottom: 13.33333vmin;
5
5
  }
6
6
  .goods-recommend-container .recommend-title {
7
- font-size: 32rpx;
8
- padding-left: 32rpx;
9
- padding-top: 32rpx;
7
+ font-size: 4.26667vmin;
8
+ padding-left: 4.26667vmin;
9
+ padding-top: 4.26667vmin;
10
10
  }
11
11
  .goods-recommend-container .goods-item {
12
12
  display: flex;
13
- padding: 32rpx 24rpx 0rpx 24rpx;
14
- height: 180rpx;
13
+ padding: 4.26667vmin 3.2vmin 0rpx 3.2vmin;
14
+ height: 24vmin;
15
15
  }
16
16
  .goods-recommend-container .goods-item .cover-picture {
17
- margin-right: 16rpx;
17
+ margin-right: 2.13333vmin;
18
18
  position: relative;
19
19
  }
20
20
  .goods-recommend-container .goods-item .cover-picture .picture {
21
- width: 240rpx;
22
- height: 180rpx;
23
- border-radius: 16rpx;
21
+ width: 32vmin;
22
+ height: 24vmin;
23
+ border-radius: 2.13333vmin;
24
24
  }
25
25
  .goods-recommend-container .goods-item .cover-picture .marketing-type {
26
26
  position: absolute;
27
- font-size: 20rpx;
27
+ font-size: 2.66667vmin;
28
28
  left: 0;
29
29
  color: #807157;
30
- padding: 4rpx 8rpx;
30
+ padding: 0.53333vmin 1.06667vmin;
31
31
  top: 0;
32
- border-radius: 8rpx 0 8rpx 0;
32
+ border-radius: 1.06667vmin 0 1.06667vmin 0;
33
33
  }
34
34
  .goods-recommend-container .goods-item .cover-picture .super-member {
35
35
  background: linear-gradient(-45deg, #333333 0%, #525252 68%, #333333 100%);
@@ -42,19 +42,18 @@
42
42
  }
43
43
  .goods-recommend-container .goods-item .cover-picture .goods-type {
44
44
  position: absolute;
45
- font-size: 20rpx;
46
- right: 12rpx;
47
- bottom: 12rpx;
48
- padding: 4rpx 8rpx;
45
+ font-size: 2.66667vmin;
46
+ right: 1.6vmin;
47
+ bottom: 1.6vmin;
48
+ padding: 0.53333vmin 1.06667vmin;
49
49
  color: #ffffff;
50
- border-radius: 8rpx;
50
+ border-radius: 1.06667vmin;
51
51
  border: 0 solid #010101;
52
52
  background: rgba(0, 0, 0, 0.25);
53
- backdrop-filter: blur(10.1746254 0.56rem);
53
+ backdrop-filter: blur(10.17463 0.56rem);
54
54
  }
55
55
  .goods-recommend-container .goods-item .goods-info {
56
- font-size: 28rpx;
57
- width: calc(100% - 256rpx);
56
+ font-size: 3.73333vmin;
58
57
  display: flex;
59
58
  flex-direction: column;
60
59
  justify-content: space-between;
@@ -69,12 +68,11 @@
69
68
  }
70
69
  .goods-recommend-container .goods-item .goods-info .price-watch {
71
70
  display: flex;
72
- margin-top: 60rpx;
73
71
  justify-content: space-between;
74
72
  align-items: center;
75
73
  }
76
74
  .goods-recommend-container .goods-item .goods-info .price-watch .goods-type {
77
- font-size: 24rpx;
75
+ font-size: 3.2vmin;
78
76
  color: #ff5024;
79
77
  font-weight: 700;
80
78
  }
@@ -89,16 +87,16 @@
89
87
  align-items: baseline;
90
88
  }
91
89
  .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .greenback-one {
92
- font-size: 32rpx;
90
+ font-size: 4.26667vmin;
93
91
  color: #ff5024;
94
92
  }
95
93
  .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .greenback {
96
- font-size: 24rpx;
94
+ font-size: 3.2vmin;
97
95
  color: #ff5024;
98
96
  }
99
97
  .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .discount {
100
- font-size: 24rpx;
101
- margin-left: 8rpx;
98
+ font-size: 3.2vmin;
99
+ margin-left: 1.06667vmin;
102
100
  text-decoration: line-through;
103
101
  }
104
102
  .goods-recommend-container .goods-item .goods-info .price-watch .goods-watch {
@@ -107,7 +105,7 @@
107
105
  white-space: nowrap;
108
106
  text-overflow: ellipsis;
109
107
  overflow: hidden;
110
- font-size: 20rpx;
108
+ font-size: 2.66667vmin;
111
109
  color: #b2b2b2;
112
110
  }
113
111
  .goods-recommend-container .empty {
@@ -116,14 +114,272 @@
116
114
  justify-content: center;
117
115
  align-items: center;
118
116
  flex-direction: column;
119
- padding: 80rpx 0;
117
+ padding: 10.66667vmin 0;
120
118
  }
121
119
  .goods-recommend-container .empty .empty-text {
122
120
  color: #9e9e9e;
123
- font-size: 32rpx;
124
- margin-top: 32rpx;
121
+ font-size: 4.26667vmin;
122
+ margin-top: 4.26667vmin;
125
123
  }
126
124
  .goods-recommend-container .empty image {
127
- width: 176rpx;
128
- height: 176rpx;
125
+ width: 23.46667vmin;
126
+ height: 23.46667vmin;
127
+ }
128
+ @media screen and (min-width: 768px) and (orientation: portrait) {
129
+ .goods-recommend-container {
130
+ width: 100%;
131
+ background-color: #ffffff;
132
+ padding-bottom: 6.51042vmin;
133
+ }
134
+ .goods-recommend-container .recommend-title {
135
+ font-size: 2.08333vmin;
136
+ padding-left: 2.08333vmin;
137
+ padding-top: 2.08333vmin;
138
+ }
139
+ .goods-recommend-container .goods-item {
140
+ display: flex;
141
+ padding: 2.08333vmin 1.5625vmin 0rpx 1.5625vmin;
142
+ height: 11.71875vmin;
143
+ }
144
+ .goods-recommend-container .goods-item .cover-picture {
145
+ margin-right: 1.04167vmin;
146
+ position: relative;
147
+ }
148
+ .goods-recommend-container .goods-item .cover-picture .picture {
149
+ width: 15.625vmin;
150
+ height: 11.71875vmin;
151
+ border-radius: 1.04167vmin;
152
+ }
153
+ .goods-recommend-container .goods-item .cover-picture .marketing-type {
154
+ position: absolute;
155
+ font-size: 1.30208vmin;
156
+ left: 0;
157
+ color: #807157;
158
+ padding: 0.26042vmin 0.52083vmin;
159
+ top: 0;
160
+ border-radius: 0.52083vmin 0 0.52083vmin 0;
161
+ }
162
+ .goods-recommend-container .goods-item .cover-picture .super-member {
163
+ background: linear-gradient(-45deg, #333333 0%, #525252 68%, #333333 100%);
164
+ color: #ffc166;
165
+ }
166
+ .goods-recommend-container .goods-item .cover-picture .else-activity {
167
+ color: #fff;
168
+ border: 0 solid #010101;
169
+ background: linear-gradient(270deg, #fe6500 0%, #ff4102 100%);
170
+ }
171
+ .goods-recommend-container .goods-item .cover-picture .goods-type {
172
+ position: absolute;
173
+ font-size: 1.30208vmin;
174
+ right: 0.78125vmin;
175
+ bottom: 0.78125vmin;
176
+ padding: 0.26042vmin 0.52083vmin;
177
+ color: #ffffff;
178
+ border-radius: 0.52083vmin;
179
+ border: 0 solid #010101;
180
+ background: rgba(0, 0, 0, 0.25);
181
+ backdrop-filter: blur(10.17463 0.56rem);
182
+ }
183
+ .goods-recommend-container .goods-item .goods-info {
184
+ font-size: 1.82292vmin;
185
+ display: flex;
186
+ flex-direction: column;
187
+ justify-content: space-between;
188
+ }
189
+ .goods-recommend-container .goods-item .goods-info .goods-title {
190
+ font-weight: 600;
191
+ display: -webkit-box;
192
+ overflow: hidden;
193
+ text-overflow: ellipsis;
194
+ -webkit-box-orient: vertical;
195
+ -webkit-line-clamp: 2;
196
+ }
197
+ .goods-recommend-container .goods-item .goods-info .price-watch {
198
+ display: flex;
199
+ justify-content: space-between;
200
+ align-items: center;
201
+ }
202
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-type {
203
+ font-size: 1.5625vmin;
204
+ color: #ff5024;
205
+ font-weight: 700;
206
+ }
207
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-price {
208
+ width: 75%;
209
+ color: #b2b2b2;
210
+ font-weight: 700;
211
+ white-space: nowrap;
212
+ text-overflow: ellipsis;
213
+ overflow: hidden;
214
+ display: flex;
215
+ align-items: baseline;
216
+ }
217
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .greenback-one {
218
+ font-size: 2.08333vmin;
219
+ color: #ff5024;
220
+ }
221
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .greenback {
222
+ font-size: 1.5625vmin;
223
+ color: #ff5024;
224
+ }
225
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .discount {
226
+ font-size: 1.5625vmin;
227
+ margin-left: 0.52083vmin;
228
+ text-decoration: line-through;
229
+ }
230
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-watch {
231
+ text-align: right;
232
+ width: 25%;
233
+ white-space: nowrap;
234
+ text-overflow: ellipsis;
235
+ overflow: hidden;
236
+ font-size: 1.30208vmin;
237
+ color: #b2b2b2;
238
+ }
239
+ .goods-recommend-container .empty {
240
+ width: 100%;
241
+ display: flex;
242
+ justify-content: center;
243
+ align-items: center;
244
+ flex-direction: column;
245
+ padding: 5.20833vmin 0;
246
+ }
247
+ .goods-recommend-container .empty .empty-text {
248
+ color: #9e9e9e;
249
+ font-size: 2.08333vmin;
250
+ margin-top: 2.08333vmin;
251
+ }
252
+ .goods-recommend-container .empty image {
253
+ width: 11.45833vmin;
254
+ height: 11.45833vmin;
255
+ }
256
+ }
257
+ @media screen and (min-height: 768px) and (orientation: landscape) {
258
+ .goods-recommend-container {
259
+ width: 100%;
260
+ background-color: #ffffff;
261
+ padding-bottom: 6.51042vmin;
262
+ }
263
+ .goods-recommend-container .recommend-title {
264
+ font-size: 2.08333vmin;
265
+ padding-left: 2.08333vmin;
266
+ padding-top: 2.08333vmin;
267
+ }
268
+ .goods-recommend-container .goods-item {
269
+ display: flex;
270
+ padding: 2.08333vmin 1.5625vmin 0rpx 1.5625vmin;
271
+ height: 11.71875vmin;
272
+ }
273
+ .goods-recommend-container .goods-item .cover-picture {
274
+ margin-right: 1.04167vmin;
275
+ position: relative;
276
+ }
277
+ .goods-recommend-container .goods-item .cover-picture .picture {
278
+ width: 15.625vmin;
279
+ height: 11.71875vmin;
280
+ border-radius: 1.04167vmin;
281
+ }
282
+ .goods-recommend-container .goods-item .cover-picture .marketing-type {
283
+ position: absolute;
284
+ font-size: 1.30208vmin;
285
+ left: 0;
286
+ color: #807157;
287
+ padding: 0.26042vmin 0.52083vmin;
288
+ top: 0;
289
+ border-radius: 0.52083vmin 0 0.52083vmin 0;
290
+ }
291
+ .goods-recommend-container .goods-item .cover-picture .super-member {
292
+ background: linear-gradient(-45deg, #333333 0%, #525252 68%, #333333 100%);
293
+ color: #ffc166;
294
+ }
295
+ .goods-recommend-container .goods-item .cover-picture .else-activity {
296
+ color: #fff;
297
+ border: 0 solid #010101;
298
+ background: linear-gradient(270deg, #fe6500 0%, #ff4102 100%);
299
+ }
300
+ .goods-recommend-container .goods-item .cover-picture .goods-type {
301
+ position: absolute;
302
+ font-size: 1.30208vmin;
303
+ right: 0.78125vmin;
304
+ bottom: 0.78125vmin;
305
+ padding: 0.26042vmin 0.52083vmin;
306
+ color: #ffffff;
307
+ border-radius: 0.52083vmin;
308
+ border: 0 solid #010101;
309
+ background: rgba(0, 0, 0, 0.25);
310
+ backdrop-filter: blur(10.17463 0.56rem);
311
+ }
312
+ .goods-recommend-container .goods-item .goods-info {
313
+ font-size: 1.82292vmin;
314
+ display: flex;
315
+ flex-direction: column;
316
+ justify-content: space-between;
317
+ }
318
+ .goods-recommend-container .goods-item .goods-info .goods-title {
319
+ font-weight: 600;
320
+ display: -webkit-box;
321
+ overflow: hidden;
322
+ text-overflow: ellipsis;
323
+ -webkit-box-orient: vertical;
324
+ -webkit-line-clamp: 2;
325
+ }
326
+ .goods-recommend-container .goods-item .goods-info .price-watch {
327
+ display: flex;
328
+ justify-content: space-between;
329
+ align-items: center;
330
+ }
331
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-type {
332
+ font-size: 1.5625vmin;
333
+ color: #ff5024;
334
+ font-weight: 700;
335
+ }
336
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-price {
337
+ width: 75%;
338
+ color: #b2b2b2;
339
+ font-weight: 700;
340
+ white-space: nowrap;
341
+ text-overflow: ellipsis;
342
+ overflow: hidden;
343
+ display: flex;
344
+ align-items: baseline;
345
+ }
346
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .greenback-one {
347
+ font-size: 2.08333vmin;
348
+ color: #ff5024;
349
+ }
350
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .greenback {
351
+ font-size: 1.5625vmin;
352
+ color: #ff5024;
353
+ }
354
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-price .discount {
355
+ font-size: 1.5625vmin;
356
+ margin-left: 0.52083vmin;
357
+ text-decoration: line-through;
358
+ }
359
+ .goods-recommend-container .goods-item .goods-info .price-watch .goods-watch {
360
+ text-align: right;
361
+ width: 25%;
362
+ white-space: nowrap;
363
+ text-overflow: ellipsis;
364
+ overflow: hidden;
365
+ font-size: 1.30208vmin;
366
+ color: #b2b2b2;
367
+ }
368
+ .goods-recommend-container .empty {
369
+ width: 100%;
370
+ display: flex;
371
+ justify-content: center;
372
+ align-items: center;
373
+ flex-direction: column;
374
+ padding: 5.20833vmin 0;
375
+ }
376
+ .goods-recommend-container .empty .empty-text {
377
+ color: #9e9e9e;
378
+ font-size: 2.08333vmin;
379
+ margin-top: 2.08333vmin;
380
+ }
381
+ .goods-recommend-container .empty image {
382
+ width: 11.45833vmin;
383
+ height: 11.45833vmin;
384
+ }
129
385
  }
@@ -0,0 +1,71 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin popup-header{
7
+ padding: vmin(24) vmin(32);
8
+ height: vmin(48);
9
+ top: auto;
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ .head-right-txt {
14
+ display: inline-block;
15
+ text-align: right;
16
+ min-width: vmin(104);
17
+ font-size: vmin(40);
18
+ }
19
+ .popup-header-title{
20
+ color: rgba(51,51,51,1);
21
+ font-size: vmin(32);
22
+ font-weight: 500;
23
+ font-family: "PingFang SC";
24
+ }
25
+ .van-action-sheet__left {
26
+ color: #c8c9cc;
27
+ font-size: vmin(22);
28
+ line-height: inherit;
29
+ display: flex;
30
+ align-items: center;
31
+ min-width: vmin(104);
32
+
33
+ .order-icon {
34
+ display: inline-block;
35
+ width: vmin(40);
36
+ height: vmin(40);
37
+ -moz-background-size: 100% 100%;
38
+ background-size: 100% 100%;
39
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANHSURBVHgB7ZzPcdpQEId/yAwXH0IJdBCoINCBXYHlYRAcSQekAnPk34yVCuxUYDowJagEc4ADM0D2xTplkvDEaldE3m+GEYeHkD6e3q7eWwQYhvEfU4ESg8GgcTweh/T2E2RZVyqV8WQySaCAisBer9ekzQudWB06vNGP1ZnP5ysIE0ABEveoKM9RD4LgAQqoCCSaUIZ6YBsKaAksLWePgRQU2vQr38AjKFC7EAVAw0bs0WxNx7eczWbPOIPMAl1AoAN7orcNlIuERN5mDTyZBLpedzgcXpATrodMp9N7MIiiKKbNHXKCgk+HUqCld3vfhi6PI3mPKDl0jk9hGHpnDN4C9/u9S4IbKD/1Wq029G1c9W1Il9sX5IxLNfr9PqtX0z5yPy68Dwkjn4beAiGTyzWKitAnaPg2zCLwj/gEAhrojygASk3+GSTzCECWSDNREUiX6Rv0SaCA1mTCN+jzHQqoCKSxaEwbJzGBPAm9vtJ3jqAAO4j4kp7QCCXDgggTE8jEBDIxgUxMIBMTyMQEMjGBTEwgE/E7kbQq4YHuh9vQZUXrG7fSJR6iPdCto+C9pKMNfZq0vvGaHoMYogLdOopyScfv1NO1HDFEBRYs7xd0GYtWg0kHEfHqqFO4qgMIIipwt9vFKFbiiqbRRCdWRaNwHMduKr9FkTikS0li+fGvUABZXV9fi89Kq0yozufzmDYxSogl0kxMIBMTyMQEMjGBTMSj8HA4rG82mztKY3IpTkrLcVUWzX0QF7jdbl/pls5VYSEnwiiKhpSkd9I8s1BEL2GXQEOmKLNZq9VCXADSkwltCEH7/owLQFSgZFUW3aqtcQGICry6uhpLSHT7dPvGBSAq0E2n04m26HJbIifS6amO1r8xTyEehdMT7aCkWCLNxAQyMYFMTCATE8jEBDIxgUxMIBMTyMQEMjGBTEwgExPIxAQyMYFMTCATE8jEBDIxgUzYayLuuS9RFIX4oGTpgQk+Dt513VkEXkxBjwI/fBt6C9ztduOCnv+iTRIEQezb2Fugq4RyDyhEiXEd5HA43GdZtM8UhReLxZK+pIVyjocJvTruHDN85vxnqHa73ZtqtdqG/IO1pVnv9/vnrOIMwygFPwHK0g4OEWNPBgAAAABJRU5ErkJggg==");
40
+ }
41
+ .head-left-txt {
42
+ opacity: 1;
43
+ color: #666666;
44
+ font-size: vmin(28);
45
+ font-weight: 500;
46
+ font-family: "PingFang SC";
47
+ margin-left: vmin(8);
48
+ }
49
+ }
50
+ }
51
+
52
+
53
+ .popup-header {
54
+ @include popup-header;
55
+ }
56
+ // 竖屏pad
57
+ @media screen and (min-width: 768px) and (orientation: portrait) {
58
+ $deviceWidth: 1536 !global;
59
+
60
+ .popup-header {
61
+ @include popup-header;
62
+ }
63
+ }
64
+ // 横屏pad
65
+ @media screen and (min-height: 768px) and (orientation: landscape) {
66
+ $deviceWidth: 1536 !global;
67
+
68
+ .popup-header {
69
+ @include popup-header;
70
+ }
71
+ }