xiaoe_mp_npm 0.5.42-test2 → 0.5.42-test4

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 (91) hide show
  1. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  2. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +37 -1
  3. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  4. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +522 -36
  5. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  6. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +170 -14
  7. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +61 -0
  8. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +68 -2
  9. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  10. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +26 -2
  11. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +62 -0
  12. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +81 -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 +16 -18
  16. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +1037 -79
  17. package/miniprogram_dist/CouponList/couponColumn/index.scss +118 -0
  18. package/miniprogram_dist/CouponList/couponColumn/index.wxss +221 -32
  19. package/miniprogram_dist/GoodsItem/index.scss +1 -16
  20. package/miniprogram_dist/GoodsItem/index.wxs +18 -18
  21. package/miniprogram_dist/GoodsItem/index.wxss +902 -85
  22. package/miniprogram_dist/GoodsRecommend/index.scss +162 -0
  23. package/miniprogram_dist/GoodsRecommend/index.wxss +418 -33
  24. package/miniprogram_dist/LiveGoodsList/Header/index.scss +79 -0
  25. package/miniprogram_dist/LiveGoodsList/Header/index.wxss +148 -10
  26. package/miniprogram_dist/LiveGoodsList/index.js +8 -1
  27. package/miniprogram_dist/LiveGoodsList/index.scss +93 -0
  28. package/miniprogram_dist/LiveGoodsList/index.wxml +57 -33
  29. package/miniprogram_dist/LiveGoodsList/index.wxss +187 -19
  30. package/miniprogram_dist/PayModule/button/index.scss +45 -0
  31. package/miniprogram_dist/PayModule/button/index.wxss +46 -4
  32. package/miniprogram_dist/TeacherGoodsList/index.css +187 -187
  33. package/miniprogram_dist/TeacherGoodsList/index.js +585 -585
  34. package/miniprogram_dist/TeacherGoodsList/index.min.css +1 -1
  35. package/miniprogram_dist/common/utils/index.js +14 -0
  36. package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
  37. package/miniprogram_dist/coupon/components/CouponItem/index.scss +247 -0
  38. package/miniprogram_dist/coupon/components/CouponItem/index.wxss +677 -86
  39. package/miniprogram_dist/coupon/components/CouponSelect/index.scss +331 -0
  40. package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +861 -59
  41. package/miniprogram_dist/coupon/index.scss +83 -0
  42. package/miniprogram_dist/coupon/index.wxss +171 -15
  43. package/package.json +1 -1
  44. package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  45. package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +42 -1
  46. package/src/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  47. package/src/ConfirmOrder/components/GoodsInfo/index.wxss +552 -39
  48. package/src/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  49. package/src/ConfirmOrder/components/IntegralSelect/index.wxss +182 -14
  50. package/src/ConfirmOrder/components/Invoice/index.scss +61 -0
  51. package/src/ConfirmOrder/components/Invoice/index.wxss +75 -2
  52. package/src/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  53. package/src/ConfirmOrder/components/LeaveWord/index.wxss +30 -2
  54. package/src/ConfirmOrder/components/PayBar/index.scss +62 -0
  55. package/src/ConfirmOrder/components/PayBar/index.wxss +87 -3
  56. package/src/ConfirmOrder/components/PayDetail/index.scss +41 -0
  57. package/src/ConfirmOrder/components/PayDetail/index.wxss +39 -3
  58. package/src/CouponList/components/CouponItem/index.js +16 -18
  59. package/src/CouponList/components/CouponItem/index.wxss +1039 -85
  60. package/src/CouponList/couponColumn/index.scss +118 -0
  61. package/src/CouponList/couponColumn/index.wxss +236 -32
  62. package/src/GoodsItem/index.scss +1 -16
  63. package/src/GoodsItem/index.wxs +18 -18
  64. package/src/GoodsItem/index.wxss +947 -85
  65. package/src/GoodsRecommend/index.scss +162 -0
  66. package/src/GoodsRecommend/index.wxss +441 -33
  67. package/src/LiveGoodsList/Header/index.scss +79 -0
  68. package/src/LiveGoodsList/Header/index.wxss +156 -10
  69. package/src/LiveGoodsList/index.js +8 -1
  70. package/src/LiveGoodsList/index.scss +93 -0
  71. package/src/LiveGoodsList/index.wxml +57 -33
  72. package/src/LiveGoodsList/index.wxss +199 -19
  73. package/src/PayModule/button/index.scss +45 -0
  74. package/src/PayModule/button/index.wxss +50 -4
  75. package/src/TeacherGoodsList/index.css +187 -187
  76. package/src/TeacherGoodsList/index.js +585 -585
  77. package/src/TeacherGoodsList/index.min.css +1 -1
  78. package/src/common/utils/index.js +14 -0
  79. package/src/coupon/components/CouponItem/index.less +1 -0
  80. package/src/coupon/components/CouponItem/index.scss +247 -0
  81. package/src/coupon/components/CouponItem/index.wxss +712 -86
  82. package/src/coupon/components/CouponSelect/index.scss +331 -0
  83. package/src/coupon/components/CouponSelect/index.wxss +910 -59
  84. package/src/coupon/index.scss +83 -0
  85. package/src/coupon/index.wxss +181 -15
  86. package/miniprogram_dist/GoodsItem/index.css +0 -1364
  87. package/miniprogram_dist/GoodsItem/index.less +0 -299
  88. package/miniprogram_dist/GoodsItem/index.min.css +0 -1
  89. package/src/GoodsItem/index.css +0 -1364
  90. package/src/GoodsItem/index.less +0 -299
  91. package/src/GoodsItem/index.min.css +0 -1
@@ -0,0 +1,45 @@
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
+ // PC 放大适配
31
+ @media screen and (min-height: 630px) and (orientation: landscape) {
32
+ $deviceWidth: 1260 !global;
33
+
34
+ .confirm-order-content {
35
+ @include confirm-order-content;
36
+ }
37
+ }
38
+ // 横屏pad
39
+ @media screen and (min-height: 768px) and (orientation: landscape) {
40
+ $deviceWidth: 1536 !global;
41
+
42
+ .confirm-order-content {
43
+ @include confirm-order-content;
44
+ }
45
+ }
@@ -6,5 +6,41 @@
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: 630px) and (orientation: landscape) {
24
+ .confirm-order-content {
25
+ height: 100%;
26
+ }
27
+ .confirm-order-content .confirm-main {
28
+ padding-bottom: 11.90476vmin;
29
+ background: #f5f5f5;
30
+ }
31
+ .confirm-order-content .confirm-main .coupon-integral-wrapper {
32
+ margin-bottom: 1.26984vmin;
33
+ }
34
+ }
35
+ @media screen and (min-height: 768px) and (orientation: landscape) {
36
+ .confirm-order-content {
37
+ height: 100%;
38
+ }
39
+ .confirm-order-content .confirm-main {
40
+ padding-bottom: 9.76562vmin;
41
+ background: #f5f5f5;
42
+ }
43
+ .confirm-order-content .confirm-main .coupon-integral-wrapper {
44
+ margin-bottom: 1.04167vmin;
45
+ }
10
46
  }
@@ -0,0 +1,223 @@
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
+ // PC 放大适配
209
+ @media screen and (min-height: 630px) and (orientation: landscape) {
210
+ $deviceWidth: 1260 !global;
211
+
212
+ .goods-info-wrapper {
213
+ @include goods-info-wrapper;
214
+ }
215
+ }
216
+ // 横屏pad
217
+ @media screen and (min-height: 768px) and (orientation: landscape) {
218
+ $deviceWidth: 1536 !global;
219
+
220
+ .goods-info-wrapper {
221
+ @include goods-info-wrapper;
222
+ }
223
+ }