@conecli/cone-render 0.8.20 → 0.8.21-shop-beta.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/common/index.jd.ts +1 -1
- package/dist/common/index.ts +1 -1
- package/dist/common/index.weapp.ts +1 -1
- package/dist/common/isvStorage/index.h5.ts +1 -0
- package/dist/common/isvStorage/index.ts +1 -0
- package/dist/common/token/const.ts +1 -0
- package/dist/common/token/index.h5.ts +1 -0
- package/dist/common/token/index.ts +1 -0
- package/dist/common/token/token.jd.ts +1 -0
- package/dist/common/token/token.ts +1 -0
- package/dist/common/token/token.wxapp.ts +1 -0
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CommonFloorHead/index.module.scss +1 -1
- package/dist/components/base/CommonFloorHead/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/const.ts +1 -0
- package/dist/components/base/CustomVideo/index.module.scss +40 -64
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/Dialog/index.module.scss +6 -2
- package/dist/components/base/Dialog/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/const.ts +1 -0
- package/dist/components/base/ExposureSmart/index.h5.module.scss +18 -4
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.module.scss +20 -9
- package/dist/components/base/ExposureSmart/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
- package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
- package/dist/components/base/InViewRender/index.tsx +1 -1
- package/dist/components/base/InViewRender/index.weapp.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.module.scss +8 -0
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -0
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +7 -1
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/{const.ts → Base/const.ts} +0 -0
- package/dist/components/base/Price/Base/index.module.scss +136 -0
- package/dist/components/base/Price/Base/index.tsx +1 -0
- package/dist/components/base/Price/Double/index.module.scss +158 -0
- package/dist/components/base/Price/Double/index.tsx +1 -0
- package/dist/components/base/Price/index.tsx +1 -1
- package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
- package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
- package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
- package/dist/components/floorItem.jd.tsx +1 -0
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/components/remoteFloorItem.tsx +1 -0
- package/dist/interface/common.ts +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/const.ts +1 -1
- package/dist/jumpEventReport/createReportFloorData.ts +1 -1
- package/dist/jumpEventReport/index.h5.ts +1 -1
- package/dist/jumpEventReport/index.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web/report.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.jdb.ts +1 -0
- package/dist/jumpEventReport/web.jdjch.ts +1 -0
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +10 -1
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/device.ts +1 -1
- package/dist/open/api/index.ts +1 -1
- package/dist/open/api/jump/business.ts +1 -0
- package/dist/open/api/jump/index.ts +1 -0
- package/dist/open/api/jump/minPath.ts +1 -0
- package/dist/open/api/jump/side.ts +1 -0
- package/dist/open/api/jump/webUrl.ts +1 -0
- package/dist/open/api/jump copy.ts +1 -0
- package/dist/open/api/moduleUtil.ts +1 -1
- package/dist/open/api/request.ts +1 -0
- package/dist/open/api/shopMember.ts +1 -0
- package/dist/open/api/track.ts +1 -1
- package/dist/open/api/userToken.ts +1 -0
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/service/bMallConst.ts +1 -0
- package/dist/service/bMallConst.weapp.ts +1 -0
- package/dist/service/fetchGateway.ts +1 -0
- package/dist/service/fetchJsonp.ts +1 -0
- package/dist/service/http/colorSign.ts +1 -0
- package/dist/service/http/colorSign.weapp.ts +1 -0
- package/dist/service/http/const.ts +1 -0
- package/dist/service/http/http.ts +1 -0
- package/dist/service/http/httpInterceptors.jd.ts +1 -0
- package/dist/service/http/httpInterceptors.ts +1 -0
- package/dist/service/http/index.ts +1 -0
- package/dist/service/requestServer.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/intersectionObserver.ts +1 -1
- package/dist/utils/jm-common.js +1 -1
- package/dist/utils/memberFormatUtils.js +1 -0
- package/dist/utils/priceUtils.js +1 -0
- package/dist/utils/ready.ts +1 -0
- package/dist/utils/utils.ts +1 -1
- package/package.json +9 -5
- package/dist/components/base/Price/index.module.scss +0 -136
- package/dist/open/api/jump.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import { domain } from '../../api'
|
|
1
|
+
import { domain } from '../../api'
|
|
2
2
|
shop: '/pages/shop/index/index',
|
|
3
3
|
detail: '/pages/gold/item/pages/detail/index',
|
|
4
4
|
searchCoupon: '/pages/search/subPackages/coupon/coupon',
|
|
5
5
|
h5: '/pages/h5/index',
|
|
6
6
|
jingGouHome: '/pages/index/index',
|
|
7
7
|
shopFans: '/pages/shopfans/pages/index/index',
|
|
8
8
|
shopLight: '/pages/shoplight/pages/index/index',
|
|
9
9
|
couponSearch: '/pages/search/subPackages/coupon/coupon',
|
|
10
10
|
shopx: '/pages/shopx/pages/index/index',
|
|
11
11
|
shopSearch: '/pages/shopx/pages/searchPanel/index',
|
|
12
12
|
mshop: domain.mshop,
|
|
13
13
|
pages: domain.pages,
|
|
14
14
|
couponSearch: `${domain.mobileSo}/list/couponSearch.action`,
|
|
15
15
|
shopSecondActivity: `${domain.sale}/m/h5/`,
|
|
16
16
|
shopLight: `${domain.sale}/liteshop/index.html`,
|
|
17
17
|
detail: `${domain.mobileDetail}/product/`,
|
|
18
18
|
mobileHome: `${domain.mobileHome}`,
|
|
19
19
|
rank: `${domain.ranking}/comLandingPage/comLandingPage`,
|
|
20
20
|
wqShopMember: `${domain.wqshop}/mshop/QueryShopMemberInfo`,
|
|
21
21
|
wqShopDetail: `${domain.wqshop}/mshop/GetShopIntroduce`,
|
|
22
22
|
wqShopSearch: `${domain.wqshop}/mshop/SearchList`,
|
|
23
23
|
shopMember: `${domain.shopMember}/shopcard`,
|
|
24
24
|
shopMemberPointDetail: `${domain.shopMember}/member/membersPoint`,
|
|
25
25
|
shopMemberBenefit: `${domain.shopMember}/shopbenefit`,
|
|
26
26
|
shopMemberRule: `${domain.shopMember}/member/membersRule`,
|
|
27
27
|
shopMemberCloseAccount: `${domain.shopMember}/member/memberCloseAccount`,
|
|
28
28
|
shopMemberPointExchange: `${domain.shopMember}/memberpoint`,
|
|
29
29
|
shopMemberBonusPurchase: `${domain.shopMember}/bonuspurchase`,
|
|
30
30
|
shopMemberGood: `${domain.shopMember}/member/membersGood`,
|
|
31
31
|
beanDetail: `${domain.bean}/beanDetail/index.action`,
|
|
32
32
|
totalPromotion: `${domain.mobileSo}/list/itemSearch.action`,
|
|
33
33
|
mLive: `${domain.lives}/#`,
|
|
34
34
|
shopHome: `${domain.pages}/shop/home`,
|
|
35
35
|
shopIntroduce: `${domain.pages}/shop/introduce`,
|
|
36
36
|
shopSearch: `${domain.pages}/shop/search`,
|
|
37
37
|
shopLottery: `${domain.pages}/shop/lottery`,
|
|
38
38
|
shopCoupon: `${domain.pages}/shop/coupon`,
|
|
39
39
|
shopWares: `${domain.pages}/shop/wares`,
|
|
40
40
|
shopFastShopping: `${domain.pages}/shop/fastShopping`,
|
|
41
41
|
shopSpeciSeckill: `${domain.pages}/shop/specialSeckill`,
|
|
42
42
|
shopVideos: `${domain.pages}/shop/videos`,
|
|
43
43
|
shopUseShareOrderUgcContent: `${domain.capturehomeshare}/aha/ugcShare.html`,
|
|
44
44
|
dongDongChat: `${domain.jdcs}/chat/index.action`,
|
|
45
45
|
samCenter: `${domain.pages}/shop/samCenter`,
|
|
46
46
|
samCard: `${domain.pages}/shop/samCard`,
|
|
47
47
|
shopH5MemberCardAPP: `${domain.pages}/member/shopcard`,
|
|
48
48
|
shopH5MemberCardM: `${domain.pages}/member/m/shopcard`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export enum LogPnameInfo {
|
|
1
|
+
export enum LogPnameInfo {
|
|
2
2
|
HOME = 'home',
|
|
3
3
|
MEMBER = 'member',
|
|
4
4
|
CLASSIFY = 'classify',
|
|
5
5
|
PROMOTION = 'promotion',
|
|
6
6
|
WX_SHOP_HOME = 'wx_shop_home',
|
|
7
7
|
APP_SHOP_DETAIL = 'app_Shop_ShopDetail',
|
|
8
8
|
MOBILE_SEARCH = 'MShop_SearchResult',
|
|
9
9
|
APP_SHOP_MEMBER = 'Shop_ShopCard',
|
|
10
10
|
MOBILE_SEARCH = 'MShop_SearchResult',
|
|
11
11
|
APP_SHOP_MEMBER = 'Shop_ShopCard'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import { sgmCustomReport } from '../../utils'
|
|
2
2
|
if (window.MPing) {
|
|
3
3
|
resolve(true)
|
|
4
4
|
} else {
|
|
5
5
|
if (isReportReadyError) {
|
|
6
6
|
reject(false)
|
|
7
7
|
} else {
|
|
8
8
|
ready('MPing', 3000).then(() => {
|
|
9
9
|
isReportReadyError = false
|
|
10
10
|
resolve(true)
|
|
11
11
|
}).catch(() => {
|
|
12
12
|
isReportReadyError = true
|
|
13
13
|
reject(false)
|
|
14
14
|
})
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
return new Promise((resolve, reject) => {
|
|
18
18
|
const { pageId, pageParam, pTag, ...otherParam } = opts
|
|
19
19
|
getReportObjReadyPromise().then(() => {
|
|
20
20
|
const pv = new MPing.inputs.PV({
|
|
21
21
|
page_id: pageId,
|
|
22
22
|
})
|
|
23
23
|
pv.page_param = pageParam
|
|
24
24
|
otherParam &&
|
|
25
25
|
Object.keys(otherParam).forEach((key) => {
|
|
26
26
|
pv[key] = otherParam[key]
|
|
27
27
|
})
|
|
28
28
|
if (window.wqlog && pTag) {
|
|
29
29
|
wqlog('wqmodule.send', 'pv', {
|
|
30
30
|
ptag: pTag,
|
|
31
31
|
})
|
|
32
32
|
console.log('wqmodule.send-pv pTag 上报完毕', pTag)
|
|
33
33
|
}
|
|
34
34
|
const mping = new MPing()
|
|
35
35
|
mping.send(pv)
|
|
36
36
|
setTimeout(() => resolve(true), 200)
|
|
37
37
|
}).catch(e => {
|
|
38
38
|
reject(e)
|
|
39
39
|
})
|
|
40
40
|
}).catch(err => {
|
|
41
41
|
console.log("上报异常", err)
|
|
42
42
|
sgmCustomReport({
|
|
43
43
|
code: 'reportErr',
|
|
44
44
|
msg: '埋点js加载异常,导致MPing不存在,pv具体上报参数如下==>' + JSON.stringify(opts),
|
|
45
45
|
})
|
|
46
46
|
})
|
|
47
47
|
return new Promise((resolve, reject) => {
|
|
48
48
|
const {
|
|
49
49
|
eid,
|
|
50
50
|
eparam,
|
|
51
51
|
jsonParam,
|
|
52
52
|
pageParam,
|
|
53
53
|
elevel,
|
|
54
54
|
pageId = 'TerminatorNew_All',
|
|
55
55
|
} = opts
|
|
56
56
|
getReportObjReadyPromise().then(() => {
|
|
57
57
|
const click = new MPing.inputs.Click(eid)
|
|
58
58
|
click.json_param = jsonParam
|
|
59
59
|
if(eparam) {
|
|
60
60
|
click.event_param = jsonParam
|
|
61
61
|
}
|
|
62
62
|
click.page_id = pageId
|
|
63
63
|
click.page_name = pageName
|
|
64
64
|
pageParam && (click.page_param = pageParam)
|
|
65
65
|
elevel && (click.event_level = elevel)
|
|
66
66
|
click.updateEventSeries()
|
|
67
67
|
new MPing().send(click)
|
|
68
68
|
setTimeout(() => resolve(true), 200)
|
|
69
69
|
}).catch(e => {
|
|
70
70
|
reject(e)
|
|
71
71
|
})
|
|
72
72
|
}).catch(err => {
|
|
73
73
|
console.log("上报异常", err)
|
|
74
74
|
sgmCustomReport({
|
|
75
75
|
code: 'reportErr',
|
|
76
76
|
msg: '埋点js加载异常,导致MPing不存在,click具体上报参数如下==>' + JSON.stringify(opts),
|
|
77
77
|
})
|
|
78
78
|
})
|
|
79
79
|
const { jsonParam } = webLogParams
|
|
80
80
|
const { skuId } = opts
|
|
81
81
|
if(jsonParam && skuId) {
|
|
82
82
|
try {
|
|
83
83
|
let jsonObj = JSON.parse(jsonParam)
|
|
84
84
|
jsonObj['skuid'] = skuId + ''
|
|
85
85
|
webLogParams.jsonParam = JSON.stringify(jsonObj)
|
|
86
86
|
}catch (e) {
|
|
87
87
|
console.log(e)
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
return reportClick(webLogParams)
|