From 1c70e89ab8a3bdd209927efc1af3352f9182a0e9 Mon Sep 17 00:00:00 2001 From: Yuzhiran Dev Date: Sun, 12 Jul 2026 12:43:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20trend=E9=A1=B5=E8=BE=B9=E8=B7=9D?= =?UTF-8?q?=E4=B8=8Epage-layout=E7=BB=9F=E4=B8=80(=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=A4=9A=E4=BD=9916px)+profile=E8=8F=9C=E5=8D=95=E7=99=BD?= =?UTF-8?q?=E5=BA=95=E5=8D=A1=E7=89=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/pnpm-workspace.yaml | 5 +++++ client/src/pages/profile/profile.vue | 12 ++++++++++-- client/src/pages/trend/trend.vue | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 client/pnpm-workspace.yaml diff --git a/client/pnpm-workspace.yaml b/client/pnpm-workspace.yaml new file mode 100644 index 0000000..ee14c69 --- /dev/null +++ b/client/pnpm-workspace.yaml @@ -0,0 +1,5 @@ +allowBuilds: + '@parcel/watcher': set this to true or false + core-js: set this to true or false + esbuild: set this to true or false + vue-demi: set this to true or false diff --git a/client/src/pages/profile/profile.vue b/client/src/pages/profile/profile.vue index 1e31c13..32c7b05 100644 --- a/client/src/pages/profile/profile.vue +++ b/client/src/pages/profile/profile.vue @@ -454,17 +454,25 @@ function goSettings() { // 菜单 .menu-section { - border-top: 1px solid var(--glass-border); + background: var(--glass-bg); + border: 1px solid var(--glass-border); + border-radius: var(--radius-lg); + overflow: hidden; + margin-bottom: 20px; } .menu-item { display: flex; align-items: center; gap: 14px; - padding: 14px 0; + padding: 15px 16px; border-bottom: 1px solid var(--glass-border); } +.menu-item:last-child { + border-bottom: none; +} + .m-icon { width: 34px; height: 34px; diff --git a/client/src/pages/trend/trend.vue b/client/src/pages/trend/trend.vue index 7eaf6ae..33e21ea 100644 --- a/client/src/pages/trend/trend.vue +++ b/client/src/pages/trend/trend.vue @@ -239,7 +239,7 @@ function getSampleData() { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; - padding: 0 16px 16px; + padding: 0 0 16px; } .trend-card {