This commit is contained in:
lik
2026-05-29 20:30:42 +08:00
parent 659232cf77
commit 91ffaa62e7
28 changed files with 1270 additions and 98 deletions

View File

@@ -3,7 +3,7 @@ const API = require('../../utils/api.js')
Page({
data: {
userInfo: {
avatar: '/images/home-green.png',
avatar: '/images/home-yellow.png',
name: '用户',
phone: '',
sex: '',
@@ -22,7 +22,7 @@ Page({
bindtap: 'onTapProfile'
}, {
name: '健康档案',
icon: 'user-vip',
icon: 'attach',
bindtap: 'onTapHealth'
}, {
name: '邮寄地址',
@@ -126,7 +126,7 @@ Page({
},
onTapHealth() {
this.setData({ healthVisible: true })
wx.showToast({ title: '正在建设中', icon: 'none' })
},
onHealthClose() {
@@ -139,6 +139,12 @@ Page({
})
},
onTapAboutUs() {
wx.navigateTo({
url: '/pages/mine/about'
})
},
onTapSetting() {
this.setData({ settingVisible: true })
},