From 5d6f34eceecd480eaeb863500b57a5f862b3d585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Thu, 9 Jul 2026 08:53:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/AppDrawer.vue | 4 +- src/components/common/AppTabBar.vue | 2 +- src/pages/chat/index.vue | 95 ++++--- src/pages/index/index.vue | 60 +++- src/pages/profile/edit.vue | 409 +++++++++++++++++++--------- src/pages/profile/index.vue | 159 +++++++---- 6 files changed, 500 insertions(+), 229 deletions(-) diff --git a/src/components/common/AppDrawer.vue b/src/components/common/AppDrawer.vue index 48ce388..ca9676f 100644 --- a/src/components/common/AppDrawer.vue +++ b/src/components/common/AppDrawer.vue @@ -133,7 +133,7 @@ function handleLogout() { background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); - z-index: 1000; + z-index: 1; } .mask-enter { @@ -156,7 +156,7 @@ function handleLogout() { width: 75%; height: 100%; background: var(--drawer-bg); - z-index: 1001; + z-index: 1; display: flex; flex-direction: column; box-shadow: 16rpx 0 48rpx rgba(0, 0, 0, 0.1); diff --git a/src/components/common/AppTabBar.vue b/src/components/common/AppTabBar.vue index 6af5906..03f903f 100644 --- a/src/components/common/AppTabBar.vue +++ b/src/components/common/AppTabBar.vue @@ -129,7 +129,7 @@ function switchTab(name: string) { bottom: 0; left: 0; right: 0; - z-index: 10; + z-index: 1; height: 168rpx; background: #ffffff; border-top: 1rpx solid rgba(0, 0, 0, 0.05); diff --git a/src/pages/chat/index.vue b/src/pages/chat/index.vue index 7967176..ce1639f 100644 --- a/src/pages/chat/index.vue +++ b/src/pages/chat/index.vue @@ -171,7 +171,7 @@ diff --git a/src/pages/profile/index.vue b/src/pages/profile/index.vue index 9e5c82b..a2cf34a 100644 --- a/src/pages/profile/index.vue +++ b/src/pages/profile/index.vue @@ -6,35 +6,43 @@ 我的 - - - - - - - - - - + + + + + + + + + + + + 编辑资料 + + + + + + + + + + + + - + + - + - {{ userInfo.nickname || '未设置昵称' }} - + {{ user?.name || '未设置昵称' }} + + {{ user.desc }} - - - - - - - - @@ -128,26 +136,53 @@ - +