@conecli/cone-render 0.10.1-shop-beta.4 → 0.10.1-shop-beta.5

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 (63) hide show
  1. package/dist/api/index.ts +1 -1
  2. package/dist/common/const.ts +1 -1
  3. package/dist/common/environmentType.ts +1 -1
  4. package/dist/common/index.h5.ts +1 -1
  5. package/dist/common/index.jd.ts +1 -1
  6. package/dist/common/index.ts +1 -1
  7. package/dist/common/index.weapp.ts +1 -1
  8. package/dist/common/sgmCustomCode.ts +1 -1
  9. package/dist/components/ErrorBoundary.tsx +1 -1
  10. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  11. package/dist/components/base/CustomVideo/index.tsx +1 -1
  12. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  13. package/dist/components/base/InViewRender/index.weapp.tsx +1 -1
  14. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  15. package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
  16. package/dist/components/base/LazyLoadImage/index.h5.module.scss +4 -0
  17. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  18. package/dist/components/base/LazyLoadImage/index.tsx +1 -1
  19. package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
  20. package/dist/components/base/NetworkDataError/index.module.scss +3 -0
  21. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  22. package/dist/components/decorate/DecorateFloorModule/index.module.scss +11 -0
  23. package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
  24. package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
  25. package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
  26. package/dist/components/floorItem.jd.tsx +1 -1
  27. package/dist/components/floorItem.tsx +1 -1
  28. package/dist/components/floorItem.weapp.tsx +1 -1
  29. package/dist/components/remoteFloorItem.tsx +1 -1
  30. package/dist/interface/common.ts +1 -1
  31. package/dist/interface/component.ts +1 -1
  32. package/dist/interface/jumpEventReport.ts +1 -1
  33. package/dist/interface/service.ts +1 -1
  34. package/dist/jumpEventReport/base.ts +1 -1
  35. package/dist/jumpEventReport/const.ts +1 -1
  36. package/dist/jumpEventReport/index.jd.ts +1 -1
  37. package/dist/jumpEventReport/index.weapp.ts +1 -1
  38. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  39. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  40. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  41. package/dist/jumpEventReport/web.base.ts +1 -1
  42. package/dist/jumpEventReport/web.jd.ts +1 -1
  43. package/dist/jumpEventReport/web.tjm.ts +1 -1
  44. package/dist/modules/ContainerFloorList/index.h5.module.scss +1 -0
  45. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  46. package/dist/open/api/device.ts +1 -1
  47. package/dist/open/api/request.ts +1 -1
  48. package/dist/open/api/shopMember.ts +1 -1
  49. package/dist/open/api/util.ts +1 -1
  50. package/dist/open/components/index.ts +1 -1
  51. package/dist/sass/app.h5.scss +5 -0
  52. package/dist/sass/base.scss +45 -0
  53. package/dist/service/requestServer.ts +1 -1
  54. package/dist/utils/connectNativeJsBridge.ts +1 -1
  55. package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
  56. package/dist/utils/h5Utils.ts +1 -1
  57. package/dist/utils/index.h5.ts +1 -1
  58. package/dist/utils/index.ts +1 -1
  59. package/dist/utils/index.weapp.ts +1 -1
  60. package/dist/utils/sgmCodeUtils.ts +1 -1
  61. package/dist/utils/taroRenderUtil.ts +1 -1
  62. package/dist/utils/utils.ts +1 -1
  63. package/package.json +24 -23
@@ -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
  isJdApp,
66
65
  isWxApp,
67
66
  isIosDevice,
68
67
  isAndroidDevice,
69
68
  isJdAndIosDevice,
70
69
  isJdAndAndroidDevice,
71
70
  isJdAndHarmonyDevice,
72
71
  isJdAndroidX5Core,
73
72
  isWxMin,
74
73
  isMin,
75
74
  isJdMinAndHarmony,
76
75
  isWxMinAndWxapp,
77
76
  isJdMin,
78
77
  isH5,
79
78
  isH5AndJdShopView,
80
79
  isChartH5,
81
80
  isH5AndJdShopViewNativeScroll,
82
81
  isH5AndJdShopViewH5Scroll,
83
82
  isH5AndJdShopH5CustomScrollView,
84
83
  isH5AndJingGouMini,
85
84
  isWxMiniH5View,
86
85
  urlCookie,
87
86
  sliceArrToChunkList,
88
87
  dealAddress,
89
88
  objectToUrlEncode,
90
89
  parseQueryUrlString,
91
90
  setLowSmallPicUrl,
92
91
  countStringify,
93
92
  setTaroStorage,
94
93
  getTaroStorageKeyValue,
95
94
  removeTaroStorageKey,
96
95
  clearTaroStorageKey,
97
96
  getQualityImage,
98
97
  getSystemInfos,
99
98
  getWxAppCookieStr,
100
99
  pxTransformFromData,
101
100
  dealShopContentData,
102
101
  dateFormat,
103
102
  throttle,
104
103
  lodashThrottle,
105
104
  debounce,
106
105
  addHttps,
107
106
  showSuccessToast,
108
107
  showFailToast,
109
108
  showNormalToast,
110
109
  showShopLoading,
111
110
  hideShopLoading,
112
111
  getAppChannelType,
113
112
  formatTabActiveMenuType,
114
113
  getAvifSupport,
115
114
  getWebpSupport,
116
115
  filterUrlQueryData,
117
116
  isMemberPage,
118
117
  getFloorDataToDataDefines,
119
118
  sgmCustomReport,
120
119
  isOpenJdAppUrl,
121
120
  jdOpenAppParams,
122
121
  createJdOpenAppUrl,
123
122
  isEmpty,
124
123
  isAppClassifyPage,
125
124
  getJdAppReportPageSource,
126
125
  isImageOptimizeEnable,
127
126
  isPc,
128
127
  ipLoc_djd,
129
128
  isTjM,
130
129
  isTjJxM,
131
130
  isTjScence,
132
131
  isH5AdnJxMini,
133
132
  isTJApp,
134
133
  isH5AdnHaoWuJie,
135
134
  tjChannel,
136
135
  dealJdOpenAppData,
137
136
  jdAppVersionCompare,
138
137
  dealNativePixelToCssPixel,
139
138
  isAppStowShop,
140
139
  getSgmCustomCode,
140
+ import {
141
141
  isJdApp,
142
142
  isWxApp,
143
143
  isIosDevice,
144
144
  isAndroidDevice,
145
145
  isJdAndIosDevice,
146
146
  isJdAndAndroidDevice,
147
147
  isWxMin,
148
148
  isMin,
149
149
  isJdMinAndHarmony,
150
150
  isWxMinAndWxapp,
151
151
  isJdMin,
152
152
  isH5,
153
153
  isH5AndJdShopView,
154
154
  isChartH5,
155
155
  isH5AndJdShopViewNativeScroll,
156
156
  isH5AndJdShopViewH5Scroll,
157
157
  isH5AndJdShopH5CustomScrollView,
158
158
  isWxMiniH5View,
159
159
  sliceArrToChunkList,
160
160
  dealAddress,
161
161
  objectToUrlEncode,
162
162
  setLowSmallPicUrl,
163
163
  parseQueryUrlString,
164
164
  countStringify,
165
165
  setTaroStorage,
166
166
  getTaroStorageKeyValue,
167
167
  removeTaroStorageKey,
168
168
  clearTaroStorageKey,
169
169
  getQualityImage,
170
170
  getSystemInfos,
171
171
  getWxAppCookieStr,
172
172
  pxTransformFromData,
173
173
  dealShopContentData,
174
174
  dateFormat,
175
175
  throttle,
176
176
  lodashThrottle,
177
177
  debounce,
178
178
  addHttps,
179
179
  showSuccessToast,
180
180
  showFailToast,
181
181
  showNormalToast,
182
182
  showShopLoading,
183
183
  hideShopLoading,
184
184
  getAppChannelType,
185
185
  formatTabActiveMenuType,
186
186
  getAvifSupport,
187
187
  getWebpSupport,
188
188
  filterUrlQueryData,
189
189
  isMemberPage,
190
190
  sgmCustomReport,
191
191
  isOpenJdAppUrl,
192
192
  jdOpenAppParams,
193
193
  createJdOpenAppUrl,
194
194
  isEmpty,
195
195
  getJdAppReportPageSource,
196
196
  isAppClassifyPage,
197
197
  isPc,
198
198
  ipLoc_djd,
199
199
  dealJdOpenAppData,
200
200
  jdAppVersionCompare,
201
201
  dealNativePixelToCssPixel,
202
202
  isAppStowShop,
203
203
  isImageOptimizeEnable,
204
204
  isIpadDevice,
205
205
  console.warn(
206
206
  "� ~~ file: index.ts:93 ~~ 通用的isInGrayscale还没有实现,不应该被调用!"
207
207
  );
208
208
  return false;
209
209
  isJdApp,
210
210
  isWxApp,
211
211
  isIosDevice,
212
212
  isAndroidDevice,
213
213
  isJdAndIosDevice,
214
214
  isJdAndAndroidDevice,
215
215
  isJdAndHarmonyDevice,
216
216
  isJdAndroidX5Core,
217
217
  isWxMin,
218
218
  isMin,
219
219
  isJdMinAndHarmony,
220
220
  isWxMinAndWxapp,
221
221
  isJdMin,
222
222
  isH5,
223
223
  isH5AndJdShopView,
224
224
  isChartH5,
225
225
  isH5AndJdShopViewNativeScroll,
226
226
  isH5AndJdShopViewH5Scroll,
227
227
  isH5AndJdShopH5CustomScrollView,
228
228
  isH5AndJingGouMini,
229
229
  isWxMiniH5View,
230
230
  urlCookie,
231
231
  sliceArrToChunkList,
232
232
  dealAddress,
233
233
  objectToUrlEncode,
234
234
  parseQueryUrlString,
235
235
  setLowSmallPicUrl,
236
236
  countStringify,
237
237
  setTaroStorage,
238
238
  getTaroStorageKeyValue,
239
239
  removeTaroStorageKey,
240
240
  clearTaroStorageKey,
241
241
  getQualityImage,
242
242
  getSystemInfos,
243
243
  getWxAppCookieStr,
244
244
  pxTransformFromData,
245
245
  dealShopContentData,
246
246
  dateFormat,
247
247
  throttle,
248
248
  lodashThrottle,
249
249
  debounce,
250
250
  addHttps,
251
251
  showSuccessToast,
252
252
  showFailToast,
253
253
  showNormalToast,
254
254
  showShopLoading,
255
255
  hideShopLoading,
256
256
  stopNativeScrollEvent,
257
257
  getAppChannelType,
258
258
  formatTabActiveMenuType,
259
259
  getAvifSupport,
260
260
  getWebpSupport,
261
261
  filterUrlQueryData,
262
262
  isMemberPage,
263
263
  getFloorDataToDataDefines,
264
264
  sgmCustomReport,
265
265
  isOpenJdAppUrl,
266
266
  jdOpenAppParams,
267
267
  createJdOpenAppUrl,
268
268
  isEmpty,
269
269
  isAppClassifyPage,
270
270
  isAppHomeForMarketPage,
271
271
  getJdAppReportPageSource,
272
272
  isImageOptimizeEnable,
273
273
  isPc,
274
274
  ipLoc_djd,
275
275
  isTjM,
276
276
  isTjJxM,
277
277
  isTjScence,
278
278
  isH5AdnJxMini,
279
279
  isTJApp,
280
280
  isH5AdnHaoWuJie,
281
281
  tjChannel,
282
282
  dealJdOpenAppData,
283
283
  jdAppVersionCompare,
284
284
  dealNativePixelToCssPixel,
285
285
  isAppStowShop,
286
286
  getSgmCustomCode,
287
287
  handleSgmCodeTaroVersion,
288
288
  isInGrayscale,
289
289
  isIpadDevice,
@@ -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
  isJdApp,
62
61
  isWxApp,
63
62
  isIosDevice,
64
63
  isAndroidDevice,
65
64
  isJdAndIosDevice,
66
65
  isJdAndAndroidDevice,
67
66
  isJdAndHarmonyDevice,
68
67
  isJdAndroidX5Core,
69
68
  isWxMin,
70
69
  isWxMinAndWxapp,
71
70
  isJdMin,
72
71
  isMin,
73
72
  isJdMinAndHarmony,
74
73
  isH5,
75
74
  isH5AndJdShopView,
76
75
  isChartH5,
77
76
  isH5AndJdShopViewNativeScroll,
78
77
  isH5AndJdShopViewH5Scroll,
79
78
  isH5AndJdShopH5CustomScrollView,
80
79
  isH5AndJingGouMini,
81
80
  isWxMiniH5View,
82
81
  urlCookie,
83
82
  sliceArrToChunkList,
84
83
  dealAddress,
85
84
  objectToUrlEncode,
86
85
  parseQueryUrlString,
87
86
  setLowSmallPicUrl,
88
87
  setTaroStorage,
89
88
  getTaroStorageKeyValue,
90
89
  removeTaroStorageKey,
91
90
  clearTaroStorageKey,
92
91
  getQualityImage,
93
92
  countStringify,
94
93
  getSystemInfos,
95
94
  getWxAppCookieStr,
96
95
  pxTransformFromData,
97
96
  dealShopContentData,
98
97
  dateFormat,
99
98
  throttle,
100
99
  lodashThrottle,
101
100
  debounce,
102
101
  addHttps,
103
102
  showSuccessToast,
104
103
  showFailToast,
105
104
  showNormalToast,
106
105
  showShopLoading,
107
106
  hideShopLoading,
108
107
  getAppChannelType,
109
108
  formatTabActiveMenuType,
110
109
  getAvifSupport,
111
110
  getWebpSupport,
112
111
  filterUrlQueryData,
113
112
  getFloorDataToDataDefines,
114
113
  sgmCustomReport,
115
114
  isOpenJdAppUrl,
116
115
  jdOpenAppParams,
117
116
  createJdOpenAppUrl,
118
117
  isEmpty,
119
118
  getJdAppReportPageSource,
120
119
  isMemberPage,
121
120
  isAppClassifyPage,
122
121
  isImageOptimizeEnable,
123
122
  isPc,
124
123
  isTjM,
125
124
  isTjJxM,
126
125
  isTjScence,
127
126
  isH5AdnJxMini,
128
127
  isTJApp,
129
128
  isH5AdnHaoWuJie,
130
129
  tjChannel,
131
130
  dealJdOpenAppData,
132
131
  jdAppVersionCompare,
133
132
  dealNativePixelToCssPixel,
134
133
  getSgmCustomCode,
134
+ import {
135
135
  isJdApp,
136
136
  isWxApp,
137
137
  isIosDevice,
138
138
  isAndroidDevice,
139
139
  isJdAndIosDevice,
140
140
  isJdAndAndroidDevice,
141
141
  isWxMin,
142
142
  isWxMinAndWxapp,
143
143
  isJdMin,
144
144
  isJdMinAndHarmony,
145
145
  isH5,
146
146
  isH5AndJdShopView,
147
147
  isChartH5,
148
148
  isH5AndJdShopViewNativeScroll,
149
149
  isH5AndJdShopViewH5Scroll,
150
150
  isH5AndJdShopH5CustomScrollView,
151
151
  isWxMiniH5View,
152
152
  sliceArrToChunkList,
153
153
  dealAddress,
154
154
  objectToUrlEncode,
155
155
  parseQueryUrlString,
156
156
  setLowSmallPicUrl,
157
157
  setTaroStorage,
158
158
  getTaroStorageKeyValue,
159
159
  removeTaroStorageKey,
160
160
  clearTaroStorageKey,
161
161
  getQualityImage,
162
162
  countStringify,
163
163
  getSystemInfos,
164
164
  getWxAppCookieStr,
165
165
  pxTransformFromData,
166
166
  dealShopContentData,
167
167
  dateFormat,
168
168
  throttle,
169
169
  lodashThrottle,
170
170
  debounce,
171
171
  addHttps,
172
172
  showSuccessToast,
173
173
  showFailToast,
174
174
  showNormalToast,
175
175
  showShopLoading,
176
176
  hideShopLoading,
177
177
  getAppChannelType,
178
178
  formatTabActiveMenuType,
179
179
  getAvifSupport,
180
180
  getWebpSupport,
181
181
  filterUrlQueryData,
182
182
  sgmCustomReport,
183
183
  isOpenJdAppUrl,
184
184
  jdOpenAppParams,
185
185
  createJdOpenAppUrl,
186
186
  isEmpty,
187
187
  getJdAppReportPageSource,
188
188
  isMemberPage,
189
189
  isAppClassifyPage,
190
190
  dealJdOpenAppData,
191
191
  jdAppVersionCompare,
192
192
  dealNativePixelToCssPixel,
193
193
  isImageOptimizeEnable,
194
194
  isIpadDevice,
195
195
  console.warn(
196
196
  "� ~~ file: index.ts:93 ~~ wxapp的isInGrayscale还没有实现,不应该被调用!"
197
197
  );
198
198
  return false;
199
199
  isJdApp,
200
200
  isWxApp,
201
201
  isIosDevice,
202
202
  isAndroidDevice,
203
203
  isJdAndIosDevice,
204
204
  isJdAndAndroidDevice,
205
205
  isJdAndHarmonyDevice,
206
206
  isJdAndroidX5Core,
207
207
  isWxMin,
208
208
  isWxMinAndWxapp,
209
209
  isJdMin,
210
210
  isMin,
211
211
  isJdMinAndHarmony,
212
212
  isH5,
213
213
  isH5AndJdShopView,
214
214
  isChartH5,
215
215
  isH5AndJdShopViewNativeScroll,
216
216
  isH5AndJdShopViewH5Scroll,
217
217
  isH5AndJdShopH5CustomScrollView,
218
218
  isH5AndJingGouMini,
219
219
  isWxMiniH5View,
220
220
  urlCookie,
221
221
  sliceArrToChunkList,
222
222
  dealAddress,
223
223
  objectToUrlEncode,
224
224
  parseQueryUrlString,
225
225
  setLowSmallPicUrl,
226
226
  setTaroStorage,
227
227
  getTaroStorageKeyValue,
228
228
  removeTaroStorageKey,
229
229
  clearTaroStorageKey,
230
230
  getQualityImage,
231
231
  countStringify,
232
232
  getSystemInfos,
233
233
  getWxAppCookieStr,
234
234
  pxTransformFromData,
235
235
  dealShopContentData,
236
236
  dateFormat,
237
237
  throttle,
238
238
  lodashThrottle,
239
239
  debounce,
240
240
  addHttps,
241
241
  showSuccessToast,
242
242
  showFailToast,
243
243
  showNormalToast,
244
244
  showShopLoading,
245
245
  hideShopLoading,
246
246
  stopNativeScrollEvent,
247
247
  getAppChannelType,
248
248
  formatTabActiveMenuType,
249
249
  getAvifSupport,
250
250
  getWebpSupport,
251
251
  filterUrlQueryData,
252
252
  getFloorDataToDataDefines,
253
253
  sgmCustomReport,
254
254
  isOpenJdAppUrl,
255
255
  jdOpenAppParams,
256
256
  createJdOpenAppUrl,
257
257
  isEmpty,
258
258
  getJdAppReportPageSource,
259
259
  isMemberPage,
260
260
  isAppClassifyPage,
261
261
  isAppHomeForMarketPage,
262
262
  isImageOptimizeEnable,
263
263
  isPc,
264
264
  isTjM,
265
265
  isTjJxM,
266
266
  isTjScence,
267
267
  isH5AdnJxMini,
268
268
  isTJApp,
269
269
  isH5AdnHaoWuJie,
270
270
  tjChannel,
271
271
  dealJdOpenAppData,
272
272
  jdAppVersionCompare,
273
273
  dealNativePixelToCssPixel,
274
274
  getSgmCustomCode,
275
275
  handleSgmCodeTaroVersion,
276
276
  isInGrayscale,
277
277
  isIpadDevice,
@@ -1 +1 @@
1
- import { getPageType } from "../common/pageType"
2
1
  return str.replace(/-([a-z])/g, (match) => {
3
2
  return match[1].toUpperCase();
4
3
  });
5
4
  let finalSgmCustomCode = sgmCustomCode
6
5
  const pageType = getPageType()
7
6
  if (pageType !== '') {
8
7
  const sgmPageType = underlineToCamelCase(pageType)
9
8
  finalSgmCustomCode = `${sgmPageType}_${finalSgmCustomCode}`
10
9
  }
11
10
  const environmentType = getEnvironmentType()
12
11
  finalSgmCustomCode = `${environmentType}_${finalSgmCustomCode}`
13
12
  console.log('sgm上报自定义编码', finalSgmCustomCode)
14
13
  return finalSgmCustomCode
14
+ import { getPageType } from "../common/pageType"
15
15
  return str.replace(/-([a-z])/g, (match) => {
16
16
  return match[1].toUpperCase();
17
17
  });
18
18
  const taroVersion =
19
19
  window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW ? 'newTaro' : 'oldTaro'
20
20
  console.log('handleSgmCodeTaroVersion', handleSgmCodeTaroVersion)
21
21
  return `${taroVersion}_${sgmCustomCode}`
22
22
  let finalSgmCustomCode = sgmCustomCode
23
23
  const pageType = getPageType()
24
24
  if (pageType !== '') {
25
25
  const sgmPageType = underlineToCamelCase(pageType)
26
26
  finalSgmCustomCode = `${sgmPageType}_${finalSgmCustomCode}`
27
27
  }
28
28
  const environmentType = getEnvironmentType()
29
29
  finalSgmCustomCode = `${environmentType}_${finalSgmCustomCode}`
30
30
  console.log('sgm上报自定义编码', finalSgmCustomCode)
31
31
  return finalSgmCustomCode
@@ -1 +1 @@
1
- export enum TaroRenderVersion {
2
1
  VERSION_OLD = 0,
3
2
  VERSION_NEW = 1,
4
3
  let result = modularPackResult?.bundleUrl || ''
5
4
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
6
5
  result = modularPackResult?.bundleUrlV2 || ''
7
6
  }
8
7
  console.log(
9
8
  'getBundleUrl taroRenderVersion:' +
10
9
  window?.taroRenderVersion +
11
10
  ',bundleUrl:' +
12
11
  result,
13
12
  )
14
13
  return result
15
14
  let result = modularPackResult?.bundleFileName || ''
16
15
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
17
16
  result = modularPackResult?.bundleFileNameV2 || ''
18
17
  }
19
18
  console.log(
20
19
  'getBundleUrl taroRenderVersion:' +
21
20
  window?.taroRenderVersion +
22
21
  ',bundleFileName:' +
23
22
  result,
24
23
  )
25
24
  return result
26
25
  if (typeof modularPackResult === 'string') {
27
26
  try {
28
27
  return JSON.parse(modularPackResult)
29
28
  } catch (e) {
30
29
  console.error('JSON解析失败', e)
31
30
  return {}
32
31
  }
33
32
  }
34
33
  return modularPackResult || {}
34
+ export enum TaroRenderVersion {
35
35
  VERSION_OLD = 0,
36
36
  VERSION_NEW = 1,
37
37
  let result = modularPackResult?.bundleUrl || ''
38
38
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
39
39
  result = modularPackResult?.bundleUrlV2 || ''
40
40
  }
41
41
  return result
42
42
  let result = modularPackResult?.bundleFileName || ''
43
43
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
44
44
  result = modularPackResult?.bundleFileNameV2 || ''
45
45
  }
46
46
  return result
47
47
  let result = modularPackResult?.taroVersion || ''
48
48
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
49
49
  result = modularPackResult?.taroVersionV2 || ''
50
50
  }
51
51
  console.log(
52
52
  'getTaroVersion taroRenderVersion:' +
53
53
  window?.taroRenderVersion +
54
54
  ',taroVersion:' +
55
55
  result,
56
56
  )
57
57
  return result
58
58
  if (typeof modularPackResult === 'string') {
59
59
  try {
60
60
  return JSON.parse(modularPackResult)
61
61
  } catch (e) {
62
62
  console.error('JSON解析失败', e)
63
63
  return {}
64
64
  }
65
65
  }
66
66
  return modularPackResult || {}