|
@@ -18,8 +18,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="menu-list">
|
|
<view class="menu-list">
|
|
|
- <view class="menu-item" @click="onMenuClick('health')">
|
|
|
|
|
- <text class="menu-text">健康档案</text>
|
|
|
|
|
|
|
+ <view class="menu-item" @click="onMenuClick('complete-info')">
|
|
|
|
|
+ <text class="menu-text">修改信息</text>
|
|
|
<text class="menu-arrow"></text>
|
|
<text class="menu-arrow"></text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="menu-item" @click="onMenuClick('settings')">
|
|
<view class="menu-item" @click="onMenuClick('settings')">
|
|
@@ -135,6 +135,11 @@ onShow(() => {
|
|
|
|
|
|
|
|
const onMenuClick = (type: string) => {
|
|
const onMenuClick = (type: string) => {
|
|
|
console.log('Menu clicked:', type)
|
|
console.log('Menu clicked:', type)
|
|
|
|
|
+ if (type === 'complete-info') {
|
|
|
|
|
+ // 跳转到修改个人信息页面
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/profile/complete-info' })
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: `${type} 功能开发中`,
|
|
title: `${type} 功能开发中`,
|
|
|
icon: 'none'
|
|
icon: 'none'
|