Signed-off-by: 吴文峰 <kevin@lmve.net>
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
{
|
||||
"version": 2,
|
||||
"sessions": {
|
||||
"9da290b417a44c7b9720d6545f2e14d7": [
|
||||
{
|
||||
"expertId": "FrontendDeveloper",
|
||||
"name": "Paul",
|
||||
"profession": "前端开发工程师",
|
||||
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/FrontendDeveloper/FrontendDeveloper.png",
|
||||
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/FrontendDeveloper/FrontendDeveloper_zh.md",
|
||||
"usedAt": 1776167527349,
|
||||
"industryId": "all"
|
||||
},
|
||||
{
|
||||
"expertId": "BackendArchitect",
|
||||
"name": "Joy",
|
||||
"profession": "后端架构师",
|
||||
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/BackendArchitect/BackendArchitect.png",
|
||||
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/BackendArchitect/BackendArchitect_zh.md",
|
||||
"usedAt": 1776163421500,
|
||||
"industryId": "all"
|
||||
}
|
||||
],
|
||||
"95e0ae51ed494505a477abd8137eaf2b": [
|
||||
{
|
||||
"expertId": "BackendArchitect",
|
||||
"name": "Joy",
|
||||
"profession": "后端架构师",
|
||||
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/BackendArchitect/BackendArchitect.png",
|
||||
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/BackendArchitect/BackendArchitect_zh.md",
|
||||
"usedAt": 1776172649908,
|
||||
"industryId": "all"
|
||||
}
|
||||
]
|
||||
},
|
||||
"lastUpdated": 1776172717113
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
# 2026-04-14 工作日志
|
||||
|
||||
## 今日完成
|
||||
|
||||
### uni-app 移动端开发
|
||||
|
||||
#### 基础架构
|
||||
- 创建 `pages/login/login.vue` - 登录页面(组合式 API + vue-i18n)
|
||||
- 创建 `pages/register/register.vue` - 注册页面
|
||||
- 创建 `pages/index/index.vue` - 首页(订单统计、快捷操作)
|
||||
- 创建 `pages/settings/apiConfig.vue` - API 配置页面
|
||||
- 更新 `pages.json` - 添加 tabBar 配置
|
||||
- 更新 `main.js` - 支持本地存储覆盖 API(默认 http://192.168.13.105/api/)
|
||||
- 更新 `App.vue` - 初始化全局 API 地址
|
||||
- 创建 `static/tabbar/` - 底部导航图标(home/settings)
|
||||
|
||||
#### i18n 国际化
|
||||
- 创建 `locales/zh.js` / `locales/en.js` - 中英文语言包
|
||||
- 切换到 vue-i18n(组合式 API)
|
||||
- 支持中英文切换(中文/EN)
|
||||
|
||||
#### 技术栈
|
||||
- uni-app + Vue3 Composition API
|
||||
- vue-i18n 国际化
|
||||
- 组合式 API (<script setup>)
|
||||
|
||||
### 系统架构确认
|
||||
- backend/my_work: Go+Gin+GORM 后端
|
||||
- frontend/ops_vue_js: Vue3 Web 端
|
||||
- frontend/ops_uniapp: uni-app 移动端
|
||||
|
||||
### API 端点
|
||||
- 默认地址: http://192.168.13.105/api/
|
||||
- 登录: POST /users/login
|
||||
- 注册: POST /users/register
|
||||
- 订单统计: POST /purchase/getordercount
|
||||
Reference in New Issue
Block a user