xiaoe_mp_npm 0.5.42-test2 → 0.5.42-test21

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 (123) 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.css +1715 -1715
  16. package/miniprogram_dist/CouponList/components/CouponItem/index.js +31 -22
  17. package/miniprogram_dist/CouponList/components/CouponItem/index.min.css +1 -1
  18. package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +6 -2
  19. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +1037 -79
  20. package/miniprogram_dist/CouponList/couponColumn/index.js +5 -1
  21. package/miniprogram_dist/CouponList/couponColumn/index.scss +118 -0
  22. package/miniprogram_dist/CouponList/couponColumn/index.wxml +1 -0
  23. package/miniprogram_dist/CouponList/couponColumn/index.wxss +221 -32
  24. package/miniprogram_dist/CouponReceivePopup/index.js +75 -0
  25. package/miniprogram_dist/CouponReceivePopup/index.json +6 -0
  26. package/miniprogram_dist/CouponReceivePopup/index.scss +99 -0
  27. package/miniprogram_dist/CouponReceivePopup/index.wxml +85 -0
  28. package/miniprogram_dist/CouponReceivePopup/index.wxss +75 -0
  29. package/miniprogram_dist/GoodsItem/index.js +7 -5
  30. package/miniprogram_dist/GoodsItem/index.scss +45 -22
  31. package/miniprogram_dist/GoodsItem/index.wxml +11 -11
  32. package/miniprogram_dist/GoodsItem/index.wxs +18 -18
  33. package/miniprogram_dist/GoodsItem/index.wxss +1273 -116
  34. package/miniprogram_dist/GoodsRecommend/index.scss +162 -0
  35. package/miniprogram_dist/GoodsRecommend/index.wxss +418 -33
  36. package/miniprogram_dist/LiveGoodsList/Header/index.scss +79 -0
  37. package/miniprogram_dist/LiveGoodsList/Header/index.wxss +148 -10
  38. package/miniprogram_dist/LiveGoodsList/index.js +167 -25
  39. package/miniprogram_dist/LiveGoodsList/index.scss +93 -0
  40. package/miniprogram_dist/LiveGoodsList/index.wxml +41 -19
  41. package/miniprogram_dist/LiveGoodsList/index.wxss +187 -19
  42. package/miniprogram_dist/PayModule/button/index.scss +45 -0
  43. package/miniprogram_dist/PayModule/button/index.wxss +46 -4
  44. package/miniprogram_dist/TeacherGoodsList/index.js +778 -585
  45. package/miniprogram_dist/TeacherGoodsList/index.scss +5 -2
  46. package/miniprogram_dist/TeacherGoodsList/index.wxml +42 -24
  47. package/miniprogram_dist/TeacherGoodsList/index.wxss +132 -14
  48. package/miniprogram_dist/common/api/liveGoodsList.js +10 -2
  49. package/miniprogram_dist/common/utils/index.js +14 -0
  50. package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
  51. package/miniprogram_dist/coupon/components/CouponItem/index.scss +247 -0
  52. package/miniprogram_dist/coupon/components/CouponItem/index.wxss +677 -86
  53. package/miniprogram_dist/coupon/components/CouponSelect/index.scss +331 -0
  54. package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +861 -59
  55. package/miniprogram_dist/coupon/index.scss +83 -0
  56. package/miniprogram_dist/coupon/index.wxss +171 -15
  57. package/package.json +2 -2
  58. package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  59. package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +42 -1
  60. package/src/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  61. package/src/ConfirmOrder/components/GoodsInfo/index.wxss +552 -39
  62. package/src/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  63. package/src/ConfirmOrder/components/IntegralSelect/index.wxss +182 -14
  64. package/src/ConfirmOrder/components/Invoice/index.scss +61 -0
  65. package/src/ConfirmOrder/components/Invoice/index.wxss +75 -2
  66. package/src/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  67. package/src/ConfirmOrder/components/LeaveWord/index.wxss +30 -2
  68. package/src/ConfirmOrder/components/PayBar/index.scss +62 -0
  69. package/src/ConfirmOrder/components/PayBar/index.wxss +87 -3
  70. package/src/ConfirmOrder/components/PayDetail/index.scss +41 -0
  71. package/src/ConfirmOrder/components/PayDetail/index.wxss +39 -3
  72. package/src/CouponList/components/CouponItem/index.css +1715 -1715
  73. package/src/CouponList/components/CouponItem/index.js +31 -22
  74. package/src/CouponList/components/CouponItem/index.min.css +1 -1
  75. package/src/CouponList/components/CouponItem/index.wxml +6 -2
  76. package/src/CouponList/components/CouponItem/index.wxss +1039 -85
  77. package/src/CouponList/couponColumn/index.js +5 -1
  78. package/src/CouponList/couponColumn/index.scss +118 -0
  79. package/src/CouponList/couponColumn/index.wxml +1 -0
  80. package/src/CouponList/couponColumn/index.wxss +236 -32
  81. package/src/CouponReceivePopup/index.js +75 -0
  82. package/src/CouponReceivePopup/index.json +6 -0
  83. package/src/CouponReceivePopup/index.scss +99 -0
  84. package/src/CouponReceivePopup/index.wxml +85 -0
  85. package/src/CouponReceivePopup/index.wxss +1 -0
  86. package/src/GoodsItem/index.js +7 -5
  87. package/src/GoodsItem/index.scss +45 -22
  88. package/src/GoodsItem/index.wxml +11 -11
  89. package/src/GoodsItem/index.wxs +18 -18
  90. package/src/GoodsItem/index.wxss +1331 -116
  91. package/src/GoodsRecommend/index.scss +162 -0
  92. package/src/GoodsRecommend/index.wxss +441 -33
  93. package/src/LiveGoodsList/Header/index.scss +79 -0
  94. package/src/LiveGoodsList/Header/index.wxss +156 -10
  95. package/src/LiveGoodsList/index.js +167 -25
  96. package/src/LiveGoodsList/index.scss +93 -0
  97. package/src/LiveGoodsList/index.wxml +41 -19
  98. package/src/LiveGoodsList/index.wxss +230 -50
  99. package/src/PayModule/button/index.scss +45 -0
  100. package/src/PayModule/button/index.wxss +50 -4
  101. package/src/TeacherGoodsList/index.js +778 -585
  102. package/src/TeacherGoodsList/index.scss +5 -2
  103. package/src/TeacherGoodsList/index.wxml +42 -24
  104. package/src/TeacherGoodsList/index.wxss +151 -14
  105. package/src/common/api/liveGoodsList.js +10 -2
  106. package/src/common/utils/index.js +14 -0
  107. package/src/coupon/components/CouponItem/index.less +1 -0
  108. package/src/coupon/components/CouponItem/index.scss +247 -0
  109. package/src/coupon/components/CouponItem/index.wxss +712 -86
  110. package/src/coupon/components/CouponSelect/index.scss +331 -0
  111. package/src/coupon/components/CouponSelect/index.wxss +910 -59
  112. package/src/coupon/index.scss +83 -0
  113. package/src/coupon/index.wxss +181 -15
  114. package/miniprogram_dist/GoodsItem/index.css +0 -1364
  115. package/miniprogram_dist/GoodsItem/index.less +0 -299
  116. package/miniprogram_dist/GoodsItem/index.min.css +0 -1
  117. package/miniprogram_dist/TeacherGoodsList/index.css +0 -187
  118. package/miniprogram_dist/TeacherGoodsList/index.min.css +0 -1
  119. package/src/GoodsItem/index.css +0 -1364
  120. package/src/GoodsItem/index.less +0 -299
  121. package/src/GoodsItem/index.min.css +0 -1
  122. package/src/TeacherGoodsList/index.css +0 -187
  123. package/src/TeacherGoodsList/index.min.css +0 -1
@@ -0,0 +1,83 @@
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
+ // PC 放大适配
69
+ @media screen and (min-height: 630px) and (orientation: landscape) {
70
+ $deviceWidth: 1260 !global;
71
+
72
+ .confrim-order {
73
+ @include confrim-order;
74
+ }
75
+ }
76
+ // 横屏pad
77
+ @media screen and (min-height: 768px) and (orientation: landscape) {
78
+ $deviceWidth: 1536 !global;
79
+
80
+ .confrim-order {
81
+ @include confrim-order;
82
+ }
83
+ }
@@ -1,5 +1,5 @@
1
1
  .confrim-order {
2
- padding: 0 4.27vmin;
2
+ padding: 0 4.26667vmin;
3
3
  background: #FFF;
4
4
  }
5
5
  .confrim-order .coupon-panel {
@@ -8,25 +8,25 @@
8
8
  justify-content: space-between;
9
9
  align-items: center;
10
10
  width: 100%;
11
- height: 11.73vmin;
11
+ height: 11.73333vmin;
12
12
  }
13
13
  .confrim-order .coupon-panel .coupon-left {
14
14
  display: flex;
15
15
  align-items: center;
16
16
  }
17
17
  .confrim-order .coupon-panel .coupon-left .coupon-title {
18
- margin-right: 2.35vmin;
19
- line-height: 6.45vmin;
20
- font-size: 3.73vmin;
18
+ margin-right: 2.4vmin;
19
+ line-height: 6.4vmin;
20
+ font-size: 3.73333vmin;
21
21
  color: #333;
22
22
  }
23
23
  .confrim-order .coupon-panel .coupon-left .coupon-tip {
24
24
  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;
25
+ height: 5.33333vmin;
26
+ line-height: 5.33333vmin;
27
+ padding: 0 1.86667vmin;
28
+ border-radius: 0.53333vmin;
29
+ font-size: 3.2vmin;
30
30
  color: #FF821F;
31
31
  background: rgba(255, 132, 31, 0.16);
32
32
  }
@@ -38,13 +38,169 @@
38
38
  }
39
39
  .confrim-order .coupon-panel .coupon-right .coupon-value {
40
40
  color: #ff821f;
41
- margin-right: 1.07vmin;
41
+ margin-right: 1.06667vmin;
42
42
  width: fit-content;
43
- font-size: 3.73vmin;
43
+ font-size: 3.73333vmin;
44
44
  }
45
45
  .confrim-order .coupon-panel .coupon-right .have-no-coupon {
46
- margin-right: 1.07vmin;
47
- line-height: 5.87vmin;
48
- font-size: 3.73vmin;
46
+ margin-right: 1.06667vmin;
47
+ line-height: 5.86667vmin;
48
+ font-size: 3.73333vmin;
49
49
  color: #999;
50
50
  }
51
+ @media screen and (min-width: 768px) and (orientation: portrait) {
52
+ .confrim-order {
53
+ padding: 0 2.08333vmin;
54
+ background: #FFF;
55
+ }
56
+ .confrim-order .coupon-panel {
57
+ box-sizing: border-box;
58
+ display: flex;
59
+ justify-content: space-between;
60
+ align-items: center;
61
+ width: 100%;
62
+ height: 5.72917vmin;
63
+ }
64
+ .confrim-order .coupon-panel .coupon-left {
65
+ display: flex;
66
+ align-items: center;
67
+ }
68
+ .confrim-order .coupon-panel .coupon-left .coupon-title {
69
+ margin-right: 1.17188vmin;
70
+ line-height: 3.125vmin;
71
+ font-size: 1.82292vmin;
72
+ color: #333;
73
+ }
74
+ .confrim-order .coupon-panel .coupon-left .coupon-tip {
75
+ box-sizing: border-box;
76
+ height: 2.60417vmin;
77
+ line-height: 2.60417vmin;
78
+ padding: 0 0.91146vmin;
79
+ border-radius: 0.26042vmin;
80
+ font-size: 1.5625vmin;
81
+ color: #FF821F;
82
+ background: rgba(255, 132, 31, 0.16);
83
+ }
84
+ .confrim-order .coupon-panel .coupon-right {
85
+ display: flex;
86
+ flex: 1;
87
+ align-items: center;
88
+ justify-content: flex-end;
89
+ }
90
+ .confrim-order .coupon-panel .coupon-right .coupon-value {
91
+ color: #ff821f;
92
+ margin-right: 0.52083vmin;
93
+ width: fit-content;
94
+ font-size: 1.82292vmin;
95
+ }
96
+ .confrim-order .coupon-panel .coupon-right .have-no-coupon {
97
+ margin-right: 0.52083vmin;
98
+ line-height: 2.86458vmin;
99
+ font-size: 1.82292vmin;
100
+ color: #999;
101
+ }
102
+ }
103
+ @media screen and (min-height: 630px) and (orientation: landscape) {
104
+ .confrim-order {
105
+ padding: 0 2.53968vmin;
106
+ background: #FFF;
107
+ }
108
+ .confrim-order .coupon-panel {
109
+ box-sizing: border-box;
110
+ display: flex;
111
+ justify-content: space-between;
112
+ align-items: center;
113
+ width: 100%;
114
+ height: 6.98413vmin;
115
+ }
116
+ .confrim-order .coupon-panel .coupon-left {
117
+ display: flex;
118
+ align-items: center;
119
+ }
120
+ .confrim-order .coupon-panel .coupon-left .coupon-title {
121
+ margin-right: 1.42857vmin;
122
+ line-height: 3.80952vmin;
123
+ font-size: 2.22222vmin;
124
+ color: #333;
125
+ }
126
+ .confrim-order .coupon-panel .coupon-left .coupon-tip {
127
+ box-sizing: border-box;
128
+ height: 3.1746vmin;
129
+ line-height: 3.1746vmin;
130
+ padding: 0 1.11111vmin;
131
+ border-radius: 0.31746vmin;
132
+ font-size: 1.90476vmin;
133
+ color: #FF821F;
134
+ background: rgba(255, 132, 31, 0.16);
135
+ }
136
+ .confrim-order .coupon-panel .coupon-right {
137
+ display: flex;
138
+ flex: 1;
139
+ align-items: center;
140
+ justify-content: flex-end;
141
+ }
142
+ .confrim-order .coupon-panel .coupon-right .coupon-value {
143
+ color: #ff821f;
144
+ margin-right: 0.63492vmin;
145
+ width: fit-content;
146
+ font-size: 2.22222vmin;
147
+ }
148
+ .confrim-order .coupon-panel .coupon-right .have-no-coupon {
149
+ margin-right: 0.63492vmin;
150
+ line-height: 3.49206vmin;
151
+ font-size: 2.22222vmin;
152
+ color: #999;
153
+ }
154
+ }
155
+ @media screen and (min-height: 768px) and (orientation: landscape) {
156
+ .confrim-order {
157
+ padding: 0 2.08333vmin;
158
+ background: #FFF;
159
+ }
160
+ .confrim-order .coupon-panel {
161
+ box-sizing: border-box;
162
+ display: flex;
163
+ justify-content: space-between;
164
+ align-items: center;
165
+ width: 100%;
166
+ height: 5.72917vmin;
167
+ }
168
+ .confrim-order .coupon-panel .coupon-left {
169
+ display: flex;
170
+ align-items: center;
171
+ }
172
+ .confrim-order .coupon-panel .coupon-left .coupon-title {
173
+ margin-right: 1.17188vmin;
174
+ line-height: 3.125vmin;
175
+ font-size: 1.82292vmin;
176
+ color: #333;
177
+ }
178
+ .confrim-order .coupon-panel .coupon-left .coupon-tip {
179
+ box-sizing: border-box;
180
+ height: 2.60417vmin;
181
+ line-height: 2.60417vmin;
182
+ padding: 0 0.91146vmin;
183
+ border-radius: 0.26042vmin;
184
+ font-size: 1.5625vmin;
185
+ color: #FF821F;
186
+ background: rgba(255, 132, 31, 0.16);
187
+ }
188
+ .confrim-order .coupon-panel .coupon-right {
189
+ display: flex;
190
+ flex: 1;
191
+ align-items: center;
192
+ justify-content: flex-end;
193
+ }
194
+ .confrim-order .coupon-panel .coupon-right .coupon-value {
195
+ color: #ff821f;
196
+ margin-right: 0.52083vmin;
197
+ width: fit-content;
198
+ font-size: 1.82292vmin;
199
+ }
200
+ .confrim-order .coupon-panel .coupon-right .have-no-coupon {
201
+ margin-right: 0.52083vmin;
202
+ line-height: 2.86458vmin;
203
+ font-size: 1.82292vmin;
204
+ color: #999;
205
+ }
206
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "0.5.42-test2",
3
+ "version": "0.5.42-test21",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "dependencies": {
73
73
  "@vant/weapp": "^1.9.2",
74
- "live-mp-tools": "1.2.4",
74
+ "live-mp-tools": "1.3.1-test2",
75
75
  "miniprogram-computed": "4.2.1",
76
76
  "mp-plugins-info-collection": "1.1.2"
77
77
  }
@@ -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
+ }
@@ -1,10 +1,51 @@
1
1
  .confirm-order-content {
2
2
  height: 100%;
3
3
  }
4
+
4
5
  .confirm-order-content .confirm-main {
5
6
  padding-bottom: 20vmin;
6
7
  background: #f5f5f5;
7
8
  }
9
+
8
10
  .confirm-order-content .confirm-main .coupon-integral-wrapper {
9
- margin-bottom: 2.13vmin;
11
+ margin-bottom: 2.13333vmin;
12
+ }
13
+
14
+ @media screen and (min-width: 768px) and (orientation: portrait) {
15
+ .confirm-order-content {
16
+ height: 100%;
17
+ }
18
+ .confirm-order-content .confirm-main {
19
+ padding-bottom: 9.76562vmin;
20
+ background: #f5f5f5;
21
+ }
22
+ .confirm-order-content .confirm-main .coupon-integral-wrapper {
23
+ margin-bottom: 1.04167vmin;
24
+ }
25
+ }
26
+
27
+ @media screen and (min-height: 630px) and (orientation: landscape) {
28
+ .confirm-order-content {
29
+ height: 100%;
30
+ }
31
+ .confirm-order-content .confirm-main {
32
+ padding-bottom: 11.90476vmin;
33
+ background: #f5f5f5;
34
+ }
35
+ .confirm-order-content .confirm-main .coupon-integral-wrapper {
36
+ margin-bottom: 1.26984vmin;
37
+ }
38
+ }
39
+
40
+ @media screen and (min-height: 768px) and (orientation: landscape) {
41
+ .confirm-order-content {
42
+ height: 100%;
43
+ }
44
+ .confirm-order-content .confirm-main {
45
+ padding-bottom: 9.76562vmin;
46
+ background: #f5f5f5;
47
+ }
48
+ .confirm-order-content .confirm-main .coupon-integral-wrapper {
49
+ margin-bottom: 1.04167vmin;
50
+ }
10
51
  }
@@ -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
+ }