feat: 个人中心重设计 + 后台全量响应式适配

- 个人中心重设计:对齐站点黑白编辑风(极简资料区+细分隔线统计、下划线页签、
  细边框卡片、克制危险区、收藏网格、评论列表),移除后台系组件与彩色渐变
- 后台响应式适配:表格页 md 以下卡片堆叠(md:hidden/hidden md:block 双模板)、
  Dashboard 统计卡自适应、表单双语两列、AdminModal 移动端底部弹层、
  触摸目标与间距统一,覆盖全部 9 个后台页 + 布局
This commit is contained in:
2026-08-06 19:21:37 +08:00
parent b15a983e3c
commit f1d2a405f9
12 changed files with 513 additions and 497 deletions
+3 -2
View File
@@ -18,7 +18,7 @@ const sidebarOpen = ref(false)
<!-- 移动端顶栏 -->
<header
class="lg:hidden fixed top-0 inset-x-0 z-40 h-14 bg-black text-white flex items-center justify-between px-4 shadow-lg"
class="lg:hidden fixed top-0 inset-x-0 z-50 h-14 bg-black text-white flex items-center justify-between px-4 shadow-lg"
>
<NuxtLink to="/admin" class="flex items-center gap-2" @click="sidebarOpen = false">
<div
@@ -30,8 +30,9 @@ const sidebarOpen = ref(false)
</NuxtLink>
<button
type="button"
class="w-9 h-9 rounded-lg hover:bg-white/10 flex items-center justify-center transition-colors"
class="w-10 h-10 rounded-lg hover:bg-white/10 flex items-center justify-center transition-colors"
aria-label="切换菜单"
:aria-expanded="sidebarOpen"
@click="sidebarOpen = !sidebarOpen"
>
<Icon :name="sidebarOpen ? 'ph:x' : 'ph:list'" class="w-5 h-5" />