修改界面中,临时提交
This commit is contained in:
+16
-1
@@ -52,6 +52,12 @@ Page({
|
||||
|
||||
onShow() {
|
||||
this.loadUserInfo()
|
||||
// 同步自定义 tabBar 选中态(我的为第 2 项)
|
||||
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
|
||||
this.getTabBar().setData({
|
||||
selected: 2
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
loadUserInfo() {
|
||||
@@ -126,7 +132,9 @@ Page({
|
||||
},
|
||||
|
||||
onTapHealth() {
|
||||
wx.showToast({ title: '正在建设中', icon: 'none' })
|
||||
wx.navigateTo({
|
||||
url: '/pages/health/profilelist'
|
||||
})
|
||||
},
|
||||
|
||||
onHealthClose() {
|
||||
@@ -149,6 +157,13 @@ Page({
|
||||
this.setData({ settingVisible: true })
|
||||
},
|
||||
|
||||
// 页脚 B 端合作链接:暂无独立页面,统一转接人工客服
|
||||
onFooterTap() {
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: '18618162956'
|
||||
})
|
||||
},
|
||||
|
||||
onSettingClose() {
|
||||
this.setData({ settingVisible: false })
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user