From 02fff338cf39edb69df499a119411ae448fa4a57 Mon Sep 17 00:00:00 2001 From: chiyi Date: Sun, 5 Jul 2026 12:58:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/layouts/AdminLayout.vue | 2 +- frontend/src/layouts/PublicLayout.vue | 8 +------- frontend/src/main.js | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/frontend/src/layouts/AdminLayout.vue b/frontend/src/layouts/AdminLayout.vue index 086d5ff..8d5d647 100644 --- a/frontend/src/layouts/AdminLayout.vue +++ b/frontend/src/layouts/AdminLayout.vue @@ -18,7 +18,7 @@ const tabs = [ { label: '订单管理', to: '/admin/orders', icon: 'receipt' }, { label: '兑换码管理', to: '/admin/cdks', icon: 'spark' }, { label: '邀请日志', to: '/admin/invites', icon: 'accounts' }, - { label: '图片管理', to: '/admin/images', icon: 'files' }, + { label: '作品管理', to: '/admin/images', icon: 'files' }, { label: '首页内容', to: '/admin/showcase', icon: 'spark' }, { label: '日志管理', to: '/admin/logs', icon: 'log' }, { label: '系统配置', to: '/admin/config', icon: 'config' }, diff --git a/frontend/src/layouts/PublicLayout.vue b/frontend/src/layouts/PublicLayout.vue index 47bb2bd..ce7578c 100644 --- a/frontend/src/layouts/PublicLayout.vue +++ b/frontend/src/layouts/PublicLayout.vue @@ -65,11 +65,11 @@ const currentLabel = computed(() => { v-for="n in nav" :key="n.to" :to="n.to" :exact-active-class="n.to === '/' ? 'active' : ''" :active-class="n.to === '/' ? '' : 'active'" + :title="n.label" class="rail-link group"> - {{ n.label }} @@ -139,7 +139,6 @@ const currentLabel = computed(() => { display: flex; flex-direction: column; align-items: center; - gap: 0.5rem; padding: 0.25rem 0; color: var(--fg-3); transition: color 0.15s ease; @@ -164,11 +163,6 @@ const currentLabel = computed(() => { background: var(--hover) !important; --tw-ring-color: var(--hairline); } -.rail-label { - font-size: 10px; - letter-spacing: 0.04em; - font-weight: 500; -} .rail-bottom { width: 2.5rem; diff --git a/frontend/src/main.js b/frontend/src/main.js index b09c1e3..fa23986 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -61,7 +61,7 @@ const routes = [ { path: 'orders', component: AdminOrdersView, meta: { label: '订单管理' } }, { path: 'cdks', component: CdksView, meta: { label: '兑换码管理' } }, { path: 'invites', component: InvitesAdminView, meta: { label: '邀请日志' } }, - { path: 'images', component: ImagesView, meta: { label: '图片管理' } }, + { path: 'images', component: ImagesView, meta: { label: '作品管理' } }, { path: 'showcase', component: ShowcaseView, meta: { label: '首页内容' } }, { path: 'logs', component: LogsView, meta: { label: '日志管理' } }, { path: 'config', component: ConfigView, meta: { label: '系统配置' } },