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