@conecli/cone-render 0.9.1-shop2.1 → 0.9.1-shop2.3
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.
- package/dist/api/index.ts +1 -1
- package/dist/common/const.ts +1 -1
- package/dist/common/index.h5.ts +1 -1
- package/dist/components/base/CommonFloorHead/index.tsx +1 -1
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/components/remoteFloorItem.tsx +1 -1
- package/dist/interface/component.ts +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/interface/service.ts +1 -1
- package/dist/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/index.h5.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.pc.ts +1 -0
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/index.h5.ts +1 -1
- package/dist/utils/index.ts +1 -1
- package/dist/utils/index.weapp.ts +1 -1
- package/dist/utils/jm-common.js +1 -1
- package/dist/utils/taroRenderUtil.ts +1 -1
- package/dist/utils/utils.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import { isApp, getUrlQuery } from '../utils/jm-common'
|
|
2
1
|
import('./web.jdjch')
|
|
3
2
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
4
3
|
if (JdbJumpWebToJdbApp) {
|
|
5
4
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
6
5
|
resolve(JumpEventReport)
|
|
7
6
|
}
|
|
8
7
|
})
|
|
9
8
|
.catch((err) => {
|
|
10
9
|
reject(err)
|
|
11
10
|
})
|
|
12
11
|
} else {
|
|
12
|
+
import { isApp, getUrlQuery } from '../utils/jm-common'
|
|
13
13
|
console.log('h5', isReflexToH5, getUrlQuery(window.location.href, 'reflex'))
|
|
14
14
|
return new Promise((resolve, reject) => {
|
|
15
15
|
if (isReflexToH5) {
|
|
16
16
|
import('./web.base')
|
|
17
17
|
.then(({ JumpEventWebReport }) => {
|
|
18
18
|
if (JumpEventWebReport) {
|
|
19
19
|
console.log('加载普通浏览器h5相关跳转事件js')
|
|
20
20
|
JumpEventReport = new JumpEventWebReport({})
|
|
21
21
|
resolve(JumpEventReport)
|
|
22
22
|
}
|
|
23
23
|
})
|
|
24
24
|
.catch((err) => {
|
|
25
25
|
reject(err)
|
|
26
26
|
})
|
|
27
27
|
} else {
|
|
28
28
|
if (isApp('wx') && isApp('mp')) {
|
|
29
29
|
import('./web.wxapp')
|
|
30
30
|
.then(({ JdJumpWebToWxapp }) => {
|
|
31
31
|
if (JdJumpWebToWxapp) {
|
|
32
32
|
JumpEventReport = new JdJumpWebToWxapp({})
|
|
33
33
|
resolve(JumpEventReport)
|
|
34
34
|
}
|
|
35
35
|
})
|
|
36
36
|
.catch((err) => {
|
|
37
37
|
reject(err)
|
|
38
38
|
})
|
|
39
39
|
} else if (isApp('jd') && !isApp('jdharmony')) {
|
|
40
40
|
import('./web.jd')
|
|
41
41
|
.then(({ JdJumpWebToJdApp }) => {
|
|
42
42
|
if (JdJumpWebToJdApp) {
|
|
43
43
|
JumpEventReport = new JdJumpWebToJdApp({})
|
|
44
44
|
resolve(JumpEventReport)
|
|
45
45
|
}
|
|
46
46
|
})
|
|
47
47
|
.catch((err) => {
|
|
48
48
|
reject(err)
|
|
49
49
|
})
|
|
50
50
|
} else if (isApp('jdb')) {
|
|
51
51
|
import('./web.jdb')
|
|
52
52
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
53
53
|
if (JdbJumpWebToJdbApp) {
|
|
54
54
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
55
55
|
resolve(JumpEventReport)
|
|
56
56
|
}
|
|
57
57
|
})
|
|
58
58
|
.catch((err) => {
|
|
59
59
|
reject(err)
|
|
60
60
|
})
|
|
61
61
|
} else if (isApp('jdjch')) {
|
|
62
62
|
import('./web.jdjch')
|
|
63
63
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
64
64
|
if (JdbJumpWebToJdbApp) {
|
|
65
65
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
66
66
|
resolve(JumpEventReport)
|
|
67
67
|
}
|
|
68
68
|
})
|
|
69
69
|
.catch((err) => {
|
|
70
70
|
reject(err)
|
|
71
71
|
})
|
|
72
72
|
} else if (isPc) {
|
|
73
73
|
import('./web.pc')
|
|
74
74
|
.then(({ JumpEventWebReport }) => {
|
|
75
75
|
if (JumpEventWebReport) {
|
|
76
76
|
JumpEventReport = new JumpEventWebReport({})
|
|
77
77
|
resolve(JumpEventReport)
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
.catch((err) => {
|
|
81
81
|
reject(err)
|
|
82
82
|
})
|
|
83
83
|
} else {
|
|
84
84
|
import('./web.base')
|
|
85
85
|
.then(({ JumpEventWebReport }) => {
|
|
86
86
|
if (JumpEventWebReport) {
|
|
87
87
|
JumpEventReport = new JumpEventWebReport({})
|
|
88
88
|
resolve(JumpEventReport)
|
|
89
89
|
}
|
|
90
90
|
})
|
|
91
91
|
.catch((err) => {
|
|
92
92
|
reject(err)
|
|
93
93
|
})
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { domain } from '../../api'
|
|
2
1
|
shop: '/pages/shop/index/index',
|
|
3
2
|
detail: '/pages/gold/item/pages/detail/index',
|
|
4
3
|
searchCoupon: '/pages/search/subPackages/coupon/coupon',
|
|
5
4
|
h5: '/pages/h5/index',
|
|
6
5
|
jingGouHome: '/pages/index/index',
|
|
7
6
|
shopFans: '/pages/shopfans/pages/index/index',
|
|
8
7
|
shopLight: '/pages/shoplight/pages/index/index',
|
|
9
8
|
couponSearch: '/pages/search/subPackages/coupon/coupon',
|
|
10
9
|
shopx: '/pages/shopx/pages/index/index',
|
|
11
10
|
shopSearch: '/pages/shopx/pages/searchPanel/index',
|
|
12
11
|
mshop: domain.mshop,
|
|
13
12
|
pages: domain.pages,
|
|
14
13
|
couponSearch: `${domain.mobileSo}/list/couponSearch.action`,
|
|
15
14
|
shopSecondActivity: `${domain.sale}/m/h5/`,
|
|
16
15
|
shopLight: `${domain.sale}/liteshop/index.html`,
|
|
17
16
|
detail: `${domain.mobileDetail}/product/`,
|
|
18
17
|
mobileHome: `${domain.mobileHome}`,
|
|
19
18
|
rank: `${domain.ranking}/comLandingPage/comLandingPage`,
|
|
20
19
|
wqShopMember: `${domain.wqshop}/mshop/QueryShopMemberInfo`,
|
|
21
20
|
wqShopDetail: `${domain.wqshop}/mshop/GetShopIntroduce`,
|
|
22
21
|
wqShopSearch: `${domain.wqshop}/mshop/SearchList`,
|
|
23
22
|
shopMember: `${domain.shopMember}/shopcard`,
|
|
24
23
|
shopMemberPointDetail: `${domain.shopMember}/member/membersPoint`,
|
|
25
24
|
shopMemberBenefit: `${domain.shopMember}/shopbenefit`,
|
|
26
25
|
shopMemberRule: `${domain.shopMember}/member/membersRule`,
|
|
27
26
|
shopMemberCloseAccount: `${domain.shopMember}/member/memberCloseAccount`,
|
|
28
27
|
shopMemberPointExchange: `${domain.shopMember}/memberpoint`,
|
|
29
28
|
shopMemberBonusPurchase: `${domain.shopMember}/bonuspurchase`,
|
|
30
29
|
shopMemberGood: `${domain.shopMember}/member/membersGood`,
|
|
31
30
|
beanDetail: `${domain.bean}/beanDetail/index.action`,
|
|
32
31
|
totalPromotion: `${domain.mobileSo}/list/itemSearch.action`,
|
|
33
32
|
mLive: `${domain.lives}/#`,
|
|
34
33
|
shopHome: `${domain.pages}/shop/home`,
|
|
35
34
|
shopIntroduce: `${domain.pages}/shop/introduce`,
|
|
36
35
|
shopSearch: `${domain.pages}/shop/search`,
|
|
37
36
|
shopLottery: `${domain.pages}/shop/lottery`,
|
|
38
37
|
shopCoupon: `${domain.pages}/shop/coupon`,
|
|
39
38
|
shopWares: `${domain.pages}/shop/wares`,
|
|
40
39
|
shopFastShopping: `${domain.pages}/shop/fastShopping`,
|
|
41
40
|
shopSpeciSeckill: `${domain.pages}/shop/specialSeckill`,
|
|
42
41
|
shopVideos: `${domain.pages}/shop/videos`,
|
|
43
42
|
shopUseShareOrderUgcContent: `${domain.capturehomeshare}/aha/ugcShare.html`,
|
|
44
43
|
dongDongChat: `${domain.jdcs}/chat/index.action`,
|
|
45
44
|
samCenter: `${domain.pages}/shop/samCenter`,
|
|
46
45
|
samCard: `${domain.pages}/shop/samCard`,
|
|
47
46
|
shopH5MemberCardAPP: `${domain.pages}/member/shopcard`,
|
|
48
47
|
shopH5MemberCardM: `${domain.pages}/member/m/shopcard`,
|
|
48
|
+
import { domain } from '../../api'
|
|
49
49
|
shop: '/pages/shop/index/index',
|
|
50
50
|
detail: '/pages/gold/item/pages/detail/index',
|
|
51
51
|
searchCoupon: '/pages/search/subPackages/coupon/coupon',
|
|
52
52
|
h5: '/pages/h5/index',
|
|
53
53
|
jingGouHome: '/pages/index/index',
|
|
54
54
|
shopFans: '/pages/shopfans/pages/index/index',
|
|
55
55
|
shopLight: '/pages/shoplight/pages/index/index',
|
|
56
56
|
couponSearch: '/pages/search/subPackages/coupon/coupon',
|
|
57
57
|
shopx: '/pages/shopx/pages/index/index',
|
|
58
58
|
shopSearch: '/pages/shopx/pages/searchPanel/index',
|
|
59
59
|
mshop: domain.mshop,
|
|
60
60
|
pages: domain.pages,
|
|
61
61
|
couponSearch: `${domain.mobileSo}/list/couponSearch.action`,
|
|
62
62
|
pcCouponSearch:`${domain.pcSo}/Search`,
|
|
63
63
|
shopSecondActivity: `${domain.sale}/m/h5/`,
|
|
64
64
|
shopLight: `${domain.sale}/liteshop/index.html`,
|
|
65
65
|
detail: `${domain.mobileDetail}/product/`,
|
|
66
66
|
pcDetail: `https://item.jd.com/`,
|
|
67
67
|
pcCoupon: `${domain.pcCoupon}/ilink/couponActiveFront/linkKey/front_index.action`,
|
|
68
68
|
mobileHome: `${domain.mobileHome}`,
|
|
69
69
|
rank: `${domain.ranking}/comLandingPage/comLandingPage`,
|
|
70
70
|
wqShopMember: `${domain.wqshop}/mshop/QueryShopMemberInfo`,
|
|
71
71
|
wqShopDetail: `${domain.wqshop}/mshop/GetShopIntroduce`,
|
|
72
72
|
wqShopSearch: `${domain.wqshop}/mshop/SearchList`,
|
|
73
73
|
shopMember: `${domain.shopMember}/shopcard`,
|
|
74
74
|
shopMemberPointDetail: `${domain.shopMember}/member/membersPoint`,
|
|
75
75
|
shopMemberBenefit: `${domain.shopMember}/shopbenefit`,
|
|
76
76
|
shopMemberRule: `${domain.shopMember}/member/membersRule`,
|
|
77
77
|
shopMemberCloseAccount: `${domain.shopMember}/member/memberCloseAccount`,
|
|
78
78
|
shopMemberPointExchange: `${domain.shopMember}/memberpoint`,
|
|
79
79
|
shopMemberBonusPurchase: `${domain.shopMember}/bonuspurchase`,
|
|
80
80
|
shopMemberGood: `${domain.shopMember}/member/membersGood`,
|
|
81
81
|
beanDetail: `${domain.bean}/beanDetail/index.action`,
|
|
82
82
|
totalPromotion: `${domain.mobileSo}/list/itemSearch.action`,
|
|
83
83
|
mLive: `${domain.lives}/#`,
|
|
84
84
|
shopHome: `${domain.pages}/shop/home`,
|
|
85
85
|
shopIntroduce: `${domain.pages}/shop/introduce`,
|
|
86
86
|
shopSearch: `${domain.pages}/shop/search`,
|
|
87
87
|
shopLottery: `${domain.pages}/shop/lottery`,
|
|
88
88
|
shopCoupon: `${domain.pages}/shop/coupon`,
|
|
89
89
|
shopWares: `${domain.pages}/shop/wares`,
|
|
90
90
|
shopFastShopping: `${domain.pages}/shop/fastShopping`,
|
|
91
91
|
shopSpeciSeckill: `${domain.pages}/shop/specialSeckill`,
|
|
92
92
|
shopVideos: `${domain.pages}/shop/videos`,
|
|
93
93
|
shopUseShareOrderUgcContent: `${domain.capturehomeshare}/aha/ugcShare.html`,
|
|
94
94
|
dongDongChat: `${domain.jdcs}/chat/index.action`,
|
|
95
95
|
samCenter: `${domain.pages}/shop/samCenter`,
|
|
96
96
|
samCard: `${domain.pages}/shop/samCard`,
|
|
97
97
|
shopH5MemberCardAPP: `${domain.pages}/member/shopcard`,
|
|
98
98
|
shopH5MemberCardM: `${domain.pages}/member/m/shopcard`,
|