Commit 0b7e6a25 by 李嘉林

feat: 进入首页调进店

parent 04104c20
......@@ -626,6 +626,7 @@ export default {
wx.removeStorageSync("firstView");
this.enterStoreRule();
} else {
this.saveEnterShopRecord();
console.log('reloadEnterShopRule-------2')
this.setPageLoading();
}
......@@ -725,19 +726,23 @@ export default {
console.log("获取页面数据-3",params)
that.init(params);
};
this.saveEnterShopRecord();
}
console.log(this.storeDetail, '-------this.storeDetail');
let loginUserInfo = wx.getStorageSync("loginUserInfo") || null;
let query2 = {
telephoneNum: loginUserInfo && loginUserInfo.mobilephone,
enterShopSource: "买家直接进入",
hitRule: "首页进入",
shopName: this.storeDetail.shopName,
}
log.info("进店规则-----",query2)
shop.saveEnterShopRecord(query2);
}
},
saveEnterShopRecord() {
console.log(this.storeDetail, '-------this.storeDetail');
let loginUserInfo = wx.getStorageSync("loginUserInfo") || null;
let shopName = getStoreInfo().offlineShopName
let query2 = {
telephoneNum: loginUserInfo && loginUserInfo.mobilephone,
enterShopSource: "买家直接进入",
hitRule: "首页进入",
shopName,
}
log.info("进店规则-----",query2)
shop.saveEnterShopRecord(query2);
},
getOfflineStoreDetail() {
},
......
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