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
|
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 |
|
feige996
|
d35fabd893
|
feat(tabbar): 调整
|
2025-05-28 00:51:49 +08:00 |
|
feige996
|
6673c2e269
|
Merge branch 'base' into tabbar
|
2025-05-28 00:46:30 +08:00 |
|
feige996
|
cc56472da6
|
feat(登录): 登录优化
|
2025-05-28 00:33:41 +08:00 |
|
feige996
|
b4316befdd
|
refactor(auth): 移除token认证逻辑并重构用户登录流程
- 删除auth.ts及相关token管理函数
- 修改登录接口和用户信息获取接口,不再依赖token
- 使用uni-app存储替代cookie存储用户信息
- 重构微信登录流程,简化参数传递
- 更新用户头像默认路径为新增的default-avatar.png
- 在个人中心页面增加登录状态判断和登录按钮
```
这个提交消息遵循了以下原则:
1. 使用refactor类型,因为这是对现有代码结构的重构
2. 添加了scope(auth)来明确这是认证相关的重构
3. 描述简明扼要地说明了主要变更
4. 在body中列出了主要变更点,没有重复描述
5. 使用中文并保持简洁,每个变更点用短句说明
6. 使用动词开头并保持一致的格式
|
2025-05-28 00:16:33 +08:00 |
|
feige996
|
ad22d9f95f
|
feat(用户中心): 新增用户中心相关功能模块
实现用户中心完整功能,包括:
1. 新增登录页面及登录逻辑
2. 添加个人资料、修改密码、关于我们等子页面
3. 实现头像上传功能
4. 添加js-cookie依赖处理token存储
5. 完善用户信息类型定义和API接口
6. 新增tabbar"我的"入口及相关路由配置
新增工具函数:
1. 添加auth.ts处理认证相关逻辑
2. 实现toast.ts统一消息提示
3. 添加uploadFile.ts处理文件上传
4. 新增isTableBar判断页面是否为tabbar页
|
2025-05-27 23:19:09 +08:00 |
|
feige996
|
34a6b4b229
|
style(fg-navbar): 格式化组件代码以提高可读性
重构 fg-navbar.vue 文件的代码格式,主要修改包括:
1. 将 withDefaults 和 defineProps 的代码结构重新排版
2. 统一使用 2 空格缩进
3. 将模板中的属性分行排列
这些改动不影响组件功能,仅提升代码可读性和维护性
|
2025-05-27 20:42:13 +08:00 |
|
feige996
|
3bea809f19
|
docs: 更新项目描述中的技术栈信息
将 Vite4 更新为 Vite6,并移除不再使用的 UniUI 依赖
|
2025-05-27 20:40:44 +08:00 |
|