@conecli/cone-render 0.10.1-shop3.5 → 0.10.1-shop3.7

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 (38) hide show
  1. package/dist/common/const.ts +1 -1
  2. package/dist/common/index.h5.ts +1 -1
  3. package/dist/common/index.jd.ts +1 -1
  4. package/dist/common/index.ts +1 -1
  5. package/dist/common/index.weapp.ts +1 -1
  6. package/dist/components/base/CommonFloorHead/index.module.scss +126 -111
  7. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  8. package/dist/components/base/CustomScrollView/index-back.tsx +1 -0
  9. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  10. package/dist/components/base/Dialog/index.module.scss +11 -0
  11. package/dist/components/base/InViewRender/index.tsx +1 -1
  12. package/dist/components/floorItem.weapp.tsx +1 -1
  13. package/dist/interface/common.ts +1 -1
  14. package/dist/jumpEventReport/const.ts +1 -1
  15. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  16. package/dist/jumpEventReport/web.jd.ts +1 -1
  17. package/dist/libs/taroAppReport.js +2 -2
  18. package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -56
  19. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  20. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  21. package/dist/open/api/shopMember.ts +1 -1
  22. package/dist/open/api/util.ts +1 -1
  23. package/dist/sass/app.h5.scss +252 -224
  24. package/dist/service/fetchGateway.ts +1 -1
  25. package/dist/service/fetchGateway.weapp.ts +1 -0
  26. package/dist/service/http/colorSign.ts +1 -1
  27. package/dist/service/http/const.ts +1 -1
  28. package/dist/service/http/h5Http.ts +1 -1
  29. package/dist/service/requestServer.h5.ts +1 -1
  30. package/dist/service/requestServer.ts +1 -1
  31. package/dist/service/requestServer.weapp.ts +1 -0
  32. package/dist/utils/h5Utils.ts +1 -1
  33. package/dist/utils/index.h5.ts +1 -1
  34. package/dist/utils/index.ts +1 -1
  35. package/dist/utils/index.weapp.ts +1 -1
  36. package/dist/utils/jumpExtMapUtil.js +1 -0
  37. package/dist/utils/utils.ts +1 -1
  38. package/package.json +1 -1
@@ -1 +1 @@
1
- import {
2
1
  isJdApp,
3
2
  isWxApp,
4
3
  isIosDevice,
5
4
  isAndroidDevice,
6
5
  isJdAndIosDevice,
7
6
  isJdAndAndroidDevice,
8
7
  isWxMin,
9
8
  isMin,
10
9
  isJdMinAndHarmony,
11
10
  isWxMinAndWxapp,
12
11
  isJdMin,
13
12
  isH5,
14
13
  isH5AndJdShopView,
15
14
  isChartH5,
16
15
  isH5AndJdShopViewNativeScroll,
17
16
  isH5AndJdShopViewH5Scroll,
18
17
  isH5AndJdShopH5CustomScrollView,
19
18
  isWxMiniH5View,
20
19
  sliceArrToChunkList,
21
20
  dealAddress,
22
21
  objectToUrlEncode,
23
22
  setLowSmallPicUrl,
24
23
  parseQueryUrlString,
25
24
  countStringify,
26
25
  setTaroStorage,
27
26
  getTaroStorageKeyValue,
28
27
  removeTaroStorageKey,
29
28
  clearTaroStorageKey,
30
29
  getQualityImage,
31
30
  getSystemInfos,
32
31
  getWxAppCookieStr,
33
32
  pxTransformFromData,
34
33
  dealShopContentData,
35
34
  dateFormat,
36
35
  throttle,
37
36
  lodashThrottle,
38
37
  debounce,
39
38
  addHttps,
40
39
  showSuccessToast,
41
40
  showFailToast,
42
41
  showNormalToast,
43
42
  showShopLoading,
44
43
  hideShopLoading,
45
44
  getAppChannelType,
46
45
  formatTabActiveMenuType,
47
46
  getAvifSupport,
48
47
  getWebpSupport,
49
48
  filterUrlQueryData,
50
49
  isMemberPage,
51
50
  sgmCustomReport,
52
51
  draCustomReport,
53
52
  remoteCustomReport,
54
53
  draInterfaceCustomReport,
55
54
  draBusinessCustomReport,
56
55
  isOpenJdAppUrl,
57
56
  jdOpenAppParams,
58
57
  createJdOpenAppUrl,
59
58
  isEmpty,
60
59
  getJdAppReportPageSource,
61
60
  isAppClassifyPage,
62
61
  isPc,
63
62
  ipLoc_djd,
64
63
  dealJdOpenAppData,
65
64
  jdAppVersionCompare,
66
65
  dealNativePixelToCssPixel,
67
66
  isAppStowShop,
68
67
  isImageOptimizeEnable,
69
68
  isIpadDevice,
70
69
  getBorderStyle,
71
70
  isLanguageForEn,
72
71
  sColor,
73
72
  draInterfaceDSMCustomReport,
74
73
  console.warn('🚗 ~~ file: index.ts:93 ~~ 通用的isInGrayscale还没有实现,不应该被调用!');
75
74
  return false;
76
75
  isJdApp,
77
76
  isWxApp,
78
77
  isIosDevice,
79
78
  isAndroidDevice,
80
79
  isJdAndIosDevice,
81
80
  isJdAndAndroidDevice,
82
81
  isJdAndHarmonyDevice,
83
82
  isJdAndroidX5Core,
84
83
  isWxMin,
85
84
  isMin,
86
85
  isJdMinAndHarmony,
87
86
  isWxMinAndWxapp,
88
87
  isJdMin,
89
88
  isH5,
90
89
  isH5AndJdShopView,
91
90
  isChartH5,
92
91
  isH5AndJdShopViewNativeScroll,
93
92
  isH5AndJdShopViewH5Scroll,
94
93
  isH5AndJdShopH5CustomScrollView,
95
94
  isH5AndJingGouMini,
96
95
  isWxMiniH5View,
97
96
  urlCookie,
98
97
  sliceArrToChunkList,
99
98
  dealAddress,
100
99
  objectToUrlEncode,
101
100
  parseQueryUrlString,
102
101
  setLowSmallPicUrl,
103
102
  countStringify,
104
103
  setTaroStorage,
105
104
  getTaroStorageKeyValue,
106
105
  removeTaroStorageKey,
107
106
  clearTaroStorageKey,
108
107
  getQualityImage,
109
108
  getSystemInfos,
110
109
  getWxAppCookieStr,
111
110
  pxTransformFromData,
112
111
  dealShopContentData,
113
112
  dateFormat,
114
113
  throttle,
115
114
  lodashThrottle,
116
115
  debounce,
117
116
  addHttps,
118
117
  showSuccessToast,
119
118
  showFailToast,
120
119
  showNormalToast,
121
120
  showShopLoading,
122
121
  hideShopLoading,
123
122
  stopNativeScrollEvent,
124
123
  getAppChannelType,
125
124
  formatTabActiveMenuType,
126
125
  getAvifSupport,
127
126
  getWebpSupport,
128
127
  filterUrlQueryData,
129
128
  isMemberPage,
130
129
  getFloorDataToDataDefines,
131
130
  sgmCustomReport,
132
131
  draCustomReport,
133
132
  remoteCustomReport,
134
133
  draInterfaceCustomReport,
135
134
  draBusinessCustomReport,
136
135
  isOpenJdAppUrl,
137
136
  jdOpenAppParams,
138
137
  createJdOpenAppUrl,
139
138
  isEmpty,
140
139
  isAppClassifyPage,
141
140
  isAppHomeForMarketPage,
142
141
  getJdAppReportPageSource,
143
142
  isImageOptimizeEnable,
144
143
  isPc,
145
144
  ipLoc_djd,
146
145
  isTjM,
147
146
  isTjJxM,
148
147
  isTjScence,
149
148
  isH5AdnJxMini,
150
149
  isTJApp,
151
150
  isH5AdnHaoWuJie,
152
151
  tjChannel,
153
152
  dealJdOpenAppData,
154
153
  jdAppVersionCompare,
155
154
  dealNativePixelToCssPixel,
156
155
  isAppStowShop,
157
156
  getSgmCustomCode,
158
157
  handleSgmCodeTaroVersion,
159
158
  isInGrayscale,
160
159
  isIpadDevice,
161
160
  getBorderStyle,
162
161
  isLanguageForEn,
163
162
  sColor,
164
163
  draInterfaceDSMCustomReport,
164
+ import {
165
165
  isJdApp,
166
166
  isWxApp,
167
167
  isIosDevice,
168
168
  isAndroidDevice,
169
169
  isJdAndIosDevice,
170
170
  isJdAndAndroidDevice,
171
171
  isWxMin,
172
172
  isMin,
173
173
  isJdMinAndHarmony,
174
174
  isWxMinAndWxapp,
175
175
  isJdMin,
176
176
  isH5,
177
177
  isH5AndJdShopView,
178
178
  isChartH5,
179
179
  isH5AndJdShopViewNativeScroll,
180
180
  isH5AndJdShopViewH5Scroll,
181
181
  isH5AndJdShopH5CustomScrollView,
182
182
  isWxMiniH5View,
183
183
  sliceArrToChunkList,
184
184
  dealAddress,
185
185
  objectToUrlEncode,
186
186
  setLowSmallPicUrl,
187
187
  parseQueryUrlString,
188
188
  countStringify,
189
189
  setTaroStorage,
190
190
  getTaroStorageKeyValue,
191
191
  removeTaroStorageKey,
192
192
  clearTaroStorageKey,
193
193
  getQualityImage,
194
194
  getSystemInfos,
195
195
  getWxAppCookieStr,
196
196
  pxTransformFromData,
197
197
  dealShopContentData,
198
198
  dateFormat,
199
199
  throttle,
200
200
  lodashThrottle,
201
201
  debounce,
202
202
  addHttps,
203
203
  showSuccessToast,
204
204
  showFailToast,
205
205
  showNormalToast,
206
206
  showShopLoading,
207
207
  hideShopLoading,
208
208
  getAppChannelType,
209
209
  formatTabActiveMenuType,
210
210
  getAvifSupport,
211
211
  getWebpSupport,
212
212
  filterUrlQueryData,
213
213
  isMemberPage,
214
214
  sgmCustomReport,
215
215
  draCustomReport,
216
216
  remoteCustomReport,
217
217
  draInterfaceCustomReport,
218
218
  draBusinessCustomReport,
219
219
  isOpenJdAppUrl,
220
220
  jdOpenAppParams,
221
221
  createJdOpenAppUrl,
222
222
  isEmpty,
223
223
  getJdAppReportPageSource,
224
224
  isAppClassifyPage,
225
225
  isPc,
226
226
  ipLoc_djd,
227
227
  dealJdOpenAppData,
228
228
  jdAppVersionCompare,
229
229
  dealNativePixelToCssPixel,
230
230
  isAppStowShop,
231
231
  isImageOptimizeEnable,
232
232
  isIpadDevice,
233
233
  getBorderStyle,
234
234
  isLanguageForEn,
235
235
  sColor,
236
236
  draInterfaceDSMCustomReport,
237
237
  isTabletDevice,
238
238
  isJdTabletDevice,
239
239
  jdTabletDeviceInfo,
240
240
  console.warn('暂未实现', code);
241
241
  console.warn('暂未实现', code);
242
242
  console.warn('🚗 ~~ file: index.ts:93 ~~ 通用的isInGrayscale还没有实现,不应该被调用!');
243
243
  return false;
244
244
  isJdApp,
245
245
  isWxApp,
246
246
  isIosDevice,
247
247
  isAndroidDevice,
248
248
  isJdAndIosDevice,
249
249
  isJdAndAndroidDevice,
250
250
  isJdAndHarmonyDevice,
251
251
  isJdAndroidX5Core,
252
252
  isWxMin,
253
253
  isMin,
254
254
  isJdMinAndHarmony,
255
255
  isWxMinAndWxapp,
256
256
  isJdMin,
257
257
  isH5,
258
258
  isH5AndJdShopView,
259
259
  isChartH5,
260
260
  isH5AndJdShopViewNativeScroll,
261
261
  isH5AndJdShopViewH5Scroll,
262
262
  isH5AndJdShopH5CustomScrollView,
263
263
  isH5AndJingGouMini,
264
264
  isWxMiniH5View,
265
265
  urlCookie,
266
266
  sliceArrToChunkList,
267
267
  dealAddress,
268
268
  objectToUrlEncode,
269
269
  parseQueryUrlString,
270
270
  setLowSmallPicUrl,
271
271
  countStringify,
272
272
  setTaroStorage,
273
273
  getTaroStorageKeyValue,
274
274
  removeTaroStorageKey,
275
275
  clearTaroStorageKey,
276
276
  getQualityImage,
277
277
  getSystemInfos,
278
278
  getWxAppCookieStr,
279
279
  pxTransformFromData,
280
280
  dealShopContentData,
281
281
  dateFormat,
282
282
  throttle,
283
283
  lodashThrottle,
284
284
  debounce,
285
285
  addHttps,
286
286
  showSuccessToast,
287
287
  showFailToast,
288
288
  showNormalToast,
289
289
  showShopLoading,
290
290
  hideShopLoading,
291
291
  stopNativeScrollEvent,
292
292
  getAppChannelType,
293
293
  formatTabActiveMenuType,
294
294
  getAvifSupport,
295
295
  getWebpSupport,
296
296
  filterUrlQueryData,
297
297
  isMemberPage,
298
298
  getFloorDataToDataDefines,
299
299
  sgmCustomReport,
300
300
  draCustomReport,
301
301
  remoteCustomReport,
302
302
  draInterfaceCustomReport,
303
303
  draBusinessCustomReport,
304
304
  isOpenJdAppUrl,
305
305
  jdOpenAppParams,
306
306
  createJdOpenAppUrl,
307
307
  isEmpty,
308
308
  isAppClassifyPage,
309
309
  isAppHomeForMarketPage,
310
310
  getJdAppReportPageSource,
311
311
  isImageOptimizeEnable,
312
312
  isPc,
313
313
  ipLoc_djd,
314
314
  isTjM,
315
315
  isTjJxM,
316
316
  isTjScence,
317
317
  isH5AdnJxMini,
318
318
  isTJApp,
319
319
  isH5AdnHaoWuJie,
320
320
  tjChannel,
321
321
  dealJdOpenAppData,
322
322
  jdAppVersionCompare,
323
323
  dealNativePixelToCssPixel,
324
324
  isAppStowShop,
325
325
  getSgmCustomCode,
326
326
  handleSgmCodeTaroVersion,
327
327
  isInGrayscale,
328
328
  isIpadDevice,
329
329
  getBorderStyle,
330
330
  isLanguageForEn,
331
331
  sColor,
332
332
  draInterfaceDSMCustomReport,
333
333
  isTabletDevice,
334
334
  isJdTabletDevice,
335
335
  jdTabletDeviceInfo,
@@ -1 +1 @@
1
- import {
2
1
  isJdApp,
3
2
  isWxApp,
4
3
  isIosDevice,
5
4
  isAndroidDevice,
6
5
  isJdAndIosDevice,
7
6
  isJdAndAndroidDevice,
8
7
  isWxMin,
9
8
  isWxMinAndWxapp,
10
9
  isJdMin,
11
10
  isJdMinAndHarmony,
12
11
  isH5,
13
12
  isH5AndJdShopView,
14
13
  isChartH5,
15
14
  isH5AndJdShopViewNativeScroll,
16
15
  isH5AndJdShopViewH5Scroll,
17
16
  isH5AndJdShopH5CustomScrollView,
18
17
  isWxMiniH5View,
19
18
  sliceArrToChunkList,
20
19
  dealAddress,
21
20
  objectToUrlEncode,
22
21
  parseQueryUrlString,
23
22
  setLowSmallPicUrl,
24
23
  setTaroStorage,
25
24
  getTaroStorageKeyValue,
26
25
  removeTaroStorageKey,
27
26
  clearTaroStorageKey,
28
27
  getQualityImage,
29
28
  countStringify,
30
29
  getSystemInfos,
31
30
  getWxAppCookieStr,
32
31
  pxTransformFromData,
33
32
  dealShopContentData,
34
33
  dateFormat,
35
34
  throttle,
36
35
  lodashThrottle,
37
36
  debounce,
38
37
  addHttps,
39
38
  showSuccessToast,
40
39
  showFailToast,
41
40
  showNormalToast,
42
41
  showShopLoading,
43
42
  hideShopLoading,
44
43
  getAppChannelType,
45
44
  formatTabActiveMenuType,
46
45
  getAvifSupport,
47
46
  getWebpSupport,
48
47
  filterUrlQueryData,
49
48
  sgmCustomReport,
50
49
  draCustomReport,
51
50
  remoteCustomReport,
52
51
  draInterfaceCustomReport,
53
52
  draBusinessCustomReport,
54
53
  isOpenJdAppUrl,
55
54
  jdOpenAppParams,
56
55
  createJdOpenAppUrl,
57
56
  isEmpty,
58
57
  getJdAppReportPageSource,
59
58
  isMemberPage,
60
59
  isAppClassifyPage,
61
60
  dealJdOpenAppData,
62
61
  jdAppVersionCompare,
63
62
  dealNativePixelToCssPixel,
64
63
  isImageOptimizeEnable,
65
64
  isIpadDevice,
66
65
  getBorderStyle,
67
66
  isLanguageForEn,
68
67
  sColor,
69
68
  draInterfaceDSMCustomReport,
70
69
  console.warn('🚗 ~~ file: index.ts:93 ~~ wxapp的isInGrayscale还没有实现,不应该被调用!');
71
70
  return false;
72
71
  isJdApp,
73
72
  isWxApp,
74
73
  isIosDevice,
75
74
  isAndroidDevice,
76
75
  isJdAndIosDevice,
77
76
  isJdAndAndroidDevice,
78
77
  isJdAndHarmonyDevice,
79
78
  isJdAndroidX5Core,
80
79
  isWxMin,
81
80
  isWxMinAndWxapp,
82
81
  isJdMin,
83
82
  isMin,
84
83
  isJdMinAndHarmony,
85
84
  isH5,
86
85
  isH5AndJdShopView,
87
86
  isChartH5,
88
87
  isH5AndJdShopViewNativeScroll,
89
88
  isH5AndJdShopViewH5Scroll,
90
89
  isH5AndJdShopH5CustomScrollView,
91
90
  isH5AndJingGouMini,
92
91
  isWxMiniH5View,
93
92
  urlCookie,
94
93
  sliceArrToChunkList,
95
94
  dealAddress,
96
95
  objectToUrlEncode,
97
96
  parseQueryUrlString,
98
97
  setLowSmallPicUrl,
99
98
  setTaroStorage,
100
99
  getTaroStorageKeyValue,
101
100
  removeTaroStorageKey,
102
101
  clearTaroStorageKey,
103
102
  getQualityImage,
104
103
  countStringify,
105
104
  getSystemInfos,
106
105
  getWxAppCookieStr,
107
106
  pxTransformFromData,
108
107
  dealShopContentData,
109
108
  dateFormat,
110
109
  throttle,
111
110
  lodashThrottle,
112
111
  debounce,
113
112
  addHttps,
114
113
  showSuccessToast,
115
114
  showFailToast,
116
115
  showNormalToast,
117
116
  showShopLoading,
118
117
  hideShopLoading,
119
118
  stopNativeScrollEvent,
120
119
  getAppChannelType,
121
120
  formatTabActiveMenuType,
122
121
  getAvifSupport,
123
122
  getWebpSupport,
124
123
  filterUrlQueryData,
125
124
  getFloorDataToDataDefines,
126
125
  sgmCustomReport,
127
126
  draCustomReport,
128
127
  remoteCustomReport,
129
128
  draInterfaceCustomReport,
130
129
  draBusinessCustomReport,
131
130
  isOpenJdAppUrl,
132
131
  jdOpenAppParams,
133
132
  createJdOpenAppUrl,
134
133
  isEmpty,
135
134
  getJdAppReportPageSource,
136
135
  isMemberPage,
137
136
  isAppClassifyPage,
138
137
  isAppHomeForMarketPage,
139
138
  isImageOptimizeEnable,
140
139
  isPc,
141
140
  isTjM,
142
141
  isTjJxM,
143
142
  isTjScence,
144
143
  isH5AdnJxMini,
145
144
  isTJApp,
146
145
  isH5AdnHaoWuJie,
147
146
  tjChannel,
148
147
  dealJdOpenAppData,
149
148
  jdAppVersionCompare,
150
149
  dealNativePixelToCssPixel,
151
150
  getSgmCustomCode,
152
151
  handleSgmCodeTaroVersion,
153
152
  isInGrayscale,
154
153
  isIpadDevice,
155
154
  getBorderStyle,
156
155
  isLanguageForEn,
157
156
  sColor,
158
157
  draInterfaceDSMCustomReport,
158
+ import {
159
159
  isJdApp,
160
160
  isWxApp,
161
161
  isIosDevice,
162
162
  isAndroidDevice,
163
163
  isJdAndIosDevice,
164
164
  isJdAndAndroidDevice,
165
165
  isWxMin,
166
166
  isWxMinAndWxapp,
167
167
  isJdMin,
168
168
  isJdMinAndHarmony,
169
169
  isH5,
170
170
  isH5AndJdShopView,
171
171
  isChartH5,
172
172
  isH5AndJdShopViewNativeScroll,
173
173
  isH5AndJdShopViewH5Scroll,
174
174
  isH5AndJdShopH5CustomScrollView,
175
175
  isWxMiniH5View,
176
176
  sliceArrToChunkList,
177
177
  dealAddress,
178
178
  objectToUrlEncode,
179
179
  parseQueryUrlString,
180
180
  setLowSmallPicUrl,
181
181
  setTaroStorage,
182
182
  getTaroStorageKeyValue,
183
183
  removeTaroStorageKey,
184
184
  clearTaroStorageKey,
185
185
  getQualityImage,
186
186
  countStringify,
187
187
  getSystemInfos,
188
188
  getWxAppCookieStr,
189
189
  pxTransformFromData,
190
190
  dealShopContentData,
191
191
  dateFormat,
192
192
  throttle,
193
193
  lodashThrottle,
194
194
  debounce,
195
195
  addHttps,
196
196
  showSuccessToast,
197
197
  showFailToast,
198
198
  showNormalToast,
199
199
  showShopLoading,
200
200
  hideShopLoading,
201
201
  getAppChannelType,
202
202
  formatTabActiveMenuType,
203
203
  getAvifSupport,
204
204
  getWebpSupport,
205
205
  filterUrlQueryData,
206
206
  sgmCustomReport,
207
207
  draCustomReport,
208
208
  remoteCustomReport,
209
209
  draInterfaceCustomReport,
210
210
  draBusinessCustomReport,
211
211
  isOpenJdAppUrl,
212
212
  jdOpenAppParams,
213
213
  createJdOpenAppUrl,
214
214
  isEmpty,
215
215
  getJdAppReportPageSource,
216
216
  isMemberPage,
217
217
  isAppClassifyPage,
218
218
  dealJdOpenAppData,
219
219
  jdAppVersionCompare,
220
220
  dealNativePixelToCssPixel,
221
221
  isImageOptimizeEnable,
222
222
  isIpadDevice,
223
223
  getBorderStyle,
224
224
  isLanguageForEn,
225
225
  sColor,
226
226
  draInterfaceDSMCustomReport,
227
227
  isTabletDevice,
228
228
  isJdTabletDevice,
229
229
  jdTabletDeviceInfo,
230
230
  console.warn('暂未实现', code);
231
231
  console.warn('暂未实现', code);
232
232
  console.warn('🚗 ~~ file: index.ts:93 ~~ wxapp的isInGrayscale还没有实现,不应该被调用!');
233
233
  return false;
234
234
  isJdApp,
235
235
  isWxApp,
236
236
  isIosDevice,
237
237
  isAndroidDevice,
238
238
  isJdAndIosDevice,
239
239
  isJdAndAndroidDevice,
240
240
  isJdAndHarmonyDevice,
241
241
  isJdAndroidX5Core,
242
242
  isWxMin,
243
243
  isWxMinAndWxapp,
244
244
  isJdMin,
245
245
  isMin,
246
246
  isJdMinAndHarmony,
247
247
  isH5,
248
248
  isH5AndJdShopView,
249
249
  isChartH5,
250
250
  isH5AndJdShopViewNativeScroll,
251
251
  isH5AndJdShopViewH5Scroll,
252
252
  isH5AndJdShopH5CustomScrollView,
253
253
  isH5AndJingGouMini,
254
254
  isWxMiniH5View,
255
255
  urlCookie,
256
256
  sliceArrToChunkList,
257
257
  dealAddress,
258
258
  objectToUrlEncode,
259
259
  parseQueryUrlString,
260
260
  setLowSmallPicUrl,
261
261
  setTaroStorage,
262
262
  getTaroStorageKeyValue,
263
263
  removeTaroStorageKey,
264
264
  clearTaroStorageKey,
265
265
  getQualityImage,
266
266
  countStringify,
267
267
  getSystemInfos,
268
268
  getWxAppCookieStr,
269
269
  pxTransformFromData,
270
270
  dealShopContentData,
271
271
  dateFormat,
272
272
  throttle,
273
273
  lodashThrottle,
274
274
  debounce,
275
275
  addHttps,
276
276
  showSuccessToast,
277
277
  showFailToast,
278
278
  showNormalToast,
279
279
  showShopLoading,
280
280
  hideShopLoading,
281
281
  stopNativeScrollEvent,
282
282
  getAppChannelType,
283
283
  formatTabActiveMenuType,
284
284
  getAvifSupport,
285
285
  getWebpSupport,
286
286
  filterUrlQueryData,
287
287
  getFloorDataToDataDefines,
288
288
  sgmCustomReport,
289
289
  draCustomReport,
290
290
  remoteCustomReport,
291
291
  draInterfaceCustomReport,
292
292
  draBusinessCustomReport,
293
293
  isOpenJdAppUrl,
294
294
  jdOpenAppParams,
295
295
  createJdOpenAppUrl,
296
296
  isEmpty,
297
297
  getJdAppReportPageSource,
298
298
  isMemberPage,
299
299
  isAppClassifyPage,
300
300
  isAppHomeForMarketPage,
301
301
  isImageOptimizeEnable,
302
302
  isPc,
303
303
  ipLoc_djd,
304
304
  isTjM,
305
305
  isTjJxM,
306
306
  isTjScence,
307
307
  isH5AdnJxMini,
308
308
  isTJApp,
309
309
  isH5AdnHaoWuJie,
310
310
  tjChannel,
311
311
  dealJdOpenAppData,
312
312
  jdAppVersionCompare,
313
313
  dealNativePixelToCssPixel,
314
314
  getSgmCustomCode,
315
315
  handleSgmCodeTaroVersion,
316
316
  isInGrayscale,
317
317
  isIpadDevice,
318
318
  getBorderStyle,
319
319
  isLanguageForEn,
320
320
  sColor,
321
321
  draInterfaceDSMCustomReport,
322
322
  isTabletDevice,
323
323
  isJdTabletDevice,
324
324
  jdTabletDeviceInfo,
@@ -0,0 +1 @@
1
+ import { isH5, isJdAndIosDevice, isJdAndAndroidDevice } from './index';
2
  'The current environment does not support the getEnterShopJumpExtMap method call!';
1
3
  const routerURL = 'router://JDShopModule/getHomeEntranceObj';
2
4
  const callBackName = `nativeGetHomeEntranceObj${Date.now()}`;
3
5
  const params = {
4
6
  routerURL,
5
7
  routerParam: null,
6
8
  callBackName,
7
9
  };
8
10
  return new Promise((resolve) => {
9
11
  window[callBackName] = (res) => {
10
12
  const data = typeof res === 'string' ? JSON.parse(res) : res;
11
13
  const tempVal = data?.data?.jumpExtMap ?? {};
12
14
  const entranceObj = typeof tempVal === 'string' ? JSON.parse(tempVal) : tempVal;
13
15
  resolve(entranceObj);
14
16
  };
15
17
  if (isH5 && isJdAndAndroidDevice) {
16
18
  callRouterAndroid(params);
17
19
  } else if (isH5 && isJdAndIosDevice) {
18
20
  callRouterIOS(params);
19
21
  } else {
20
22
  console.warn(errorTip);
21
23
  resolve({});
22
24
  }
23
25
  });
24
26
  getEnterShopJumpExtMap()
25
27
  .then((data) => {
26
28
  hasResult = true;
27
29
  entranceObj = data;
28
30
  })
29
31
  .catch((e) => {
30
32
  console.error('requestServer.getEnterShopJumpExtMap() ~~ error:', e);
31
33
  });
32
34
  hasResult = true;
33
35
  console.warn(errorTip);
34
36
  return entranceObj;
35
37
  const { smartCouponInfo = [] } = entranceObj;
36
38
  const info = smartCouponInfo.find((item) => item.skuId === skuId + '');
37
39
  return info ? info.adInfos : null;
38
40
  return new Promise((resolve) => {
39
41
  if (hasResult) {
40
42
  resolve(entranceObj.smartCouponInfo);
41
43
  } else {
42
44
  setTimeout(() => {
43
45
  resolve(entranceObj.smartCouponInfo || null);
44
46
  }, 16);
45
47
  }
46
48
  });