更新确认地址信息

This commit is contained in:
zdx
2020-12-28 14:00:13 +08:00
parent 637e63b224
commit 734d3a9377
14 changed files with 169 additions and 74 deletions

View File

@@ -7,17 +7,12 @@ Page({
selectMenuId: 0, //默认是企业信息0 视频1 活动2 项目筹集3
company_id: wx.getStorageSync('company_id'), //企业Id,
info: '', //企业信息
loaded:false
},
onLoad(e) {
console.log(e)
if(e.id){
this.company(e.id)
wx.setStorageSync('company_id', e.id)
}else{
this.company(this.company_id)
}
},
onShow() {
this.company(wx.getStorageSync('company_id'))
},
onUnload: function () {
wx.removeStorageSync('company_id')
@@ -65,7 +60,8 @@ Page({
wx.$api.companyModule.company(this.data.company_id, this.data.page).then(res => {
console.log(res)
this.setData({
info: res
info: res,
loaded:true,
})
})
},
@@ -77,5 +73,14 @@ Page({
wx.makePhoneCall({
phoneNumber: this.data.info.certification.phone,
})
},
/**
* 进入商城
*/
goMall(e){
console.log('1111')
wx.navigateTo({
url: '/pages/mall/index',
})
}
})