@conecli/cone-render 0.8.19 → 0.8.20-beta.2

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 (183) hide show
  1. package/README.md +7 -1
  2. package/dist/api/index.ts +1 -1
  3. package/dist/assets/icon_blue_info.svg +1 -0
  4. package/dist/common/const.ts +1 -1
  5. package/dist/common/environmentType.ts +1 -0
  6. package/dist/common/index.h5.ts +1 -1
  7. package/dist/common/index.jd.ts +1 -1
  8. package/dist/common/index.ts +1 -1
  9. package/dist/common/index.weapp.ts +1 -1
  10. package/dist/common/isvStorage/index.h5.ts +1 -0
  11. package/dist/common/isvStorage/index.ts +1 -0
  12. package/dist/common/jdplayerSdk.ts +1 -0
  13. package/dist/common/jssdk.ts +1 -0
  14. package/dist/common/pageType.ts +1 -0
  15. package/dist/common/sgmCustomCode.ts +1 -0
  16. package/dist/common/token/const.ts +1 -0
  17. package/dist/common/token/index.h5.ts +1 -0
  18. package/dist/common/token/index.ts +1 -0
  19. package/dist/common/token/token.jd.ts +1 -0
  20. package/dist/common/token/token.ts +1 -0
  21. package/dist/common/token/token.wxapp.ts +1 -0
  22. package/dist/common/wxappApi.jd.ts +1 -0
  23. package/dist/common/wxappApi.ts +1 -1
  24. package/dist/components/ErrorBoundary.tsx +1 -1
  25. package/dist/components/base/CommonFloorHead/index.module.scss +126 -111
  26. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  27. package/dist/components/base/CountDown/index.module.scss +49 -44
  28. package/dist/components/base/CountDown/index.tsx +1 -1
  29. package/dist/components/base/CustomScrollView/index.jd.tsx +1 -0
  30. package/dist/components/base/CustomScrollView/index.module.scss +7 -0
  31. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  32. package/dist/components/base/CustomVideo/common.ts +1 -0
  33. package/dist/components/base/CustomVideo/const.ts +1 -0
  34. package/dist/components/base/CustomVideo/index.module.scss +40 -64
  35. package/dist/components/base/CustomVideo/index.tsx +1 -1
  36. package/dist/components/base/Dialog/index.module.scss +22 -2
  37. package/dist/components/base/Dialog/index.tsx +1 -1
  38. package/dist/components/base/Exposure/index.h5.tsx +1 -1
  39. package/dist/components/base/ExposureSmart/const.ts +1 -0
  40. package/dist/components/base/ExposureSmart/index.h5.module.scss +30 -6
  41. package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
  42. package/dist/components/base/ExposureSmart/index.module.scss +20 -9
  43. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  44. package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
  45. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  46. package/dist/components/base/InViewRender/index.tsx +1 -1
  47. package/dist/components/base/InViewRender/index.weapp.tsx +1 -1
  48. package/dist/components/base/ItemViewExposureSmart/index.module.scss +8 -0
  49. package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -0
  50. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  51. package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
  52. package/dist/components/base/LazyLoadImage/const.ts +1 -1
  53. package/dist/components/base/LazyLoadImage/index.h5.module.scss +24 -20
  54. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  55. package/dist/components/base/MobileCommonHeader/index.module.scss +17 -0
  56. package/dist/components/base/MobileCommonHeader/index.tsx +1 -0
  57. package/dist/components/base/NetworkDataError/const.ts +1 -1
  58. package/dist/components/base/NetworkDataError/index.module.scss +128 -69
  59. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  60. package/dist/components/base/Price/{const.ts → Base/const.ts} +0 -0
  61. package/dist/components/base/Price/Base/index.module.scss +148 -0
  62. package/dist/components/base/Price/Base/index.tsx +1 -0
  63. package/dist/components/base/Price/Double/index.module.scss +190 -0
  64. package/dist/components/base/Price/Double/index.tsx +1 -0
  65. package/dist/components/base/Price/index.tsx +1 -1
  66. package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
  67. package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
  68. package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
  69. package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
  70. package/dist/components/base/Skeleton/index.tsx +1 -1
  71. package/dist/components/debug/DebugLayout/index.module.scss +67 -0
  72. package/dist/components/debug/DebugLayout/index.tsx +1 -0
  73. package/dist/components/debug/DebugLayout/utils.ts +1 -0
  74. package/dist/components/decorate/DecorateFloorModule/index.module.scss +32 -2
  75. package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
  76. package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
  77. package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
  78. package/dist/components/floorItem.jd.tsx +1 -0
  79. package/dist/components/floorItem.tsx +1 -1
  80. package/dist/components/floorItem.weapp.tsx +1 -1
  81. package/dist/components/isv/Floor/index.tsx +1 -1
  82. package/dist/components/remoteFloorItem.tsx +1 -0
  83. package/dist/interface/common.ts +1 -1
  84. package/dist/interface/component.ts +1 -1
  85. package/dist/interface/jumpEventReport.ts +1 -1
  86. package/dist/interface/service.ts +1 -1
  87. package/dist/interface/utils.ts +1 -1
  88. package/dist/jumpEventReport/base.ts +1 -1
  89. package/dist/jumpEventReport/const.ts +1 -1
  90. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  91. package/dist/jumpEventReport/index.h5.ts +1 -1
  92. package/dist/jumpEventReport/index.jd.ts +1 -1
  93. package/dist/jumpEventReport/index.ts +1 -1
  94. package/dist/jumpEventReport/index.weapp.ts +1 -1
  95. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  96. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  97. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  98. package/dist/jumpEventReport/web/report.ts +1 -1
  99. package/dist/jumpEventReport/web.base.ts +1 -1
  100. package/dist/jumpEventReport/web.jd.ts +1 -1
  101. package/dist/jumpEventReport/web.jdb.ts +1 -0
  102. package/dist/jumpEventReport/web.jdjch.ts +1 -0
  103. package/dist/jumpEventReport/web.jxwxapp.ts +1 -0
  104. package/dist/jumpEventReport/web.pc.ts +1 -0
  105. package/dist/jumpEventReport/web.tjapp.ts +1 -0
  106. package/dist/jumpEventReport/web.tjm.ts +1 -0
  107. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  108. package/dist/language/en_US.json +231 -0
  109. package/dist/language/zh_CN.json +231 -0
  110. package/dist/language/zh_HK.json +231 -0
  111. package/dist/libs/taroAppReport.js +2 -2
  112. package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -27
  113. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  114. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  115. package/dist/open/api/device.ts +1 -1
  116. package/dist/open/api/environment.ts +1 -1
  117. package/dist/open/api/index.ts +1 -1
  118. package/dist/open/api/jump/business.ts +1 -0
  119. package/dist/open/api/jump/index.ts +1 -0
  120. package/dist/open/api/jump/minPath.ts +1 -0
  121. package/dist/open/api/jump/side.ts +1 -0
  122. package/dist/open/api/jump/webUrl.ts +1 -0
  123. package/dist/open/api/jump copy.ts +1 -0
  124. package/dist/open/api/moduleUtil.ts +1 -1
  125. package/dist/open/api/request.ts +1 -0
  126. package/dist/open/api/shopMember.ts +1 -0
  127. package/dist/open/api/track.ts +1 -1
  128. package/dist/open/api/userToken.ts +1 -0
  129. package/dist/open/api/util.ts +1 -1
  130. package/dist/open/components/index.ts +1 -1
  131. package/dist/sass/app.h5.scss +294 -212
  132. package/dist/sass/base.scss +195 -137
  133. package/dist/service/bMallConst.ts +1 -0
  134. package/dist/service/bMallConst.weapp.ts +1 -0
  135. package/dist/service/fetchGateway.ts +1 -0
  136. package/dist/service/fetchGateway.weapp.ts +1 -0
  137. package/dist/service/fetchJsonp.ts +1 -0
  138. package/dist/service/http/colorSign.ts +1 -0
  139. package/dist/service/http/colorSign.weapp.ts +1 -0
  140. package/dist/service/http/const.ts +1 -0
  141. package/dist/service/http/h5Http.ts +1 -0
  142. package/dist/service/http/http.ts +1 -0
  143. package/dist/service/http/httpInterceptors.jd.ts +1 -0
  144. package/dist/service/http/httpInterceptors.ts +1 -0
  145. package/dist/service/http/index.h5.ts +1 -0
  146. package/dist/service/http/index.ts +1 -0
  147. package/dist/service/requestServer.h5.ts +1 -0
  148. package/dist/service/requestServer.ts +1 -0
  149. package/dist/service/requestServer.weapp.ts +1 -0
  150. package/dist/utils/connectNativeJsBridge.ts +1 -1
  151. package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
  152. package/dist/utils/draExceptionAndProfile.ts +1 -1
  153. package/dist/utils/h5Utils.ts +1 -1
  154. package/dist/utils/index.h5.ts +1 -1
  155. package/dist/utils/index.ts +1 -1
  156. package/dist/utils/index.weapp.ts +1 -1
  157. package/dist/utils/intersectionObserver.ts +1 -1
  158. package/dist/utils/jm-common.js +1 -1
  159. package/dist/utils/jumpExtMapUtil.h5.ts +1 -0
  160. package/dist/utils/jumpExtMapUtil.ts +1 -0
  161. package/dist/utils/priceUtils.js +1 -0
  162. package/dist/utils/ready.ts +1 -0
  163. package/dist/utils/sColor.js +1 -0
  164. package/dist/utils/sgmCodeUtils.ts +1 -0
  165. package/dist/utils/taroRenderUtil.ts +1 -0
  166. package/dist/utils/utils.ts +1 -1
  167. package/dist/wxapp/api/helper.js +1 -0
  168. package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
  169. package/dist/wxapp/common/user_info.js +1 -1
  170. package/dist/wxapp/components/launch-app/index.js +1 -0
  171. package/dist/wxapp/components/launch-app/index.json +5 -0
  172. package/dist/wxapp/components/launch-app/index.wxml +0 -0
  173. package/dist/wxapp/components/launch-app/index.wxss +0 -0
  174. package/dist/wxapp/components/subscribe-guider/helper.js +1 -0
  175. package/dist/wxapp/components/subscribe-guider/index.js +1 -0
  176. package/dist/wxapp/components/subscribe-guider/index.json +5 -0
  177. package/dist/wxapp/components/subscribe-guider/index.wxml +0 -0
  178. package/dist/wxapp/components/subscribe-guider/index.wxss +0 -0
  179. package/package.json +145 -114
  180. package/dist/components/base/Price/index.module.scss +0 -136
  181. package/dist/components/base/Skeleton/old.tsx +0 -1
  182. package/dist/customHooks/useDocumentVisibilitychange.ts +0 -1
  183. package/dist/open/api/jump.ts +0 -1
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro';
2
2
  entrance: 'shop-page-tab',
3
3
  moduleId: 'shop-modular-floor',
4
4
 
5
5
  jdJumpToProduct(skuIds, logEventInfo, otherParams = {}) {
6
6
  skuIds = skuIds.toString().trim();
7
7
  const getSkuId = skuIds.indexOf(',') !== -1 ? skuIds.split(',')[0] : skuIds;
8
8
  const openAppParam = {
9
9
  category: 'jump',
10
10
  des: 'productDetail',
11
11
  skuId: getSkuId,
12
12
  logEventInfo,
13
13
  ...otherParams,
14
14
  };
15
15
  const adInfos = getAdInfoBySkuId(getSkuId);
16
16
  if (adInfos) {
17
17
  openAppParam.pdExtFlag = {
18
18
  adInfos,
19
19
  };
20
20
  }
21
21
  this.jdNavigateToNative(openAppParam);
22
22
  }
23
23
 
24
24
  jdJumpSkuInfoToProduct(skuInfo: any = {}, logEventInfo) {
25
25
  const getSkuId = skuInfo?.skuId;
26
26
  this.jdJumpToProduct(getSkuId, logEventInfo);
27
27
  }
28
28
 
29
29
  jdJumpToShopCategory(shopInfo = {}) {
30
30
  console.log(
31
31
  '🚀 ~ file: jdJumpJdApp.ts:40 ~ JdJumpJdApp ~ jdJumpToShopCategory ~ shopInfo:',
32
32
  shopInfo,
33
33
  );
34
34
  console.log('[降级H5] jdJumpToShopCategory jdJumpJdApp');
35
35
  this.jdNavigateToNative(
36
36
  Object.assign(
37
37
  {},
38
38
  {
39
39
  category: 'jump',
40
40
  des: 'jshopMain',
41
41
  jumpBottomTab: 'category',
42
42
  },
43
43
  shopInfo,
44
44
  {
45
45
  shopId: String(shopInfo.shopId ?? ''),
46
46
  venderId: String(shopInfo.venderId ?? ''),
47
47
  },
48
48
  ),
49
49
  );
50
50
  }
51
51
 
52
52
  jdJumpToOrderInfoView(skuInfos, logEventInfo) {
53
53
  if (!skuInfos || !Array.isArray(skuInfos) || skuInfos.length <= 0) {
54
54
  console.log('skuInfos 参数错误,必须为非空数组');
55
55
  return null;
56
56
  }
57
57
  const isValid = skuInfos.every(
58
58
  (item) =>
59
59
  item &&
60
60
  typeof item === 'object' &&
61
61
  item !== null &&
62
62
  'skuId' in item &&
63
63
  'num' in item &&
64
64
  typeof item.skuId === 'string' &&
65
65
  typeof item.num === 'number',
66
66
  );
67
67
  if (!isValid) {
68
68
  console.log('skuInfos 格式错误:每个item必须是对象且包含 skuId(string) 和 num(number) 属性');
69
69
  return null;
70
70
  }
71
71
  const skuItems = skuInfos.map((sku) => {
72
72
  sku['itemType'] = 1;
73
73
  return sku;
74
74
  });
75
75
  const extFlag = {
76
76
  cartValue: '1',
77
77
  skuItems,
78
78
  };
79
79
  this.jdNavigateToNative({
80
80
  category: 'jump',
81
81
  des: 'orderInfoView',
82
82
  skuSource: 176,
83
83
  sourceType: 7,
84
84
  extFlag: JSON.stringify(extFlag),
85
85
  logEventInfo,
86
86
  });
87
87
  }
88
88
 
89
89
  jdJumpToTryDetail(tryId) {
90
90
  this.jdNavigateToNative({
91
91
  category: 'jump',
92
92
  des: 'jdreactcommon',
93
93
  appname: 'JDReactNewProduct',
94
94
  modulename: 'JDReactNewProduct',
95
95
  param: {
96
96
  activityId: tryId,
97
97
  isNative: true,
98
98
  nativePage: 'jdtry_detail',
99
99
  transparentenable: true,
100
100
  },
101
101
  });
102
102
  }
103
103
 
104
104
  jdJumpToShopHome(shopInfo: JumpEventReportInterFace.ShopIdsInfo = {}) {
105
105
  console.log('[降级H5] jdJumpToShopHome jdJumpJdApp');
106
106
  const currentShopInfo = {
107
107
  shopId: global.info.queryInfo.shopId,
108
108
  venderId: global.info.queryInfo.venderId,
109
109
  };
110
110
  const restParams =
111
111
  (shopInfo?.shopId && shopInfo.shopId !== currentShopInfo.shopId) ||
112
112
  (shopInfo?.venderId && shopInfo.venderId !== currentShopInfo.venderId)
113
113
  ? {}
114
114
  : currentShopInfo;
115
115
  const getInfo = Object.assign({}, restParams, shopInfo);
116
116
  const getShopParams = this.getShopIdsInfo(getInfo);
117
117
  this.jdJumpToShopBase(getShopParams);
118
118
  }
119
119
 
120
120
  jdJumpToShopHomeInner(shopInfo: JumpEventReportInterFace.ShopIdsInfo = {}) {
121
121
  const getParam = Object.assign(
122
122
  {},
123
123
  {
124
124
  jumpTab: HOME_TOP_TAB_TYPE_APP.HOME,
125
125
  operation: 'jumpTabInner',
126
126
  },
127
127
  shopInfo,
128
128
  );
129
129
  this.jdJumpToShopBase(getParam);
130
130
  }
131
131
 
132
132
  jdJumpToUnifieddetail(sourceInfo) {
133
133
  this.jdNavigateToNative(
134
134
  Object.assign(
135
135
  {},
136
136
  {
137
137
  category: 'jump',
138
138
  des: 'unifieddetail',
139
139
  },
140
140
  sourceInfo,
141
141
  ),
142
142
  );
143
143
  }
144
144
 
145
145
  jdJumpToVideoImmersion(sourceInfo) {
146
146
  this.jdNavigateToNative(
147
147
  Object.assign(
148
148
  {},
149
149
  {
150
150
  category: 'jump',
151
151
  des: 'VideoImmersion',
152
152
  },
153
153
  sourceInfo,
154
154
  ),
155
155
  );
156
156
  }
157
157
 
158
158
  jdJumpToShopMember(shopInfo) {
159
159
  this.jdNavigateToNative(
160
160
  Object.assign(
161
161
  {},
162
162
  {
163
163
  category: 'jump',
164
164
  des: 'jshopMember',
165
165
  followAward: '-1',
166
166
  },
167
167
  shopInfo,
168
168
  ),
169
169
  );
170
170
  }
171
171
 
172
172
  jdJumpToMemberTab(shopInfo?) {
173
173
  this.jdNavigateToNative(
174
174
  Object.assign(
175
175
  {},
176
176
  {
177
177
  category: 'jump',
178
178
  des: 'jshopMain',
179
179
  shopId: global.info.queryInfo.shopId,
180
180
  venderId: global.info.queryInfo.venderId,
181
181
  operation: 'jumpBottomTabMember',
182
182
  sourceInfo: APP_SOURCE_INFO,
183
183
  },
184
184
  shopInfo,
185
185
  ),
186
186
  );
187
187
  }
188
188
 
189
189
  jdJumpToDongDongChatGroup(groupId, source = 'jdmini') {
190
190
  this.jdNavigateToNative({
191
191
  category: 'jump',
192
192
  des: 'dongdong_group_chat',
193
193
  source: source,
194
194
  groupId: `${groupId}`,
195
195
  });
196
196
  }
197
197
 
198
198
  jdJumpToDongDongChat(paramInfo: any = {}) {
199
199
  const { venderId, ...otherParams } = paramInfo;
200
200
  this.jdNavigateToNative(
201
201
  Object.assign(
202
202
  {},
203
203
  {
204
204
  category: 'jump',
205
205
  des: 'jd_dongdong_chat',
206
206
  venderId: `${venderId ? venderId : global.info.queryInfo?.venderId}`,
207
207
  entry: 'm_shop',
208
208
  },
209
209
  otherParams,
210
210
  ),
211
211
  );
212
212
  }
213
213
 
214
214
  jdJumpToShopActivity(shopInfo) {
215
215
  const getParams = Object.assign(
216
216
  {},
217
217
  {
218
218
  category: 'jump',
219
219
  des: 'jshopActivity',
220
220
  shopId: global.info.queryInfo.shopId,
221
221
  venderId: global.info.queryInfo.venderId,
222
222
  },
223
223
  shopInfo,
224
224
  );
225
225
  getParams['projectId'] && (getParams['projectId'] = `${getParams['projectId']}`);
226
226
  this.jdNavigateToNative(getParams);
227
227
  }
228
228
 
229
229
  jdJumpToShopActivityPage(shopInfo) {
230
230
  this.jdNavigateToNative(
231
231
  Object.assign(
232
232
  {},
233
233
  {
234
234
  category: 'jump',
235
235
  des: 'jshopActivityPage',
236
236
  shopId: global.info.queryInfo.shopId,
237
237
  title: global.info.queryInfo?.shopName,
238
238
  },
239
239
  shopInfo,
240
240
  ),
241
241
  );
242
242
  }
243
243
 
244
244
  jdJumpToShopDetail(shopInfo) {
245
245
  this.jdNavigateToNative(
246
246
  Object.assign(
247
247
  {},
248
248
  {
249
249
  category: 'jump',
250
250
  des: 'jshopDetail',
251
251
  shopId: global.info.queryInfo.shopId,
252
252
  venderId: global.info.queryInfo.venderId,
253
253
  sourceInfo: APP_SOURCE_INFO,
254
254
  },
255
255
  shopInfo,
256
256
  ),
257
257
  );
258
258
  }
259
259
 
260
260
  jdJumpToShopMemberCard(shopInfo) {
261
261
  const { url, logEventInfo } = shopInfo;
262
262
  if (this.isOpenJdAppUrl(url)) {
263
263
  const getOpenAppParams = this.jdOpenAppParams(url);
264
264
  console.log('jd web 获取自定义openApp链接解析后的参数结果', getOpenAppParams);
265
265
  if (getOpenAppParams) {
266
266
  this.jdNavigateToNative(Object.assign({}, getOpenAppParams, { logEventInfo }));
267
267
  }
268
268
  } else {
269
269
  super.jdJumpToWeb(url, {
270
270
  ...logEventInfo,
271
271
  });
272
272
  }
273
273
  }
274
274
 
275
275
  jdJumpToTotalPromotion(shopInfo) {
276
276
  const { url, logEventInfo } = shopInfo;
277
277
  if (this.isOpenJdAppUrl(url)) {
278
278
  const getOpenAppParams = this.jdOpenAppParams(url);
279
279
  console.log('jd web 获取自定义openApp链接解析后的参数结果', getOpenAppParams);
280
280
  if (getOpenAppParams) {
281
281
  this.jdNavigateToNative(Object.assign({}, getOpenAppParams, { logEventInfo }));
282
282
  }
283
283
  } else {
284
284
  super.jdJumpToWeb(url, {
285
285
  ...logEventInfo,
286
286
  });
287
287
  }
288
288
  }
289
289
 
290
290
  jdJumpToShopSearch(pageInfo = {}) {
291
291
  const getInfo = Object.assign(
292
292
  {},
293
293
  {
294
294
  shopId: global.info.queryInfo.shopId,
295
295
  venderId: global.info.queryInfo.venderId,
296
296
  sourceInfo: APP_SOURCE_INFO,
297
297
  },
298
298
  pageInfo,
299
299
  );
300
300
  const { keyword = '', categoryId = '', ...otherPageInfo }: any = getInfo;
301
301
  const searchInfo = {};
302
302
  if (categoryId !== '') {
303
303
  searchInfo['categoryId'] = typeof categoryId === 'string' ? categoryId?.trim() : categoryId;
304
304
  searchInfo['searchType'] = '5';
305
305
  } else if (keyword !== '') {
306
306
  searchInfo['keyWord'] = keyword;
307
307
  searchInfo['searchType'] = '4';
308
308
  }
309
309
  const openAppParam = {
310
310
  category: 'jump',
311
311
  des: 'jshopProductList',
312
312
  pageId: '1',
313
313
  ...searchInfo,
314
314
  };
315
315
  const jumpExtMap = getEnterShopExtInfo();
316
316
  if (jumpExtMap) {
317
317
  openAppParam.jumpExtMap = jumpExtMap;
318
318
  }
319
319
  this.jdNavigateToNative(Object.assign({}, openAppParam, otherPageInfo));
320
320
  }
321
321
 
322
322
  jdJumpToOrderList(logEventInfo = {}) {
323
323
  this.jdNavigateToNative(
324
324
  Object.assign(
325
325
  {},
326
326
  {
327
327
  category: 'jump',
328
328
  des: 'orderlist',
329
329
  from: 'dphycc',
330
330
  },
331
331
  logEventInfo,
332
332
  ),
333
333
  );
334
334
  }
335
335
 
336
336
  jdJumpToCouponSearchProductList(couponId, logEventInfo = {}) {
337
337
  this.jdNavigateToNative(
338
338
  Object.assign(
339
339
  {},
340
340
  {
341
341
  category: 'jump',
342
342
  des: 'productList',
343
343
  from: 'couponBatch',
344
344
  couponId: `${couponId}`,
345
345
  logEventInfo,
346
346
  },
347
347
  ),
348
348
  );
349
349
  }
350
350
 
351
351
  jdJumpToTabAllProduct(shopId, venderId, logEventInfo = {}) {
352
352
  console.log('jdJumpJdApp - jdJumpToTabAllProduct');
353
353
  if (typeof shopId === 'undefined') shopId = global.info.queryInfo.shopId;
354
354
  if (typeof venderId === 'undefined') venderId = global.info.queryInfo.venderId;
355
355
  this.jdNavigateToNative(
356
356
  Object.assign(
357
357
  {},
358
358
  {
359
359
  category: 'jump',
360
360
  des: 'jshopMain',
361
361
  jumpTab: 'allProduct',
362
362
  },
363
363
  shopId !== 'undefined'
364
364
  ? {
365
365
  shopId,
366
366
  }
367
367
  : {},
368
368
  venderId !== 'undefined'
369
369
  ? {
370
370
  venderId,
371
371
  }
372
372
  : {},
373
373
  {
374
374
  logEventInfo,
375
375
  },
376
376
  ),
377
377
  );
378
378
  }
379
379
 
380
380
  jdJumpToTabAllProductInner(shopId, venderId, logEventInfo = {}) {
381
381
  if (typeof shopId === 'undefined') shopId = global.info.queryInfo.shopId;
382
382
  if (typeof venderId === 'undefined') venderId = global.info.queryInfo.venderId;
383
383
  this.jdNavigateToNative(
384
384
  Object.assign(
385
385
  {},
386
386
  {
387
387
  category: 'jump',
388
388
  des: 'jshopMain',
389
389
  jumpTab: 'allProduct',
390
390
  operation: 'jumpTabInner',
391
391
  },
392
392
  shopId !== 'undefined'
393
393
  ? {
394
394
  shopId,
395
395
  }
396
396
  : {},
397
397
  venderId !== 'undefined'
398
398
  ? {
399
399
  venderId,
400
400
  }
401
401
  : {},
402
402
  {
403
403
  logEventInfo,
404
404
  },
405
405
  ),
406
406
  );
407
407
  }
408
408
 
409
409
  jdJumpToShopBase(shopInfo) {
410
410
  console.log('[降级H5] jdJumpToShopBase jdJumpJdApp');
411
411
  const currentShopInfo = {
412
412
  shopId: global.info.queryInfo.shopId,
413
413
  venderId: global.info.queryInfo.venderId,
414
414
  };
415
415
  const restParams =
416
416
  (shopInfo?.shopId && shopInfo.shopId !== currentShopInfo.shopId) ||
417
417
  (shopInfo?.venderId && shopInfo.venderId !== currentShopInfo.venderId)
418
418
  ? {}
419
419
  : currentShopInfo;
420
420
  const getParam = Object.assign(
421
421
  {},
422
422
  {
423
423
  category: 'jump',
424
424
  des: 'jshopMain',
425
425
  jumpTab: HOME_TOP_TAB_TYPE_APP.HOME,
426
426
  ...restParams,
427
427
  sourceInfo: APP_SOURCE_INFO,
428
428
  },
429
429
  shopInfo,
430
430
  );
431
431
  this.jdNavigateToNative(getParam);
432
432
  }
433
433
 
434
434
  jdJumpToTabNew(shopInfo = {}) {
435
435
  const getParam = Object.assign(
436
436
  {},
437
437
  {
438
438
  jumpTab: HOME_TOP_TAB_TYPE_APP.NEW,
439
439
  },
440
440
  shopInfo,
441
441
  );
442
442
  this.jdJumpToShopBase(getParam);
443
443
  }
444
444
 
445
445
  jdJumpToTabNewInner(shopInfo = {}) {
446
446
  const getParam = Object.assign(
447
447
  {},
448
448
  {
449
449
  jumpTab: HOME_TOP_TAB_TYPE_APP.NEW,
450
450
  operation: 'jumpTabInner',
451
451
  },
452
452
  shopInfo,
453
453
  );
454
454
  this.jdJumpToShopBase(getParam);
455
455
  }
456
456
  jdJumpToTabRank(shopInfo = {}) {
457
457
  const getParam = Object.assign(
458
458
  {},
459
459
  {
460
460
  jumpTab: HOME_TOP_TAB_TYPE_APP.RANK,
461
461
  },
462
462
  shopInfo,
463
463
  );
464
464
  this.jdJumpToShopBase(getParam);
465
465
  }
466
466
  jdJumpToTabRankInner(shopInfo = {}) {
467
467
  const getParam = Object.assign(
468
468
  {},
469
469
  {
470
470
  jumpTab: HOME_TOP_TAB_TYPE_APP.RANK,
471
471
  operation: 'jumpTabInner',
472
472
  },
473
473
  shopInfo,
474
474
  );
475
475
  this.jdJumpToShopBase(getParam);
476
476
  }
477
477
  jdJumpToTabBuyerShow(shopInfo = {}) {
478
478
  const getParam = Object.assign(
479
479
  {},
480
480
  {
481
481
  jumpTab: HOME_TOP_TAB_TYPE_APP.BUYERSHOW,
482
482
  },
483
483
  shopInfo,
484
484
  );
485
485
  this.jdJumpToShopBase(getParam);
486
486
  }
487
487
  jdJumpToTabBuyerShowInner(shopInfo = {}) {
488
488
  const getParam = Object.assign(
489
489
  {},
490
490
  {
491
491
  jumpTab: HOME_TOP_TAB_TYPE_APP.BUYERSHOW,
492
492
  operation: 'jumpTabInner',
493
493
  },
494
494
  shopInfo,
495
495
  );
496
496
  this.jdJumpToShopBase(getParam);
497
497
  }
498
498
  jdJumpToTabActivity(shopInfo = {}) {
499
499
  const getParam = Object.assign(
500
500
  {},
501
501
  {
502
502
  jumpTab: HOME_TOP_TAB_TYPE_APP.ACTIVITY,
503
503
  },
504
504
  shopInfo,
505
505
  );
506
506
  this.jdJumpToShopBase(getParam);
507
507
  }
508
508
  jdJumpToTabActivityInner(shopInfo = {}) {
509
509
  const getParam = Object.assign(
510
510
  {},
511
511
  {
512
512
  jumpTab: HOME_TOP_TAB_TYPE_APP.ACTIVITY,
513
513
  operation: 'jumpTabInner',
514
514
  },
515
515
  shopInfo,
516
516
  );
517
517
  this.jdJumpToShopBase(getParam);
518
518
  }
519
519
  jdJumpToTabSecKill(shopInfo = {}) {
520
520
  const getParam = Object.assign(
521
521
  {},
522
522
  {
523
523
  jumpTab: HOME_TOP_TAB_TYPE_APP.SECKILL,
524
524
  },
525
525
  shopInfo,
526
526
  );
527
527
  this.jdJumpToShopBase(getParam);
528
528
  }
529
529
  jdJumpToTabSecKillInner(shopInfo = {}) {
530
530
  const getParam = Object.assign(
531
531
  {},
532
532
  {
533
533
  jumpTab: HOME_TOP_TAB_TYPE_APP.SECKILL,
534
534
  operation: 'jumpTabInner',
535
535
  },
536
536
  shopInfo,
537
537
  );
538
538
  this.jdJumpToShopBase(getParam);
539
539
  }
540
540
 
541
541
  jdJumpToBottomTabBase(type, shopInfo = {}) {
542
542
  this.jdNavigateToNative(
543
543
  Object.assign(
544
544
  {},
545
545
  {
546
546
  category: 'jump',
547
547
  des: 'jshopMain',
548
548
  shopId: global.info.queryInfo.shopId,
549
549
  venderId: global.info.queryInfo.venderId,
550
550
  jumpBottomTab: type,
551
551
  sourceInfo: APP_SOURCE_INFO,
552
552
  },
553
553
  shopInfo,
554
554
  ),
555
555
  );
556
556
  }
557
557
 
558
558
  jdJumpToBottomTabProduct(shopInfo = {}) {
559
559
  this.jdJumpToBottomTabBase(BOTTOM_TAB_TYPE_APP.PRODUCT, shopInfo);
560
560
  }
561
561
 
562
562
  jdJumpToBottomTabCategory(shopInfo = {}) {
563
563
  this.jdJumpToBottomTabBase(BOTTOM_TAB_TYPE_APP.CATEGORY, shopInfo);
564
564
  }
565
565
 
566
566
  jdJumpToBottomTabFind(shopInfo = {}) {
567
567
  this.jdJumpToBottomTabBase(BOTTOM_TAB_TYPE_APP.FIND, shopInfo);
568
568
  }
569
569
 
570
570
  jdJumpToBottomTabBrandMember(shopInfo = {}) {
571
571
  this.jdJumpToBottomTabBase(BOTTOM_TAB_TYPE_APP.BRANDMEMBER, shopInfo);
572
572
  }
573
573
 
574
574
  jdJumpToBottomTabBrandMemberInner(shopInfo = {}) {
575
575
  this.jdJumpToMemberTab(shopInfo);
576
576
  }
577
577
 
578
578
  jdJumpToWeb(
579
579
  url,
580
580
  logEventInfo,
581
581
  successBack?: functionType | undefined,
582
582
  failBack?: functionType | undefined,
583
583
  ) {
584
584
  const changeUrl = /^\/\//.test(url) ? `https:${url}` : url;
585
585
  this.jdNavigateToNative(
586
586
  {
587
587
  category: 'jump',
588
588
  des: 'm',
589
589
  url: encodeURIComponent(changeUrl),
590
590
  logEventInfo,
591
591
  },
592
592
  OpenAppHost,
593
593
  successBack,
594
594
  failBack,
595
595
  );
596
596
  }
597
597
 
598
598
  jdJumpToLive(clickUrlOrObj, logEventInfo) {
599
599
  if (typeof clickUrlOrObj === 'object') {
600
600
  this.jdNavigateToNative({
601
601
  category: 'jump',
602
602
  des: 'LivePlayerRoom',
603
603
  liveOrigin: '1',
604
604
  needLogin: '0',
605
605
  isNeedVideo: true,
606
606
  logEventInfo,
607
607
  ...clickUrlOrObj,
608
608
  });
609
609
  } else {
610
610
  const getShopLiveParams = this.jdOpenAppParams(clickUrlOrObj);
611
611
  console.log('getShopLiveParams=====', getShopLiveParams);
612
612
  if (typeof getShopLiveParams === 'object') {
613
613
  this.jdNavigateToNative({
614
614
  ...getShopLiveParams,
615
615
  logEventInfo,
616
616
  });
617
617
  }
618
618
  }
619
619
  }
620
620
 
621
621
  jdJumpToUgcContent(urlObj, logEventInfo = {}) {
622
622
  if (typeof urlObj === 'object') {
623
623
  this.jdNavigateToNative({
624
624
  category: 'jump',
625
625
  des: 'shareOrderUgcContent',
626
626
  channel: 'shopshangxin',
627
627
  cmtType: '10',
628
628
  isNeedVideo: true,
629
629
  ...urlObj,
630
630
  logEventInfo,
631
631
  });
632
632
  } else {
633
633
  const getShopUgcParams = this.jdOpenAppParams(urlObj);
634
634
  if (getShopUgcParams) {
635
635
  getShopUgcParams['logEventInfo'] = logEventInfo;
636
636
  console.log('getShopUgcParams=====', getShopUgcParams);
637
637
  getShopUgcParams && this.jdNavigateToNative(getShopUgcParams as string);
638
638
  }
639
639
  }
640
640
  }
641
641
 
642
642
  jdJumpToSeckillNewBrand(brandId) {
643
643
  this.jdNavigateToNative({
644
644
  category: 'jump',
645
645
  des: 'seckillnewbrand',
646
646
  brandId: `${brandId}`,
647
647
  });
648
648
  }
649
649
 
650
650
  jdJumpToJshopDynamicDetail(info) {
651
651
  this.jdNavigateToNative({
652
652
  category: 'jump',
653
653
  des: 'jshopDynamicDetail',
654
654
  shopId: global.info.queryInfo.shopId,
655
655
  venderId: global.info.queryInfo.venderId,
656
656
  ...info,
657
657
  });
658
658
  }
659
659
 
660
660
  jdJumpToRankList(rankingId, rankType, logEventInfo) {
661
661
  this.jdNavigateToNative(
662
662
  Object.assign(
663
663
  {},
664
664
  {
665
665
  category: 'jump',
666
666
  des: 'jdreactcommon',
667
667
  modulename: 'JDReactRankingList',
668
668
  appname: 'JDReactRankingList',
669
669
  transparentenable: true,
670
670
  ishidden: true,
671
671
  param: {
672
672
  contentId: '' + rankingId,
673
673
  fromSkuId: '',
674
674
  detailPageType: '5',
675
675
  rankType: rankType || 10 + '',
676
676
  },
677
677
  logEventInfo,
678
678
  },
679
679
  ),
680
680
  );
681
681
  }
682
682
 
683
683
  jdJumpToFlashSaleTab(logEventInfo) {
684
684
  this.jdNavigateToNative(
685
685
  Object.assign(
686
686
  {},
687
687
  {
688
688
  category: 'jump',
689
689
  des: 'jshopMain',
690
690
  jumpTab: 'flashPurchase',
691
691
  shopId: global.info.queryInfo.shopId,
692
692
  venderId: global.info.queryInfo.venderId,
693
693
  sourceType: 'JDReactShopActivityTAB',
694
694
  sourceValue: '2',
695
695
  operation: 'jumpTabInner',
696
696
  logEventInfo,
697
697
  },
698
698
  ),
699
699
  );
700
700
  }
701
701
 
702
702
 
703
703
  jdJumpToShopMemberInfo(logEventInfo) {
704
704
  this.jdNavigateToNative(
705
705
  Object.assign(
706
706
  {},
707
707
  {
708
708
  category: 'jump',
709
709
  des: 'jdreactcommon',
710
710
  modulename: 'JDReactShopMember',
711
711
  appname: 'JDReactShopMember',
712
712
  ishidden: true,
713
713
  param: {
714
714
  page: 'memberInfo',
715
715
  shopId: global.info.queryInfo.shopId,
716
716
  venderId: global.info.queryInfo.venderId,
717
717
  },
718
718
  logEventInfo,
719
719
  },
720
720
  ),
721
721
  );
722
722
  }
723
723
 
724
724
  jdJumpToShopMemberBenefit(logEventInfo) {
725
725
  const venderId = global.info.queryInfo.venderId;
726
726
  const shopId = global.info.queryInfo.shopId;
727
727
  this.jdJumpToWeb(
728
728
  `${this.jumpWebUrl.memberBenefit}?venderId=${venderId}&shopId=${shopId}`,
729
729
  logEventInfo,
730
730
  );
731
731
  }
732
732
 
733
733
  jdJumpToShopMemberPointExchange(venderType, levelZeroMenuUrl, logEventInfo) {
734
734
  this.jdNavigateToNative(
735
735
  Object.assign(
736
736
  {},
737
737
  {
738
738
  category: 'jump',
739
739
  des: 'jdreactcommon',
740
740
  modulename: 'JDReactShopMember',
741
741
  appname: 'JDReactShopMember',
742
742
  ishidden: true,
743
743
  param: {
744
744
  page: 'pointsExchangePage',
745
745
  shopId: global.info.queryInfo.shopId,
746
746
  venderId: global.info.queryInfo.venderId,
747
747
  levelZeroMenuUrl,
748
748
  },
749
749
  logEventInfo,
750
750
  },
751
751
  ),
752
752
  );
753
753
  }
754
754
 
755
755
  jdJumpToShopMemberBonusPurchase(customerLevel, logEventInfo) {
756
756
  this.jdNavigateToNative(
757
757
  Object.assign(
758
758
  {},
759
759
  {
760
760
  category: 'jump',
761
761
  des: 'jdreactcommon',
762
762
  modulename: 'JDReactShopMember',
763
763
  appname: 'JDReactShopMember',
764
764
  ishidden: true,
765
765
  param: {
766
766
  page: 'bonusPurchase',
767
767
  shopId: global.info.queryInfo.shopId,
768
768
  venderId: global.info.queryInfo.venderId,
769
769
  customerLevel,
770
770
  },
771
771
  logEventInfo,
772
772
  },
773
773
  ),
774
774
  );
775
775
  }
776
776
 
777
777
  jdJumpToMyRedEnvelope(logEventInfo) {
778
778
  this.jdNavigateToNative(
779
779
  Object.assign(
780
780
  {},
781
781
  {
782
782
  category: 'jump',
783
783
  des: 'jdreactcommon',
784
784
  modulename: 'JDReactMyRedEnvelope',
785
785
  appname: 'JDReactMyRedEnvelope',
786
786
  ishidden: true,
787
787
  fromName: 2,
788
788
  needLogin: true,
789
789
  logEventInfo,
790
790
  },
791
791
  ),
792
792
  );
793
793
  }
794
794
 
795
795
  jdJumpToMyCoupon(logEventInfo) {
796
796
  this.jdNavigateToNative(
797
797
  Object.assign(
798
798
  {},
799
799
  {
800
800
  category: 'jump',
801
801
  des: 'mycoupon',
802
802
  logEventInfo,
803
803
  },
804
804
  ),
805
805
  );
806
806
  }
807
807
 
808
808
 
809
809
  jdJumpToMiniProgram({ vapptype, appId, path, param }) {
810
810
  const pageName = param['pageType'] || 'home';
811
811
  const nowMiniPath = `pages/${pageName}/index`;
812
812
  if (appId === global.info.pageInfo.appId) {
813
813
  Taro.navigateTo({
814
814
  url: `/${nowMiniPath}?${objectToUrlEncode(param)}`,
815
815
  }).catch((err) => {
816
816
  console.warn('跳转小程序页面错误:', err);
817
817
  });
818
818
  } else {
819
819
  const params = {
820
820
  category: 'jump',
821
821
  des: 'jdmp',
822
822
  appId,
823
823
  vapptype,
824
824
  param,
825
825
  path: '',
826
826
  };
827
827
  if (path) {
828
828
  params.path = `${path}.html`;
829
829
  }
830
830
  this.jdNavigateToNative(params);
831
831
  }
832
832
  }
833
833
 
834
834
  jdJumpToAppMiniProgram(
835
835
  path: string,
836
836
  param = {},
837
837
  successBack?: functionType,
838
838
  failBack?: functionType,
839
839
  ) {
840
840
  this.jdNavigateToNative(param, path, successBack, failBack);
841
841
  }
842
842
 
843
843
  jdNavigateToNative(
844
844
  params: object,
845
845
  url = OpenAppHost,
846
846
  successBack?: functionType | undefined,
847
847
  failBack?: functionType | undefined,
848
848
  ) {
849
849
  console.log('[降级H5] jdNavigateToNative jdJumJdApp:', params);
850
850
  const getResParams: JumpEventReportInterFace.JdMiniJumpParams = Object.assign(
851
851
  {},
852
852
  {
853
853
  sourceValue: 'sourceValue_jshopMini',
854
854
  sourceType: 'sourceType_jshopMini',
855
855
  param: {},
856
856
  },
857
857
  params,
858
858
  );
859
859
  const { logEventInfo, ...otherParams } = getResParams;
860
860
  console.log('jdNavigateToNative params: ', getResParams);
861
861
  console.log('logEventInfo params: ', logEventInfo);
862
862
  this.clickEventLog(logEventInfo || getResParams, getResParams.des);
863
863
  jd.navigateToNative({
864
864
  dataParam: {
865
865
  url: url,
866
866
  params: otherParams,
867
867
  },
868
868
  success(res) {
869
869
  typeof successBack === 'function' && successBack(res);
870
870
  console.log('navigateToNative.success', res);
871
871
  },
872
872
  fail(res) {
873
873
  typeof failBack === 'function' && failBack(res);
874
874
  console.log('navigateToNative.fail', res);
875
875
  },
876
876
  });
877
877
  }
878
878
 
879
879
  clickEventLog(opts: JumpEventReportInterFace.OptEventLogParams = {}, clickKey = 'click') {
880
880
  const { eventId, jsonParam, eventLevel = 3, skuId, ...otherParams } = opts;
881
881
  if (eventId && jsonParam) {
882
882
  const { etModelInfo, logBaseInfo } = jsonParam;
883
883
  let getJsonParam = {};
884
884
  if (etModelInfo && logBaseInfo) {
885
885
  getJsonParam = logBaseInfo;
886
886
  } else {
887
887
  if (Array.isArray(jsonParam)) {
888
888
  getJsonParam = jsonParam;
889
889
  } else {
890
890
  getJsonParam = Object.assign(
891
891
  {},
892
892
  {
893
893
  shopid: global.info.queryInfo?.shopId,
894
894
  },
895
895
  jsonParam,
896
896
  );
897
897
  }
898
898
  }
899
899
  if (
900
900
  clickKey === 'exposure' &&
901
901
  /^TerminatorNew/.test(eventId) &&
902
902
  !Array.isArray(getJsonParam)
903
903
  ) {
904
904
  getJsonParam = [getJsonParam];
905
905
  }
906
906
  const miniLogParams = {
907
907
  eid: eventId,
908
908
  elevel: eventLevel,
909
909
  eparam: JSON.stringify(getJsonParam),
910
910
  pageId: this.logPageId,
911
911
  pname: this.logPname,
912
912
  pparam: JSON.stringify(this.routerInfo.params),
913
913
  target: this.routerInfo.path,
914
914
  event: this.nativeEvent,
915
915
  ...otherParams,
916
916
  };
917
917
  if (clickKey === 'addToCart' && skuId) {
918
918
  miniLogParams['shoppingList'] = {
919
919
  [skuId]: 1,
920
920
  };
921
921
  }
922
922
  console.log('点击埋点参数对象', miniLogParams, clickKey);
923
923
  global.miniAppLogInstance && global.miniAppLogInstance[clickKey](miniLogParams);
924
924
  } else {
925
925
  console.log('暂无埋点参数eventId和eventParam');
926
926
  }
927
927
  }
928
928
 
929
929
  exposureEventLog(opts: JumpEventReportInterFace.OptEventLogParams = {}) {
930
930
  return this.clickEventLog(opts, 'exposure');
931
931
  }
932
932
 
933
933
  jdJumpToSearch(shopId, suggestWord) {
934
934
  if (typeof shopId === 'undefined') shopId = global.info.queryInfo.shopId;
935
935
  this.jdNavigateToNative({
936
936
  category: 'jump',
937
937
  des: 'jshopGuessWord',
938
938
  shopId: String(shopId),
939
939
  transparentEnable: true,
940
940
  suggestWord,
941
941
  sourceInfo: APP_SOURCE_INFO,
942
942
  });
943
943
  }
944
944
 
945
945
  jdJumpToMyMessageBox() {
946
946
  this.jdNavigateToNative({
947
947
  category: 'jump',
948
948
  des: 'myMessageBox',
949
949
  });
950
950
  }
951
951
 
952
952
  jdJumpToAppHome() {
953
953
  this.jdNavigateToNative({
954
954
  category: 'jump',
955
955
  des: 'HomePage',
956
956
  });
957
957
  }
958
958
 
959
959
  jdJumpToShopHomeDetail({ shopId, venderId }) {
960
960
  this.jdNavigateToNative({
961
961
  category: 'jump',
962
962
  des: 'jshopDetail',
963
963
  shopId: String(shopId),
964
964
  venderId: String(venderId),
965
965
  });
966
966
  }
967
967
 
968
968
  jdJumpToShopLottery(shopTotalInfo) {
969
969
  this.jdNavigateToNative(
970
970
  Object.assign(
971
971
  {},
972
972
  {
973
973
  category: 'jump',
974
974
  des: 'jshopSign',
975
975
  activityRuleType: '0',
976
976
  shopId: global.info.queryInfo.shopId,
977
977
  venderId: global.info.queryInfo.venderId,
978
978
  },
979
979
  shopTotalInfo,
980
980
  ),
981
981
  );
982
982
  }
983
983
 
984
984
  jdJumpToSageAuthorHome(shopTotalInfo) {
985
985
  this.jdNavigateToNative(
986
986
  Object.assign(
987
987
  {},
988
988
  {
989
989
  category: 'jump',
990
990
  des: 'faxian_author',
991
991
  channel: 'shopHomePage',
992
992
  selectTab: '0',
993
993
  },
994
994
  shopTotalInfo,
995
995
  ),
996
996
  );
997
997
  }