Commit 49483c1f authored by 罗超's avatar 罗超

首页修改

parent 2cd6a248
......@@ -224,7 +224,6 @@ export default {
that.u = uni.getStorageSync("mall_UserInfo")
wx.getUserInfo({
success: function (res) {
if (uni.getStorageSync("mall_UserInfo")) {
let uid = uni.getStorageSync("mall_UserInfo").UserId;
let msg = {
......@@ -258,7 +257,17 @@ export default {
});
}
},
});
fail:function(e){
uni.showToast({ title: '微信登录授权失败', icon: 'none' });
if (!that.u) {
that.u = {
nickName: "未登录",
avatarUrl: ""
};
that.showAuth = true;
}
}
});
......
......@@ -375,7 +375,7 @@
this.shopBasics = res.data;
if(this.AuditStatus ==2){
this.getSmallShopsCenter()//获取微店信息
this.pageTitle = '店中心'
this.pageTitle = '店中心'
}
}
......@@ -425,7 +425,7 @@
that.init()
if(this.shopBasics.IsExamine==1){
this.getSmallShopsCenter()//获取微店信息
this.pageTitle = '店中心'
this.pageTitle = '店中心'
}
}
......
......@@ -241,7 +241,7 @@ export default {
},
pandu(item){
let flag=true;
let IsOpen = this.shopBasics.model.IsOpen?this.shopBasics.model.IsOpen:1
let IsOpen = this.shopBasics.model&&this.shopBasics.model.IsOpen?this.shopBasics.model.IsOpen:1
switch(item.link_url)
{
case "/pages/share/index/index" :
......
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