@conecli/cone-render 0.10.1-shop3.8 → 0.10.1-shop3.80
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/README.md +1 -1
- package/dist/api/index.ts +1 -1
- package/dist/common/accessibility.h5.ts +1 -0
- package/dist/common/accessibility.ts +0 -0
- 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/jdplayerSdk.weapp.tsx +1 -0
- package/dist/common/jssdk.ts +1 -1
- package/dist/common/jssdk.weapp.ts +1 -0
- package/dist/common/pageType.ts +1 -1
- package/dist/common/token/index.h5.ts +1 -1
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/common/wxappApi.ts +1 -1
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CommonFloorHead/index.tsx +1 -1
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
- package/dist/components/base/InOrOutViewObserver/index.weapp.tsx +1 -0
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.weapp.tsx +1 -0
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +118 -72
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Base/index.module.scss +12 -0
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +24 -0
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
- package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
- package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
- package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
- package/dist/components/debug/DebugLayout/index.module.scss +2 -2
- 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/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.jd.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.h5.ts +1 -0
- 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.pc.ts +1 -1
- package/dist/jumpEventReport/web.tjm.ts +1 -1
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/language/en_US.json +274 -0
- package/dist/language/zh_CN.json +274 -0
- package/dist/language/zh_HK.json +274 -0
- package/dist/libs/openShopBridge.js +161 -0
- package/dist/libs/openShopBridge.min.js +1 -0
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +16 -2
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/shopMember.weapp.ts +1 -0
- package/dist/open/api/track.ts +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/open/index.ts +1 -1
- package/dist/sass/app.h5.scss +27 -1
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/fetchGateway.weapp.ts +1 -1
- package/dist/service/fetchJsonp.weapp.ts +1 -0
- package/dist/service/http/const.ts +1 -1
- package/dist/service/http/h5Http.ts +1 -1
- package/dist/service/http/httpInterceptors.weapp.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -1
- package/dist/service/requestServer.ts +1 -1
- package/dist/service/requestServer.weapp.ts +1 -1
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/harmonyCallRouter.h5.ts +1 -0
- package/dist/utils/harmonyCallRouter.ts +0 -0
- 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/jumpExtMapUtil.ts +1 -0
- package/dist/utils/log.ts +1 -0
- package/dist/utils/{sColor.js → sColor.ts} +1 -1
- package/dist/utils/sColor.weapp.ts +1 -0
- package/dist/utils/utils.ts +1 -1
- package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
- package/dist/wxapp/common/user_info.js +1 -1
- package/package.json +162 -141
- package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
- package/dist/utils/priceUtils.js +0 -1
- /package/dist/utils/{jumpExtMapUtil.js → jumpExtMapUtil.h5.ts} +0 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cancelChanges": "取消修改",
|
|
3
|
+
"memberUniqueCoupon": "會員專屬券",
|
|
4
|
+
"memberInstructionDetail": "規則說明",
|
|
5
|
+
"timeToEnd": "距結束",
|
|
6
|
+
"joinMemberFail": "加入品牌會員失敗",
|
|
7
|
+
"failBusy": "活動火爆,請稍後再試",
|
|
8
|
+
"inviteToMember": "邀您加入品牌會員",
|
|
9
|
+
"paidMemberCoupon": "品牌訂閱尊享券",
|
|
10
|
+
"unlimitedAmount1": "不限金額",
|
|
11
|
+
"lv0Star": "LV0 會員",
|
|
12
|
+
"viewAllProducts": "查看全部商品",
|
|
13
|
+
"cancelBtnMsg": "取消",
|
|
14
|
+
"coupons": "店鋪優惠券",
|
|
15
|
+
"failCode": "驗證碼發送失敗,請稍後重試",
|
|
16
|
+
"firstDiscount": "首購立減",
|
|
17
|
+
"memberSprintNoStandardTip": "您的實際訂單金額未達到挑戰消費門檻",
|
|
18
|
+
"authorize": "授權解鎖",
|
|
19
|
+
"noProductNew": "該店鋪暫未上架發佈商品",
|
|
20
|
+
"goToShop": "進店",
|
|
21
|
+
"bookingNextPart": "預約下期",
|
|
22
|
+
"queryFailedTryAgain": "查詢失敗,請稍後重試",
|
|
23
|
+
"edit": "修改",
|
|
24
|
+
"fansChat": "粉絲羣聊",
|
|
25
|
+
"belowProductAvailable": "以下商品可用",
|
|
26
|
+
"failNetwork": "網絡異常,請稍後重試",
|
|
27
|
+
"limitedInStoreAvailable": "限店內部分商品",
|
|
28
|
+
"fold": "折",
|
|
29
|
+
"newRelease": "上新",
|
|
30
|
+
"cancelMemberlFailMsg": "解綁會員失敗,請稍後再試",
|
|
31
|
+
"reserved": "已預約",
|
|
32
|
+
"memberCardAgreement": "會員授權協議",
|
|
33
|
+
"timeUnitSecond": "秒",
|
|
34
|
+
"pointsExchangeTask": "積分兌換任務",
|
|
35
|
+
"exchanged": "可兌",
|
|
36
|
+
"memberGiftReceiveTip": "禮包已發放至賬戶,可在已領權益中查看",
|
|
37
|
+
"memberCoupon": "會員專享券",
|
|
38
|
+
"successMsg": "成功",
|
|
39
|
+
"newWareCalendar": "上新日曆",
|
|
40
|
+
"insufficientPoints": "積分不足",
|
|
41
|
+
"recommendOrder": "推薦排序",
|
|
42
|
+
"memberOnlyExclusiveCoupon": "會員限量專屬神券",
|
|
43
|
+
"checkNetwork": "請檢查您的網絡設置",
|
|
44
|
+
"memberBalance": "膨脹金",
|
|
45
|
+
"cancelMemberCardContent": "注意: 註銷會員卡後包括但不限於以下權益無法繼續享用會員專屬券、會員積分權益、會員專享價",
|
|
46
|
+
"pointsExchange": "積分兌換",
|
|
47
|
+
"memberGiftCongrats": "恭喜獲得入會禮包",
|
|
48
|
+
"ReceiveNow": "立即領取",
|
|
49
|
+
"pleaseInput": "請輸入",
|
|
50
|
+
"sendSuccess": "發送成功",
|
|
51
|
+
"failReceive": "領取失敗",
|
|
52
|
+
"unFollowMsg": "已取消關注",
|
|
53
|
+
"welcomeToSageShop": "歡迎來到我的店鋪~",
|
|
54
|
+
"highTraffic": "活動太火爆,訪問人數較多",
|
|
55
|
+
"newlyFirst": "新品優先",
|
|
56
|
+
"pleaseInputCode": "請輸入驗證碼",
|
|
57
|
+
"verifyCode": "驗證碼",
|
|
58
|
+
"exclusiveCoupon": "專享券",
|
|
59
|
+
"searchBtn": "搜索",
|
|
60
|
+
"payPrivilege": "尊享特權",
|
|
61
|
+
"openCardActivity": "入會有禮",
|
|
62
|
+
"addCartAndSettle": "加車並結算",
|
|
63
|
+
"yuan": "元",
|
|
64
|
+
"birthdayGift": "會員生日禮",
|
|
65
|
+
"starMember": "星會員",
|
|
66
|
+
"hotSearch": "熱搜",
|
|
67
|
+
"sceneFeedsTryon": "點我試穿",
|
|
68
|
+
"tapAndReceive": "一鍵領取",
|
|
69
|
+
"joinGiftsDesc": "新會員專享,禮品有限,以實際使用爲準",
|
|
70
|
+
"searchHistory": "搜索歷史",
|
|
71
|
+
"validity": "有效期",
|
|
72
|
+
"sceneFeedsMore": "更多搭配",
|
|
73
|
+
"moreRights": "更多權益",
|
|
74
|
+
"upgradeSubMember": "升級成爲品牌訂閱會員",
|
|
75
|
+
"relatedMemberInfo": "關聯會員信息",
|
|
76
|
+
"newReleaseToday": "今日上新",
|
|
77
|
+
"allProductUseable": "全部商品可用",
|
|
78
|
+
"available": "可用",
|
|
79
|
+
"memberCardInstruction": "開卡須知",
|
|
80
|
+
"rules": "規則",
|
|
81
|
+
"joinBrand": "加入品牌會員 享專屬好禮",
|
|
82
|
+
"fansBenefits": "寵粉福利",
|
|
83
|
+
"timeUnitMinute": "分",
|
|
84
|
+
"memberFilter": "條件",
|
|
85
|
+
"isCancelMemberContent": "你將錯過超值會員專屬福利",
|
|
86
|
+
"ensureBtnMsg": "確定",
|
|
87
|
+
"sceneFeedsButton": "搭配購",
|
|
88
|
+
"viewReplay": "查看回放",
|
|
89
|
+
"moreRight": "更多權益敬請期待",
|
|
90
|
+
"receiveAndViewMoreRights": "領取並查看更多權益",
|
|
91
|
+
"successAddCart": "加入購物車成功",
|
|
92
|
+
"failSubscribe": "訂閱失敗,請稍後重試",
|
|
93
|
+
"noticeMsg": "請關注消息提醒",
|
|
94
|
+
"pageLoadFailed": "排隊進場中,請稍後再試",
|
|
95
|
+
"sceneFeedsNoData": "哎呀,商家暫時未發佈搭配購數據~",
|
|
96
|
+
"viewAvailableProducts": "查看可用商品",
|
|
97
|
+
"selectAll": "全選",
|
|
98
|
+
"noShopTip": "暫無店鋪",
|
|
99
|
+
"openCardNow": "立即開卡",
|
|
100
|
+
"failCancel": "取消失敗,請稍後重試",
|
|
101
|
+
"joinMemberDesc": "0元入會,享專屬會員權益",
|
|
102
|
+
"successSubscribe": "訂閱成功",
|
|
103
|
+
"memberRule": "會員規則",
|
|
104
|
+
"failMsg": "請稍後再試",
|
|
105
|
+
"pleaseInputMobileNumber": "請輸入手機號",
|
|
106
|
+
"sceneShopping": "搭配購買",
|
|
107
|
+
"confirmExchangeTextYes": "確定兌換",
|
|
108
|
+
"memberPoint": "積分兌換",
|
|
109
|
+
"pleaseSelectSceneProduct": "請選擇搭配商品",
|
|
110
|
+
"joinIn": "入會參與",
|
|
111
|
+
"cancelMsg": "取消訂閱成功",
|
|
112
|
+
"reveivedRights": "已領權益",
|
|
113
|
+
"buyers": "人已跟買",
|
|
114
|
+
"joinMemberNow": "立即加入會員",
|
|
115
|
+
"toBeUsed": "待使用",
|
|
116
|
+
"successCode": "發送驗證碼成功",
|
|
117
|
+
"usable": "元可用",
|
|
118
|
+
"toBeClaimed": "待領取",
|
|
119
|
+
"globalShare": "分享",
|
|
120
|
+
"someProductUseable": "部分商品可用",
|
|
121
|
+
"hasSent": "已發送",
|
|
122
|
+
"memberAnd": "以及",
|
|
123
|
+
"failAddCart": "加入購物車失敗,請稍後重試",
|
|
124
|
+
"successJoinIn": "參與成功",
|
|
125
|
+
"over": "滿",
|
|
126
|
+
"memberCoupons": "會員優惠券",
|
|
127
|
+
"goForOtherShopProducts": "去看看其他店鋪商品",
|
|
128
|
+
"addCart": "加入購物車",
|
|
129
|
+
"globalMessage": "消息",
|
|
130
|
+
"bookingReminder": "預約提醒",
|
|
131
|
+
"xian": "限",
|
|
132
|
+
"emailError": "請輸入正確的郵箱",
|
|
133
|
+
"mobileNumberError": "未填寫正確的手機號",
|
|
134
|
+
"joinBrands": "加入品牌會員",
|
|
135
|
+
"isCancelMemberTitle": "真的要註銷會員嗎?",
|
|
136
|
+
"brandActivity": "品牌活動",
|
|
137
|
+
"shopPopularity": "店鋪人氣",
|
|
138
|
+
"joinMemberSuccess": "入會成功",
|
|
139
|
+
"sorce": "積分",
|
|
140
|
+
"immediatelyExchange": "立即兌換",
|
|
141
|
+
"drawNow": "立即抽獎",
|
|
142
|
+
"pleaseSelect": "請選擇",
|
|
143
|
+
"1Star": "一星會員",
|
|
144
|
+
"hasUsed": "已使用",
|
|
145
|
+
"hasExchanged": "已兌換",
|
|
146
|
+
"fansMember": "店鋪會員",
|
|
147
|
+
"confirmExchangeTextNo": "暫不兌換",
|
|
148
|
+
"failFollow": "關注失敗,請稍後重試",
|
|
149
|
+
"mobileNumber": "手機號",
|
|
150
|
+
"discount": "折",
|
|
151
|
+
"cancelMemberCard": "註銷會員卡",
|
|
152
|
+
"joinGifts": "入會禮包",
|
|
153
|
+
"noGiftTryAgain": "暫未查詢到禮包,請稍後再試",
|
|
154
|
+
"allLoaded": "已經瀏覽完了,去看看別的",
|
|
155
|
+
"openCardSuccessAndReturn": "加入品牌會員成功,將爲您自動返回",
|
|
156
|
+
"shopDetail": "店鋪詳情",
|
|
157
|
+
"joinMemberSuccess2": "加入品牌會員成功",
|
|
158
|
+
"failLoad": "加載出錯,點擊重試",
|
|
159
|
+
"collapsePrivilege": "收起特權",
|
|
160
|
+
"cancelMemberConfirmText": "註銷會員",
|
|
161
|
+
"memberFranchise": "特權",
|
|
162
|
+
"memberAddMemberInfo": "入會規則權益",
|
|
163
|
+
"levelGifts": "等級禮包",
|
|
164
|
+
"song": "送",
|
|
165
|
+
"contentUnavailable": "你訪問的內容飛到太空了",
|
|
166
|
+
"successReceive": "領取成功",
|
|
167
|
+
"collar": "領",
|
|
168
|
+
"allPrivilege": "全部特權",
|
|
169
|
+
"successAddShopList": "加入購物清單成功",
|
|
170
|
+
"verifyCodeError": "未填寫正確的驗證碼",
|
|
171
|
+
"memberBirthdayGift": "會員生日禮",
|
|
172
|
+
"memberFirstPurchaseBonus": "首購禮金",
|
|
173
|
+
"reachTo": "滿",
|
|
174
|
+
"myPoints": "我的積分",
|
|
175
|
+
"loading": "加載中",
|
|
176
|
+
"soldOut": "已搶光",
|
|
177
|
+
"sgBonus": "首購禮金",
|
|
178
|
+
"newReleaseSeason": "當季新品",
|
|
179
|
+
"confirmExchange": "確認要兌換嗎?",
|
|
180
|
+
"openCardNowAndReceive": "立即開卡並領取",
|
|
181
|
+
"timeUnitDay": "天",
|
|
182
|
+
"5Star": "五星會員",
|
|
183
|
+
"greatRedPacket": "超值紅包",
|
|
184
|
+
"sendCodeFail": "發送失敗, 請稍後再試",
|
|
185
|
+
"noProduct": "哎呀,店鋪內沒有商品呢~",
|
|
186
|
+
"shopYearDescText": "獲得年度五星榮譽, 評級超過99%的店鋪",
|
|
187
|
+
"joinYouToMember": "授權加入店鋪會員",
|
|
188
|
+
"activateNow": "立即開通",
|
|
189
|
+
"goForMemberPriced": "去看看會員價商品",
|
|
190
|
+
"rightsDesc": "權益說明",
|
|
191
|
+
"memberSprintConfirmTip": "確認收貨,纔可領獎哦",
|
|
192
|
+
"sorryNoProduct": "抱歉,沒有找到商品額~",
|
|
193
|
+
"2Star": "二星會員",
|
|
194
|
+
"joinReceive": "入會領取",
|
|
195
|
+
"filterCriteriaMsg": "篩選條件",
|
|
196
|
+
"memberSearchShop": "查看本店",
|
|
197
|
+
"improveMemberInfo": "授權手機號 完善會員信息",
|
|
198
|
+
"memberPointsFranchise": "會員積分權益",
|
|
199
|
+
"outOfStock": "無貨",
|
|
200
|
+
"loseNetwork": "網絡連接已斷開",
|
|
201
|
+
"simplifiedMode": "已切換爲簡潔模式",
|
|
202
|
+
"resetBtnMsg": "重置",
|
|
203
|
+
"cancelMemberCloseText": "我再想想",
|
|
204
|
+
"coupon": "優惠券",
|
|
205
|
+
"more": "更多",
|
|
206
|
+
"memberPrizeLimit": "限量福利 先到先得 以實際領取爲準",
|
|
207
|
+
"deleteAll": "全部刪除",
|
|
208
|
+
"followShop": "關注店鋪",
|
|
209
|
+
"timeToStart": "距開始",
|
|
210
|
+
"congratulationsOnLevelGifts": "恭喜獲得專屬等級禮包",
|
|
211
|
+
"chat": "私聊",
|
|
212
|
+
"notYetAndDisappearThreeSeconds": "沒抽中呢~活動將在3秒後消失~",
|
|
213
|
+
"ReceiveCouponNow": "立即領券",
|
|
214
|
+
"complete": "完成",
|
|
215
|
+
"fullMode": "已切換爲完整模式",
|
|
216
|
+
"exchangeSuccess": "兌換成功",
|
|
217
|
+
"timeUnitHour": "時",
|
|
218
|
+
"use": "可用",
|
|
219
|
+
"effectiveTime": "有效時間",
|
|
220
|
+
"getQualification": "領取資格",
|
|
221
|
+
"unlimitedAmount": "不限額度",
|
|
222
|
+
"used": "期可用",
|
|
223
|
+
"mobileNumberErrorInput": "請輸入正確的手機號",
|
|
224
|
+
"points": "積分",
|
|
225
|
+
"openCardDelayTip": "系統出現延遲,請點擊左上角按鈕返回繼續領取樣品",
|
|
226
|
+
"failAddShopList": "加入購物清單失敗,請稍後重試",
|
|
227
|
+
"reserveNow": "立即預約",
|
|
228
|
+
"failReceiveGift": "禮包領取失敗",
|
|
229
|
+
"noPriceTip": "暫無報價",
|
|
230
|
+
"officialReduction": "官方立減",
|
|
231
|
+
"all": "全部",
|
|
232
|
+
"updateCardMemberAndEnjoy": "升級開卡會員領好禮",
|
|
233
|
+
"4Star": "四星會員",
|
|
234
|
+
"allStoreAvailable": "全店通用",
|
|
235
|
+
"manyPeoleFollow": "人關注",
|
|
236
|
+
"membersExclusive": "會員專享",
|
|
237
|
+
"jingdou": "京豆",
|
|
238
|
+
"viewAll": "查看全部",
|
|
239
|
+
"successFollow": "關注成功",
|
|
240
|
+
"expand": "展開",
|
|
241
|
+
"followers": "粉絲",
|
|
242
|
+
"memberRules": "會員規則",
|
|
243
|
+
"memberPriceSku": "會員價商品",
|
|
244
|
+
"loadDataFailed": "數據加載失敗",
|
|
245
|
+
"ensureMemberAuthorize": "確認授權",
|
|
246
|
+
"sendCode": "獲取驗證碼",
|
|
247
|
+
"membership": "入會",
|
|
248
|
+
"payPrivilegeDesc": "品牌付費訂閱說明",
|
|
249
|
+
"globalShopDetail": "店鋪詳情",
|
|
250
|
+
"reload": "重新加載",
|
|
251
|
+
"3Star": "三星會員",
|
|
252
|
+
"memberUniquePrice": "會員專享價",
|
|
253
|
+
"joinEnjoyGifts": "入會享好禮",
|
|
254
|
+
"retryLater": "後重試",
|
|
255
|
+
"joinMember": "確認授權並加入店鋪會員",
|
|
256
|
+
"lookForwardTo": "敬請期待",
|
|
257
|
+
"limited": "數量有限",
|
|
258
|
+
"useNow": "立即使用",
|
|
259
|
+
"globalHome": "首頁",
|
|
260
|
+
"joinMemberRightNow": "立即加入品牌會員",
|
|
261
|
+
"follow": "關注",
|
|
262
|
+
"followed": "已關注",
|
|
263
|
+
"mobileNumberErrorFill": "未填寫正確的手機號",
|
|
264
|
+
"freeMemberRights": "免費會員可享權益",
|
|
265
|
+
"joinNow": "入會立享",
|
|
266
|
+
"exchangeFailedAndTryLater": "兌換失敗,請稍後重試",
|
|
267
|
+
"watchNow": "立即觀看",
|
|
268
|
+
"superMemberDay": "超級會員日",
|
|
269
|
+
"currentProduct": "當前商品",
|
|
270
|
+
"zhangCoupon": "張優惠券",
|
|
271
|
+
"nextEpisodePreview": "下期預告",
|
|
272
|
+
"collapse": "收起",
|
|
273
|
+
"pleaseTryAgainLater": "請稍後重試"
|
|
274
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileOverview 京东店铺JS桥
|
|
3
|
+
* @description 用于在京东店铺内嵌入H5页面时,与店铺原生交互。目前只用于外部团队开发H5页面内嵌到店铺原生环境,同时需要使用店铺原生能力的场景。当前接入业务:圈子tab页
|
|
4
|
+
* @updateOperate 更新方式:执行 build:openShopBridge 命令,生成压缩后代码,会自动放在 openShopBridge.min.js 文件中。同步将这个内容更新到 mpaas 店铺空间下 key=shop-bridge-js 的配置内容
|
|
5
|
+
* @h5UseExample 见代码最底部
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
window.JdShopBridge = {
|
|
9
|
+
_callRouterAndroid: function ({ routerURL, routerParam, callBackName = '' }) {
|
|
10
|
+
const getCallBackName = `window.${callBackName}`;
|
|
11
|
+
window?.JDJshop?.wrtNative(
|
|
12
|
+
JSON.stringify({
|
|
13
|
+
routerParam: JSON.stringify(routerParam), // 需要传入的参数,这里的key自定义的,optional,可选参数
|
|
14
|
+
serialize: '1', // 序列化参数,否则可能出现router返回的字符串里有特殊字符,导致js执行失败
|
|
15
|
+
callBackName: getCallBackName, // h5自定义的函数名称,optional,可选参数
|
|
16
|
+
callBackId: `${callBackName}Android`, // h5自定义的参数,用于区分同一个页面,optional,可选参数
|
|
17
|
+
}),
|
|
18
|
+
);
|
|
19
|
+
},
|
|
20
|
+
_callRouterIOS: function ({ routerURL, routerParam, callBackName = '', isSync = false }) {
|
|
21
|
+
const getCallBackName = `window.${callBackName}`;
|
|
22
|
+
const params = {
|
|
23
|
+
routerURL, // required,必选参数
|
|
24
|
+
serialize: '1', // 序列化参数,否则可能出现router返回的字符串里有特殊字符,导致js执行失败
|
|
25
|
+
routerParam, // 需要传入的参数,这里的key自定义的,optional,可选参数
|
|
26
|
+
callBackName: getCallBackName, // h5自定义的函数名称,optional,可选参数
|
|
27
|
+
callBackId: `${callBackName}Ios`, // h5自定义的参数,用于区分同一个页面,optional,可选参数
|
|
28
|
+
};
|
|
29
|
+
window?.webkit?.messageHandlers?.JDAppUnite?.postMessage({
|
|
30
|
+
method: isSync ? 'callSyncRouterModuleWithParams' : 'callRouterModuleWithParams',
|
|
31
|
+
params: JSON.stringify(params),
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
// 通用店铺桥方法
|
|
35
|
+
callNativeBridge: function (type = 'pageReady', sendData = null, callBackName = '') {
|
|
36
|
+
const ua = navigator.userAgent;
|
|
37
|
+
const getCallBackName = `window.${callBackName}`;
|
|
38
|
+
const getRouterParam = {
|
|
39
|
+
type,
|
|
40
|
+
callBackName: getCallBackName,
|
|
41
|
+
newHomePage: true,
|
|
42
|
+
};
|
|
43
|
+
if (sendData) {
|
|
44
|
+
Object.assign(getRouterParam, sendData);
|
|
45
|
+
}
|
|
46
|
+
if (/ip(hone|od)|ipad/i.test(ua)) {
|
|
47
|
+
console.log('调用店铺IOS桥');
|
|
48
|
+
this._callRouterIOS({
|
|
49
|
+
routerURL: 'router://JDShopModule/wrtNative',
|
|
50
|
+
routerParam: getRouterParam,
|
|
51
|
+
});
|
|
52
|
+
} else if (/android/i.test(ua)) {
|
|
53
|
+
console.log('调用店铺Android桥');
|
|
54
|
+
this._callRouterAndroid({
|
|
55
|
+
routerURL: 'router://JDJShopModule/wrtNative', // 京东主站中router多一个J,相比店铺内JDShopModule
|
|
56
|
+
routerParam: getRouterParam,
|
|
57
|
+
});
|
|
58
|
+
} else if ('harmony' === (ua.split(';')[1] || '').toLowerCase() || /arkweb/i.test(ua)) {
|
|
59
|
+
console.log('调用店铺Harmony桥');
|
|
60
|
+
const params = {
|
|
61
|
+
routerURL: '', // 鸿蒙暂时没用到该属性
|
|
62
|
+
routerParam: getRouterParam, // 需要传入的参数,这里的key自定义的,optional,可选参数
|
|
63
|
+
};
|
|
64
|
+
window.XWebView &&
|
|
65
|
+
window.XWebView.callNative(
|
|
66
|
+
'JdShopPlugin',
|
|
67
|
+
type,
|
|
68
|
+
JSON.stringify(params),
|
|
69
|
+
getCallBackName,
|
|
70
|
+
`${callBackName}HarmonyOS`,
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
// 设置页码信息
|
|
75
|
+
setPageInfo: function (params) {
|
|
76
|
+
this.callNativeBridge('pageCountInfo', {
|
|
77
|
+
data: params,
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
// 展示隐藏购物车icon
|
|
81
|
+
showCartIcon: function (isShow = true) {
|
|
82
|
+
this.callNativeBridge('showCartButton', {
|
|
83
|
+
data: {
|
|
84
|
+
isShow,
|
|
85
|
+
},
|
|
86
|
+
});
|
|
87
|
+
},
|
|
88
|
+
// 展示隐藏返回顶部icon
|
|
89
|
+
showBackToTopIcon: function (isShow = true) {
|
|
90
|
+
this.callNativeBridge('showBackToTop', {
|
|
91
|
+
data: isShow,
|
|
92
|
+
});
|
|
93
|
+
},
|
|
94
|
+
// 注册返回顶部icon点击回调
|
|
95
|
+
registerBackToTopClickCallback: function (callBackName = '') {
|
|
96
|
+
if (typeof window[callBackName] === 'function') {
|
|
97
|
+
this.callNativeBridge('registerBackToTopClickCallback', {
|
|
98
|
+
data: callBackName,
|
|
99
|
+
});
|
|
100
|
+
} else {
|
|
101
|
+
console.error(`registerBackToTopClickCallback: "${callBackName}" is not a global function`);
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
// 初始化一个自定义icon
|
|
105
|
+
initCustomIcon: function({
|
|
106
|
+
iconKey, // 自定义按钮的key,唯一标识
|
|
107
|
+
iconUrl, // 自定义按钮图片地址,建议使用120*120大小的图片
|
|
108
|
+
clickCallbackName, // 点击回调方法名,必须是定义在全局作用域
|
|
109
|
+
} = {}){
|
|
110
|
+
if (iconKey && iconUrl && typeof window[clickCallbackName] === 'function') {
|
|
111
|
+
this.callNativeBridge('initCustomIcon', {
|
|
112
|
+
data: {
|
|
113
|
+
iconKey,
|
|
114
|
+
iconUrl,
|
|
115
|
+
clickCallbackName
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
} else {
|
|
119
|
+
console.error(`initCustomIcon: invalid argument`);
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
showCustomIcon: function (iconKey, isShow = true) {
|
|
123
|
+
if(iconKey){
|
|
124
|
+
this.callNativeBridge('showCustomIcon', {
|
|
125
|
+
data: {
|
|
126
|
+
iconKey,
|
|
127
|
+
isShow
|
|
128
|
+
},
|
|
129
|
+
});
|
|
130
|
+
}else{
|
|
131
|
+
console.error(`showCustomIcon: iconKey must be a non-empty string`);
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
init: function () {
|
|
135
|
+
console.log('JdShopBridge V1.1 初始化完成');
|
|
136
|
+
return this;
|
|
137
|
+
},
|
|
138
|
+
version: 1.1
|
|
139
|
+
};
|
|
140
|
+
window.JdShopBridge = JdShopBridge.init();
|
|
141
|
+
|
|
142
|
+
// 注册返回顶部icon点击回调示例
|
|
143
|
+
// function shopEmbedH5BackToTop(){
|
|
144
|
+
// console.log('shopEmbedH5BackToTop() 触发拉')
|
|
145
|
+
// document.getElementById('/circle/home?stamp=AA').scrollTop = 0;
|
|
146
|
+
// }
|
|
147
|
+
// window.JdShopBridge.registerBackToTopClickCallback('shopEmbedH5BackToTop')
|
|
148
|
+
|
|
149
|
+
// 更新页码icon页码信息示例
|
|
150
|
+
// sentNativePageScrollPageInfo({"pageIdx":1,"totalPage":24})
|
|
151
|
+
|
|
152
|
+
// function myClickCallbackName(){
|
|
153
|
+
// console.log('myClickCallbackName() ~~')
|
|
154
|
+
// }
|
|
155
|
+
|
|
156
|
+
// JdShopBridge.initCustomIcon({
|
|
157
|
+
// iconKey: 'test9527', // 自定义按钮的key,唯一标识
|
|
158
|
+
// iconUrl: 'https://img13.360buyimg.com/imagetools/jfs/t1/387852/40/16687/6770/697820a6F4ae02234/03e60c80c818ff77.jpg', // 自定义按钮图片地址,建议使用120*120大小的图片
|
|
159
|
+
// clickCallbackName: 'myClickCallbackName', // 点击回调方法名,必须是定义在全局作用域
|
|
160
|
+
// })
|
|
161
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";window.JdShopBridge={_callRouterAndroid:function(o){o.routerURL;var i,a=o.routerParam,t=o.callBackName,e=void 0===t?"":t,n="window.".concat(e);null===(i=window)||void 0===i||null===(i=i.JDJshop)||void 0===i||i.wrtNative(JSON.stringify({routerParam:JSON.stringify(a),serialize:"1",callBackName:n,callBackId:"".concat(e,"Android")}))},_callRouterIOS:function(o){var i,a=o.routerURL,t=o.routerParam,e=o.callBackName,n=void 0===e?"":e,r=o.isSync,l=void 0!==r&&r,c={routerURL:a,serialize:"1",routerParam:t,callBackName:"window.".concat(n),callBackId:"".concat(n,"Ios")};null===(i=window)||void 0===i||null===(i=i.webkit)||void 0===i||null===(i=i.messageHandlers)||void 0===i||null===(i=i.JDAppUnite)||void 0===i||i.postMessage({method:l?"callSyncRouterModuleWithParams":"callRouterModuleWithParams",params:JSON.stringify(c)})},callNativeBridge:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pageReady",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",t=navigator.userAgent,e="window.".concat(a),n={type:o,callBackName:e,newHomePage:!0};if(i&&Object.assign(n,i),/ip(hone|od)|ipad/i.test(t))console.log("调用店铺IOS桥"),this._callRouterIOS({routerURL:"router://JDShopModule/wrtNative",routerParam:n});else if(/android/i.test(t))console.log("调用店铺Android桥"),this._callRouterAndroid({routerURL:"router://JDJShopModule/wrtNative",routerParam:n});else if("harmony"===(t.split(";")[1]||"").toLowerCase()||/arkweb/i.test(t)){console.log("调用店铺Harmony桥");var r={routerURL:"",routerParam:n};window.XWebView&&window.XWebView.callNative("JdShopPlugin",o,JSON.stringify(r),e,"".concat(a,"HarmonyOS"))}},setPageInfo:function(o){this.callNativeBridge("pageCountInfo",{data:o})},showCartIcon:function(){var o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.callNativeBridge("showCartButton",{data:{isShow:o}})},showBackToTopIcon:function(){var o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.callNativeBridge("showBackToTop",{data:o})},registerBackToTopClickCallback:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";"function"==typeof window[o]?this.callNativeBridge("registerBackToTopClickCallback",{data:o}):console.error('registerBackToTopClickCallback: "'.concat(o,'" is not a global function'))},initCustomIcon:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=o.iconKey,a=o.iconUrl,t=o.clickCallbackName;i&&a&&"function"==typeof window[t]?this.callNativeBridge("initCustomIcon",{data:{iconKey:i,iconUrl:a,clickCallbackName:t}}):console.error("initCustomIcon: invalid argument")},showCustomIcon:function(o){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];o?this.callNativeBridge("showCustomIcon",{data:{iconKey:o,isShow:i}}):console.error("showCustomIcon: iconKey must be a non-empty string")},init:function(){return console.log("JdShopBridge V1.1 初始化完成"),this},version:1.1},window.JdShopBridge=JdShopBridge.init();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 2025-
|
|
2
|
-
var Taro=require("@tarojs/taro");!function(c){var l={};"weapp"===process.env.TARO_ENV&&(l={1266:["direct","t_1000578832_xcx_1266_tpcabprk","xcx","-"],1265:["direct","t_1000578832_xcx_1265_tpxqy","xcx","-"],1287:["direct","t_1000072663_xcx_1287_djtp","xcx","-"],1309:["direct","t_1000072663_xcx_1309_wzxyxcps","xcx","-"],1306:["direct","t_1000072663_xcx_1306_djguxj","xcx","-"],1305:["direct","t_1000072663_xcx_1305_bojsy","xcx","-"],1281:["direct","t_1000578826_xcx_1281_xlwd","xcx","-"],1280:["direct","t_1000578826_xcx_1280_xlwd","xcx","-"],1301:["direct","t_1000578826_xcx_1301_fxrk","xcx","-"],1300:["direct","t_1000578826_xcx_1300_fxrk","xcx","-"],1298:["direct","t_1000578826_xcx_1298_xlwd","xcx","-"],1299:["direct","t_1000578826_xcx_1299_xlwd","xcx","-"],1304:["direct","t_1000578828_xcx_1304_sjfyp","xcx","-"],1286:["direct","t_1000578828_xcx_1286_mwscheme","xcx","-"],1256:["direct","t_1000578828_xcx_1256_pcmb","xcx","-"],1308:["direct","t_1000578828_xcx_1308_pcmb","xcx","-"],1302:["direct","t_1000578828_xcx_1302_pcmb","xcx","-"],1257:["direct","t_1000578828_xcx_1257_pcmb","xcx","-"],1223:["direct","t_1000578828_xcx_1223_azwidget","xcx","-"],1003:["direct","t_1000578828_xcx_1003_xblb","xcx","-"],1e5:["direct","t_1000072676_xcx_100000_sq","xcx","-"],100001:["direct","t_1000072676_xcx_100001_sq","xcx","-"],100003:["direct","t_1000072676_xcx_100003_sq","xcx","-"],100002:["direct","t_1000072676_xcx_100002_sq","xcx","-"],1123:["direct","t_1000578832_xcx_1123_qwqt","xcx","-"],1207:["direct","t_1000578832_xcx_1207_qwwzl","xcx","-"],1202:["direct","t_1000578832_xcx_1202_qwhh","xcx","-"],1296:["direct","t_1000578829_xcx_1296_ffdjqp","xcx","-"],1158:["direct","t_1000578832_xcx_1158_qgjdkxcx","xcx","-"],1157:["direct","t_1000578832_xcx_1157_fqhhhk","xcx","-"],1152:["direct","t_1000072663_xcx_1152_dyhspdkxcx","xcx","-"],1121:["direct","t_1000578832_xcx_1121_qywxltjhk","xcx","-"],1120:["direct","t_1000578828_xcx_1120_qywxgrzl","xcx","-"],1119:["direct","t_1000578828_xcx_1119_qywxgzt","xcx","-"],1100:["direct","t_1000578828_xcx_1100_hbfmxqy","xcx","-"],1168:["direct","t_1000578828_xcx_1168_qqllq","xcx","-"],1155:["direct","t_1000578832_xcx_1155_pyqdytz","xcx","-"],1154:["direct","t_1000578832_xcx_1154_pyqdy","xcx","-"],1135:["direct","t_1000578829_xcx_1135_zcxtz","xcx","-"],1129:["direct","t_1000578829_xcx_1129_pc","xcx","-"],1253:["direct","t_1000578833_xcx_1253_swjgy","xcx","-"],1124:["direct","t_1000578833_xcx_1124_smywym","xcx","-"],1124:["direct","t_1000578833_xcx_1124_smywym","xcx","-"],1167:["direct","t_1000578828_xcx_1167_bqtz","xcx","-"],1121:["direct","t_1000072660_xcx_1121_fxrk","xcx","-"],1133:["direct","t_1000578828_xcx_1133_yjsb","xcx","-"],1133:["direct","t_1000578828_xcx_1133_yjsb","xcx","-"],1114:["direct","t_1000578828_xcx_1114_azcbl","xcx","-"],1113:["direct","t_1000578828_xcx_1113_azfyp","xcx","-"],1107:["direct","t_1000578828_xcx_1107_dyxx","xcx","-"],1106:["direct","t_1000578828_xcx_1106_xlss","xcx","-"],1088:["direct","t_1000578828_xcx_1088_hhxx","xcx","-"],1010:["direct","t_1000578828_xcx_1010_scj","xcx","-"],1104:["direct","t_1000578829_xcx_1104_xlwd","xcx","-"],1103:["direct","t_1000578829_xcx_1103_fxwd","xcx","-"],1099:["direct","t_1000578829_xcx_1099_cj","xcx","-"],1102:["direct","t_1000072663_xcx_1102_fwyl","xcx","-"],1069:["direct","t_1000578829_xcx_1069_ydyy","xcx","-"],1077:["direct","t_1000578829_xcx_1077_yzb","xcx","-"],1079:["direct","t_1000578829_xcx_1079_yxzx","xcx","-"],1081:["direct","t_1000578829_xcx_1081_kfwzl","xcx","-"],1082:["direct","t_1000072663_xcx_1082_hhwzl","xcx","-"],1091:["direct","t_1000072663_xcx_1091_wzspkp","xcx","-"],1096:["direct","t_1000578828_xcx_1096_ltjl","xcx","-"],1097:["direct","t_1000578829_xcx_1097_zfqy","xcx","-"],1e3:["direct","t_1000578828_xcx_1000_wxtd","xcx","-"],1055:["direct","t_1000578829_xcx_1055_h5hq","xcx","-"],1092:["direct","t_1000578829_xcx_1092_csfwrk","xcx","-"],1090:["direct","t_1000578828_xcx_1090_xcxcd","xcx","-"],1089:["direct","t_1000578828_xcx_1089_ltkxl","xcx","-"],1078:["direct","t_1000578829_xcx_1078_wifilj","xcx","-"],1074:["direct","t_1000072663_xcx_1074_gzhxx","xcx","-"],1073:["direct","t_1000578829_xcx_1073_kfxx","xcx","-"],1072:["direct","t_1000578833_xcx_1072_ewmsk","xcx","-"],1071:["direct","t_1000578830_xcx_1071_yxklby","xcx","-"],1064:["direct","t_1000578829_xcx_1064_wifilj","xcx","-"],1059:["direct","t_1000578829_xcx_1059_yqy","xcx","-"],1058:["direct","t_1000072663_xcx_1058_gzhwz","xcx","-"],1057:["direct","t_1000578830_xcx_1057_yxkxqy","xcx","-"],1056:["direct","t_1000578829_xcx_1056_ylbf","xcx","-"],1054:["direct","t_1000578828_xcx_1054_dbss","xcx","-"],1053:["direct","t_1000578826_xcx_1053_sys","xcx","-"],1052:["direct","t_1000578836_xcx_1052_kqmdlb","xcx","-"],1049:["direct","t_1000578833_xcx_1049_xcsm","xcx","-"],1048:["direct","t_1000578833_xcx_1048_tpsm","xcx","-"],1047:["direct","t_1000578833_xcx_1047_smxcxm","xcx","-"],1044:["direct","t_1000578832_xcx_1044_fxxxkp","xcx","-"],1043:["direct","t_1000072662_xcx_1043_gzhxx","xcx","-"],1042:["direct","t_1000578826_xcx_1042_tjss","xcx","-"],1039:["direct","t_1000578829_xcx_1039_yds","xcx","-"],1038:["direct","t_1000578834_xcx_1038_xcxtz","xcx","-"],1037:["direct","t_1000578834_xcx_1037_xcxtz","xcx","-"],1036:["direct","t_335139774_xcx_1036_appfxxx","xcx","-"],1035:["direct","t_1000072662_xcx_1035_cdl","xcx","-"],1034:["direct","t_1000578827_xcx_1034_zfwcxx","xcx","-"],1032:["direct","t_1000578833_xcx_1032_xcsm","xcx","-"],1031:["direct","t_1000578833_xcx_1031_tpsm","xcx","-"],1030:["direct","t_1000578829_xcx_1030_zdhcs","xcx","-"],1029:["direct","t_1000578836_xcx_1029_kqxq","xcx","-"],1028:["direct","t_1000578836_xcx_1028_kqkb","xcx","-"],1027:["direct","t_1000578826_xcx_1027_dbss","xcx","-"],1026:["direct","t_1000578829_xcx_1026_fjxcx","xcx","-"],1025:["direct","t_1000578833_xcx_1025_smywm","xcx","-"],1024:["direct","t_1000578828_xcx_1024_xcxjs","xcx","-"],1023:["direct","t_1000578828_xcx_1023_zmtb","xcx","-"],1022:["direct","t_1000578828_xcx_1022_zdrk","xcx","-"],1020:["direct","t_1000072662_xcx_1020_gzhjs","xcx","-"],1019:["direct","t_1000578830_xcx_1019_qb","xcx","-"],1017:["direct","t_1000578829_xcx_1017_tyb","xcx","-"],1014:["direct","t_1000578827_xcx_1014_xcxmbxx","xcx","-"],1013:["direct","t_1000578833_xcx_1013_xcsm","xcx","-"],1012:["direct","t_1000578833_xcx_1012_tpsm","xcx","-"],1011:["direct","t_1000578833_xcx_1011_smewm","xcx","-"],1008:["direct","t_1000578832_xcx_1008_qlxxkp","xcx","-"],1007:["direct","t_1000578832_xcx_1007_drxxkp","xcx","-"],1006:["direct","t_1000578826_xcx_1006_fxss","xcx","-"],1005:["direct","t_1000578826_xcx_1005_fxss","xcx","-"],1307:["direct","t_1000578828_xcx_1307_fxrk","xcx","-"],1303:["direct","t_1000578828_xcx_1303_fxrk","xcx","-"],1285:["direct","t_1000578828_xcx_1285_fxrk","xcx","-"],1282:["direct","t_1000578828_xcx_1282_fxrk","xcx","-"],1279:["direct","t_1000578828_xcx_1279_fxrk","xcx","-"],1278:["direct","t_1000578828_xcx_1278_fxrk","xcx","-"],1273:["direct","t_1000578828_xcx_1273_fxrk","xcx","-"],1245:["direct","t_1000578828_xcx_1245_fxrk","xcx","-"],1242:["direct","t_1000578828_xcx_1242_fxrk","xcx","-"],1001:["direct","t_1000578828_xcx_1001_fxrk","xcx","-"]});var N=function(t){var e="";try{e=c.getStorageSync(t)}catch(t){}return e},B=function(t,e){try{c.setStorageSync(t,e)}catch(t){}},x=c.request,t=c.getSystemInfo,e=c.getDeviceInfo,n=c.onAppHide,r=c.getNetworkType,i="";"weapp"===process.env.TARO_ENV?i="wx-app":"swan"===process.env.TARO_ENV?i="baidu-app":"tt"===process.env.TARO_ENV?i="toutiao-app":"alipay"===process.env.TARO_ENV?i="alipay-app":"rn"===process.env.TARO_ENV?i="rn-app":"h5"===process.env.TARO_ENV&&(i="h5-app");var V={jsVer:"TR2.1.6",jdaKey:"__jda",jddKey:"__jdd",jdvKey:"__jdv",jdvSceneKey:"__scene_jdv",rdJdvKey:"cookies",debugKey:"__debugId__",sysExtKey:"__sysExtKey__",customerInfoKey:"union_customerinfo",jdvTimeMS:864e5,customerInfoTime:86400,sessionTime:1800,referKey:"__refer",md5Salt:"5YT%aC89$22OI@pQ",batchKey:"zwx-stream-storage",reportStrategy:"zwx-report-strategy",sendByBatch:!1,own:{__jda:1,__jdd:1,__jdv:1,__refer:1,appid:1,jdwcx:1,jdzdm:1,union_customerinfo:1},addr:function(t){var e="https://neptune.jd.com/log/m";try{var c=getApp({allowDefault:!0});c&&c.globalRequestUrl&&(e=c.globalRequestUrl.replace(/\/*$/,"/neptune/log/m"))}catch(t){}return t?"https://luna.jd.com/debuglog/xapp":e}},_=0;function W(t){t=t||"tr-"+_++,this.name=t,this.logCache=[],this.env=[],this.ext={},this.isReady=W.isWxDataReady,W.loggerList&&W.loggerList instanceof Array&&W.loggerList.push(this),W.isInitJda||(W.initJda(),W.isInitJda=!0)}W.loggerList=[],W.dependList={sysinfo:0,netType:0},W.isWxDataReady=!1,W.instance=!1,W.getInstance=function(){return W.instance||(W.instance=new W)},W.getMulInstance=function(t){return new W(t)},W.dataReady=function(t){if(!W.isWxDataReady){for(var e in W.dependList[t]=1,W.dependList)if(!W.dependList[e])return;W.isWxDataReady=!0;e=0;for(var c=W.loggerList.length;e<c;e++)W.loggerList[e].ready();delete W.loggerList}},(W.pr=W.prototype).ready=function(){this.isReady=!0;for(var t=this.logCache.length,e=0;e<t;e++)this.sendData.apply(this,this.logCache[e])},W.pr.sendData=function(t,e,c){var r;(r="pv"==e?this.initPvData(c,e):"cl"==e?this.initClickData(c,e):"cd"==e?this.initShoppingData(c):"od"==e?this.initOrderData(c):"sr"==e?this.initPageUnloadData(c):"ep"==e?this.initExposureData(c):c).tpc=t,r.report_ts=H()/1e3,r.token=W.md5(r.report_ts+V.md5Salt),r.data[0].typ=e,r.data[0].debugId=this.env[gt]||"",this.logByPost(r,r.data[0])},W.pr.send=function(t,e,c){this.isReady?this.sendData.apply(this,arguments):this.logCache.push(arguments)},W.pr.request=function(t,e){var c=!!this.env[gt],r="https://neptune.jd.com/log/m/v3?std="+t.std;x({url:e?r:V.addr(c)+"?std="+t.std,data:t,method:"POST",header:{"content-type":"application/json"},success:function(t){}})},W.pr.exports=function(){var n=this;return{set:function(t){n.setData(t)},setCommon:function(t){n.setData(t,!0)},pv:function(t){n.lastPvTime&&H()-n.lastPvTime<100||(n.lastPvTime=H(),n.setData(t),n.setupPageview(!0),n.send("wx_app.000000","pv",t))},click:function(t){n.send("wx_app.000001","cl",t)},exposure:function(t){n.send("wx_app.000005","ep",t)},autoClick:function(t){var e,c=t.target.dataset,r=t.currentTarget.dataset;if(c&&c.eid?e=c:r&&r.eid&&(e=r),e){var x={eid:e.eid,elevel:e.elevel,eparam:e.eparam,pname:e.pname,pparam:e.pparam,target:e.target,event:t};n.send("wx_app.000001","cl",x)}},addToCart:function(t){n.send("wx_app.000002","cd",t)},order:function(t){n.send("wx_app.000003","od",t)},pageUnload:function(t){n.send("wx_app.000004","sr",t)},getSeries:function(){return n.env[b]||(n.setupPageview(),n.env[b]=!0),JSON.stringify(n.getSeriesData())},urlAddSeries:function(t){var e=(t||"").indexOf("#"),c="wxappSeries="+encodeURIComponent(this.getSeries());return-1<e?e===t.length-1?t+c:t+"&"+c:t+"#"+c},setMParam:function(t){return n.setMParam(t)},getJda:function(){return N(V.jdaKey)},getJdv:function(){return N(V.jdvKey)},getStorage:function(t){return N(t)},setStorage:function(t,e){return B(t,e)},setJdv:function(t){return t&&5===t.split("|").length&&B(V.jdvKey,t+"|"+H())}}};var a=2e3,s=1e3,d=1e3,o=100,p=10,u=null,h={num:"numberOut",time:"timeOut",pageHide:"pageHide"};function v(t){t&&$(t)&&(V.sendByBatch=t.h5_size&&1!=t.h5_size||t.h5_time&&1!=t.h5_time,p=t.h5_size?+t.h5_size:p,d=t.h5_time?1e3*t.h5_time:d)}function f(t,e){var c;for(c in t)Object.prototype.hasOwnProperty.call(t,c)&&e(t[c],c)}function m(t,c){f(t,function(t,e){c[e]=t})}function g(c){var r,t,x,e={};for(m(c[0],e),r=0;r<c.length;++r)for(x=[],f(e,function(t,e){t!==c[r][e]&&x.push(e)}),t=0;t<x.length;++t)delete e[x[t]];return f(e,function(t,e){for(r=0;r<c.length;++r)delete c[r][e]}),e.data=c,e}function y(){var t=N(V.batchKey);if(t){var e,c=t.data;for(delete t.data,e=0;e<c.length;++e)m(t,c[e]);return c}return[]}W.pr.batchSend=function(t,e){try{if(t.length){B(V.batchKey,null);var c=g(t);c.batch_report_type=e,c.report_ts=H()/1e3,c.token=W.md5(c.report_ts+V.md5Salt),this.request(c,!0)}}catch(t){}},W.pr.logByPost=function(t,e){var c=this;if(!!!this.env[gt]&&V.sendByBatch)try{if(!u){!function t(e,c){var r=a+(s*Math.random()<<0),x=d+(o*Math.random()<<0);u=setTimeout(function(){try{c.batchSend(y(),h.time),t(!1,c)}catch(t){}},e?r:x)}(!0,c),n(function(){!function(t){try{clearTimeout(u),u=null,c.batchSend(y(),t)}catch(t){}}(h.pageHide)})}var r={};delete t.report_ts,delete t.token,delete t.data,m(t,r),m(e,r);var x=y().concat(r);x.length>=p?this.batchSend(x,h.num):B(V.batchKey,g(x))}catch(t){}else this.request(t)},function(t){var n=0;function e(t){return r(c(x(t)))}function c(t){return _(a(i(t),8*t.length))}function r(t){for(var e,c=n?"0123456789ABCDEF":"0123456789abcdef",r="",x=0;x<t.length;x++)e=t.charCodeAt(x),r+=c.charAt(e>>>4&15)+c.charAt(15&e);return r}function x(t){for(var e,c,r="",x=-1;++x<t.length;)e=t.charCodeAt(x),c=x+1<t.length?t.charCodeAt(x+1):0,55296<=e&&e<=56319&&56320<=c&&c<=57343&&(e=65536+((1023&e)<<10)+(1023&c),x++),e<=127?r+=String.fromCharCode(e):e<=2047?r+=String.fromCharCode(192|e>>>6&31,128|63&e):e<=65535?r+=String.fromCharCode(224|e>>>12&15,128|e>>>6&63,128|63&e):e<=2097151&&(r+=String.fromCharCode(240|e>>>18&7,128|e>>>12&63,128|e>>>6&63,128|63&e));return r}function i(t){var e,c=Array(t.length>>2);for(e=0;e<c.length;e++)c[e]=0;for(e=0;e<8*t.length;e+=8)c[e>>5]|=(255&t.charCodeAt(e/8))<<e%32;return c}function _(t){for(var e="",c=0;c<32*t.length;c+=8)e+=String.fromCharCode(t[c>>5]>>>c%32&255);return e}function a(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var c=1732584193,r=-271733879,x=-1732584194,n=271733878,i=0;i<t.length;i+=16){var _=c,a=r,s=x,d=n;r=h(r=h(r=h(r=h(r=u(r=u(r=u(r=u(r=p(r=p(r=p(r=p(r=o(r=o(r=o(r=o(r,x=o(x,n=o(n,c=o(c,r,x,n,t[i+0],7,-680876936),r,x,t[i+1],12,-389564586),c,r,t[i+2],17,606105819),n,c,t[i+3],22,-1044525330),x=o(x,n=o(n,c=o(c,r,x,n,t[i+4],7,-176418897),r,x,t[i+5],12,1200080426),c,r,t[i+6],17,-1473231341),n,c,t[i+7],22,-45705983),x=o(x,n=o(n,c=o(c,r,x,n,t[i+8],7,1770035416),r,x,t[i+9],12,-1958414417),c,r,t[i+10],17,-42063),n,c,t[i+11],22,-1990404162),x=o(x,n=o(n,c=o(c,r,x,n,t[i+12],7,1804603682),r,x,t[i+13],12,-40341101),c,r,t[i+14],17,-1502002290),n,c,t[i+15],22,1236535329),x=p(x,n=p(n,c=p(c,r,x,n,t[i+1],5,-165796510),r,x,t[i+6],9,-1069501632),c,r,t[i+11],14,643717713),n,c,t[i+0],20,-373897302),x=p(x,n=p(n,c=p(c,r,x,n,t[i+5],5,-701558691),r,x,t[i+10],9,38016083),c,r,t[i+15],14,-660478335),n,c,t[i+4],20,-405537848),x=p(x,n=p(n,c=p(c,r,x,n,t[i+9],5,568446438),r,x,t[i+14],9,-1019803690),c,r,t[i+3],14,-187363961),n,c,t[i+8],20,1163531501),x=p(x,n=p(n,c=p(c,r,x,n,t[i+13],5,-1444681467),r,x,t[i+2],9,-51403784),c,r,t[i+7],14,1735328473),n,c,t[i+12],20,-1926607734),x=u(x,n=u(n,c=u(c,r,x,n,t[i+5],4,-378558),r,x,t[i+8],11,-2022574463),c,r,t[i+11],16,1839030562),n,c,t[i+14],23,-35309556),x=u(x,n=u(n,c=u(c,r,x,n,t[i+1],4,-1530992060),r,x,t[i+4],11,1272893353),c,r,t[i+7],16,-155497632),n,c,t[i+10],23,-1094730640),x=u(x,n=u(n,c=u(c,r,x,n,t[i+13],4,681279174),r,x,t[i+0],11,-358537222),c,r,t[i+3],16,-722521979),n,c,t[i+6],23,76029189),x=u(x,n=u(n,c=u(c,r,x,n,t[i+9],4,-640364487),r,x,t[i+12],11,-421815835),c,r,t[i+15],16,530742520),n,c,t[i+2],23,-995338651),x=h(x,n=h(n,c=h(c,r,x,n,t[i+0],6,-198630844),r,x,t[i+7],10,1126891415),c,r,t[i+14],15,-1416354905),n,c,t[i+5],21,-57434055),x=h(x,n=h(n,c=h(c,r,x,n,t[i+12],6,1700485571),r,x,t[i+3],10,-1894986606),c,r,t[i+10],15,-1051523),n,c,t[i+1],21,-2054922799),x=h(x,n=h(n,c=h(c,r,x,n,t[i+8],6,1873313359),r,x,t[i+15],10,-30611744),c,r,t[i+6],15,-1560198380),n,c,t[i+13],21,1309151649),x=h(x,n=h(n,c=h(c,r,x,n,t[i+4],6,-145523070),r,x,t[i+11],10,-1120210379),c,r,t[i+2],15,718787259),n,c,t[i+9],21,-343485551),c=l(c,_),r=l(r,a),x=l(x,s),n=l(n,d)}return Array(c,r,x,n)}function s(t,e,c,r,x,n){return l((i=l(l(e,t),l(r,n)))<<(_=x)|i>>>32-_,c);var i,_}function o(t,e,c,r,x,n,i){return s(e&c|~e&r,t,e,x,n,i)}function p(t,e,c,r,x,n,i){return s(e&r|c&~r,t,e,x,n,i)}function u(t,e,c,r,x,n,i){return s(e^c^r,t,e,x,n,i)}function h(t,e,c,r,x,n,i){return s(c^(e|~r),t,e,x,n,i)}function l(t,e){var c=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(c>>16)<<16|65535&c}W.md5=e}();var H=function(){return(new Date).getTime()},X=function(){return H()+""+parseInt(2147483647*Math.random())},$=function(t){return"[object Object]"=={}.toString.call(t)},w=function(t,e){if($(t)&&$(e))for(var c in e)t[c]=e[c]},F=function(t){var e=[];if($(t))for(var c in t)"m_param"!==c&&e.push(c+"="+t[c]);return e.join("&")},Y=function(t){if($(t))for(var e in t)return!1;return!0},j=0,k=j++,G=j++,Q=j++,Z=j++,tt=j++,et=j++,ct=j++,rt=j++,xt=j++,nt=j++,b=j++,it=j++,D=j++,S=j++,P=j++,_t=j++,at=j++,st=j++,dt=j++,q=j++,K=j++,C=j++,ot=j++,pt=j++,ut=j++,I=j++,z=j++,R=j++,ht=j++,lt=j++,vt=j++,T=j++,A=j++,E=j++,ft=j++,mt=j++,gt=j++,O=j++,U=j++,J=j++,L=j++;W.pr.getData=function(t){for(var e={},c=0,r=t.length;c<r;c++){var x=t[c];e[x[0]]=this.env[x[1]]||""}return e};var M,yt,wt=null,jt=function(t,e,c,r){var x=(t||"").split("|"),n="",i="",_="",a="",s=!0;6<=x.length&&e-x[5]<=V.jdvTimeMS&&(n=x[1],i=x[2],_=x[3],a=x[4],s=!1);var d=Y(c[_t])?c[dt]:c[_t],o=[];if(r&&wt&&l[wt]){var p=l[wt];o[0]=p[0],o[1]=encodeURIComponent(p[1]),o[2]=encodeURIComponent(p[2])||"none",o[3]=encodeURIComponent(p[3])||"-",wt=null}d&&d.utm_source&&(o[0]=encodeURIComponent(d.utm_source),o[1]=encodeURIComponent(d.utm_campaign||"")||i,o[2]=encodeURIComponent(d.utm_medium||"")||_,o[3]=encodeURIComponent(d.utm_term||"")||a,a=o[3],s=!0);var u=r;r||(0<o.length&&"direct"!=o[0]?u=(o[0]!==n||o[1]!==i||o[2]!==_)&&"referral"!==o[2]:0<o.length&&"direct"==o[0]&&("direct"===n||!n)&&(u=o[1]!==i||o[2]!==_||o[3]!==a));var h="";return u&&(n=o[0]||n,i=o[1]||i,_=o[2]||_,a=o[3]||a),(s||u)&&(h=[1,n||"direct",i||"-",_||"none",a||"-",e].join("|")),r||(c[nt]=c[nt]||u),h};W.pr.getPname=function(t){return(t=t||{}).pname||this.env[K]||this.env[S]||this.env[at]||""},W.pr.getPparam=function(t){return(t=t||{}).pparam||this.env[C]||this.env[P]||this.env[st]||""},W.pr.getUrl=function(){return this.env[S]||this.env[at]||""},W.pr.getUrlParam=function(){return this.env[P]||this.env[st]||""},W.pr.setupPageview=function(t){var e,c,r,x=this.env,n=H(),i=parseInt(n/1e3),_=N(V.jdaKey),a=N(V.jddKey),s=N(V.jdvKey),d=N(V.jdvSceneKey),o=N(V.debugKey);x[it]=!0;try{var p=(A=getCurrentPages())[A.length-1];x[at]=p.route||p.__route__||"";var u=$(p.options)?p.options:{};x[st]=F(u)||"",x[dt]=u,this.setMParam((this.env[_t]||{}).m_param||u.m_param)}catch(t){}x[nt]=!1,e=i,c=x,1<(r=(a||"").split(".")).length?c[nt]=c[nt]||1*r[1]+V.sessionTime<e:c[nt]=!0;var h,l,v,f,m,g,y,w,j,k,b,D,S,P,q=jt(s,n,x),K=jt(d,n,x,!0),C=(k=i,b=x,D=t,S=(a||"").split("."),(P=1)<S.length?(b[nt]=b[nt]||1*S[1]+V.sessionTime<k,P=(b[nt]?1:D?1*S[0]+1:1*S[0])||1):b[nt]=!0,(b[et]=P)+"."+k),I=(h=i,l=x,y=(_||"").split("."),j=w=1,5<y.length?(w=y[0]||w,v=y[1]||X(),f=y[2]||h,l[nt]?(m=y[4]||h,g=h,j=1*y[5]+1||1):(m=y[3]||h,g=y[4]||h,j=1*y[5]||1)):(v=X(),f=m=g=h,j=1),[l[ft]=w,l[G]=v,l[Q]=f,l[Z]=m,l[tt]=g,l[ct]=j].join("."));B(V.jddKey,C),B(V.jdaKey,I),q&&B(V.jdvKey,q),K&&B(V.jdvSceneKey,K),x[rt]=q||s,x[xt]=K||d,W.setAppData(),function(t){if(t[mt]&&t[mt].pv_sid&&t[mt].pv_seq){var e=1*t[mt].pv_sid,c=1*t[mt].pv_seq;99999999<e||(e>t[ct]||e==t[ct]&&c>=t[et])&&(t[ct]=e,t[et]=c+1)}}(x);var z,R,T=function(t,e,c){var r=Y(c[_t])?c[dt]:c[_t],x="",n="";if(r&&r.customerinfo)x=r.customerinfo,n=e;else{var i=t instanceof Array?t:[];2==i.length&&e-i[1]<V.customerInfoTime&&(x=i[0],n=i[1])}return(c[vt]=x)?[x,n]:[]}(N(V.customerInfoKey),i,x);B(V.customerInfoKey,T),z=this.env,(R=N("jdwcx")||N("jdzdm"))&&(R.unionid&&(z[ht]=R.unionid),R.wxversion&&(z[lt]=R.wxversion));try{p=(A=getCurrentPages())[A.length-1];var A,E=$(p.options)?p.options:{},O=decodeURIComponent(E.scene),U=new RegExp("(^|&)"+V.debugKey+"=([^&]*)(&|$)"),J=O.match(U),L=E[V.debugKey];null!=J&&(L=J[2]),L?(B(V.debugKey,L),o=L):x[nt]&&(B(V.debugKey,""),o=""),x[gt]=o}catch(t){}if(x[nt])x[ot]="",x[pt]="",x[ut]="";else{var M=N(V.referKey);x[ot]=M[0],x[pt]=M[1],x[ut]=M[2]}B(V.referKey,[this.getUrl(),this.getUrlParam(),""])},W.pr.initMulcommonData=function(){var t=W.instance&&W.instance.env||[],e={account:I,siteId:k,appid:z,openid:R,unionid:ht};for(var c in e)this.env[e[c]]=this.env[e[c]]||t[e[c]]},W.pr.initPvData=function(t,e){this.pageLoadTime=H(),this.maxClickDeep=0,t=t||{};var c=this.baseEnv(e),r=c.data[0];return this.env[L]=r.ma_log_id,r.page_id=this.env[q]||"",r.pname=this.getPname(t),r.pparam=this.getPparam(t),r.sku=this.env[T]||"",r.shp=this.env[A]||"",r.tit=this.env[D]||"",r.ldt=this.env[E]||"",r.ma_et_refer=this.env[ut]||"",w(r.ext,t.ext),c},W.pr.initClickData=function(t,e){var c,r=this.baseEnv(),x=r.data[0];if(x.eid=t.eid||"",x.eparam=t.eparam||"",x.elevel=t.elevel||"",x.page_id=t.pageId||this.env[q]||"",x.pname=this.getPname(t),x.pparam=this.getPparam(t),x.tar=t.target||"",x.x=0,x.y=0,c=t.event,$(c)&&c.type&&c.target){var n=t.event,i=n.touches;if((!i||i.length<1)&&(i=n.changedTouches),i&&0<i.length){x.x=parseInt(i[0].pageX);var _=parseInt(i[0].pageY);(x.y=_)>this.maxClickDeep&&(this.maxClickDeep=_)}}if(w(x.ext,t.ext),"cl"===e){var a=N(V.referKey)||[];B(V.referKey,[a[0],a[1],x.eid])}return r},W.pr.initExposureData=W.pr.initClickData,W.pr.initShoppingData=function(t){var e=this.baseEnv(),c=e.data[0];return c.eid=t.eid||"",c.eparam=t.eparam||"",c.elevel=t.elevel||"",c.page_id=t.pageId||this.env[q]||"",c.pname=this.getPname(t),c.pparam=this.getPparam(t),c.sku_list=t.shoppingList?JSON.stringify(t.shoppingList):"",w(c.ext,t.ext),e},W.pr.initOrderData=function(t){var e=this.baseEnv(),c=e.data[0];return c.eid=t.eid||"",c.eparam=t.eparam||"",c.elevel=t.elevel||"",c.page_id=t.pageId||this.env[q]||"",c.pname=this.getPname(t),c.pparam=this.getPparam(t),c.sku_list=t.orderList?JSON.stringify(t.orderList):"",c.order_total_fee=t.total||0,c.sale_ord_id=t.orderid||"",w(c.ext,t.ext),e},W.pr.initPageUnloadData=function(t){var e=((H()-this.pageLoadTime)/1e3).toFixed(3),c=this.baseEnv(),r=c.data[0];return t=t||{},r.page_id=t.pageId||this.env[q]||"",r.pname=this.getPname(t),r.pparam=this.getPparam(t),r.alive_seconds=e,r.click_deep=this.maxClickDeep,w(r.ext,t.ext),c},W.pr.initStrategy=function(t){var e=N(V.reportStrategy);x({url:"https://policy.jd.com/m/log/v2?key=x&item="+t+"&v="+(e&&e.v),method:"GET",header:{"content-type":"application/json"},success:function(t){t&&t.data&&("1"===t.data.code&&v(e),"0"===t.data.code&&(B(V.reportStrategy,t.data),v(t.data)))}})},M=W.wxDat={},(yt=e&&e())&&yt.system&&(M.system=yt.system),t({success:function(t){t&&(M.dvc=t.model,M.pixelRatio=(t.pixelRatio||"")+"",M.scr=parseInt(t.windowWidth)+"x"+parseInt(t.windowHeight),M.lang=t.language,M.wxver=t.version,M.sdkver=t.SDKVersion||"")},complete:function(){W.dataReady("sysinfo")}}),r({success:function(t){t&&(M.net=t.networkType)},complete:function(){W.dataReady("netType")}}),W.pr.setData=function(t,e){t=$(t)?t:{};var c=$(t.urlParam)?t.urlParam:{},r={skuid:[T],shopid:[A],title:[D],loadtime:[E],url:[S],urlParam:[P,F],pname:[K],pparam:[C],pageId:[q],pvLogId:[L]},x={account:[I],siteId:[k],appid:[z],openid:[R],unionid:[ht],sendByBatch:[O],latitude:[U],longitude:[J]};for(var n in x){var i=x[n];this.env[i[0]]=t[n]?i[1]?i[1](t[n]):t[n]:this.env[i[0]]||"",delete t[n]}if(!e){for(var n in this.ext={},this.env[_t]=c,this.setMParam(c.m_param),r){i=r[n];this.env[i[0]]=t[n]?i[1]?i[1](t[n]):t[n]:"",delete t[n]}for(var n in t)"ext"!==n&&(this.ext[n]=t[n]);this.env[z]||(this.env[z]=N("appid")),this.env[O]&&this.env[k]&&!W.isStrategyReady&&(W.isStrategyReady=!0,this.initStrategy(this.env[k]))}},W.appDat={},W.setAppData=function(t){try{var e={},c=N(V.sysExtKey);for(var r in w(e,c),w(e,t),e)W.appDat[r]=e[r],"wxapp_scene"===r&&t&&t[r]&&(wt=t[r]);B(V.sysExtKey,e)}catch(t){}},W.clearAppData=function(){W.appDat={},function(t){try{c.removeStorageSync(t)}catch(t){}}(V.sysExtKey)},W.scene=null,W.setScene=function(t){W.scene=t},W.pr.setMParam=function(t){try{var e=JSON.parse(t);this.env[mt]=$(e)?e:{}}catch(t){this.env[mt]={}}},W.pr.baseEnv=function(t){this===W.instance?this.env[it]||this.setupPageview():this.initCommon||(this.initMulcommonData(),this.initCommon=!0);var e=this.env,c=W.wxDat,r={cli:i,std:e[k]||"WXAPP-JA2016-1",uuid:e[G]||"",scr:c.scr||"",dvc:c.dvc||"",lang:c.lang||"",appkey:e[lt]||"",appid:e[z]||"",openid:e[R]||"",unionid:e[ht]||"",gender:c.gender||"",city:c.city||"",province:c.province||"",country:c.country||"",wxver:c.wxver||"",data:[]};c.system&&(r.osp=c.system.split(" ")[0],r.osv=c.system.split(" ")[1]);var x=[["realUrl",at],["realParam",st],["ref",ot],["rpr",pt],["seq",et],["vts",ct],["pin",I],["fst",Q],["pst",Z],["vct",tt],["lat",U],["lon",J]],n=this.getData(x);return n.ma_log_id=e[G]+"-"+(new Date).getTime()+"-"+Math.floor(2147483647*Math.random()),"pv"!==t&&(n.ma_pv_log_id=e[L]),n.jsver=V.jsVer,n.net=c.net||"",n.speed=c.speed||"",n.accuracy=c.accuracy||"",n.pixelRatio=c.pixelRatio||"",n.jdv=e[rt]||"",n.customerInfo=e[vt]||"",n.ctp=this.getUrl(),n.par=this.getUrlParam(),n.unpl=N("unpl")||"",n.scene=W.scene||"",n.sdkver=c.sdkver||"","JA2019_5112348"===e[k]&&(n.rdJdv=function(){var t="",e=N(V.rdJdvKey);if(e&&e._expire>Date.now()){var c=e._data&&e._data[V.jdvKey];c&&new Date(c.expires)>new Date&&(t=c?c.value:"")}return t}()),n.ext={sceneJdv:e[xt]||""},n.std_param=W.appDat,w(n.ext,this.ext),w(n.ext,W.appDat),r.data.push(n),r},W.pr.getSeriesData=function(){var t=this.env,e={uuid:t[G]||"",std:t[k]||"WXAPP-JA2016-1",seq:t[et],vts:t[ct]};return t[lt]&&(e.appkey=t[lt]),t[z]&&(e.appid=t[z]),t[gt]&&(e.debugId=t[gt]),e},W.initJda=function(){var t=N(V.jdaKey);if(!t){var e=H();t=[1,X(),e,e,e,0].join("."),B(V.jdaKey,t)}return t},module.exports={init:function(t){return W.getInstance().exports()},instance:function(t){return W.getMulInstance(t).exports()},usePlugin:function(t){if(t)try{pluginObj=requirePlugin(t)}catch(t){}},setAppData:function(t){W.setAppData(t)},clearAppData:function(){W.clearAppData()},setScene:function(t){W.setScene(t)}}}(Taro);
|
|
1
|
+
/* 2025-12-17 14:04:28 @issue to huangzhihua@jd.com Thanks */
|
|
2
|
+
var Taro=require("@tarojs/taro");!function(n){var h={};if("weapp"===process.env.TARO_ENV)h=["t_1000578828_xcx_1000_wxtd","t_1000578828_xcx_1001_fxrk","t_1000578828_xcx_1003_xblb","t_1000578826_xcx_1005_fxss","t_1000578826_xcx_1006_fxss","t_1000578832_xcx_1007_drxxkp","t_1000578832_xcx_1008_qlxxkp","t_1000578828_xcx_1010_scj","t_1000578833_xcx_1011_smewm","t_1000578833_xcx_1012_tpsm","t_1000578833_xcx_1013_xcsm","t_1000578827_xcx_1014_xcxmbxx","t_1000578829_xcx_1017_tyb","t_1000578830_xcx_1019_qb","t_1000072662_xcx_1020_gzhjs","t_1000578828_xcx_1022_zdrk","t_1000578828_xcx_1023_zmtb","t_1000578828_xcx_1024_xcxjs","t_1000578833_xcx_1025_smywm","t_1000578829_xcx_1026_fjxcx","t_1000578826_xcx_1027_dbss","t_1000578836_xcx_1028_kqkb","t_1000578836_xcx_1029_kqxq","t_1000578829_xcx_1030_zdhcs","t_1000578833_xcx_1031_tpsm","t_1000578833_xcx_1032_xcsm","t_1000578827_xcx_1034_zfwcxx","t_1000072662_xcx_1035_cdl","t_335139774_xcx_1036_appfxxx","t_1000578834_xcx_1037_xcxtz","t_1000578834_xcx_1038_xcxtz","t_1000578829_xcx_1039_yds","t_1000578826_xcx_1042_tjss","t_1000072662_xcx_1043_gzhxx","t_1000578832_xcx_1044_fxxxkp","t_1000578833_xcx_1047_smxcxm","t_1000578833_xcx_1048_tpsm","t_1000578833_xcx_1049_xcsm","t_1000578836_xcx_1052_kqmdlb","t_1000578826_xcx_1053_sys","t_1000578828_xcx_1054_dbss","t_1000578829_xcx_1055_h5hq","t_1000578829_xcx_1056_ylbf","t_1000578830_xcx_1057_yxkxqy","t_1000072663_xcx_1058_gzhwz","t_1000578829_xcx_1059_yqy","t_1000578829_xcx_1064_wifilj","t_1000578829_xcx_1069_ydyy","t_1000578830_xcx_1071_yxklby","t_1000578833_xcx_1072_ewmsk","t_1000578829_xcx_1073_kfxx","t_1000072663_xcx_1074_gzhxx","t_1000578829_xcx_1077_yzb","t_1000578829_xcx_1078_wifilj","t_1000578829_xcx_1079_yxzx","t_1000578829_xcx_1081_kfwzl","t_1000072663_xcx_1082_hhwzl","t_1000578828_xcx_1088_hhxx","t_1000578828_xcx_1089_ltkxl","t_1000578828_xcx_1090_xcxcd","t_1000072663_xcx_1091_wzspkp","t_1000578829_xcx_1092_csfwrk","t_1000578828_xcx_1096_ltjl","t_1000578829_xcx_1097_zfqy","t_1000578829_xcx_1099_cj","t_1000578828_xcx_1100_hbfmxqy","t_1000072663_xcx_1102_fwyl","t_1000578829_xcx_1103_fxwd","t_1000578829_xcx_1104_xlwd","t_1000578828_xcx_1106_xlss","t_1000578828_xcx_1107_dyxx","t_1000578828_xcx_1113_azfyp","t_1000578828_xcx_1114_azcbl","t_1000578828_xcx_1119_qywxgzt","t_1000578828_xcx_1120_qywxgrzl","t_1000072660_xcx_1121_fxrk","t_1000578832_xcx_1123_qwqt","t_1000578833_xcx_1124_smywym","t_1000578829_xcx_1129_pc","t_1000578828_xcx_1133_yjsb","t_1000578829_xcx_1135_zcxtz","t_1000072663_xcx_1152_dyhspdkxcx","t_1000578832_xcx_1154_pyqdy","t_1000578832_xcx_1155_pyqdytz","t_1000578832_xcx_1157_fqhhhk","t_1000578832_xcx_1158_qgjdkxcx","t_1000578828_xcx_1167_bqtz","t_1000578828_xcx_1168_qqllq","t_1000578832_xcx_1202_qwhh","t_1000578832_xcx_1207_qwwzl","t_1000578828_xcx_1223_azwidget","t_1000578828_xcx_1242_fxrk","t_1000578828_xcx_1245_fxrk","t_1000578833_xcx_1253_swjgy","t_1000578828_xcx_1256_pcmb","t_1000578828_xcx_1257_pcmb","t_1000578832_xcx_1265_tpxqy","t_1000578832_xcx_1266_tpcabprk","t_1000578828_xcx_1273_fxrk","t_1000578828_xcx_1278_fxrk","t_1000578828_xcx_1279_fxrk","t_1000578826_xcx_1280_xlwd","t_1000578826_xcx_1281_xlwd","t_1000578828_xcx_1282_fxrk","t_1000578828_xcx_1285_fxrk","t_1000578828_xcx_1286_mwscheme","t_1000072663_xcx_1287_djtp","t_1000578829_xcx_1296_ffdjqp","t_1000578826_xcx_1298_xlwd","t_1000578826_xcx_1299_xlwd","t_1000578826_xcx_1300_fxrk","t_1000578826_xcx_1301_fxrk","t_1000578828_xcx_1302_pcmb","t_1000578828_xcx_1303_fxrk","t_1000578828_xcx_1304_sjfyp","t_1000072663_xcx_1305_bojsy","t_1000072663_xcx_1306_djguxj","t_1000578828_xcx_1307_fxrk","t_1000578828_xcx_1308_pcmb","t_1000072663_xcx_1309_wzxyxcps","t_1000072676_xcx_100000_sq","t_1000072676_xcx_100001_sq","t_1000072676_xcx_100002_sq","t_1000072676_xcx_100003_sq"].reduce(function(t,e){return t[e.split("_")[3]]=["direct",e,"xcx","-"],t},{});var B=function(t){var e="";try{e=n.getStorageSync(t)}catch(t){}return e},N=function(t,e){try{n.setStorageSync(t,e)}catch(t){}},r=n.request,t=n.getSystemInfo,e=n.getDeviceInfo,_=n.onAppHide,a=(n.onAppShow,n.getNetworkType),i=n.onBeforeAppRoute,c="";"weapp"===process.env.TARO_ENV?c="wx-app":"swan"===process.env.TARO_ENV?c="baidu-app":"tt"===process.env.TARO_ENV?c="toutiao-app":"alipay"===process.env.TARO_ENV?c="alipay-app":"rn"===process.env.TARO_ENV?c="rn-app":"h5"===process.env.TARO_ENV&&(c="h5-app");var V={jsVer:"TR2.1.6",jdaKey:"__jda",jddKey:"__jdd",jdvKey:"__jdv",jdvSceneKey:"__scene_jdv",rdJdvKey:"cookies",debugKey:"__debugId__",sysExtKey:"__sysExtKey__",customerInfoKey:"union_customerinfo",jdvTimeMS:864e5,customerInfoTime:86400,sessionTime:1800,referKey:"__refer",md5Salt:"5YT%aC89$22OI@pQ",batchKey:"zwx-stream-storage",reportStrategy:"zwx-report-strategy",sendByBatch:!1,own:{__jda:1,__jdd:1,__jdv:1,__refer:1,appid:1,jdwcx:1,jdzdm:1,union_customerinfo:1},addr:function(t){var e="https://neptune.jd.com/log/m";try{var n=getApp({allowDefault:!0});n&&n.globalRequestUrl&&(e=n.globalRequestUrl.replace(/\/*$/,"/neptune/log/m"))}catch(t){}return t?"https://luna.jd.com/debuglog/xapp":e}},s=0;function W(t){t=t||"tr-"+s++,this.name=t,this.logCache=[],this.env=[],this.ext={},this.isReady=W.isWxDataReady,W.loggerList&&W.loggerList instanceof Array&&W.loggerList.push(this),W.isInitJda||(W.initJda(),W.isInitJda=!0)}W.loggerList=[],W.dependList={sysinfo:0,netType:0},W.isWxDataReady=!1,W.instance=!1,W.getInstance=function(){return W.instance||(W.instance=new W)},W.getMulInstance=function(t){return new W(t)},W.dataReady=function(t){if(!W.isWxDataReady){for(var e in W.dependList[t]=1,W.dependList)if(!W.dependList[e])return;W.isWxDataReady=!0;e=0;for(var n=W.loggerList.length;e<n;e++)W.loggerList[e].ready();delete W.loggerList}},(W.pr=W.prototype).ready=function(){this.isReady=!0;for(var t=this.logCache.length,e=0;e<t;e++)this.sendData.apply(this,this.logCache[e])},W.pr.sendData=function(t,e,n){var a;(a="pv"==e?this.initPvData(n,e):"cl"==e?this.initClickData(n,e):"cd"==e?this.initShoppingData(n):"od"==e?this.initOrderData(n):"sr"==e?this.initPageUnloadData(n):"ep"==e?this.initExposureData(n):n).tpc=t,a.report_ts=H()/1e3,a.token=W.md5(a.report_ts+V.md5Salt),a.data[0].typ=e,a.data[0].debugId=this.env[gt]||"",this.logByPost(a,a.data[0])},W.pr.send=function(t,e,n){this.isReady?this.sendData.apply(this,arguments):this.logCache.push(arguments)},W.pr.request=function(t,e){var n=!!this.env[gt],a="https://neptune.jd.com/log/m/v3?std="+t.std;r({url:e?a:V.addr(n)+"?std="+t.std,data:t,method:"POST",header:{"content-type":"application/json"},success:function(t){}})},W.pr.exports=function(){var _=this;return{set:function(t){_.setData(t)},setCommon:function(t){_.setData(t,!0)},pv:function(t){_.setData(t),_.setupPageview(!0),_.send("wx_app.000000","pv",t)},click:function(t){_.send("wx_app.000001","cl",t)},exposure:function(t){_.send("wx_app.000005","ep",t)},spmPV:function(t){if(_.validateSpm("pv",t)){var e=_.formatSpmParams("pv",t);e.eid=void 0,this.pv(e)}},spmClick:function(t){if(_.validateSpm("cl",t)){var e=_.formatSpmParams("cl",t);this.click(e)}},spmExposure:function(t){if(_.validateSpm("expo",t)){var e=_.formatSpmParams("expo",t);this.exposure(e)}},autoClick:function(t){var e,n=t.target.dataset,a=t.currentTarget.dataset;if(n&&n.eid?e=n:a&&a.eid&&(e=a),e){var r={eid:e.eid,elevel:e.elevel,eparam:e.eparam,pname:e.pname,pparam:e.pparam,target:e.target,event:t};_.send("wx_app.000001","cl",r)}},addToCart:function(t){_.send("wx_app.000002","cd",t)},order:function(t){_.send("wx_app.000003","od",t)},pageUnload:function(t){_.send("wx_app.000004","sr",t)},getSeries:function(){return _.env[S]||(_.setupPageview(),_.env[S]=!0),JSON.stringify(_.getSeriesData())},urlAddSeries:function(t){var e=(t||"").indexOf("#"),n="wxappSeries="+encodeURIComponent(this.getSeries());return-1<e?e===t.length-1?t+n:t+"&"+n:t+"#"+n},setMParam:function(t){return _.setMParam(t)},getJda:function(){return B(V.jdaKey)},getJdv:function(){return B(V.jdvKey)},getStorage:function(t){return B(t)},setStorage:function(t,e){return N(t,e)},setJdv:function(t){return t&&5===t.split("|").length&&N(V.jdvKey,t+"|"+H())}}};var o=2e3,x=1e3,p=1e3,d=100,u=10,l=null,f={num:"numberOut",time:"timeOut",pageHide:"pageHide"};function v(t){t&&$(t)&&(V.sendByBatch=t.h5_size&&1!=t.h5_size||t.h5_time&&1!=t.h5_time,u=t.h5_size?+t.h5_size:u,p=t.h5_time?1e3*t.h5_time:p)}function m(t,e){var n;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(t[n],n)}function g(t,n){m(t,function(t,e){n[e]=t})}function y(n){var a,t,r,e={};for(g(n[0],e),a=0;a<n.length;++a)for(r=[],m(e,function(t,e){t!==n[a][e]&&r.push(e)}),t=0;t<r.length;++t)delete e[r[t]];return m(e,function(t,e){for(a=0;a<n.length;++a)delete n[a][e]}),e.data=n,e}function w(){var t=B(V.batchKey);if(t){var e,n=t.data;for(delete t.data,e=0;e<n.length;++e)g(t,n[e]);return n}return[]}W.pr.batchSend=function(t,e){try{if(t.length){N(V.batchKey,null);var n=y(t);n.batch_report_type=e,n.report_ts=H()/1e3,n.token=W.md5(n.report_ts+V.md5Salt),this.request(n,!0)}}catch(t){}},W.pr.logByPost=function(t,e){var n=this;if(!!!this.env[gt]&&V.sendByBatch)try{if(!l){!function t(e,n){var a=o+(x*Math.random()<<0),r=p+(d*Math.random()<<0);l=setTimeout(function(){try{n.batchSend(w(),f.time),t(!1,n)}catch(t){}},e?a:r)}(!0,n),_(function(){!function(t){try{clearTimeout(l),l=null,n.batchSend(w(),t)}catch(t){}}(f.pageHide)})}var a={};delete t.report_ts,delete t.token,delete t.data,g(t,a),g(e,a);var r=w().concat(a);r.length>=u?this.batchSend(r,f.num):N(V.batchKey,y(r))}catch(t){}else this.request(t)},function(t){var _=0;function e(t){return a(n(r(t)))}function n(t){return c(s(i(t),8*t.length))}function a(t){for(var e,n=_?"0123456789ABCDEF":"0123456789abcdef",a="",r=0;r<t.length;r++)e=t.charCodeAt(r),a+=n.charAt(e>>>4&15)+n.charAt(15&e);return a}function r(t){for(var e,n,a="",r=-1;++r<t.length;)e=t.charCodeAt(r),n=r+1<t.length?t.charCodeAt(r+1):0,55296<=e&&e<=56319&&56320<=n&&n<=57343&&(e=65536+((1023&e)<<10)+(1023&n),r++),e<=127?a+=String.fromCharCode(e):e<=2047?a+=String.fromCharCode(192|e>>>6&31,128|63&e):e<=65535?a+=String.fromCharCode(224|e>>>12&15,128|e>>>6&63,128|63&e):e<=2097151&&(a+=String.fromCharCode(240|e>>>18&7,128|e>>>12&63,128|e>>>6&63,128|63&e));return a}function i(t){var e,n=Array(t.length>>2);for(e=0;e<n.length;e++)n[e]=0;for(e=0;e<8*t.length;e+=8)n[e>>5]|=(255&t.charCodeAt(e/8))<<e%32;return n}function c(t){for(var e="",n=0;n<32*t.length;n+=8)e+=String.fromCharCode(t[n>>5]>>>n%32&255);return e}function s(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var n=1732584193,a=-271733879,r=-1732584194,_=271733878,i=0;i<t.length;i+=16){var c=n,s=a,o=r,x=_;a=l(a=l(a=l(a=l(a=u(a=u(a=u(a=u(a=d(a=d(a=d(a=d(a=p(a=p(a=p(a=p(a,r=p(r,_=p(_,n=p(n,a,r,_,t[i+0],7,-680876936),a,r,t[i+1],12,-389564586),n,a,t[i+2],17,606105819),_,n,t[i+3],22,-1044525330),r=p(r,_=p(_,n=p(n,a,r,_,t[i+4],7,-176418897),a,r,t[i+5],12,1200080426),n,a,t[i+6],17,-1473231341),_,n,t[i+7],22,-45705983),r=p(r,_=p(_,n=p(n,a,r,_,t[i+8],7,1770035416),a,r,t[i+9],12,-1958414417),n,a,t[i+10],17,-42063),_,n,t[i+11],22,-1990404162),r=p(r,_=p(_,n=p(n,a,r,_,t[i+12],7,1804603682),a,r,t[i+13],12,-40341101),n,a,t[i+14],17,-1502002290),_,n,t[i+15],22,1236535329),r=d(r,_=d(_,n=d(n,a,r,_,t[i+1],5,-165796510),a,r,t[i+6],9,-1069501632),n,a,t[i+11],14,643717713),_,n,t[i+0],20,-373897302),r=d(r,_=d(_,n=d(n,a,r,_,t[i+5],5,-701558691),a,r,t[i+10],9,38016083),n,a,t[i+15],14,-660478335),_,n,t[i+4],20,-405537848),r=d(r,_=d(_,n=d(n,a,r,_,t[i+9],5,568446438),a,r,t[i+14],9,-1019803690),n,a,t[i+3],14,-187363961),_,n,t[i+8],20,1163531501),r=d(r,_=d(_,n=d(n,a,r,_,t[i+13],5,-1444681467),a,r,t[i+2],9,-51403784),n,a,t[i+7],14,1735328473),_,n,t[i+12],20,-1926607734),r=u(r,_=u(_,n=u(n,a,r,_,t[i+5],4,-378558),a,r,t[i+8],11,-2022574463),n,a,t[i+11],16,1839030562),_,n,t[i+14],23,-35309556),r=u(r,_=u(_,n=u(n,a,r,_,t[i+1],4,-1530992060),a,r,t[i+4],11,1272893353),n,a,t[i+7],16,-155497632),_,n,t[i+10],23,-1094730640),r=u(r,_=u(_,n=u(n,a,r,_,t[i+13],4,681279174),a,r,t[i+0],11,-358537222),n,a,t[i+3],16,-722521979),_,n,t[i+6],23,76029189),r=u(r,_=u(_,n=u(n,a,r,_,t[i+9],4,-640364487),a,r,t[i+12],11,-421815835),n,a,t[i+15],16,530742520),_,n,t[i+2],23,-995338651),r=l(r,_=l(_,n=l(n,a,r,_,t[i+0],6,-198630844),a,r,t[i+7],10,1126891415),n,a,t[i+14],15,-1416354905),_,n,t[i+5],21,-57434055),r=l(r,_=l(_,n=l(n,a,r,_,t[i+12],6,1700485571),a,r,t[i+3],10,-1894986606),n,a,t[i+10],15,-1051523),_,n,t[i+1],21,-2054922799),r=l(r,_=l(_,n=l(n,a,r,_,t[i+8],6,1873313359),a,r,t[i+15],10,-30611744),n,a,t[i+6],15,-1560198380),_,n,t[i+13],21,1309151649),r=l(r,_=l(_,n=l(n,a,r,_,t[i+4],6,-145523070),a,r,t[i+11],10,-1120210379),n,a,t[i+2],15,718787259),_,n,t[i+9],21,-343485551),n=h(n,c),a=h(a,s),r=h(r,o),_=h(_,x)}return Array(n,a,r,_)}function o(t,e,n,a,r,_){return h((i=h(h(e,t),h(a,_)))<<(c=r)|i>>>32-c,n);var i,c}function p(t,e,n,a,r,_,i){return o(e&n|~e&a,t,e,r,_,i)}function d(t,e,n,a,r,_,i){return o(e&a|n&~a,t,e,r,_,i)}function u(t,e,n,a,r,_,i){return o(e^n^a,t,e,r,_,i)}function l(t,e,n,a,r,_,i){return o(n^(e|~a),t,e,r,_,i)}function h(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}W.md5=e}();var H=function(){return(new Date).getTime()},X=function(){return H()+""+parseInt(2147483647*Math.random())},$=function(t){return"[object Object]"=={}.toString.call(t)},j=function(t,e){if($(t)&&$(e))for(var n in e)t[n]=e[n]},F=function(t){var e=[];if($(t))for(var n in t)"m_param"!==n&&e.push(n+"="+t[n]);return e.join("&")},Y=function(t){if($(t))for(var e in t)return!1;return!0},k=0,b=k++,G=k++,Q=k++,Z=k++,tt=k++,et=k++,nt=k++,at=k++,rt=k++,_t=k++,S=k++,it=k++,D=k++,P=k++,C=k++,ct=k++,st=k++,ot=k++,xt=k++,K=k++,q=k++,I=k++,pt=k++,dt=k++,ut=k++,z=k++,R=k++,A=k++,lt=k++,ht=k++,ft=k++,T=k++,E=k++,O=k++,vt=k++,mt=k++,gt=k++,U=k++,J=k++,L=k++,M=k++;W.pr.getData=function(t){for(var e={},n=0,a=t.length;n<a;n++){var r=t[n];e[r[0]]=this.env[r[1]]||""}return e};var yt,wt,jt=null,kt=function(t,e,n,a){var r=(t||"").split("|"),_="",i="",c="",s="",o=!0;6<=r.length&&e-r[5]<=V.jdvTimeMS&&(_=r[1],i=r[2],c=r[3],s=r[4],o=!1);var x=Y(n[ct])?n[xt]:n[ct],p=[];if(a&&jt&&h[jt]){var d=h[jt];p[0]=d[0],p[1]=encodeURIComponent(d[1]),p[2]=encodeURIComponent(d[2])||"none",p[3]=encodeURIComponent(d[3])||"-",jt=null}x&&x.utm_source&&(p[0]=encodeURIComponent(x.utm_source),p[1]=encodeURIComponent(x.utm_campaign||"")||i,p[2]=encodeURIComponent(x.utm_medium||"")||c,p[3]=encodeURIComponent(x.utm_term||"")||s,s=p[3],o=!0);var u=a;a||(0<p.length&&"direct"!=p[0]?u=(p[0]!==_||p[1]!==i||p[2]!==c)&&"referral"!==p[2]:0<p.length&&"direct"==p[0]&&("direct"===_||!_)&&(u=p[1]!==i||p[2]!==c||p[3]!==s));var l="";return u&&(_=p[0]||_,i=p[1]||i,c=p[2]||c,s=p[3]||s),(o||u)&&(l=[1,_||"direct",i||"-",c||"none",s||"-",e].join("|")),a||(n[_t]=n[_t]||u),l};W.pr.getPname=function(t){return(t=t||{}).pname||this.env[q]||this.env[P]||this.env[st]||""},W.pr.getPparam=function(t){return(t=t||{}).pparam||this.env[I]||this.env[C]||this.env[ot]||""},W.pr.getUrl=function(){return this.env[P]||this.env[st]||""},W.pr.getUrlParam=function(){return this.env[C]||this.env[ot]||""},W.pr.validateSpm=function(t,e){if(!e||!e.spm||"[object String]"!==Object.prototype.toString.call(e.spm))return console.error("spm 是埋点必填字段"),!1;var n=e.spm.split(".");if("pv"===t){if(2!==n.length)return console.error("spm 格式不对"),!1}else if(n.length<3||4<n.length)return console.error("spm 格式不对"),!1;return!0},W.pr.formatSpmParams=function(t,e){var n=e.spm.split("."),a=n[0],r=n[1],_=n[2],i=e.page_id||e.pageId||this.env[K]||[a,r].join("."),c=e.biz_type,s=e.event_id,o=s||[[a,r,_].join("."),c||"null",t].join("###"),x={};return j(x,e),j(x,{pageId:i,page_id:void 0,eid:o}),x},W.pr.setupPageview=function(t){var e,n,a,r=this.env,_=H(),i=parseInt(_/1e3),c=B(V.jdaKey),s=B(V.jddKey),o=B(V.jdvKey),x=B(V.jdvSceneKey),p=B(V.debugKey);r[it]=!0;try{var d=(T=getCurrentPages())[T.length-1];r[st]=d.route||d.__route__||"";var u=$(d.options)?d.options:{};r[ot]=F(u)||"",r[xt]=u,this.setMParam((this.env[ct]||{}).m_param||u.m_param)}catch(t){}r[_t]=!1,e=i,n=r,1<(a=(s||"").split(".")).length?n[_t]=n[_t]||1*a[1]+V.sessionTime<e:n[_t]=!0;var l,h,f,v,m,g,y,w,j,k,b,S,D,P,C=kt(o,_,r),K=kt(x,_,r,!0),q=(k=i,b=r,S=t,D=(s||"").split("."),(P=1)<D.length?(b[_t]=b[_t]||1*D[1]+V.sessionTime<k,P=(b[_t]?1:S?1*D[0]+1:1*D[0])||1):b[_t]=!0,(b[et]=P)+"."+k),I=(l=i,h=r,y=(c||"").split("."),j=w=1,5<y.length?(w=y[0]||w,f=y[1]||X(),v=y[2]||l,h[_t]?(m=y[4]||l,g=l,j=1*y[5]+1||1):(m=y[3]||l,g=y[4]||l,j=1*y[5]||1)):(f=X(),v=m=g=l,j=1),[h[vt]=w,h[G]=f,h[Q]=v,h[Z]=m,h[tt]=g,h[nt]=j].join("."));N(V.jddKey,q),N(V.jdaKey,I),C&&N(V.jdvKey,C),K&&N(V.jdvSceneKey,K),r[at]=C||o,r[rt]=K||x,W.setAppData(),function(t){if(t[mt]&&t[mt].pv_sid&&t[mt].pv_seq){var e=1*t[mt].pv_sid,n=1*t[mt].pv_seq;99999999<e||(e>t[nt]||e==t[nt]&&n>=t[et])&&(t[nt]=e,t[et]=n+1)}}(r);var z,R,A=function(t,e,n){var a=Y(n[ct])?n[xt]:n[ct],r="",_="";if(a&&a.customerinfo)r=a.customerinfo,_=e;else{var i=t instanceof Array?t:[];2==i.length&&e-i[1]<V.customerInfoTime&&(r=i[0],_=i[1])}return(n[ft]=r)?[r,_]:[]}(B(V.customerInfoKey),i,r);N(V.customerInfoKey,A),z=this.env,(R=B("jdwcx")||B("jdzdm"))&&(R.unionid&&(z[lt]=R.unionid),R.wxversion&&(z[ht]=R.wxversion));try{d=(T=getCurrentPages())[T.length-1];var T,E=$(d.options)?d.options:{},O=decodeURIComponent(E.scene),U=new RegExp("(^|&)"+V.debugKey+"=([^&]*)(&|$)"),J=O.match(U),L=E[V.debugKey];null!=J&&(L=J[2]),L?(N(V.debugKey,L),p=L):r[_t]&&(N(V.debugKey,""),p=""),r[gt]=p}catch(t){}if(r[_t])r[pt]="",r[dt]="",r[ut]="";else{var M=B(V.referKey);r[pt]=M[0],r[dt]=M[1],r[ut]=M[2]}N(V.referKey,[this.getUrl(),this.getUrlParam(),""])},W.pr.initMulcommonData=function(){var t=W.instance&&W.instance.env||[],e={account:z,siteId:b,appid:R,openid:A,unionid:lt};for(var n in e)this.env[e[n]]=this.env[e[n]]||t[e[n]]},W.pr.initPvData=function(t,e){this.pageLoadTime=H(),this.maxClickDeep=0,t=t||{};var n=this.baseEnv(e),a=n.data[0];return this.env[M]=a.ma_log_id,a.page_id=this.env[K]||"",a.pname=this.getPname(t),a.pparam=this.getPparam(t),a.sku=this.env[T]||"",a.shp=this.env[E]||"",a.tit=this.env[D]||"",a.ldt=this.env[O]||"",a.ma_et_refer=this.env[ut]||"",t.spm&&(a.spm=t.spm),j(a.ext,t.ext),n},W.pr.initClickData=function(t,e){var n,a=this.baseEnv(),r=a.data[0];if(r.eid=t.eid||"",r.eparam=t.eparam||"",r.elevel=t.elevel||"",r.page_id=t.pageId||this.env[K]||"",r.pname=this.getPname(t),r.pparam=this.getPparam(t),r.tar=t.target||"",r.x=0,r.y=0,t.spm&&(r.spm=t.spm,r.biz_type=t.biz_type,r.material_name=t.material_name),n=t.event,$(n)&&n.type&&n.target){var _=t.event,i=_.touches;if((!i||i.length<1)&&(i=_.changedTouches),i&&0<i.length){r.x=parseInt(i[0].pageX);var c=parseInt(i[0].pageY);(r.y=c)>this.maxClickDeep&&(this.maxClickDeep=c)}}if(j(r.ext,t.ext),"cl"===e){var s=B(V.referKey)||[];N(V.referKey,[s[0],s[1],r.eid])}return"cl"===e&&(r.stream_eid=B("_we_tk")||B("tk")||""),a},W.pr.initExposureData=W.pr.initClickData,W.pr.initShoppingData=function(t){var e=this.baseEnv(),n=e.data[0];return n.eid=t.eid||"",n.eparam=t.eparam||"",n.elevel=t.elevel||"",n.page_id=t.pageId||this.env[K]||"",n.pname=this.getPname(t),n.pparam=this.getPparam(t),n.sku_list=t.shoppingList?JSON.stringify(t.shoppingList):"",j(n.ext,t.ext),e},W.pr.initOrderData=function(t){var e=this.baseEnv(),n=e.data[0];return n.eid=t.eid||"",n.eparam=t.eparam||"",n.elevel=t.elevel||"",n.page_id=t.pageId||this.env[K]||"",n.pname=this.getPname(t),n.pparam=this.getPparam(t),n.sku_list=t.orderList?JSON.stringify(t.orderList):"",n.order_total_fee=t.total||0,n.sale_ord_id=t.orderid||"",j(n.ext,t.ext),e},W.pr.initPageUnloadData=function(t){var e=((H()-this.pageLoadTime)/1e3).toFixed(3),n=this.baseEnv(),a=n.data[0];return t=t||{},a.page_id=t.pageId||this.env[K]||"",a.pname=this.getPname(t),a.pparam=this.getPparam(t),a.alive_seconds=e,a.click_deep=this.maxClickDeep,j(a.ext,t.ext),n},W.pr.initStrategy=function(t){var e=B(V.reportStrategy);r({url:"https://policy.jd.com/m/log/v2?key=x&item="+t+"&v="+(e&&e.v),method:"GET",header:{"content-type":"application/json"},success:function(t){t&&t.data&&("1"===t.data.code&&v(e),"0"===t.data.code&&(N(V.reportStrategy,t.data),v(t.data)))}})},yt=W.wxDat={},(wt=e&&e())&&wt.system&&(yt.system=wt.system),t({success:function(t){t&&(yt.dvc=t.model,yt.pixelRatio=(t.pixelRatio||"")+"",yt.scr=parseInt(t.windowWidth)+"x"+parseInt(t.windowHeight),yt.lang=t.language,yt.wxver=t.version,yt.sdkver=t.SDKVersion||"")},complete:function(){W.dataReady("sysinfo")}}),a({success:function(t){t&&(yt.net=t.networkType)},complete:function(){W.dataReady("netType")}}),i?i(function(t){yt.roll_back="navigateBack"===t.openType?1:0}):yt.roll_back=-100,W.pr.setData=function(t,e){t=$(t)?t:{};var n=$(t.urlParam)?t.urlParam:{},a={skuid:[T],shopid:[E],title:[D],loadtime:[O],url:[P],urlParam:[C,F],pname:[q],pparam:[I],pageId:[K],pvLogId:[M]},r={account:[z],siteId:[b],appid:[R],openid:[A],unionid:[lt],sendByBatch:[U],latitude:[J],longitude:[L]};for(var _ in r){var i=r[_];this.env[i[0]]=t[_]?i[1]?i[1](t[_]):t[_]:this.env[i[0]]||"",delete t[_]}if(!e){for(var _ in this.ext={},this.env[ct]=n,this.setMParam(n.m_param),a){i=a[_];this.env[i[0]]=t[_]?i[1]?i[1](t[_]):t[_]:"",delete t[_]}for(var _ in t)"ext"!==_&&(this.ext[_]=t[_]);this.env[R]||(this.env[R]=B("appid")),this.env[U]&&this.env[b]&&!W.isStrategyReady&&(W.isStrategyReady=!0,this.initStrategy(this.env[b]))}},W.appDat={},W.setAppData=function(t){try{var e={},n=B(V.sysExtKey);for(var a in j(e,n),j(e,t),e)W.appDat[a]=e[a],"wxapp_scene"===a&&t&&t[a]&&(jt=t[a]);N(V.sysExtKey,e)}catch(t){}},W.clearAppData=function(){W.appDat={},function(t){try{n.removeStorageSync(t)}catch(t){}}(V.sysExtKey)},W.scene=null,W.setScene=function(t){W.scene=t},W.pr.setMParam=function(t){try{var e=JSON.parse(t);this.env[mt]=$(e)?e:{}}catch(t){this.env[mt]={}}},W.pr.baseEnv=function(t){this===W.instance?this.env[it]||this.setupPageview():this.initCommon||(this.initMulcommonData(),this.initCommon=!0);var e=this.env,n=W.wxDat,a={cli:c,std:e[b]||"WXAPP-JA2016-1",uuid:e[G]||"",scr:n.scr||"",dvc:n.dvc||"",lang:n.lang||"",appkey:e[ht]||"",appid:e[R]||"",openid:e[A]||"",unionid:e[lt]||"",gender:n.gender||"",city:n.city||"",province:n.province||"",country:n.country||"",wxver:n.wxver||"",data:[]};n.system&&(a.osp=n.system.split(" ")[0],a.osv=n.system.split(" ")[1]);var r=[["realUrl",st],["realParam",ot],["ref",pt],["rpr",dt],["seq",et],["vts",nt],["pin",z],["fst",Q],["pst",Z],["vct",tt],["lat",J],["lon",L]],_=this.getData(r);return _.ma_log_id=e[G]+"-"+(new Date).getTime()+"-"+Math.floor(2147483647*Math.random()),"pv"!==t&&(_.ma_pv_log_id=e[M]),"pv"===t&&(_.roll_back=n.roll_back||0,-100!==_.roll_back&&(n.roll_back=0)),_.jsver=V.jsVer,_.net=n.net||"",_.speed=n.speed||"",_.accuracy=n.accuracy||"",_.pixelRatio=n.pixelRatio||"",_.jdv=e[at]||"",_.customerInfo=e[ft]||"",_.ctp=this.getUrl(),_.par=this.getUrlParam(),_.unpl=B("unpl")||"",_.scene=W.scene||"",_.sdkver=n.sdkver||"",_.device_ts=(new Date).getTime(),_.ma_app_id=e[R]||"","JA2019_5112348"===e[b]&&(_.rdJdv=function(){var t="",e=B(V.rdJdvKey);if(e&&e._expire>Date.now()){var n=e._data&&e._data[V.jdvKey];n&&new Date(n.expires)>new Date&&(t=n?n.value:"")}return t}()),_.ext={sceneJdv:e[rt]||""},_.std_param=W.appDat,j(_.ext,this.ext),j(_.ext,W.appDat),a.data.push(_),a},W.pr.getSeriesData=function(){var t=this.env,e={uuid:t[G]||"",std:t[b]||"WXAPP-JA2016-1",seq:t[et],vts:t[nt]};return t[ht]&&(e.appkey=t[ht]),t[R]&&(e.appid=t[R]),t[gt]&&(e.debugId=t[gt]),e},W.initJda=function(){var t=B(V.jdaKey);if(!t){var e=H();t=[1,X(),e,e,e,0].join("."),N(V.jdaKey,t)}return t},module.exports={init:function(t){return W.getInstance().exports()},instance:function(t){return W.getMulInstance(t).exports()},usePlugin:function(t){if(t)try{pluginObj=requirePlugin(t)}catch(t){}},setAppData:function(t){W.setAppData(t)},clearAppData:function(){W.clearAppData()},setScene:function(t){W.setScene(t)}}}(Taro);
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
border-top-left-radius: 40px;
|
|
50
50
|
border-top-right-radius: 40px;
|
|
51
51
|
width: 100%;
|
|
52
|
-
height:
|
|
52
|
+
height: 10px;
|
|
53
53
|
margin-top: -8px;
|
|
54
54
|
background-clip: padding-box;
|
|
55
55
|
position: relative;
|
|
56
56
|
z-index: 999;
|
|
57
|
-
background: #
|
|
57
|
+
background: #f7f8fc;
|
|
58
58
|
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
|
|
59
59
|
}
|
|
60
60
|
.d-luxury-header-black {
|
|
@@ -69,6 +69,20 @@
|
|
|
69
69
|
background: #fff;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
+
.d-floor-inspect-mask {
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: 0;
|
|
75
|
+
left: 0;
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
background-color: rgba(0, 0, 0, 0.3); // 灰色蒙层
|
|
79
|
+
z-index: 999;
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
box-sizing: border-box;
|
|
82
|
+
border: 6px solid red; // 最外层红框
|
|
83
|
+
// 使用内阴影模拟 6px 白色内边距,覆盖在内容边缘之上
|
|
84
|
+
box-shadow: inset 0 0 0 6px #fff;
|
|
85
|
+
}
|
|
72
86
|
}
|
|
73
87
|
|
|
74
88
|
//@keyframes containerShowToOpacity {
|