@conecli/cone-render 0.10.1-beta.5 → 0.10.1-beta.6
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.
- package/dist/api/index.ts +1 -1
- package/dist/common/const.ts +1 -1
- package/dist/common/environmentType.ts +1 -1
- package/dist/common/index.h5.ts +1 -1
- package/dist/common/index.jd.ts +1 -1
- package/dist/common/index.ts +1 -1
- package/dist/common/index.weapp.ts +1 -1
- package/dist/common/pageType.ts +1 -1
- package/dist/common/sgmCustomCode.ts +1 -1
- package/dist/components/base/CountDown/index.module.scss +49 -44
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomVideo/common.ts +1 -0
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.module.scss +11 -6
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +8 -0
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/interface/component.ts +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/interface/service.ts +1 -1
- package/dist/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/index.jd.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.jdb.ts +1 -1
- package/dist/jumpEventReport/web.jdjch.ts +1 -1
- package/dist/jumpEventReport/web.jxwxapp.ts +1 -1
- package/dist/jumpEventReport/web.pc.ts +1 -1
- package/dist/jumpEventReport/web.tjapp.ts +1 -1
- package/dist/jumpEventReport/web.tjm.ts +1 -1
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/sass/base.scss +142 -141
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/http/colorSign.ts +1 -1
- package/dist/service/http/h5Http.ts +1 -0
- package/dist/service/http/index.h5.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -0
- package/dist/service/requestServer.ts +1 -1
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/index.h5.ts +1 -1
- package/dist/utils/index.ts +1 -1
- package/dist/utils/index.weapp.ts +1 -1
- package/dist/utils/utils.ts +1 -1
- package/package.json +35 -29
- package/dist/utils/memberFormatUtils.js +0 -1
package/dist/open/api/util.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {
|
|
2
1
|
dateFormat,
|
|
3
2
|
showSuccessToast,
|
|
4
3
|
showFailToast,
|
|
5
4
|
showNormalToast,
|
|
6
5
|
isJdApp,
|
|
7
6
|
isH5AndJdShopView,
|
|
8
7
|
isH5,
|
|
9
8
|
isH5AndJdShopViewH5Scroll,
|
|
10
9
|
stopNativeScrollEvent,
|
|
11
10
|
pxTransformFromData
|
|
12
11
|
openTaroEventDialog,
|
|
13
12
|
closeTaroEventDialog,
|
|
14
13
|
dateFormat,
|
|
15
14
|
showSuccessToast,
|
|
16
15
|
showFailToast,
|
|
17
16
|
showNormalToast,
|
|
18
17
|
openDialog: openTaroEventDialog,
|
|
19
18
|
closeDialog: closeTaroEventDialog,
|
|
20
19
|
isJdApp,
|
|
21
20
|
isH5AndJdShopView,
|
|
22
21
|
isH5,
|
|
23
22
|
isH5AndJdShopViewH5Scroll,
|
|
24
23
|
stopNativeScrollEvent,
|
|
25
24
|
pxTransformFromData
|
|
25
|
+
import {
|
|
26
26
|
dateFormat,
|
|
27
27
|
showSuccessToast,
|
|
28
28
|
showFailToast,
|
|
29
29
|
showNormalToast,
|
|
30
30
|
isJdApp,
|
|
31
31
|
isH5AndJdShopView,
|
|
32
32
|
isH5,
|
|
33
33
|
isH5AndJdShopViewH5Scroll,
|
|
34
34
|
stopNativeScrollEvent,
|
|
35
35
|
pxTransformFromData,
|
|
36
36
|
remoteCustomReport,
|
|
37
37
|
isLanguageForEn,
|
|
38
38
|
dateFormat,
|
|
39
39
|
showSuccessToast,
|
|
40
40
|
showFailToast,
|
|
41
41
|
showNormalToast,
|
|
42
42
|
openDialog: openTaroEventDialog,
|
|
43
43
|
closeDialog: closeTaroEventDialog,
|
|
44
44
|
isJdApp,
|
|
45
45
|
isH5AndJdShopView,
|
|
46
46
|
isH5,
|
|
47
47
|
isH5AndJdShopViewH5Scroll,
|
|
48
48
|
stopNativeScrollEvent,
|
|
49
49
|
pxTransformFromData,
|
|
50
50
|
remoteCustomReport,
|
|
51
51
|
isLanguageForEn,
|
package/dist/sass/base.scss
CHANGED
|
@@ -1,40 +1,36 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
font-style: normal;
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'JDZhengHT-Bold';
|
|
4
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Bold.ttf) format('truetype');
|
|
5
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Bold.ttf') format('truetype');
|
|
6
|
+
font-weight: normal;
|
|
7
|
+
font-style: normal;
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
@font-face {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
font-style: normal;
|
|
11
|
+
font-family: 'JDZhengHT-Light';
|
|
12
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Light.ttf) format('truetype');
|
|
13
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Light.ttf') format('truetype');
|
|
14
|
+
font-weight: normal;
|
|
15
|
+
font-style: normal;
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
@font-face {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
font-style: normal;
|
|
19
|
+
font-family: 'JDZhengHT-Regular';
|
|
20
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Regular.ttf) format('truetype');
|
|
21
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Regular.ttf') format('truetype');
|
|
22
|
+
font-weight: normal;
|
|
23
|
+
font-style: normal;
|
|
27
24
|
}
|
|
28
25
|
|
|
29
26
|
@font-face {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
format('truetype');
|
|
27
|
+
font-family: 'JDZhengHT-EN-Bold';
|
|
28
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZhengHei_01_Bold.ttf') format('truetype');
|
|
33
29
|
}
|
|
34
30
|
@font-face {
|
|
35
31
|
font-family: 'JDZhengHeiV2-Bold';
|
|
36
32
|
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Bold.otf')
|
|
37
|
-
|
|
33
|
+
format('truetype');
|
|
38
34
|
font-weight: normal;
|
|
39
35
|
font-style: normal;
|
|
40
36
|
}
|
|
@@ -43,7 +39,7 @@
|
|
|
43
39
|
font-family: 'JDZhengHeiV2-Light';
|
|
44
40
|
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Light.ttf) format('truetype');
|
|
45
41
|
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Light.otf')
|
|
46
|
-
|
|
42
|
+
format('truetype');
|
|
47
43
|
font-weight: normal;
|
|
48
44
|
font-style: normal;
|
|
49
45
|
}
|
|
@@ -52,7 +48,7 @@
|
|
|
52
48
|
font-family: 'JDZhengHeiV2-Regular';
|
|
53
49
|
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Regular.ttf) format('truetype');
|
|
54
50
|
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Regular.otf ')
|
|
55
|
-
|
|
51
|
+
format('truetype');
|
|
56
52
|
font-weight: normal;
|
|
57
53
|
font-style: normal;
|
|
58
54
|
}
|
|
@@ -60,25 +56,25 @@
|
|
|
60
56
|
@font-face {
|
|
61
57
|
font-family: 'JDZhengHeiV2-Heavy';
|
|
62
58
|
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Heavy.otf')
|
|
63
|
-
|
|
59
|
+
format('truetype');
|
|
64
60
|
font-weight: normal;
|
|
65
61
|
font-style: normal;
|
|
66
62
|
}
|
|
67
63
|
|
|
68
64
|
.font-jdzht {
|
|
69
|
-
|
|
65
|
+
font-family: 'JDZhengHT-Regular';
|
|
70
66
|
}
|
|
71
67
|
|
|
72
68
|
.font-jdzht-bold {
|
|
73
|
-
|
|
69
|
+
font-family: 'JDZhengHT-Bold';
|
|
74
70
|
}
|
|
75
71
|
|
|
76
72
|
.font-jdzht-en-bold {
|
|
77
|
-
|
|
73
|
+
font-family: 'JDZhengHT-EN-Bold';
|
|
78
74
|
}
|
|
79
75
|
|
|
80
76
|
.font-jdzht-light {
|
|
81
|
-
|
|
77
|
+
font-family: 'JDZhengHT-Light';
|
|
82
78
|
}
|
|
83
79
|
.font-jdzht-v2 {
|
|
84
80
|
font-family: 'JDZhengHeiV2-Regular';
|
|
@@ -95,247 +91,247 @@
|
|
|
95
91
|
}
|
|
96
92
|
|
|
97
93
|
.border-box {
|
|
98
|
-
|
|
94
|
+
box-sizing: border-box;
|
|
99
95
|
}
|
|
100
96
|
|
|
101
97
|
|
|
102
98
|
.content-box {
|
|
103
|
-
|
|
99
|
+
box-sizing: content-box;
|
|
104
100
|
}
|
|
105
101
|
|
|
106
102
|
|
|
107
103
|
.flexible-box {
|
|
108
|
-
|
|
104
|
+
display: flex;
|
|
109
105
|
}
|
|
110
106
|
|
|
111
107
|
.flexible-box-important {
|
|
112
|
-
|
|
108
|
+
display: flex !important;
|
|
113
109
|
}
|
|
114
110
|
|
|
115
111
|
//竖向布局
|
|
116
112
|
.flexible-box-h {
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
.flexible-box-h-important {
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
display: flex !important;
|
|
119
|
+
flex-direction: column !important;
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
//垂直居中布局
|
|
127
123
|
.flexible-vertical-center-box {
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
130
126
|
}
|
|
131
127
|
|
|
132
128
|
//水平居中布局
|
|
133
129
|
.flexible-horizontal-center-box {
|
|
134
|
-
|
|
135
|
-
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: center;
|
|
136
132
|
}
|
|
137
133
|
|
|
138
134
|
//水平垂直居中布局
|
|
139
135
|
.flexible-center-box {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
justify-content: center;
|
|
143
139
|
}
|
|
144
140
|
|
|
145
141
|
|
|
146
142
|
.adaptive-box-flex {
|
|
147
|
-
|
|
143
|
+
flex: 1;
|
|
148
144
|
}
|
|
149
145
|
|
|
150
146
|
.left {
|
|
151
|
-
|
|
147
|
+
float: left;
|
|
152
148
|
}
|
|
153
149
|
|
|
154
150
|
.right {
|
|
155
|
-
|
|
151
|
+
float: right;
|
|
156
152
|
}
|
|
157
153
|
|
|
158
154
|
.vertical-align-t {
|
|
159
|
-
|
|
155
|
+
vertical-align: top;
|
|
160
156
|
}
|
|
161
157
|
|
|
162
158
|
.vertical-align-m {
|
|
163
|
-
|
|
159
|
+
vertical-align: middle;
|
|
164
160
|
}
|
|
165
161
|
|
|
166
162
|
.vertical-align-b {
|
|
167
|
-
|
|
163
|
+
vertical-align: bottom;
|
|
168
164
|
}
|
|
169
165
|
|
|
170
166
|
.margin-lr-auto {
|
|
171
|
-
|
|
167
|
+
margin: 0 auto;
|
|
172
168
|
}
|
|
173
169
|
|
|
174
170
|
.pos-relative {
|
|
175
|
-
|
|
171
|
+
position: relative;
|
|
176
172
|
}
|
|
177
173
|
|
|
178
174
|
.pos-absolute {
|
|
179
|
-
|
|
175
|
+
position: absolute;
|
|
180
176
|
}
|
|
181
177
|
|
|
182
178
|
.pos-fixed {
|
|
183
|
-
|
|
179
|
+
position: fixed;
|
|
184
180
|
}
|
|
185
181
|
|
|
186
182
|
.align-left {
|
|
187
|
-
|
|
183
|
+
text-align: left;
|
|
188
184
|
}
|
|
189
185
|
|
|
190
186
|
.align-center {
|
|
191
|
-
|
|
187
|
+
text-align: center;
|
|
192
188
|
}
|
|
193
189
|
|
|
194
190
|
.align-right {
|
|
195
|
-
|
|
191
|
+
text-align: right;
|
|
196
192
|
}
|
|
197
193
|
|
|
198
194
|
.display-none {
|
|
199
|
-
|
|
195
|
+
display: none;
|
|
200
196
|
}
|
|
201
197
|
|
|
202
198
|
.display-none-important {
|
|
203
|
-
|
|
199
|
+
display: none !important;
|
|
204
200
|
}
|
|
205
201
|
|
|
206
202
|
.display-block {
|
|
207
|
-
|
|
203
|
+
display: block;
|
|
208
204
|
}
|
|
209
205
|
|
|
210
206
|
.display-block-important {
|
|
211
|
-
|
|
207
|
+
display: block !important;
|
|
212
208
|
}
|
|
213
209
|
|
|
214
210
|
.display-inline-block {
|
|
215
|
-
|
|
211
|
+
display: inline-block;
|
|
216
212
|
}
|
|
217
213
|
|
|
218
214
|
.display-inline-block-important {
|
|
219
|
-
|
|
215
|
+
display: inline-block !important;
|
|
220
216
|
}
|
|
221
217
|
|
|
222
218
|
.display-inline {
|
|
223
|
-
|
|
219
|
+
display: inline;
|
|
224
220
|
}
|
|
225
221
|
|
|
226
222
|
.display-inline-important {
|
|
227
|
-
|
|
223
|
+
display: inline !important;
|
|
228
224
|
}
|
|
229
225
|
|
|
230
226
|
.font-bold {
|
|
231
|
-
|
|
227
|
+
font-weight: bold;
|
|
232
228
|
}
|
|
233
229
|
|
|
234
230
|
.pointer {
|
|
235
|
-
|
|
231
|
+
cursor: pointer;
|
|
236
232
|
}
|
|
237
233
|
|
|
238
234
|
.over-hidden {
|
|
239
|
-
|
|
235
|
+
overflow: hidden;
|
|
240
236
|
}
|
|
241
237
|
|
|
242
238
|
.over-auto {
|
|
243
|
-
|
|
239
|
+
overflow: auto;
|
|
244
240
|
}
|
|
245
241
|
|
|
246
242
|
.over-auto-hidden-x {
|
|
247
|
-
|
|
248
|
-
|
|
243
|
+
overflow: auto;
|
|
244
|
+
overflow-x: hidden;
|
|
249
245
|
}
|
|
250
246
|
|
|
251
247
|
.over-auto-hidden-y {
|
|
252
|
-
|
|
253
|
-
|
|
248
|
+
overflow: auto;
|
|
249
|
+
overflow-y: hidden;
|
|
254
250
|
}
|
|
255
251
|
|
|
256
252
|
.over-x-auto {
|
|
257
|
-
|
|
258
|
-
|
|
253
|
+
overflow-x: auto;
|
|
254
|
+
overflow-y: hidden;
|
|
259
255
|
}
|
|
260
256
|
|
|
261
257
|
.over-y-auto {
|
|
262
|
-
|
|
263
|
-
|
|
258
|
+
overflow-y: auto;
|
|
259
|
+
overflow-x: hidden;
|
|
264
260
|
}
|
|
265
261
|
|
|
266
262
|
.font-size-0 {
|
|
267
|
-
|
|
263
|
+
font-size: 0;
|
|
268
264
|
}
|
|
269
265
|
|
|
270
266
|
|
|
271
267
|
.text-ellipsis {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
268
|
+
overflow: hidden;
|
|
269
|
+
white-space: nowrap;
|
|
270
|
+
text-overflow: ellipsis;
|
|
275
271
|
}
|
|
276
272
|
|
|
277
273
|
.text-ellipsis-2 {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
274
|
+
display: -webkit-box;
|
|
275
|
+
overflow: hidden;
|
|
276
|
+
word-break: break-all;
|
|
277
|
+
text-overflow: ellipsis;
|
|
278
|
+
-webkit-line-clamp: 2;
|
|
279
|
+
|
|
280
|
+
-webkit-box-orient: vertical;
|
|
285
281
|
}
|
|
286
282
|
|
|
287
283
|
.text-ellipsis-3 {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
284
|
+
display: -webkit-box;
|
|
285
|
+
overflow: hidden;
|
|
286
|
+
word-break: break-all;
|
|
287
|
+
text-overflow: ellipsis;
|
|
288
|
+
-webkit-line-clamp: 3;
|
|
289
|
+
|
|
290
|
+
-webkit-box-orient: vertical;
|
|
295
291
|
}
|
|
296
292
|
|
|
297
293
|
.text-ellipsis-no-omit {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
294
|
+
overflow: hidden;
|
|
295
|
+
white-space: nowrap;
|
|
296
|
+
text-overflow: clip;
|
|
297
|
+
//display: -webkit-box;
|
|
298
|
+
//overflow: hidden;
|
|
299
|
+
//word-break: break-all;
|
|
300
|
+
//text-overflow: ellipsis;
|
|
301
|
+
//-webkit-line-clamp: 1;
|
|
302
|
+
//
|
|
303
|
+
//-webkit-box-orient: inherit;
|
|
308
304
|
}
|
|
309
305
|
|
|
310
306
|
.text-ellipsis-1-no-omit {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
307
|
+
display: -webkit-box;
|
|
308
|
+
overflow: hidden;
|
|
309
|
+
word-break: break-all;
|
|
310
|
+
text-overflow: ellipsis;
|
|
311
|
+
-webkit-line-clamp: 1;
|
|
312
|
+
|
|
313
|
+
// -webkit-box-orient: inherit;
|
|
314
|
+
-webkit-box-orient: vertical;
|
|
319
315
|
}
|
|
320
316
|
|
|
321
317
|
.text-ellipsis-2-no-omit {
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
318
|
+
display: -webkit-box;
|
|
319
|
+
overflow: hidden;
|
|
320
|
+
word-break: break-all;
|
|
321
|
+
text-overflow: ellipsis;
|
|
322
|
+
-webkit-line-clamp: 2;
|
|
323
|
+
|
|
324
|
+
-webkit-box-orient: inherit;
|
|
329
325
|
}
|
|
330
326
|
|
|
331
327
|
.text-ellipsis-3-no-omit {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
328
|
+
display: -webkit-box;
|
|
329
|
+
overflow: hidden;
|
|
330
|
+
word-break: break-all;
|
|
331
|
+
text-overflow: ellipsis;
|
|
332
|
+
-webkit-line-clamp: 3;
|
|
333
|
+
|
|
334
|
+
-webkit-box-orient: inherit;
|
|
339
335
|
}
|
|
340
336
|
|
|
341
337
|
|
|
@@ -360,7 +356,12 @@
|
|
|
360
356
|
//-webkit-transform-style: preserve-3d;
|
|
361
357
|
}
|
|
362
358
|
}
|
|
363
|
-
|
|
359
|
+
.visibility-hide {
|
|
360
|
+
visibility: hidden !important;
|
|
361
|
+
}
|
|
362
|
+
.visibility-show {
|
|
363
|
+
visibility: visible !important;
|
|
364
|
+
}
|
|
364
365
|
|
|
365
366
|
.d-half-1px-line::after {
|
|
366
367
|
border-width: 0;
|
|
@@ -369,21 +370,21 @@
|
|
|
369
370
|
}
|
|
370
371
|
//解决安卓行高不居中对齐问题
|
|
371
372
|
.d-android-vertical-align {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
373
|
+
&:before {
|
|
374
|
+
content: '';
|
|
375
|
+
display: inline-block;
|
|
376
|
+
margin-top: 1px;
|
|
377
|
+
width: 0;
|
|
378
|
+
min-height: 10px;
|
|
379
|
+
height: 100%;
|
|
380
|
+
vertical-align: middle;
|
|
381
|
+
}
|
|
381
382
|
}
|
|
382
383
|
|
|
383
384
|
.d-button-no-border {
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
385
|
+
&::after {
|
|
386
|
+
border: none;
|
|
387
|
+
}
|
|
387
388
|
}
|
|
388
389
|
.slide-in-left {
|
|
389
390
|
animation: slide-in-left 1s forwards;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { api } from '../api'
|
|
2
1
|
clientVersion: '11.0.0',
|
|
3
2
|
client: 'wh5',
|
|
4
3
|
area: '1_72_2799_0',
|
|
5
4
|
uuid: UUID,
|
|
6
5
|
functionId: string,
|
|
7
6
|
body = {},
|
|
8
7
|
options = {},
|
|
9
8
|
requestOptions = {},
|
|
10
9
|
const params = Object.assign(
|
|
11
10
|
{},
|
|
12
11
|
{
|
|
13
12
|
t: Date.now(),
|
|
14
13
|
functionId,
|
|
15
14
|
appid: 'shop_m_jd_com',
|
|
16
15
|
body: JSON.stringify(body),
|
|
17
16
|
},
|
|
18
17
|
clientParams,
|
|
19
18
|
options,
|
|
20
19
|
)
|
|
21
20
|
console.warn(
|
|
22
21
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
23
22
|
)
|
|
24
23
|
return http.post(api.apiFunc, params, requestOptions)
|
|
24
|
+
import Taro from '@tarojs/taro';
|
|
25
25
|
clientVersion:
|
|
26
26
|
isJdApp && jdAppVersionStr !== '' ? jdAppVersionStr : '11.0.0',
|
|
27
27
|
client: isJdApp ? (isIosDevice ? 'apple' : 'android') : isPc ? 'pc' : 'wh5',
|
|
28
28
|
screen: `${Math.ceil(window.screen?.width * devicePixelRatio)}*${Math.ceil(
|
|
29
29
|
window.screen?.height * devicePixelRatio,
|
|
30
30
|
)}`,
|
|
31
31
|
area: '1_72_2799_0',
|
|
32
32
|
uuid: UUID,
|
|
33
33
|
if(area && area !== ""){
|
|
34
34
|
clientParams.area = area
|
|
35
35
|
}
|
|
36
36
|
console.warn("cone-render中对外暴露fetchGateway收到原生端获取传来的四级地址信息",area,"更新后的接口底层信息", clientParams)
|
|
37
37
|
functionId: string,
|
|
38
38
|
body = {},
|
|
39
39
|
options = {},
|
|
40
40
|
requestOptions = {},
|
|
41
41
|
const params = Object.assign(
|
|
42
42
|
{},
|
|
43
43
|
{
|
|
44
44
|
t: Date.now(),
|
|
45
45
|
functionId,
|
|
46
46
|
appid: 'shop_m_jd_com',
|
|
47
47
|
body: JSON.stringify(body),
|
|
48
48
|
},
|
|
49
49
|
clientParams,
|
|
50
50
|
options,
|
|
51
51
|
{
|
|
52
52
|
area: clientParams.area,
|
|
53
53
|
client: !isJdApp && options?.client ? options?.client : clientParams.client ,
|
|
54
54
|
clientVersion: !isJdApp && options?.clientVersion ? options?.clientVersion : clientParams.clientVersion,
|
|
55
55
|
}
|
|
56
56
|
)
|
|
57
57
|
console.warn(
|
|
58
58
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
59
59
|
"底层默认的clientParams",
|
|
60
60
|
clientParams,
|
|
61
61
|
"下发的options",
|
|
62
62
|
options,
|
|
63
63
|
"最后params",
|
|
64
64
|
params
|
|
65
65
|
)
|
|
66
66
|
return http.post(api.apiFunc, params, requestOptions)
|