Commit c6a6063e by 谢中龙

修改华东

parent a2b34680
{ {
"enablePullDownRefresh":true,
"navigationBarTitleText": "积分商城", "navigationBarTitleText": "积分商城",
"usingComponents": { "usingComponents": {
"no-more": "/component/noMore/noMore", "no-more": "/component/noMore/noMore",
......
...@@ -599,12 +599,15 @@ class WXService extends Http { ...@@ -599,12 +599,15 @@ class WXService extends Http {
if (item['scene']) { if (item['scene']) {
pageIsFromShare = true; pageIsFromShare = true;
let idParam = decodeURIComponent(item['scene']).split('&')[0]; let idParam = decodeURIComponent(item['scene']).split('&')[0];
let shareId = idParam && idParam.split('=')[1] || 0 let shareId = idParam && idParam.split('=')[1] || 0;
//处理pageId的
if (idParam.indexOf('pageId') > -1){
item['pageId'] = shareId;
}
//
item['id'] = Integer.digit(shareId, 64, 10) item['id'] = Integer.digit(shareId, 64, 10)
// console.log(item['id'])
id = item['id']; id = item['id'];
} }
}); });
//如果打开的是分享界面则进行触点对象信息请求并存储到本地 放到后续的header中 //如果打开的是分享界面则进行触点对象信息请求并存储到本地 放到后续的header中
if (pageIsFromShare) { if (pageIsFromShare) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment