spa/frontend/README.md

36 lines
809 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 前端项目
基于uniapp框架的三端小程序项目配合gva后端框架使用。
## 项目结构
```
frontend/
├── user-miniprogram/ # 用户端小程序
├── technician-miniprogram/ # 技师端小程序
└── agent-miniprogram/ # 代理端小程序
```
## 技术栈
- **框架**: uniapp
- **语言**: JavaScript/TypeScript
- **UI组件**: uni-ui
- **状态管理**: Vuex/Pinia
- **网络请求**: uni.request封装
## 开发环境
- HBuilderX 或 VSCode + uni-app插件
- Node.js >= 16
- 微信开发者工具(小程序调试)
## 快速开始
1. 使用HBuilderX导入对应的小程序项目
2. 配置小程序AppID
3. 运行到对应平台进行调试
## API接口
所有小程序统一对接gva后端API接口文档参考server项目的swagger文档。