486 Commits

Author SHA1 Message Date
feige996
f6208a191d feat(build): 添加自动更新package.json时间戳的vite插件
添加updatePackageJson插件,在构建时自动更新package.json中的时间戳字段
2025-06-17 18:09:51 +08:00
GitHub Actions
23cd9a522e Auto merge base into tabbar 2025-06-16 01:53:25 +00:00
feige996
f2119f3f73 fix: await getUserInfo need await 2025-06-16 09:53:03 +08:00
GitHub Actions
61a2fd8a27 Auto merge base into tabbar 2025-06-15 14:28:46 +00:00
菲鸽
3808f515cf !16 让http工具方法支持传递更多参数
Merge pull request !16 from 浑宣凯/N/A
2025-06-15 20:51:37 +08:00
GitHub Actions
4efb14cbff Auto merge base into tabbar 2025-06-13 10:33:46 +00:00
feige996
af1e9d727f refactor(index.vue): 修复ts报错 2025-06-13 18:33:25 +08:00
feige996
a79e59cdf3 chore: 更新 lint 配置和忽略文件
- 添加 .eslintignore 文件并配置忽略规则
- 更新 .oxlintrc.json 的 ignorePatterns 配置
- 简化 package.json 中的 lint 命令
- 调整 .vscode/settings.json 的文件关联
2025-06-13 18:28:58 +08:00
feige996
305ac6dccd ci: 添加oxlint配置并更新prettier规则
添加.oxlintrc.json配置文件以启用oxlint检查,并更新.prettierrc.cjs以支持jsonc文件格式。同时在useUpload.ts中恢复accept参数的默认值。
2025-06-13 17:28:51 +08:00
GitHub Actions
6866c17184 Auto merge base into tabbar 2025-06-13 09:00:53 +00:00
feige996
3893aff68f chore: 更新oxlint配置及依赖版本
- 添加oxlint到VSCode设置
- 在useUpload.ts中移除未使用的import和注释掉accept参数
- 在utils/index.ts中简化getAllPages函数
- 更新package.json中的oxlint版本和lint配置
- 更新pnpm-lock.yaml中的oxlint相关依赖
2025-06-13 17:00:31 +08:00
GitHub Actions
1f3749d08d Auto merge base into tabbar 2025-06-06 15:46:16 +00:00
feige996
218d618e0e fix(上传): 修复头像上传成功回调处理逻辑
修改上传成功回调的参数类型为对象,并正确处理响应数据
统一处理H5和微信端的头像上传成功日志
2025-06-06 23:45:39 +08:00
feige996
4bed7f2d13 fix: 修复上传组件图片显示和数据处理问题
修正上传组件中图片显示路径错误的问题,并正确处理上传接口返回的JSON数据
2025-06-06 23:37:44 +08:00
GitHub Actions
2c566253f3 Auto merge base into tabbar 2025-06-06 14:59:38 +00:00
feige996
a18880675b refactor(用户信息): 使用storeToRefs解构userInfo并添加调试日志
重构用户信息相关代码,使用storeToRefs解构userInfo以简化模板中的访问
在setUserAvatar方法中添加调试日志以便跟踪头像设置过程
2025-06-06 22:54:53 +08:00
GitHub Actions
28fad4a480 Auto merge base into tabbar 2025-06-06 14:42:50 +00:00
feige996
008a1cc58a fix(upload): 更新头像上传逻辑,使用环境变量作为上传地址,增强成功回调处理 2025-06-06 22:38:57 +08:00
feige996
b5a71b7788 fix(useUpload): 优化文件选择逻辑,支持H5和小程序环境,增强错误处理 2025-06-06 22:31:10 +08:00
feige996
4e7dd994b4 fix(index.vue): 修改toast提示方法,统一使用toast.show 2025-06-06 21:59:06 +08:00
GitHub Actions
8233556683 Auto merge base into tabbar 2025-06-06 04:45:21 +00:00
feige996
6362129e34 fix(useUpload): 修复上传文件响应数据处理问题
移除对上传成功响应的JSON解析,直接使用原始数据
2025-06-06 12:44:59 +08:00
GitHub Actions
8464a040ab Auto merge base into tabbar 2025-06-06 04:41:25 +00:00
feige996
c99a11a9fa fix(useUpload): 条件编译不配对 2025-06-06 12:41:06 +08:00
feige996
41bd05fd0f fix(manifest): 更新微信小程序配置,启用es6和代码压缩 2025-06-06 12:37:11 +08:00
GitHub Actions
0d42825314 Auto merge base into tabbar 2025-06-05 14:56:49 +00:00
吴宇杰
da5a2b1afe feat(hook): 上传文件 2025-06-04 16:21:35 +08:00
GitHub Actions
9dcea8189e Auto merge base into tabbar 2025-06-04 07:20:27 +00:00
陈剑术
7e81d97742 feat: 优化页面权限控制逻辑
- 添加isLogined函数以简化登录状态检查
- 更新usePageAuth函数,使用isLogined来判断用户是否已登录
2025-06-04 12:45:33 +08:00
陈剑术
dcae738e69 feat: 添加登录页面URL配置及页面权限控制
- 在.env文件中新增VITE_LOGIN_URL配置
- 在App.vue中引入并调用usePageAuth以实现页面权限控制
- 更新route.ts以使用环境变量中的登录页面URL
2025-06-04 12:25:13 +08:00
GitHub Actions
d5a3772b3a Auto merge base into tabbar 2025-06-04 01:03:41 +00:00
feige996
f23d8128f9 test: 测试 lint-staged 2025-06-04 09:03:13 +08:00
GitHub Actions
7b61242611 Auto merge base into tabbar 2025-06-04 01:00:58 +00:00
feige996
13c166139d Revert "style: 移除无用样式并修复样式检查警告"
This reverts commit a5a359528a4f2183bd3110dc288c140485345bbe.
2025-06-04 09:00:34 +08:00
GitHub Actions
a0a2106fe7 Auto merge base into tabbar 2025-06-03 11:43:14 +00:00
feige996
a5a359528a style: 移除无用样式并修复样式检查警告
移除被禁用的 stylelint 规则注释及无用的 button::after 样式
保持 scroll-view 和 swiper 的 flex 属性不变
2025-06-03 19:42:35 +08:00
GitHub Actions
81a1e8e42d Auto merge base into tabbar 2025-06-03 09:48:13 +00:00
feige996
91ee84cd49 style(页面配置): 更新页面路由配置和注释代码
- 在分包页面中添加 navigationStyle 配置
- 注释掉 about 页面中未使用的分包跳转按钮代码
```

这个提交消息:
1. 使用了 `style` 类型,因为修改主要是样式配置和代码注释
2. 添加了 `页面配置` 作为可选范围
3. 描述简洁说明了两个主要修改点
4. 符合中文提交规范,使用简体中文且简明扼要
5. 没有使用句号结尾
6. 保持在50个字符以内
2025-06-03 17:46:29 +08:00
GitHub Actions
3e604e3c7f Auto merge base into tabbar 2025-06-03 09:26:52 +00:00
feige996
9ad46fe088 fix(安全区域): 修复微信小程序获取安全区域距离的问题
微信小程序需要使用 wx.getWindowInfo() API 获取安全区域距离,其他平台继续使用 uni.getSystemInfoSync()
2025-06-03 17:26:32 +08:00
GitHub Actions
bb0a57bd1f Auto merge base into tabbar 2025-06-03 06:49:14 +00:00
feige996
720c7c7e35 fix: 更新应用ID并禁用app平台的copyNativeRes插件
更新manifest.json和.env文件中的应用ID为'__UNI__D1E5001'以匹配新配置
注释掉vite.config.ts中app平台的copyNativeRes插件调用以优化构建流程
2025-06-03 14:39:03 +08:00
feige996
3c09e54b9a refactor: 移除用户相关页面和组件并更新UI组件库
- 删除所有用户相关的页面(登录、个人中心、修改密码等)
- 移除隐私协议弹窗组件及相关样式
- 将wd-button组件替换为sar-button组件
- 更新页面配置和路由,移除用户相关路由
- 修改首页显示的分支名称
```

这个提交消息简明扼要地概括了主要变更:
1. 类型使用refactor表示这是代码重构
2. 描述了主要的变更内容:
   - 移除了用户相关功能
   - 更新了UI组件库
   - 修改了配置和路由
3. 保持了简洁的格式,符合提交消息规范
2025-06-03 13:26:20 +08:00
feige996
2f7c60856b refactor: 替换 wot-design-uni 为 sard-uniapp 组件库
- 更新 vite 配置以优化 sard-uniapp 的依赖处理
- 修改全局样式导入和组件引用路径
- 移除 wot-design-uni 相关配置和依赖
- 更新 tsconfig 和页面配置中的类型定义
- 调整布局组件中的配置提供逻辑
2025-06-03 13:07:08 +08:00
feige996
d76a5baad9 Merge branch 'tabbar' of github.com:feige996/unibest into tabbar 2025-06-03 12:42:18 +08:00
GitHub Actions
667e0647c4 Auto merge base into tabbar 2025-06-03 04:40:02 +00:00
feige996
a5121bfef6 feat(utils): 添加 tabBarList 导出以获取 tabbar 列表
添加 tabBarList 导出项,方便其他模块直接获取 tabbar 配置列表
2025-06-03 12:39:32 +08:00
feige996
0042afe215 refactor(fg-tabbar): 使用工具函数中的tabBarList替代直接导入
从直接导入pages.json中的tabBar改为使用utils中封装的_tabBarList,提高代码复用性和维护性
2025-06-03 12:38:13 +08:00
feige996
b6fbf54c1c Merge branch 'base' into tabbar 2025-05-28 00:59:32 +08:00
feige996
200bdd366d chore: 清理未types目录下的类型定义文件 2025-05-28 00:55:47 +08:00