refactor(unocss): 迁移至@uni-helper/unocss-preset-uni预设并优化配置

- 使用@uni-helper/unocss-preset-uni替代原有小程序预设配置
- 移除unocss-applet依赖及相关自定义规则
- 更新vite配置中UnoCSS的异步导入方式
- 添加fg-*组件自动导入规则
- 更新about页面导航栏标题
- 调整package.json依赖版本
```

这个提交消息:
1. 使用`refactor`类型,因为这是对CSS配置体系的重构
2. 添加`unocss`作用域明确修改范围
3. 简明描述主要变更内容
4. 使用中文符合要求
5. 通过条目列出重要修改点,避免重复描述
This commit is contained in:
feige996
2025-05-26 22:18:53 +08:00
parent 49fa8c4509
commit 9bcb37cd4f
9 changed files with 296 additions and 256 deletions

View File

@@ -9,6 +9,7 @@
"easycom": {
"autoscan": true,
"custom": {
"^fg-(.*)": "@/components/fg-$1/fg-$1.vue",
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue",
"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
}
@@ -50,7 +51,8 @@
"path": "pages/about/about",
"type": "page",
"style": {
"navigationBarTitleText": "关于"
"navigationBarTitleText": "关于",
"navigationStyle": "custom"
}
}
],