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