From 4465c4d613ec8f689958129fab8b420401bb1470 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Sun, 17 May 2026 23:54:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=A8=E9=9D=A2=E5=8D=87=E7=BA=A7=20?= =?UTF-8?q?Wot=20UI=20v2=20=E5=B9=B6=E4=BF=AE=E5=A4=8D=E6=9A=97=E9=BB=91?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复 TabBar 切换激活状态不同步问题 - 修复大量 Wot UI 2.x 图标名称不匹配 - 修复暗黑模式下主题变量错误注入导致亮色模式显示异常 - 优化个人中心 UI(头像标记、图标背景色、菜单结构) - 重构首页图表时间选择器为自定义分段选择器 - 修复登录弹窗文字丢失及验证顺序 - 修复设置页面布局、退出登录按钮及 cell 点击态 --- package.json | 2 +- src/components/custom-tree/index.vue | 2 +- src/composables/useTabbar.ts | 2 +- src/config/menu.ts | 11 --- src/layouts/default.vue | 2 +- src/layouts/tabbar.vue | 77 ++++++++++----- src/pages.json | 2 - src/pages/index/index.vue | 78 +++++++++++---- src/pages/login/index.vue | 55 ++++------- src/pages/mine/index.vue | 99 +++++-------------- src/pages/mine/profile/complete-profile.vue | 2 +- src/pages/mine/profile/index.vue | 2 +- src/pages/mine/settings/index.vue | 103 ++++++++++++-------- src/pages/mine/settings/theme/index.vue | 20 +++- src/pages/work/dict/index.vue | 2 +- src/pages/work/dict/item/index.vue | 2 +- src/pages/work/index.vue | 2 +- src/pages/work/log/index.vue | 2 +- src/pages/work/menu/index.vue | 4 +- src/pages/work/notice/index.vue | 8 +- src/pages/work/role/assign-perm.vue | 6 +- src/pages/work/role/index.vue | 2 +- src/pages/work/user/index.vue | 6 +- src/store/modules/theme.ts | 73 ++++++++++++-- src/styles/theme.scss | 7 ++ 25 files changed, 331 insertions(+), 240 deletions(-) diff --git a/package.json b/package.json index 16652cd..a7dec7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "youlai-app", - "version": "0.1.2", + "version": "1.0.0", "scripts": { "dev:app": "uni -p app", "dev:app-android": "uni -p app-android", diff --git a/src/components/custom-tree/index.vue b/src/components/custom-tree/index.vue index e4332ce..4b90b43 100644 --- a/src/components/custom-tree/index.vue +++ b/src/components/custom-tree/index.vue @@ -24,7 +24,7 @@ :model-value="isChecked(item.value)" :indeterminate="isIndeterminate(item.value)" :disabled="item.disabled" - shape="square" + type="square" /> diff --git a/src/composables/useTabbar.ts b/src/composables/useTabbar.ts index 99e4f5f..09bf600 100644 --- a/src/composables/useTabbar.ts +++ b/src/composables/useTabbar.ts @@ -33,7 +33,7 @@ export interface TabbarItem { /** 默认 TabBar 配置 */ const DEFAULT_TABBAR_ITEMS: Omit[] = [ { name: "home", value: null, title: "首页", icon: "home" }, - { name: "work", value: null, title: "工作台", icon: "laptop" }, + { name: "work", value: null, title: "工作台", icon: "apps" }, { name: "mine", value: null, title: "我的", icon: "user" }, ]; diff --git a/src/config/menu.ts b/src/config/menu.ts index 3f67238..1907924 100644 --- a/src/config/menu.ts +++ b/src/config/menu.ts @@ -60,23 +60,12 @@ export const menuConfig: WorkMenuGroup[] = [ url: "/pages/work/notice/index", perm: "sys:notice:list", }, - ], - }, - { - title: "系统监控", - children: [ { icon: "/static/icons/log.svg", title: "系统日志", url: "/pages/work/log/index", perm: "sys:log:list", }, - { - icon: "/static/icons/dashboard.svg", - title: "应用监控", - url: "https://www.baidu.com", - perm: "", - }, ], }, { diff --git a/src/layouts/default.vue b/src/layouts/default.vue index a8f4c2a..cf1585c 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -17,7 +17,7 @@ export default {