@conecli/cone-render 0.10.1-shop3.20 → 0.10.1-shop3.22

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 React from 'react'
2
1
  subMessage?: string
3
2
  viewMaxHeight?: string
4
3
  noPosition?: boolean
5
4
  floorLoadWay?: number
6
5
  floorKind?: number
7
6
  shopId?: string
8
7
  moduleDesignerType?: string
9
8
  showCommonFloorHead?: boolean
10
9
  borderRadius: number
11
10
  borderTopLeftRadius?: number
12
11
  borderTopRightRadius?: number
13
12
  borderBottomLeftRadius?: number
14
13
  borderBottomRightRadius?: number
15
14
  marginTop?: number
16
15
  marginBottom?: number
17
16
  marginLeft?: number
18
17
  marginRight?: number
19
18
  paddingTop?: number
20
19
  paddingBottom?: number
21
20
  paddingLeft?: number
22
21
  paddingRight?: number
23
22
  containerId: string
24
23
  background?: string
25
24
  containerPosition?: string
26
25
  key?: string
27
26
  floors: floorItemData[]
28
27
  includeUids: string[]
29
28
  typeCn: string
30
29
  typeCode?: string
31
30
  addLuxuryStyle?: boolean
32
31
  addLuxuryBackupStyle?: boolean
33
32
  renderExtendComponent?: Function
34
33
  insertContainerStartComponent?: Function
35
34
  floorExtendData?: any
36
35
  }
37
36
  isRealTimeRender: boolean
38
37
  forceRenderTime: number
39
38
  luxuryFixed?: boolean
40
39
  customErrorIsvFloorModule?: React.ReactElement | undefined
41
40
  containerIndex?: number
42
41
  containerData?: any
43
42
  shopTotalInfo?: any
44
43
  selectContainerFn?: Function
45
44
  selectContainerId?: string
46
45
  placeHolderPreContainerId?: string
47
46
  children?: any
48
47
  luxuryFixed?: boolean
49
48
  style?: {
50
49
  [key: string]: any
51
50
  };
52
51
  layoutLeftRightMargin?: number
53
52
  }
54
53
  isShowPlaceHolder?: boolean
55
54
  showDayToSecondState?: boolean
56
55
  onFormSubmit?: Function
57
56
  onFormReset?: Function
58
57
  isFormDialog?: boolean
59
58
  forbiddenBgScrollState?: boolean
60
59
  evenList: any[]
61
60
  oddList: any[]
61
+ import React from 'react'
62
62
  subMessage?: string
63
63
  netWorkStyleType?: string
64
64
  viewMaxHeight?: string
65
65
  noPosition?: boolean
66
66
  floorLoadWay?: number
67
67
  floorKind?: number
68
68
  shopId?: string
69
69
  moduleDesignerType?: string
70
70
  showCommonFloorHead?: boolean
71
71
  borderRadius: number
72
72
  borderTopLeftRadius?: number
73
73
  borderTopRightRadius?: number
74
74
  borderBottomLeftRadius?: number
75
75
  borderBottomRightRadius?: number
76
76
  marginTop?: number
77
77
  marginBottom?: number
78
78
  marginLeft?: number
79
79
  marginRight?: number
80
80
  paddingTop?: number
81
81
  paddingBottom?: number
82
82
  paddingLeft?: number
83
83
  paddingRight?: number
84
84
  containerId: string
85
85
  background?: string
86
86
  containerPosition?: string
87
87
  key?: string
88
88
  floors: floorItemData[]
89
89
  includeUids: string[]
90
90
  typeCn: string
91
91
  typeCode?: string
92
92
  addLuxuryStyle?: boolean
93
93
  addLuxuryBackupStyle?: boolean
94
94
  renderExtendComponent?: functionType
95
95
  insertContainerStartComponent?: functionType
96
96
  floorExtendData?: any
97
97
  }
98
98
  isRealTimeRender: boolean
99
99
  forceRenderTime: number
100
100
  luxuryFixed?: boolean
101
101
  customErrorIsvFloorModule?: React.ReactElement | undefined
102
102
  containerIndex?: number
103
103
  containerData?: any
104
104
  shopTotalInfo?: any
105
105
  selectContainerFn?: functionType
106
106
  selectContainerId?: string
107
107
  placeHolderPreContainerId?: string
108
108
  children?: any
109
109
  luxuryFixed?: boolean
110
110
  style?: {
111
111
  [key: string]: any
112
112
  };
113
113
  layoutLeftRightMargin?: number
114
114
  }
115
115
  isShowPlaceHolder?: boolean
116
116
 
117
117
  useFontV2?: boolean
118
118
  useFontV2Bold?: boolean
119
119
  onlyShowDaySpaceTextState?: boolean
120
120
  showDayToSecondState?: boolean
121
121
  useFontV2: boolean
122
122
  useFontV2Bold: boolean
123
123
  onFormSubmit?: functionType
124
124
  onFormReset?: functionType
125
125
  isFormDialog?: boolean
126
126
  forbiddenBgScrollState?: boolean
127
127
  evenList: any[]
128
128
  oddList: any[]
@@ -1 +1 @@
1
- export declare namespace JumpEventReportInterFace {
2
1
  export interface ShopIdsInfo {
3
2
  shopId?: number | string;
4
3
  venderId?: number | string;
5
4
  logEventInfo?: object;
6
5
  type?: string;
7
6
  }
8
7
  export interface RouterInfo {
9
8
  params: any;
10
9
  pageParamStr?: string;
11
10
  [key: string]: any;
12
11
  }
13
12
  export interface JumpMiniPath {
14
13
  shop: string;
15
14
  shopx: string;
16
15
  detail: string;
17
16
  searchCoupon: string;
18
17
  h5: string;
19
18
  jingGouHome: string;
20
19
  shopFans: string;
21
20
  shopLight: string;
22
21
  couponSearch: string;
23
22
  shopSearch: string;
24
23
  jxCouponSearch: string;
25
24
  jxDetail: string;
26
25
  jdLive: string;
27
26
  }
28
27
  export interface jumpWebUrl {
29
28
  mshop: string;
30
29
  pages: string;
31
30
  pcCoupon: string;
32
31
  couponSearch: string;
33
32
  jxCouponSearch: string;
34
33
  pcCouponSearch: string;
35
34
  shopSecondActivity: string;
36
35
  shopLight: string;
37
36
  detail: string;
38
37
  jxDetail: string;
39
38
  tjDetail: string;
40
39
  pcDetail: string;
41
40
  mobileHome: string;
42
41
  rank: string;
43
42
  wqShopMember: string;
44
43
  wqShopDetail: string;
45
44
  wqShopSearch: string;
46
45
  myCouponList: string;
47
46
  myRedPacketList: string;
48
47
  memberHome: string;
49
48
  memberCard: string;
50
49
  memberPoints: string;
51
50
  memberBenefit: string;
52
51
  memberScores: string;
53
52
  memberScoreRule: string;
54
53
  memberProduct: string;
55
54
  shopMember: string;
56
55
  shopMemberPointDetail: string;
57
56
  shopMemberBenefit: string;
58
57
  shopMemberRule: string;
59
58
  shopMemberCloseAccount: string;
60
59
  shopMemberPointExchange: string;
61
60
  shopMemberBonusPurchase: string;
62
61
  shopMemberGood: string;
63
62
  beanDetail: string;
64
63
  totalPromotion: string;
65
64
  mLive: string;
66
65
  shopHome: string;
67
66
  shopIntroduce: string;
68
67
  shopSearch: string;
69
68
  shopLottery: string;
70
69
  shopCoupon: string;
71
70
  shopWares: string;
72
71
  shopFastShopping: string;
73
72
  shopSpeciSeckill: string;
74
73
  shopVideos: string;
75
74
  shopMoreGoods: string;
76
75
  shopUseShareOrderUgcContent: string;
77
76
  dongDongChat: string;
78
77
  samCenter: string;
79
78
  samCard: string;
80
79
  shopH5MemberCardAPP: string;
81
80
  shopH5MemberCardM: string;
82
81
  sageAuthorHome: string;
83
82
  }
84
83
  export interface EventReportConfig {
85
84
  routerInfo: RouterInfo;
86
85
  nativeEvent: any;
87
86
  }
88
87
  export interface OptEventLogParams {
89
88
  eventId?: string;
90
89
  eventParam?: string | object;
91
90
  pTag?: string;
92
91
  jsonParam?: {
93
92
  [key: string]: any;
94
93
  };
95
94
  skuId?: string | number;
96
95
  eventLevel?: string;
97
96
  exposureState?: boolean;
98
97
  otherParams?: object;
99
98
  }
100
99
 
101
100
  export interface JumpH5ReportConfig {
102
101
  shopId?: number | string;
103
102
  venderId?: number | string;
104
103
  sourceValue?: string;
105
104
  sourceType?: string;
106
105
  }
107
106
  export interface JumpEventReportInit extends EventReportConfig {
108
107
  getConfig(opt): EventReportConfig;
109
108
  updateInfo(routerInfo, logPname): void;
110
109
  }
111
110
  export interface CouponUrlParams {
112
111
  batchId: number;
113
112
  bindType: number;
114
113
  startTime?: number;
115
114
  endTime?: number;
116
115
  quangoufrom?: number;
117
116
  sceneId?: number;
118
117
  }
119
118
  export interface JdMiniJumpParams {
120
119
  param: string | object;
121
120
  sourceValue?: string;
122
121
  sourceType?: string;
123
122
  des?: any;
124
123
  logEventInfo?: object;
125
124
  }
126
125
  export interface LinkMiniParams {
127
126
  param?: {
128
127
  pageType?: string;
129
128
  };
130
129
  appId?: string | number;
131
130
  path?: string;
132
131
  }
133
132
  export interface JdJumpWxappReportConfig {
134
133
  wxApiVersion: string;
135
134
  wxApiUrl: string;
136
135
  wqReportUrl: string;
137
136
  }
137
+ export declare namespace JumpEventReportInterFace {
138
138
  export interface ShopIdsInfo {
139
139
  shopId?: number | string;
140
140
  venderId?: number | string;
141
141
  logEventInfo?: object;
142
142
  type?: string;
143
143
  }
144
144
  export interface RouterInfo {
145
145
  params: any;
146
146
  pageParamStr?: string;
147
147
  [key: string]: any;
148
148
  }
149
149
  export interface JumpMiniPath {
150
150
  shop: string;
151
151
  shopx: string;
152
152
  detail: string;
153
153
  searchCoupon: string;
154
154
  h5: string;
155
155
  jingGouHome: string;
156
156
  shopFans: string;
157
157
  shopLight: string;
158
158
  couponSearch: string;
159
159
  shopSearch: string;
160
160
  jxCouponSearch: string;
161
161
  jxDetail: string;
162
162
  jdLive: string;
163
163
  }
164
164
  export interface jumpWebUrl {
165
165
  mshop: string;
166
166
  pages: string;
167
167
  pcCoupon: string;
168
168
  couponSearch: string;
169
169
  jxCouponSearch: string;
170
170
  pcCouponSearch: string;
171
171
  shopSecondActivity: string;
172
172
  shopLight: string;
173
173
  detail: string;
174
174
  jxDetail: string;
175
175
  tjDetail: string;
176
176
  pcDetail: string;
177
177
  mobileHome: string;
178
178
  rank: string;
179
179
  wqShopMember: string;
180
180
  wqShopDetail: string;
181
181
  wqShopSearch: string;
182
182
  myCouponList: string;
183
183
  myRedPacketList: string;
184
184
  memberHome: string;
185
185
  memberCard: string;
186
186
  memberPoints: string;
187
187
  memberBenefit: string;
188
188
  memberScores: string;
189
189
  memberScoreRule: string;
190
190
  memberProduct: string;
191
191
  shopMember: string;
192
192
  shopMemberPointDetail: string;
193
193
  shopMemberBenefit: string;
194
194
  shopMemberRule: string;
195
195
  shopMemberCloseAccount: string;
196
196
  shopMemberPointExchange: string;
197
197
  shopMemberBonusPurchase: string;
198
198
  shopMemberGood: string;
199
199
  beanDetail: string;
200
200
  totalPromotion: string;
201
201
  mLive: string;
202
202
  shopHome: string;
203
203
  shopIntroduce: string;
204
204
  shopSearch: string;
205
205
  shopLottery: string;
206
206
  shopCoupon: string;
207
207
  shopWares: string;
208
208
  shopFastShopping: string;
209
209
  shopSpeciSeckill: string;
210
210
  shopVideos: string;
211
211
  shopMoreGoods: string;
212
212
  shopUseShareOrderUgcContent: string;
213
213
  dongDongChat: string;
214
214
  samCenter: string;
215
215
  samCard: string;
216
216
  shopH5MemberCardAPP: string;
217
217
  shopH5MemberCardM: string;
218
218
  sageAuthorHome: string;
219
219
  shopMemberInfoEdit: string;
220
220
  }
221
221
  export interface EventReportConfig {
222
222
  routerInfo: RouterInfo;
223
223
  nativeEvent: any;
224
224
  }
225
225
  export interface OptEventLogParams {
226
226
  eventId?: string;
227
227
  eventParam?: string | object;
228
228
  pTag?: string;
229
229
  jsonParam?: {
230
230
  [key: string]: any;
231
231
  };
232
232
  skuId?: string | number;
233
233
  eventLevel?: string;
234
234
  exposureState?: boolean;
235
235
  otherParams?: object;
236
236
  }
237
237
 
238
238
  export interface JumpH5ReportConfig {
239
239
  shopId?: number | string;
240
240
  venderId?: number | string;
241
241
  sourceValue?: string;
242
242
  sourceType?: string;
243
243
  }
244
244
  export interface JumpEventReportInit extends EventReportConfig {
245
245
  getConfig(opt): EventReportConfig;
246
246
  updateInfo(routerInfo, logPname): void;
247
247
  }
248
248
  export interface CouponUrlParams {
249
249
  batchId: number;
250
250
  bindType: number;
251
251
  startTime?: number;
252
252
  endTime?: number;
253
253
  quangoufrom?: number;
254
254
  sceneId?: number;
255
255
  }
256
256
  export interface JdMiniJumpParams {
257
257
  param: string | object;
258
258
  sourceValue?: string;
259
259
  sourceType?: string;
260
260
  des?: any;
261
261
  logEventInfo?: object;
262
262
  }
263
263
  export interface LinkMiniParams {
264
264
  param?: {
265
265
  pageType?: string;
266
266
  };
267
267
  appId?: string | number;
268
268
  path?: string;
269
269
  }
270
270
  export interface JdJumpWxappReportConfig {
271
271
  wxApiVersion: string;
272
272
  wxApiUrl: string;
273
273
  wqReportUrl: string;
274
274
  }
@@ -1 +1 @@
1
- import { isH5, isWxMinAndWxapp } from '../utils'
2
1
  ? 'Terminator_New_Mobile_Shop'
3
2
  : 'W_jdgwxcx_shop'
4
3
  CONFIG_TYPE_NO_LINK = 0,
5
4
  CONFIG_TYPE_SKU_LIST = 1,
6
5
  CONFIG_TYPE_COUPON_LIST = 2,
7
6
  CONFIG_TYPE_CATEGORY = 3,
8
7
  CONFIG_TYPE_JSHOP_MOBILE = 4,
9
8
  CONFIG_TYPE_JSHOP_PC = 5,
10
9
  CONFIG_TYPE_JSHOP_DETAIL = 6,
11
10
  CONFIG_TYPE_CUSTOM_LINK = 7,
12
11
  CONFIG_TYPE_MEMBER = 9,
13
12
  CONFIG_TYPE_SHOP_ACTIVITY = 10,
14
13
  CONFIG_TYPE_SHOP_HOME = 12,
15
14
  CONFIG_TYPE_ANCHOR_POINT = 13,
16
15
  CONFIG_TYPE_SHOPPING_GUIDE = 17,
17
16
  CONFIG_TYPE_MINI_PROGRAM = 18,
18
17
  CONFIG_TYPE_FINANCE_COUPON = 22,
19
18
  CONFIG_TYPE_CATEGORY_PAGE = 25,
20
19
  CONFIG_TYPE_SHOP_SEARCH = 31,
20
+ import { isH5, isWxMinAndWxapp } from '../utils'
21
21
  ? 'Terminator_New_Mobile_Shop'
22
22
  : 'W_jdgwxcx_shop'
23
23
  CONFIG_TYPE_NO_LINK = 0,
24
24
  CONFIG_TYPE_SKU_LIST = 1,
25
25
  CONFIG_TYPE_COUPON_LIST = 2,
26
26
  CONFIG_TYPE_CATEGORY = 3,
27
27
  CONFIG_TYPE_JSHOP_MOBILE = 4,
28
28
  CONFIG_TYPE_JSHOP_PC = 5,
29
29
  CONFIG_TYPE_JSHOP_DETAIL = 6,
30
30
  CONFIG_TYPE_CUSTOM_LINK = 7,
31
31
  CONFIG_TYPE_MEMBER = 9,
32
32
  CONFIG_TYPE_SHOP_ACTIVITY = 10,
33
33
  CONFIG_TYPE_SHOP_HOME = 12,
34
34
  CONFIG_TYPE_ANCHOR_POINT = 13,
35
35
  CONFIG_TYPE_SHOPPING_GUIDE = 17,
36
36
  CONFIG_TYPE_MINI_PROGRAM = 18,
37
37
  CONFIG_TYPE_FINANCE_COUPON = 22,
38
38
  CONFIG_TYPE_CATEGORY_PAGE = 25,
39
39
  CONFIG_TYPE_SHOP_SEARCH = 31,
@@ -1 +1 @@
1
- import { isApp, getUrlQuery } from '../utils/jm-common'
2
1
  console.log('h5', isReflexToH5, getUrlQuery(window.location.href, 'reflex'))
3
2
  return new Promise((resolve, reject) => {
4
3
  if (isReflexToH5) {
5
4
  import('./web.base')
6
5
  .then(({ JumpEventWebReport }) => {
7
6
  if (JumpEventWebReport) {
8
7
  console.log('加载普通浏览器h5相关跳转事件js')
9
8
  JumpEventReport = new JumpEventWebReport({})
10
9
  resolve(JumpEventReport)
11
10
  }
12
11
  })
13
12
  .catch((err) => {
14
13
  reject(err)
15
14
  })
16
15
  } else {
17
16
  if (isApp('wx') && isApp('mp') && isH5AdnJxMini) {
18
17
  import('./web.jxwxapp')
19
18
  .then(({ JdJumpWebToJxWxapp }) => {
20
19
  if (JdJumpWebToJxWxapp) {
21
20
  JumpEventReport = new JdJumpWebToJxWxapp({})
22
21
  resolve(JumpEventReport)
23
22
  }
24
23
  })
25
24
  .catch((err) => {
26
25
  reject(err)
27
26
  })
28
27
  } else if (isApp('wx') && isApp('mp')) {
29
28
  import('./web.wxapp')
30
29
  .then(({ JdJumpWebToWxapp }) => {
31
30
  if (JdJumpWebToWxapp) {
32
31
  JumpEventReport = new JdJumpWebToWxapp({})
33
32
  resolve(JumpEventReport)
34
33
  }
35
34
  })
36
35
  .catch((err) => {
37
36
  reject(err)
38
37
  })
39
38
  } else if (isApp('jd') && !isApp('jdharmony')) {
40
39
  import('./web.jd')
41
40
  .then(({ JdJumpWebToJdApp }) => {
42
41
  if (JdJumpWebToJdApp) {
43
42
  JumpEventReport = new JdJumpWebToJdApp({})
44
43
  resolve(JumpEventReport)
45
44
  }
46
45
  })
47
46
  .catch((err) => {
48
47
  reject(err)
49
48
  })
50
49
  } else if (isApp('jdb')) {
51
50
  import('./web.jdb')
52
51
  .then(({ JdbJumpWebToJdbApp }) => {
53
52
  if (JdbJumpWebToJdbApp) {
54
53
  JumpEventReport = new JdbJumpWebToJdbApp({})
55
54
  resolve(JumpEventReport)
56
55
  }
57
56
  })
58
57
  .catch((err) => {
59
58
  reject(err)
60
59
  })
61
60
  } else if (isApp('jdjch')) {
62
61
  import('./web.jdjch')
63
62
  .then(({ JdbJumpWebToJdbApp }) => {
64
63
  if (JdbJumpWebToJdbApp) {
65
64
  JumpEventReport = new JdbJumpWebToJdbApp({})
66
65
  resolve(JumpEventReport)
67
66
  }
68
67
  })
69
68
  .catch((err) => {
70
69
  reject(err)
71
70
  })
72
71
  } else if (isApp('tjapp')) {
73
72
  import('./web.tjapp')
74
73
  .then(({ tjJumpWebTotjApp }) => {
75
74
  if (tjJumpWebTotjApp) {
76
75
  console.log('加载特价app内h5相关跳转事件js')
77
76
  JumpEventReport = new tjJumpWebTotjApp({})
78
77
  resolve(JumpEventReport)
79
78
  }
80
79
  })
81
80
  .catch((err) => {
82
81
  reject(err)
83
82
  })
84
83
  } else if (isPc) {
85
84
  import('./web.pc')
86
85
  .then(({ JumpEventWebReport }) => {
87
86
  if (JumpEventWebReport) {
88
87
  JumpEventReport = new JumpEventWebReport({})
89
88
  resolve(JumpEventReport)
90
89
  }
91
90
  })
92
91
  .catch((err) => {
93
92
  reject(err)
94
93
  })
95
94
  } else if (isTjJxM || isTjM) {
96
95
  import('./web.tjm')
97
96
  .then(({ JumpEventTJWebReport }) => {
98
97
  if (JumpEventTJWebReport) {
99
98
  JumpEventReport = new JumpEventTJWebReport({})
100
99
  resolve(JumpEventReport)
101
100
  }
102
101
  })
103
102
  .catch((err) => {
104
103
  reject(err)
105
104
  })
106
105
  } else {
107
106
  import('./web.base')
108
107
  .then(({ JumpEventWebReport }) => {
109
108
  if (JumpEventWebReport) {
110
109
  JumpEventReport = new JumpEventWebReport({})
111
110
  resolve(JumpEventReport)
112
111
  }
113
112
  })
114
113
  .catch((err) => {
115
114
  reject(err)
116
115
  })
117
116
  }
118
117
  }
119
118
  })
119
+ import { isApp, getUrlQuery } from '../utils/jm-common';
120
120
  console.log('h5', isReflexToH5, getUrlQuery(window.location.href, 'reflex'));
121
121
  return new Promise((resolve, reject) => {
122
122
  if (isReflexToH5) {
123
123
  import('./web.base')
124
124
  .then(({ JumpEventWebReport }) => {
125
125
  if (JumpEventWebReport) {
126
126
  console.log('加载普通浏览器h5相关跳转事件js');
127
127
  JumpEventReport = new JumpEventWebReport({});
128
128
  resolve(JumpEventReport);
129
129
  }
130
130
  })
131
131
  .catch((err) => {
132
132
  reject(err);
133
133
  });
134
134
  } else {
135
135
  if (isApp('wx') && isApp('mp') && isH5AdnJxMini) {
136
136
  import('./web.jxwxapp')
137
137
  .then(({ JdJumpWebToJxWxapp }) => {
138
138
  if (JdJumpWebToJxWxapp) {
139
139
  JumpEventReport = new JdJumpWebToJxWxapp({});
140
140
  resolve(JumpEventReport);
141
141
  }
142
142
  })
143
143
  .catch((err) => {
144
144
  reject(err);
145
145
  });
146
146
  } else if (isApp('wx') && isApp('mp')) {
147
147
  import('./web.wxapp')
148
148
  .then(({ JdJumpWebToWxapp }) => {
149
149
  if (JdJumpWebToWxapp) {
150
150
  JumpEventReport = new JdJumpWebToWxapp({});
151
151
  resolve(JumpEventReport);
152
152
  }
153
153
  })
154
154
  .catch((err) => {
155
155
  reject(err);
156
156
  });
157
157
  } else if (
158
158
  isApp('jd') &&
159
159
  (isNewHarmonyShop || !isApp('jdharmony') || (isApp('jdharmony') && getPageType() === 'member-fast-card'))
160
160
  ) {
161
161
  import('./web.jd')
162
162
  .then(({ JdJumpWebToJdApp }) => {
163
163
  if (JdJumpWebToJdApp) {
164
164
  JumpEventReport = new JdJumpWebToJdApp({});
165
165
  resolve(JumpEventReport);
166
166
  }
167
167
  })
168
168
  .catch((err) => {
169
169
  reject(err);
170
170
  });
171
171
  } else if (isApp('jdb')) {
172
172
  import('./web.jdb')
173
173
  .then(({ JdbJumpWebToJdbApp }) => {
174
174
  if (JdbJumpWebToJdbApp) {
175
175
  JumpEventReport = new JdbJumpWebToJdbApp({});
176
176
  resolve(JumpEventReport);
177
177
  }
178
178
  })
179
179
  .catch((err) => {
180
180
  reject(err);
181
181
  });
182
182
  } else if (isApp('jdjch')) {
183
183
  import('./web.jdjch')
184
184
  .then(({ JdbJumpWebToJdbApp }) => {
185
185
  if (JdbJumpWebToJdbApp) {
186
186
  JumpEventReport = new JdbJumpWebToJdbApp({});
187
187
  resolve(JumpEventReport);
188
188
  }
189
189
  })
190
190
  .catch((err) => {
191
191
  reject(err);
192
192
  });
193
193
  } else if (isApp('tjapp')) {
194
194
  import('./web.tjapp')
195
195
  .then(({ tjJumpWebTotjApp }) => {
196
196
  if (tjJumpWebTotjApp) {
197
197
  console.log('加载特价app内h5相关跳转事件js');
198
198
  JumpEventReport = new tjJumpWebTotjApp({});
199
199
  resolve(JumpEventReport);
200
200
  }
201
201
  })
202
202
  .catch((err) => {
203
203
  reject(err);
204
204
  });
205
205
  } else if (isPc) {
206
206
  import('./web.pc')
207
207
  .then(({ JumpEventWebReport }) => {
208
208
  if (JumpEventWebReport) {
209
209
  JumpEventReport = new JumpEventWebReport({});
210
210
  resolve(JumpEventReport);
211
211
  }
212
212
  })
213
213
  .catch((err) => {
214
214
  reject(err);
215
215
  });
216
216
  } else if (isTjJxM || isTjM) {
217
217
  import('./web.tjm')
218
218
  .then(({ JumpEventTJWebReport }) => {
219
219
  if (JumpEventTJWebReport) {
220
220
  JumpEventReport = new JumpEventTJWebReport({});
221
221
  resolve(JumpEventReport);
222
222
  }
223
223
  })
224
224
  .catch((err) => {
225
225
  reject(err);
226
226
  });
227
227
  } else {
228
228
  import('./web.base')
229
229
  .then(({ JumpEventWebReport }) => {
230
230
  if (JumpEventWebReport) {
231
231
  JumpEventReport = new JumpEventWebReport({});
232
232
  resolve(JumpEventReport);
233
233
  }
234
234
  })
235
235
  .catch((err) => {
236
236
  reject(err);
237
237
  });
238
238
  }
239
239
  }
240
240
  });