@conecli/cone-render 0.9.1-shop2.8 → 0.10.1-beta.0

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 (56) hide show
  1. package/dist/api/index.ts +1 -1
  2. package/dist/assets/icon_blue_info.svg +1 -0
  3. package/dist/common/const.ts +1 -1
  4. package/dist/common/environmentType.ts +1 -0
  5. package/dist/common/index.h5.ts +1 -1
  6. package/dist/common/index.jd.ts +1 -1
  7. package/dist/common/index.ts +1 -1
  8. package/dist/common/index.weapp.ts +1 -1
  9. package/dist/common/jdplayerSdk.ts +1 -0
  10. package/dist/common/sgmCustomCode.ts +1 -0
  11. package/dist/common/wxappApi.jd.ts +1 -0
  12. package/dist/components/ErrorBoundary.tsx +1 -1
  13. package/dist/components/base/CustomScrollView/index.jd.tsx +1 -0
  14. package/dist/components/base/CustomScrollView/index.module.scss +7 -0
  15. package/dist/components/base/CustomVideo/index.tsx +1 -1
  16. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  17. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  18. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  19. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  20. package/dist/components/debug/DebugLayout/index.module.scss +67 -0
  21. package/dist/components/debug/DebugLayout/index.tsx +1 -0
  22. package/dist/components/debug/DebugLayout/utils.ts +1 -0
  23. package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
  24. package/dist/components/floorItem.jd.tsx +1 -1
  25. package/dist/components/floorItem.weapp.tsx +1 -1
  26. package/dist/components/isv/Floor/index.tsx +1 -1
  27. package/dist/components/remoteFloorItem.tsx +1 -1
  28. package/dist/interface/common.ts +1 -1
  29. package/dist/interface/component.ts +1 -1
  30. package/dist/interface/jumpEventReport.ts +1 -1
  31. package/dist/interface/service.ts +1 -1
  32. package/dist/interface/utils.ts +1 -1
  33. package/dist/jumpEventReport/base.ts +1 -1
  34. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  35. package/dist/jumpEventReport/index.h5.ts +1 -1
  36. package/dist/jumpEventReport/index.jd.ts +1 -1
  37. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  38. package/dist/jumpEventReport/web.jxwxapp.ts +1 -0
  39. package/dist/jumpEventReport/web.tjapp.ts +1 -0
  40. package/dist/jumpEventReport/web.tjm.ts +1 -0
  41. package/dist/open/api/environment.ts +1 -1
  42. package/dist/open/api/index.ts +1 -1
  43. package/dist/open/api/track.ts +1 -1
  44. package/dist/sass/app.h5.scss +5 -0
  45. package/dist/service/requestServer.ts +1 -1
  46. package/dist/utils/connectNativeJsBridge.ts +1 -1
  47. package/dist/utils/draExceptionAndProfile.ts +1 -1
  48. package/dist/utils/h5Utils.ts +1 -1
  49. package/dist/utils/index.h5.ts +1 -1
  50. package/dist/utils/index.ts +1 -1
  51. package/dist/utils/index.weapp.ts +1 -1
  52. package/dist/utils/jm-common.js +1 -1
  53. package/dist/utils/sgmCodeUtils.ts +1 -0
  54. package/dist/utils/utils.ts +1 -1
  55. package/package.json +42 -39
  56. package/dist/customHooks/useDocumentVisibilitychange.ts +0 -1
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  UtilsInterFace
3
2
  nativePageShowToast,
4
3
  ToastAndroidType,
5
4
  ToastIosType,
6
5
  getAppChannelType,
7
6
  isAndroidDevice,
8
7
  isH5AndJdShopView,
9
8
  isChartH5,
10
9
  isH5AndJdShopViewNativeScroll,
11
10
  isIosDevice,
12
11
  isJdAndAndroidDevice,
13
12
  isJdAndIosDevice,
14
13
  isJdApp,
15
14
  isWxApp,
16
15
  isWxMiniH5View,
17
16
  isJdAndHarmonyDevice,
18
17
  isH5AndJingGouMini,
19
18
  urlCookie,
20
19
  sgmCustomReport,
21
20
  isMemberPage,
22
21
  isH5AndJdShopViewH5Scroll,
23
22
  isH5AndJdShopH5CustomScrollView,
24
23
  isAppClassifyPage,
25
24
  isPc,
26
25
  ipLoc_djd,
27
26
  jdAppVersionCompare,
28
27
  dealNativePixelToCssPixel,
29
28
  isAppStowShop,
30
29
  isJdAndroidX5Core,
31
30
  addHttps,
32
31
  clearTaroStorageKey,
33
32
  countStringify,
34
33
  dateFormat,
35
34
  dealAddress,
36
35
  dealShopContentData as originDealShopContentData,
37
36
  debounce,
38
37
  filterUrlQueryData,
39
38
  formatTabActiveMenuType,
40
39
  getQualityImage,
41
40
  getTaroStorageKeyValue,
42
41
  getWxAppCookieStr,
43
42
  isH5,
44
43
  isJdMin,
45
44
  isWxMin,
46
45
  isWxMinAndWxapp,
47
46
  lodashThrottle,
48
47
  objectToUrlEncode,
49
48
  parseQueryUrlString,
50
49
  removeTaroStorageKey,
51
50
  setLowSmallPicUrl,
52
51
  setTaroStorage,
53
52
  showFailToast,
54
53
  showNormalToast,
55
54
  showSuccessToast,
56
55
  sliceArrToChunkList,
57
56
  throttle,
58
57
  isOpenJdAppUrl,
59
58
  jdOpenAppParams,
60
59
  createJdOpenAppUrl,
61
60
  isEmpty,
62
61
  getJdAppReportPageSource,
63
62
  dealJdOpenAppData,
64
63
  const getNum = Number(num)
65
64
  let _changeLayoutWidth = layoutWidth
66
65
  if (!_changeLayoutWidth) {
67
66
  _changeLayoutWidth =
68
67
  _ShopSystemInfo && _ShopSystemInfo?.windowWidth
69
68
  ? _ShopSystemInfo.windowWidth
70
69
  : Taro.getSystemInfoSync()?.windowWidth
71
70
  }
72
71
  return Math.round((getNum / widthSize) * _changeLayoutWidth)
73
72
  changeSize,
74
73
  designWidth = 750,
75
74
  systemInfo,
76
75
  const getRootFontSize =
77
76
  (40 * (systemInfo?.windowWidth ?? _ShopSystemInfo.windowWidth)) / 750
78
77
  const getRealRootFontSize =
79
78
  getRootFontSize > 40 ? 40 : getRootFontSize < 20 ? 20 : getRootFontSize
80
79
  return Math.ceil(
81
80
  (((parseInt(String(changeSize), 10) / 40) * 750) / designWidth) *
82
81
  getRealRootFontSize,
83
82
  )
84
83
  console.log(
85
84
  '获取系统宽度systemInfo?.windowWidth',
86
85
  systemInfo?.windowWidth,
87
86
  'taroToTransformRoutimePXNumber(changeWidth)',
88
87
  taroToTransformRoutimePXNumber(changeWidth, 750, systemInfo),
89
88
  )
90
89
  return buildType === BUILD_TYPE.CLASSIFY && systemInfo?.windowWidth
91
90
  ? systemInfo?.windowWidth -
92
91
  taroToTransformRoutimePXNumber(changeWidth, 750, systemInfo)
93
92
  : systemInfo?.windowWidth ?? 0
94
93
  const systemInfo = Taro.getSystemInfoSync()
95
94
  if (params && params?.pageWidth && params?.pageHeight) {
96
95
  systemInfo.windowWidth = params?.pageWidth
97
96
  systemInfo.windowHeight = params?.pageHeight
98
97
  }
99
98
  systemInfo['containerWidth'] = getContainerWidth(buildType, systemInfo)
100
99
  console.warn('====获取系统信息=====', systemInfo)
101
100
  return systemInfo
102
101
  const getSystemInfo = getSystemAndContainerWidthInfo(params) || {
103
102
  windowWidth: window.innerWidth,
104
103
  containerWidth: getContainerWidth(buildType, {
105
104
  windowWidth: window.innerWidth,
106
105
  }),
107
106
  screenWidth: window.innerWidth,
108
107
  platform: '',
109
108
  model: '',
110
109
  system: '',
111
110
  }
112
111
  if (isJdApp && isAndroidDevice && getSystemInfo.windowWidth <= 0) {
113
112
  getSystemInfo.windowWidth = getSystemInfo.screenWidth
114
113
  getSystemInfo['containerWidth'] = getContainerWidth(
115
114
  buildType,
116
115
  getSystemInfo,
117
116
  )
118
117
  }
119
118
  return getSystemInfo
120
119
  const params = Object.assign(
121
120
  {},
122
121
  {
123
122
  title: '',
124
123
  duration: 1500,
125
124
  },
126
125
  options,
127
126
  )
128
127
  params.duration = params.duration / 1000
129
128
  if (isJdApp) {
130
129
  const showSuccessType = isIosDevice
131
130
  ? ToastIosType.SUCCESS
132
131
  : ToastAndroidType.SUCCESS
133
132
  const duration = isAndroidDevice ? 0 : params.duration
134
133
  nativePageShowToast(options.title, showSuccessType, duration)
135
134
  console.log('执行原生toast success')
136
135
  } else {
137
136
  showSuccessToast(options)
138
137
  }
139
138
  const params = Object.assign(
140
139
  {},
141
140
  {
142
141
  title: '',
143
142
  duration: 1500,
144
143
  },
145
144
  options,
146
145
  )
147
146
  params.duration = params.duration / 1000
148
147
  if (isJdApp) {
149
148
  const showSuccessType = isIosDevice
150
149
  ? ToastIosType.FAIL
151
150
  : ToastAndroidType.FAIL
152
151
  const duration = isAndroidDevice ? 0 : params.duration
153
152
  nativePageShowToast(options.title, showSuccessType, duration)
154
153
  console.log('执行原生toast fail')
155
154
  } else {
156
155
  console.log('执行H5 toast fail')
157
156
  showFailToast(options)
158
157
  }
159
158
  const params = Object.assign(
160
159
  {},
161
160
  {
162
161
  title: '',
163
162
  duration: 1500,
164
163
  },
165
164
  options,
166
165
  )
167
166
  params.duration = params.duration / 1000
168
167
  if (isJdApp) {
169
168
  const showSuccessType = isIosDevice ?
170
169
  ToastIosType.NORMAL :
171
170
  ToastAndroidType.NORMAL
172
171
  const duration = isAndroidDevice ? 0 : params.duration
173
172
  nativePageShowToast(options.title, showSuccessType, duration)
174
173
  } else {
175
174
  showNormalToast(options)
176
175
  }
177
176
  const createLoadingEle = document.createElement('div')
178
177
  createLoadingEle.id = 'J_shopLoading'
179
178
  createLoadingEle.className = `d-shop-loading flexible-center-box ${customClassName}`
180
179
  createLoadingEle.innerHTML =
181
180
  `<div class='d-loading-content'>
182
181
  <span class='d-shop-loading-icon'></span>
183
182
  <p class='d-shop-text'>${text}</p>
184
183
  </div>`
185
184
  const getEle = document.body
186
185
  ? document.body
187
186
  : document.getElementsByTagName('body')[0]
188
187
  getEle.appendChild(createLoadingEle)
189
188
  const getEle = document.getElementById('J_shopLoading')
190
189
  getEle && getEle.remove()
191
190
  const systemInfo: UtilsInterFace.taroGetSystemInfoSyncRes = getReviseSystemInfo(
192
191
  params,
193
192
  )
194
193
  if (!systemInfo.system && window) {
195
194
  systemInfo.system = window.navigator.userAgent
196
195
  systemInfo.isChrome = !!systemInfo?.system.match(/chrome/i)
197
196
  }
198
197
  const isIOS = !!systemInfo?.system.match(/ios/i)
199
198
  const isAndroid = !!systemInfo?.system.match(/android/i)
200
199
  systemInfo.navBarHeight = 0
201
200
  systemInfo.statusBarHeight = 0
202
201
  systemInfo.capsulePosition = null
203
202
  systemInfo.isIOS = isIOS
204
203
  systemInfo.isAndroid = isAndroid
205
204
  _ShopSystemInfo = systemInfo
206
205
  return systemInfo
207
206
  return originDealShopContentData(pageData, sgmCustomReport, isvdev)
208
207
  isJdApp,
209
208
  isWxApp,
210
209
  isIosDevice,
211
210
  isAndroidDevice,
212
211
  isJdAndIosDevice,
213
212
  isJdAndAndroidDevice,
214
213
  isJdAndHarmonyDevice,
215
214
  isJdAndroidX5Core,
216
215
  isWxMin,
217
216
  isWxMinAndWxapp,
218
217
  isJdMin,
219
218
  isH5,
220
219
  isH5AndJdShopView,
221
220
  isChartH5,
222
221
  isH5AndJdShopViewNativeScroll,
223
222
  isH5AndJdShopViewH5Scroll,
224
223
  isH5AndJdShopH5CustomScrollView,
225
224
  isH5AndJingGouMini,
226
225
  isWxMiniH5View,
227
226
  urlCookie,
228
227
  sliceArrToChunkList,
229
228
  dealAddress,
230
229
  objectToUrlEncode,
231
230
  parseQueryUrlString,
232
231
  setLowSmallPicUrl,
233
232
  setTaroStorage,
234
233
  getTaroStorageKeyValue,
235
234
  removeTaroStorageKey,
236
235
  clearTaroStorageKey,
237
236
  getQualityImage,
238
237
  countStringify,
239
238
  getWxAppCookieStr,
240
239
  getSystemInfos,
241
240
  pxTransformFromData,
242
241
  dealShopContentDataAndReport as dealShopContentData,
243
242
  dateFormat,
244
243
  throttle,
245
244
  lodashThrottle,
246
245
  debounce,
247
246
  addHttps,
248
247
  commonShowSuccessToast as showSuccessToast,
249
248
  commonShowFailToast as showFailToast,
250
249
  commonShowNormalToast as showNormalToast,
251
250
  showShopLoading,
252
251
  hideShopLoading,
253
252
  getAppChannelType,
254
253
  formatTabActiveMenuType,
255
254
  filterUrlQueryData,
256
255
  sgmCustomReport,
257
256
  isMemberPage,
258
257
  getFloorDataToDataDefines,
259
258
  isOpenJdAppUrl,
260
259
  jdOpenAppParams,
261
260
  createJdOpenAppUrl,
262
261
  isEmpty,
263
262
  getJdAppReportPageSource,
264
263
  isAppClassifyPage,
265
264
  isPc,
266
265
  ipLoc_djd,
267
266
  dealJdOpenAppData,
268
267
  jdAppVersionCompare,
269
268
  dealNativePixelToCssPixel,
270
269
  isAppStowShop,
270
+ import Taro from '@tarojs/taro'
271
271
  UtilsInterFace
272
272
  nativePageShowToast,
273
273
  ToastAndroidType,
274
274
  ToastIosType,
275
275
  getMPaasConfigByNative
276
276
  getAppChannelType,
277
277
  isAndroidDevice,
278
278
  isH5AndJdShopView,
279
279
  isChartH5,
280
280
  isH5AndJdShopViewNativeScroll,
281
281
  isIosDevice,
282
282
  isJdAndAndroidDevice,
283
283
  isJdAndIosDevice,
284
284
  isJdApp,
285
285
  isWxApp,
286
286
  isWxMiniH5View,
287
287
  isJdAndHarmonyDevice,
288
288
  isH5AndJingGouMini,
289
289
  urlCookie,
290
290
  sgmCustomReport,
291
291
  isMemberPage,
292
292
  isH5AndJdShopViewH5Scroll,
293
293
  isH5AndJdShopH5CustomScrollView,
294
294
  isAppClassifyPage,
295
295
  isPc,
296
296
  ipLoc_djd,
297
297
  jdAppVersionCompare,
298
298
  isTjScence,
299
299
  isH5AdnJxMini,
300
300
  isTjM,
301
301
  isTjJxM,
302
302
  isTJApp,
303
303
  isH5AdnHaoWuJie,
304
304
  tjChannel,
305
305
  dealNativePixelToCssPixel,
306
306
  isAppStowShop,
307
307
  isJdAndroidX5Core,
308
308
  addHttps,
309
309
  clearTaroStorageKey,
310
310
  countStringify,
311
311
  dateFormat,
312
312
  dealAddress,
313
313
  dealShopContentData as originDealShopContentData,
314
314
  debounce,
315
315
  filterUrlQueryData,
316
316
  formatTabActiveMenuType,
317
317
  getAvifSupport,
318
318
  getWebpSupport,
319
319
  getTaroStorageKeyValue,
320
320
  getWxAppCookieStr,
321
321
  isImageOptimizeEnable,
322
322
  isH5,
323
323
  isMin,
324
324
  isJdMin,
325
325
  isWxMin,
326
326
  isWxMinAndWxapp,
327
327
  isJdMinAndHarmony,
328
328
  lodashThrottle,
329
329
  objectToUrlEncode,
330
330
  parseQueryUrlString,
331
331
  removeTaroStorageKey,
332
332
  setLowSmallPicUrl,
333
333
  setTaroStorage,
334
334
  showFailToast,
335
335
  showNormalToast,
336
336
  showSuccessToast,
337
337
  sliceArrToChunkList,
338
338
  throttle,
339
339
  getQualityImageNew,
340
340
  getQualityImageOld,
341
341
  isOpenJdAppUrl,
342
342
  jdOpenAppParams,
343
343
  createJdOpenAppUrl,
344
344
  isEmpty,
345
345
  getJdAppReportPageSource,
346
346
  dealJdOpenAppData,
347
347
  const getNum = Number(num)
348
348
  let _changeLayoutWidth = layoutWidth
349
349
  if (!_changeLayoutWidth) {
350
350
  _changeLayoutWidth =
351
351
  _ShopSystemInfo && _ShopSystemInfo?.windowWidth
352
352
  ? _ShopSystemInfo.windowWidth
353
353
  : Taro.getSystemInfoSync()?.windowWidth
354
354
  }
355
355
  return Math.round((getNum / widthSize) * _changeLayoutWidth)
356
356
  changeSize,
357
357
  designWidth = 750,
358
358
  systemInfo,
359
359
  const getRootFontSize =
360
360
  (40 * (systemInfo?.windowWidth ?? _ShopSystemInfo.windowWidth)) / 750
361
361
  const getRealRootFontSize =
362
362
  getRootFontSize > 40 ? 40 : getRootFontSize < 20 ? 20 : getRootFontSize
363
363
  return Math.ceil(
364
364
  (((parseInt(String(changeSize), 10) / 40) * 750) / designWidth) *
365
365
  getRealRootFontSize,
366
366
  )
367
367
  console.log(
368
368
  '获取系统宽度systemInfo?.windowWidth',
369
369
  systemInfo?.windowWidth,
370
370
  'taroToTransformRoutimePXNumber(changeWidth)',
371
371
  taroToTransformRoutimePXNumber(changeWidth, 750, systemInfo),
372
372
  )
373
373
  return buildType === BUILD_TYPE.CLASSIFY && systemInfo?.windowWidth
374
374
  ? systemInfo?.windowWidth -
375
375
  taroToTransformRoutimePXNumber(changeWidth, 750, systemInfo)
376
376
  : systemInfo?.windowWidth ?? 0
377
377
  const systemInfo = Taro.getSystemInfoSync()
378
378
  if (params && params?.pageWidth && params?.pageHeight) {
379
379
  systemInfo.windowWidth = params?.pageWidth
380
380
  systemInfo.windowHeight = params?.pageHeight
381
381
  }
382
382
  systemInfo['containerWidth'] = getContainerWidth(buildType, systemInfo)
383
383
  console.warn('====获取系统信息=====', systemInfo)
384
384
  return systemInfo
385
385
  if(typeof options === 'object' && isImageOptimizeEnable()){
386
386
  return getQualityImageNew(imgUrl, options)
387
387
  }else{
388
388
  return getQualityImageOld(imgUrl, options)
389
389
  }
390
390
  const getSystemInfo = getSystemAndContainerWidthInfo(params) || {
391
391
  windowWidth: window.innerWidth,
392
392
  containerWidth: getContainerWidth(buildType, {
393
393
  windowWidth: window.innerWidth,
394
394
  }),
395
395
  screenWidth: window.innerWidth,
396
396
  platform: '',
397
397
  model: '',
398
398
  system: '',
399
399
  }
400
400
  if (isJdApp && isAndroidDevice && getSystemInfo.windowWidth <= 0) {
401
401
  getSystemInfo.windowWidth = getSystemInfo.screenWidth
402
402
  getSystemInfo['containerWidth'] = getContainerWidth(
403
403
  buildType,
404
404
  getSystemInfo,
405
405
  )
406
406
  }
407
407
  return getSystemInfo
408
408
  const params = Object.assign(
409
409
  {},
410
410
  {
411
411
  title: '',
412
412
  duration: 1500,
413
413
  },
414
414
  options,
415
415
  )
416
416
  params.duration = params.duration / 1000
417
417
  if (isJdApp) {
418
418
  const showSuccessType = isIosDevice
419
419
  ? ToastIosType.SUCCESS
420
420
  : ToastAndroidType.SUCCESS
421
421
  const duration = isAndroidDevice ? 0 : params.duration
422
422
  nativePageShowToast(options.title, showSuccessType, duration)
423
423
  console.log('执行原生toast success')
424
424
  } else {
425
425
  showSuccessToast(options)
426
426
  }
427
427
  const params = Object.assign(
428
428
  {},
429
429
  {
430
430
  title: '',
431
431
  duration: 1500,
432
432
  },
433
433
  options,
434
434
  )
435
435
  params.duration = params.duration / 1000
436
436
  if (isJdApp) {
437
437
  const showSuccessType = isIosDevice
438
438
  ? ToastIosType.FAIL
439
439
  : ToastAndroidType.FAIL
440
440
  const duration = isAndroidDevice ? 0 : params.duration
441
441
  nativePageShowToast(options.title, showSuccessType, duration)
442
442
  console.log('执行原生toast fail')
443
443
  } else {
444
444
  console.log('执行H5 toast fail')
445
445
  showFailToast(options)
446
446
  }
447
447
  const params = Object.assign(
448
448
  {},
449
449
  {
450
450
  title: '',
451
451
  duration: 1500,
452
452
  },
453
453
  options,
454
454
  )
455
455
  params.duration = params.duration / 1000
456
456
  if (isJdApp) {
457
457
  const showSuccessType = isIosDevice ?
458
458
  ToastIosType.NORMAL :
459
459
  ToastAndroidType.NORMAL
460
460
  const duration = isAndroidDevice ? 0 : params.duration
461
461
  nativePageShowToast(options.title, showSuccessType, duration)
462
462
  } else {
463
463
  showNormalToast(options)
464
464
  }
465
465
  const createLoadingEle = document.createElement('div')
466
466
  createLoadingEle.id = 'J_shopLoading'
467
467
  createLoadingEle.className = `d-shop-loading flexible-center-box ${customClassName}`
468
468
  createLoadingEle.innerHTML =
469
469
  `<div class='d-loading-content'>
470
470
  <span class='d-shop-loading-icon'></span>
471
471
  <p class='d-shop-text'>${text}</p>
472
472
  </div>`
473
473
  const getEle = document.body
474
474
  ? document.body
475
475
  : document.getElementsByTagName('body')[0]
476
476
  getEle.appendChild(createLoadingEle)
477
477
  const getEle = document.getElementById('J_shopLoading')
478
478
  getEle && getEle.remove()
479
479
  const systemInfo: UtilsInterFace.taroGetSystemInfoSyncRes =
480
480
  getReviseSystemInfo(params);
481
481
  if (!systemInfo.system && window) {
482
482
  systemInfo.system = window.navigator.userAgent;
483
483
  systemInfo.isChrome = !!systemInfo?.system.match(/chrome/i);
484
484
  }
485
485
  const isIOS = !!systemInfo?.system.match(/ios/i);
486
486
  const isAndroid = !!systemInfo?.system.match(/android/i);
487
487
  systemInfo.navBarHeight = 0;
488
488
  systemInfo.statusBarHeight = 0;
489
489
  systemInfo.capsulePosition = null;
490
490
  systemInfo.isIOS = isIOS;
491
491
  systemInfo.isAndroid = isAndroid;
492
492
  _ShopSystemInfo = systemInfo;
493
493
  return systemInfo;
494
494
  return originDealShopContentData(pageData, sgmCustomReport, isvdev)
495
495
  isJdApp,
496
496
  isWxApp,
497
497
  isIosDevice,
498
498
  isAndroidDevice,
499
499
  isJdAndIosDevice,
500
500
  isJdAndAndroidDevice,
501
501
  isJdAndHarmonyDevice,
502
502
  isJdAndroidX5Core,
503
503
  isMin,
504
504
  isWxMin,
505
505
  isWxMinAndWxapp,
506
506
  isJdMinAndHarmony,
507
507
  isJdMin,
508
508
  isH5,
509
509
  isH5AndJdShopView,
510
510
  isChartH5,
511
511
  isH5AndJdShopViewNativeScroll,
512
512
  isH5AndJdShopViewH5Scroll,
513
513
  isH5AndJdShopH5CustomScrollView,
514
514
  isH5AndJingGouMini,
515
515
  isWxMiniH5View,
516
516
  urlCookie,
517
517
  sliceArrToChunkList,
518
518
  dealAddress,
519
519
  objectToUrlEncode,
520
520
  parseQueryUrlString,
521
521
  setLowSmallPicUrl,
522
522
  setTaroStorage,
523
523
  getTaroStorageKeyValue,
524
524
  removeTaroStorageKey,
525
525
  clearTaroStorageKey,
526
526
  getAvifSupport,
527
527
  getWebpSupport,
528
528
  getQualityImage,
529
529
  countStringify,
530
530
  getWxAppCookieStr,
531
531
  getSystemInfos,
532
532
  pxTransformFromData,
533
533
  dealShopContentDataAndReport as dealShopContentData,
534
534
  dateFormat,
535
535
  throttle,
536
536
  lodashThrottle,
537
537
  debounce,
538
538
  addHttps,
539
539
  commonShowSuccessToast as showSuccessToast,
540
540
  commonShowFailToast as showFailToast,
541
541
  commonShowNormalToast as showNormalToast,
542
542
  showShopLoading,
543
543
  hideShopLoading,
544
544
  getAppChannelType,
545
545
  formatTabActiveMenuType,
546
546
  filterUrlQueryData,
547
547
  sgmCustomReport,
548
548
  isMemberPage,
549
549
  getFloorDataToDataDefines,
550
550
  isOpenJdAppUrl,
551
551
  jdOpenAppParams,
552
552
  createJdOpenAppUrl,
553
553
  isEmpty,
554
554
  getJdAppReportPageSource,
555
555
  isAppClassifyPage,
556
556
  isImageOptimizeEnable,
557
557
  isPc,
558
558
  ipLoc_djd,
559
559
  isTjScence,
560
560
  isH5AdnJxMini,
561
561
  isTjM,
562
562
  isTjJxM,
563
563
  isTJApp,
564
564
  isH5AdnHaoWuJie,
565
565
  tjChannel,
566
566
  dealJdOpenAppData,
567
567
  jdAppVersionCompare,
568
568
  dealNativePixelToCssPixel,
569
569
  isAppStowShop,
570
570
  getSgmCustomCode
@@ -1 +1 @@
1
- import {
2
1
  isChartH5,
3
2
  isH5AndJdShopViewH5Scroll,
4
3
  isH5AndJdShopH5CustomScrollView,
5
4
  isMemberPage,
6
5
  sgmCustomReport,
7
6
  isOpenJdAppUrl,
8
7
  jdOpenAppParams,
9
8
  createJdOpenAppUrl,
10
9
  isEmpty,
11
10
  getJdAppReportPageSource,
12
11
  isPc,
13
12
  ipLoc_djd,
14
13
  dealJdOpenAppData,
15
14
  jdAppVersionCompare,
16
15
  dealNativePixelToCssPixel,
17
16
  isAppStowShop,
18
17
  isJdAndHarmonyDevice,
19
18
  isJdAndroidX5Core,
20
19
  isChartH5,
21
20
  isH5AndJdShopViewH5Scroll,
22
21
  isH5AndJdShopH5CustomScrollView,
23
22
  isH5AndJingGouMini,
24
23
  urlCookie,
25
24
  isMemberPage,
26
25
  sgmCustomReport,
27
26
  isOpenJdAppUrl,
28
27
  jdOpenAppParams,
29
28
  createJdOpenAppUrl,
30
29
  isEmpty,
31
30
  isPc,
32
31
  ipLoc_djd,
33
32
  dealJdOpenAppData,
34
33
  jdAppVersionCompare,
35
34
  dealNativePixelToCssPixel,
36
35
  isAppStowShop,
36
+ import {
37
37
  isMin,
38
38
  isJdMinAndHarmony,
39
39
  isChartH5,
40
40
  isH5AndJdShopViewNativeScroll,
41
41
  isH5AndJdShopViewH5Scroll,
42
42
  isH5AndJdShopH5CustomScrollView,
43
43
  isWxMiniH5View,
44
44
  sliceArrToChunkList,
45
45
  dealAddress,
46
46
  objectToUrlEncode,
47
47
  setLowSmallPicUrl,
48
48
  parseQueryUrlString,
49
49
  countStringify,
50
50
  setTaroStorage,
51
51
  getTaroStorageKeyValue,
52
52
  removeTaroStorageKey,
53
53
  clearTaroStorageKey,
54
54
  getQualityImage,
55
55
  getSystemInfos,
56
56
  getWxAppCookieStr,
57
57
  pxTransformFromData,
58
58
  dealShopContentData,
59
59
  dateFormat,
60
60
  throttle,
61
61
  lodashThrottle,
62
62
  debounce,
63
63
  addHttps,
64
64
  showSuccessToast,
65
65
  showFailToast,
66
66
  showNormalToast,
67
67
  showShopLoading,
68
68
  hideShopLoading,
69
69
  getAppChannelType,
70
70
  formatTabActiveMenuType,
71
71
  filterUrlQueryData,
72
72
  isMemberPage,
73
73
  sgmCustomReport,
74
74
  isOpenJdAppUrl,
75
75
  jdOpenAppParams,
76
76
  createJdOpenAppUrl,
77
77
  isEmpty,
78
78
  getJdAppReportPageSource,
79
79
  isPc,
80
80
  ipLoc_djd,
81
81
  dealJdOpenAppData,
82
82
  jdAppVersionCompare,
83
83
  dealNativePixelToCssPixel,
84
84
  isAppStowShop,
85
85
  return false
86
86
  isJdAndHarmonyDevice,
87
87
  isJdAndroidX5Core,
88
88
  isMin,
89
89
  isJdMinAndHarmony,
90
90
  isChartH5,
91
91
  isH5AndJdShopViewH5Scroll,
92
92
  isH5AndJdShopH5CustomScrollView,
93
93
  isH5AndJingGouMini,
94
94
  urlCookie,
95
95
  isMemberPage,
96
96
  sgmCustomReport,
97
97
  isOpenJdAppUrl,
98
98
  jdOpenAppParams,
99
99
  createJdOpenAppUrl,
100
100
  isEmpty,
101
101
  isImageOptimizeEnable,
102
102
  isPc,
103
103
  ipLoc_djd,
104
104
  isTjM,
105
105
  isTjJxM,
106
106
  isTjScence,
107
107
  isH5AdnJxMini,
108
108
  isTJApp,
109
109
  isH5AdnHaoWuJie,
110
110
  tjChannel,
111
111
  dealJdOpenAppData,
112
112
  jdAppVersionCompare,
113
113
  dealNativePixelToCssPixel,
114
114
  isAppStowShop,
115
115
  getSgmCustomCode