From aaf2216b8656146ecb49a6fe3d18df80ee44528b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 24 Apr 2026 08:06:46 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=95=B4=E4=BD=93=E8=A7=86=E8=A7=89?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=EF=BC=88=E7=99=BB=E5=BD=95=E9=A1=B5=E5=88=86?= =?UTF-8?q?=E5=B1=8F=E3=80=81=E8=8F=9C=E5=8D=95=E5=9B=BE=E6=A0=87=E3=80=81?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=8D=A1=E7=89=87=E5=8C=96=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 BaseIcon 组件(inline SVG,不引入新依赖) - 登录页:左右分屏(深色品牌视觉区 + 白色登录卡)、输入框前缀图标、 slogan 渐变文字、装饰光晕 - MainLayout 顶栏:品牌 mark + 用户头像 + 角色状态点,按钮带图标 - MainLayout 侧栏:菜单项加图标、active 态渐变+左色条、圆角+外边距 - 全局 token 扩展:brand/text 色阶、border-soft、shadow-card - 列表页工具栏/表格/分页改为卡片式(白底+阴影+圆角) - 表格 hover 行态、按钮 active 轻按下、主按钮带蓝色投影 - 清理 scoped 里冗余的 toolbar/pagination 样式 Co-Authored-By: Claude Opus 4.7 --- frontend/src/components/BaseIcon.vue | 86 ++++++++ frontend/src/layouts/MainLayout.vue | 212 ++++++++++++++---- frontend/src/styles/base.css | 60 ++++- frontend/src/views/BrandManage.vue | 10 - frontend/src/views/FactoryManage.vue | 6 - frontend/src/views/Login.vue | 307 +++++++++++++++++++++++--- frontend/src/views/MaterialManage.vue | 6 - frontend/src/views/UserManage.vue | 6 - 8 files changed, 582 insertions(+), 111 deletions(-) create mode 100644 frontend/src/components/BaseIcon.vue diff --git a/frontend/src/components/BaseIcon.vue b/frontend/src/components/BaseIcon.vue new file mode 100644 index 0000000..25ae3ef --- /dev/null +++ b/frontend/src/components/BaseIcon.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index 1ca4082..e5f1aec 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -1,33 +1,64 @@