refactor(theme): 移除暗黑模式相关代码并简化主题设置页面

重构主题相关功能,移除不再使用的暗黑模式样式和配置
将主题颜色设置逻辑迁移到utils/theme模块
简化主题设置页面UI,移除预览区域
更新全局样式配置和页面路由类型定义
This commit is contained in:
zhangtao
2025-08-27 01:34:51 +08:00
parent f3d48e4630
commit 6557980b97
9 changed files with 20 additions and 225 deletions
+15 -14
View File
@@ -1,4 +1,12 @@
{
"easycom": {
"autoscan": true,
"custom": {
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue",
"^cu-(.*)": "@/components/cu-$1/index.vue"
}
},
"pages": [
{
"path": "pages/index/index",
@@ -119,27 +127,20 @@
}
],
"globalStyle": {
"navigationBarBackgroundColor": "@navBgColor",
"navigationBarTextStyle": "@navTxtStyle",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "FastApp",
"backgroundColor": "@bgColor",
"backgroundTextStyle": "@bgTxtStyle",
"backgroundColorTop": "@bgColorTop",
"backgroundColorBottom": "@bgColorBottom",
"enablePullDownRefresh": false,
"onReachBottomDistance": 50,
"animationType": "pop-in",
"animationDuration": 300
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"custom": true,
"customize": true,
"overlay": true,
"height": "0",
"color": "@tabColor",
"selectedColor": "@tabSelectedColor",
"backgroundColor": "@tabBgColor",
"borderStyle": "@tabBorderStyle",
"color": "#474747",
"selectedColor": "#3B8DFF",
"backgroundColor": "#F8F8F8",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/index/index"