diff --git a/components.d.ts b/components.d.ts
index 3e67f27..59ed0a0 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -19,11 +19,14 @@ declare module 'vue' {
QiunError: typeof import('./src/components/qiun-error/qiun-error.vue')['default']
QiunLoading: typeof import('./src/components/qiun-loading/qiun-loading.vue')['default']
WdActionSheet: typeof import('@wot-ui/ui/components/wd-action-sheet/wd-action-sheet.vue')['default']
+ WdBadge: typeof import('@wot-ui/ui/components/wd-badge/wd-badge.vue')['default']
WdButton: typeof import('@wot-ui/ui/components/wd-button/wd-button.vue')['default']
+ WdCalendar: typeof import('@wot-ui/ui/components/wd-calendar/wd-calendar.vue')['default']
WdCard: typeof import('@wot-ui/ui/components/wd-card/wd-card.vue')['default']
WdCascader: typeof import('@wot-ui/ui/components/wd-cascader/wd-cascader.vue')['default']
WdCell: typeof import('@wot-ui/ui/components/wd-cell/wd-cell.vue')['default']
WdCellGroup: typeof import('@wot-ui/ui/components/wd-cell-group/wd-cell-group.vue')['default']
+ WdCheckbox: typeof import('@wot-ui/ui/components/wd-checkbox/wd-checkbox.vue')['default']
WdCollapse: typeof import('@wot-ui/ui/components/wd-collapse/wd-collapse.vue')['default']
WdCollapseItem: typeof import('@wot-ui/ui/components/wd-collapse-item/wd-collapse-item.vue')['default']
WdConfigProvider: typeof import('@wot-ui/ui/components/wd-config-provider/wd-config-provider.vue')['default']
@@ -35,6 +38,8 @@ declare module 'vue' {
WdFab: typeof import('@wot-ui/ui/components/wd-fab/wd-fab.vue')['default']
WdForm: typeof import('@wot-ui/ui/components/wd-form/wd-form.vue')['default']
WdFormItem: typeof import('@wot-ui/ui/components/wd-form-item/wd-form-item.vue')['default']
+ WdGrid: typeof import('@wot-ui/ui/components/wd-grid/wd-grid.vue')['default']
+ WdGridItem: typeof import('@wot-ui/ui/components/wd-grid-item/wd-grid-item.vue')['default']
WdIcon: typeof import('@wot-ui/ui/components/wd-icon/wd-icon.vue')['default']
WdImgCropper: typeof import('@wot-ui/ui/components/wd-img-cropper/wd-img-cropper.vue')['default']
WdInput: typeof import('@wot-ui/ui/components/wd-input/wd-input.vue')['default']
@@ -47,6 +52,7 @@ declare module 'vue' {
WdRadioGroup: typeof import('@wot-ui/ui/components/wd-radio-group/wd-radio-group.vue')['default']
WdSearch: typeof import('@wot-ui/ui/components/wd-search/wd-search.vue')['default']
WdSelectPicker: typeof import('@wot-ui/ui/components/wd-select-picker/wd-select-picker.vue')['default']
+ WdSwiper: typeof import('@wot-ui/ui/components/wd-swiper/wd-swiper.vue')['default']
WdSwitch: typeof import('@wot-ui/ui/components/wd-switch/wd-switch.vue')['default']
WdTabbar: typeof import('@wot-ui/ui/components/wd-tabbar/wd-tabbar.vue')['default']
WdTabbarItem: typeof import('@wot-ui/ui/components/wd-tabbar-item/wd-tabbar-item.vue')['default']
diff --git a/package.json b/package.json
index ff8051d..d2df9c5 100644
--- a/package.json
+++ b/package.json
@@ -96,7 +96,7 @@
"@dcloudio/uni-quickapp-webview": "3.0.0-4020420240722002",
"@uni-helper/uni-use": "^0.19.15",
"@vueuse/core": "9.13.0",
- "@wot-ui/ui": "2.0.8",
+ "@wot-ui/ui": "^2.2.0",
"dayjs": "^1.11.13",
"pinia": "^2.3.1",
"vue": "^3.5.22",
diff --git a/src/layouts/default.vue b/src/layouts/default.vue
index 60ee56a..4f3f275 100644
--- a/src/layouts/default.vue
+++ b/src/layouts/default.vue
@@ -21,6 +21,8 @@ export default {
:theme-vars="themeVars"
:custom-class="theme === 'dark' ? 'dark' : ''"
:theme="theme === 'dark' ? 'dark' : ''"
+ :button="{ type: 'primary' }"
+ :tag="{ variant: 'plain' }"
>
diff --git a/src/layouts/tabbar.vue b/src/layouts/tabbar.vue
index 56bb1b3..7bab790 100644
--- a/src/layouts/tabbar.vue
+++ b/src/layouts/tabbar.vue
@@ -1,6 +1,6 @@
-
+
-
+
youlai-app
@@ -120,7 +120,7 @@
-
+
登 录
@@ -243,7 +243,7 @@
演示环境验证码:123456
-
+
确认绑定
diff --git a/src/pages/mine/about/index.vue b/src/pages/mine/about/index.vue
index e02a0b5..e5d9edd 100644
--- a/src/pages/mine/about/index.vue
+++ b/src/pages/mine/about/index.vue
@@ -2,7 +2,7 @@
diff --git a/src/pages/mine/account/index.vue b/src/pages/mine/account/index.vue
index 5ba4201..0227261 100644
--- a/src/pages/mine/account/index.vue
+++ b/src/pages/mine/account/index.vue
@@ -74,7 +74,7 @@
/>
- 提交
+ 提交
- 提交
+ 提交
- 提交
+ 提交
diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue
index 71e2eec..6651ee1 100644
--- a/src/pages/mine/index.vue
+++ b/src/pages/mine/index.vue
@@ -65,7 +65,7 @@
-
+
立即登录
@@ -81,7 +81,7 @@
/>
diff --git a/src/pages/mine/settings/privacy/index.vue b/src/pages/mine/settings/privacy/index.vue
index a4dc8cb..5014a7f 100644
--- a/src/pages/mine/settings/privacy/index.vue
+++ b/src/pages/mine/settings/privacy/index.vue
@@ -14,7 +14,7 @@
- 我已阅读并同意
+ 我已阅读并同意
diff --git a/src/pages/mine/settings/theme/index.vue b/src/pages/mine/settings/theme/index.vue
index a05f346..787f0b0 100644
--- a/src/pages/mine/settings/theme/index.vue
+++ b/src/pages/mine/settings/theme/index.vue
@@ -55,11 +55,11 @@
- 主要按钮
+ 主要按钮
主题色文本
- 标签
+ 标签
@@ -67,7 +67,7 @@
-
+
重置为默认主题
@@ -102,7 +102,7 @@
diff --git a/src/pages/qr-code-confirm/index.vue b/src/pages/qr-code-confirm/index.vue
index 51562ef..c48c655 100644
--- a/src/pages/qr-code-confirm/index.vue
+++ b/src/pages/qr-code-confirm/index.vue
@@ -12,14 +12,14 @@
-
+
PC 端扫码登录
{{ scanResult?.nickname || "未知用户" }}
是否确认在 PC 端登录?
取消登录
- 确认登录
+ 确认登录
diff --git a/src/pages/work/config/index.vue b/src/pages/work/config/index.vue
index bf065e4..406f66e 100644
--- a/src/pages/work/config/index.vue
+++ b/src/pages/work/config/index.vue
@@ -72,7 +72,7 @@
diff --git a/src/pages/work/dept/index.vue b/src/pages/work/dept/index.vue
index 8d4b21a..e6d430c 100644
--- a/src/pages/work/dept/index.vue
+++ b/src/pages/work/dept/index.vue
@@ -77,7 +77,7 @@
diff --git a/src/pages/work/dict/index.vue b/src/pages/work/dict/index.vue
index d4b1a41..2295f30 100644
--- a/src/pages/work/dict/index.vue
+++ b/src/pages/work/dict/index.vue
@@ -23,7 +23,7 @@
字典编码:{{ item.dictCode }}
-
+
{{ item.status === 1 ? "启用" : "禁用" }}
@@ -75,7 +75,7 @@
diff --git a/src/pages/work/dict/item/index.vue b/src/pages/work/dict/item/index.vue
index 0791701..d0eb809 100644
--- a/src/pages/work/dict/item/index.vue
+++ b/src/pages/work/dict/item/index.vue
@@ -25,7 +25,7 @@
字典值:{{ item.value }} · 排序:{{ item.sort }}
-
+
{{ item.status === 1 ? "启用" : "禁用" }}
@@ -80,7 +80,7 @@
diff --git a/src/pages/work/menu/index.vue b/src/pages/work/menu/index.vue
index 7674c65..3333504 100644
--- a/src/pages/work/menu/index.vue
+++ b/src/pages/work/menu/index.vue
@@ -103,7 +103,7 @@
diff --git a/src/pages/work/notice/index.vue b/src/pages/work/notice/index.vue
index f133711..8b93aa8 100644
--- a/src/pages/work/notice/index.vue
+++ b/src/pages/work/notice/index.vue
@@ -27,7 +27,7 @@
{{ item.publisherName || "系统管理员" }}
-
+
{{ getStatusText(item.publishStatus) }}
@@ -134,7 +134,7 @@
diff --git a/src/pages/work/role/assign-perm.vue b/src/pages/work/role/assign-perm.vue
index b366cca..96d85a5 100644
--- a/src/pages/work/role/assign-perm.vue
+++ b/src/pages/work/role/assign-perm.vue
@@ -9,8 +9,8 @@
- 全选
- 取消全选
+ 全选
+ 取消全选
@@ -70,7 +70,7 @@
取消
- 保存
+ 保存
diff --git a/src/pages/work/role/index.vue b/src/pages/work/role/index.vue
index 14841bc..3a69ad4 100644
--- a/src/pages/work/role/index.vue
+++ b/src/pages/work/role/index.vue
@@ -25,7 +25,7 @@
{{ item.code }}
-
+
{{ item.status === 1 ? "正常" : "禁用" }}
@@ -102,7 +102,7 @@
diff --git a/src/pages/work/user/index.vue b/src/pages/work/user/index.vue
index 9e24bce..05579bf 100644
--- a/src/pages/work/user/index.vue
+++ b/src/pages/work/user/index.vue
@@ -34,7 +34,7 @@
@@ -71,7 +71,7 @@
{{ item.roleNames }} · {{ item.deptName }}
-
+
{{ item.status === 1 ? "正常" : "禁用" }}
@@ -174,7 +174,7 @@
@@ -204,7 +204,6 @@
取消
diff --git a/src/static/images/logo.png b/src/static/images/logo.png
new file mode 100644
index 0000000..ebfa2af
Binary files /dev/null and b/src/static/images/logo.png differ
diff --git a/src/styles/theme.scss b/src/styles/theme.scss
index fe7fe80..94002b9 100644
--- a/src/styles/theme.scss
+++ b/src/styles/theme.scss
@@ -176,4 +176,8 @@ page {
// 以下只保留主色调自定义,其余交给 Wot UI 官方暗黑模式
// -----------------------------------------------------------------------
--wot-color-theme: var(--color-primary);
+
+ // Wot UI 的 card / cell / input / grid / popup 等 40+ 组件默认用纯黑填充,
+ // 与项目 --color-bg(深蓝灰)产生色差。统一指向项目主背景。
+ --wot-filled-oppo: var(--color-bg);
}