@conecli/cone-render 0.8.41 → 0.8.42

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