From bd14ad2cb8aee6957a637af00070e1c0633b1789 Mon Sep 17 00:00:00 2001 From: lzh Date: Tue, 17 Mar 2026 18:00:17 +0800 Subject: [PATCH] refactor(user): adopt flex+scroll-view layout and remove unused items Switch to full-height flex layout with scroll-view (matching home page), remove account security menu entry, and drop version footer. Co-Authored-By: Claude Opus 4.6 --- src/pages/user/index.vue | 84 +++++++++++++++++++++++----------------- 1 file changed, 48 insertions(+), 36 deletions(-) diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue index bd86ddb..5c0b792 100644 --- a/src/pages/user/index.vue +++ b/src/pages/user/index.vue @@ -1,5 +1,5 @@ @@ -138,7 +139,6 @@ onMounted(async () => { const menuItems = [ { title: '个人资料', icon: 'user', iconColor: '#F97316', action: () => handleGoProfile() }, - { title: '账号安全', icon: 'lock-on', iconColor: '#22C55E', action: () => handleGoSecurity() }, { title: '常见问题', icon: 'warning', iconColor: '#CA8A04', action: () => handleGoFaq() }, { title: '意见反馈', icon: 'edit', iconColor: '#8B5CF6', action: () => handleGoFeedback() }, { title: '联系客服', icon: 'phone', iconColor: '#06B6D4', action: () => handleGoContact() }, @@ -149,10 +149,6 @@ function handleGoProfile() { uni.navigateTo({ url: '/pages-core/user/profile/index' }) } -function handleGoSecurity() { - uni.navigateTo({ url: '/pages-core/user/security/index' }) -} - function handleGoFaq() { uni.navigateTo({ url: '/pages-core/user/faq/index' }) } @@ -187,7 +183,23 @@ function handleLogout() { } + +