Commit faf58980 authored by Mac's avatar Mac

进入首页

parent 9d8097fb
......@@ -216,7 +216,6 @@ export default {
}
if (options && options.SmallShopId) {
uni.setStorageSync("SmallShopId", { SmallShopId: options.SmallShopId });
console.log(uni.getStorageSync("SmallShopId"));
}
if (options && options.scene) {
......@@ -241,7 +240,7 @@ export default {
}
}
if (options && options.J) {//司导分享的的特殊处理
console.log(options.J)
this.JumpType = options.J;
if(options.J == 3){
this.guidecar.GoodsId = options.id;
......@@ -275,6 +274,7 @@ export default {
Photo: res.userInfo.avatarUrl,
};
that.updateuserinfo(msg);
that.getPageType()
// 如果登录的情况下直接跳转商品详情或者直播列表
setTimeout(() => {
if (that.JumpType == 1) {
......@@ -340,15 +340,13 @@ export default {
? uni.getStorageSync("add_top_app").add_top_app_show
: 1;
this.setting = set;
// console.log(this.setting)
console.log(uni.getStorageSync("basedata"));
this.isShowBack();
uni.showNavigationBarLoading();
},
// #ifdef MP-WEIXIN
onShareTimeline() {
setTimeout(() => {
console.log("分享调用");
// console.log("分享调用");
this.getReceive();
}, 2500);
let uid = uni.getStorageSync("mall_UserInfo")
......@@ -366,7 +364,6 @@ export default {
? uni.getStorageSync("mall_UserInfo").UserSmallShopId
: 0;
}
console.log(uid);
let title=this.setting.share_title
? this.setting.share_title
: uni.getStorageSync("basedata").mall.name
......@@ -381,7 +378,7 @@ export default {
},
onShareAppMessage(res) {
setTimeout(() => {
console.log("分享调用");
// console.log("分享调用");
this.getReceive();
}, 2500);
let uid = uni.getStorageSync("mall_UserInfo")
......@@ -471,7 +468,7 @@ export default {
that.u = res.data;
uni.removeStorageSync("pid");
uni.removeStorageSync("SmallShopId");
that.getPageType()
// 如果登录的情况下直接跳转商品详情或者直播列表
setTimeout(() => {
if (that.JumpType == 1) {
......@@ -813,7 +810,7 @@ export default {
},
(res) => {
console.log(res, "PageType");
uni.setStorageSync('UserPageType', res.data);
}
);
},
......
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