Commit e8f9a1c5 by sunerhu

1.H5 分享页面修改--测试

parent 04532a53
......@@ -18,7 +18,6 @@
},
"dependencies": {
"nanoid": "^4.0.0",
"require.js": "^1.0.0",
"vue-signature-pad": "^3.0.2",
"weixin-js-sdk": "^1.6.0"
}
......
......@@ -103,7 +103,14 @@
search
},
onLoad(options) {
if(uni.getStorageSync('isLogin')){
this.queryAreaCenterInfo();
this.announcementQuery();
}else{
uni.navigateTo({
url:'/components/login/login'
})
}
},
methods: {
tokefu(){
......@@ -173,15 +180,8 @@
this.old.y = e.detail.y
}
},
onShow() {
if(!uni.getStorageSync('isLogin')){
uni.navigateTo({
url:'/components/login/login'
})
}else{
this.queryAreaCenterInfo();
this.announcementQuery();
}
mounted() {
}
}
......
......@@ -159,10 +159,12 @@
orgdataList: [],
queryorgList: [],
shareId: '',
realName:''
realName:'',
partnerLevel:''
};
},
onLoad() {
onLoad(option) {
this.partnerLevel = option.levelCode
this.getqueryOrgList()
let dataForm = uni.getStorageSync('userinfodataForm')
this.realName = dataForm.realName
......
......@@ -157,6 +157,7 @@
}
},
ckidentity(item){
console.log(item, 15551)
if(item.identity == true && this.customerBasicInfo.partnerType ==null){
uni.showToast({
title: "您本人尚未加盟,您加盟后可邀请加盟",
......@@ -164,6 +165,10 @@
icon: 'none'
});
return false
}else if(item.title == '邀请加盟'){
uni.navigateTo({
url: `${item.link}?levelCode=` + this.customerBasicInfo.levelCode
});
}else{
uni.navigateTo({
url: item.link
......
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