Skip to content

Commit e5b53a4

Browse files
committed
docs(readme):
1 parent 5eecabc commit e5b53a4

2 files changed

Lines changed: 30 additions & 20 deletions

File tree

README.md

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,37 +41,47 @@
4141
* **状态管理**: Pinia
4242
* **HTTP客户端**: Axios
4343
* **构建工具**: Vite
44-
45-
<div style="border-radius: 5px;">
46-
<img alt="gif" style="border-radius: 10px; " height="200" width="350" src="docs/2月8日_1_.gif"/>
47-
</div>
44+
* **后台管理地址**: http://localhost:3000/admin
4845

4946
## 📂 项目结构
50-
5147
```
52-
E-commerce/ # 电商系统根目录
53-
├── e-commerce-server/ # 后端服务
54-
│ ├── common/ # 公共模块
48+
E-commerce/ # 仓库根目录(示例)
49+
├── e-commerce-server/ # 后端服务(Spring Boot)
50+
│ ├── common/ # 公共模块(工具、常量等)
5551
│ ├── entrance/ # 入口模块
5652
│ ├── order/ # 订单模块
5753
│ ├── web/ # Web API模块
58-
│ │ ├── api-admin/ # 管理端API
59-
│ │ ├── api-client/ # 客户端API
60-
│ │ └── api-common/ # API公共模块
61-
│ └── sql/ # 数据库脚本
54+
│ │ ├── api-admin/ # 管理端 API
55+
│ │ ├── api-client/ # 客户端 API
56+
│ │ └── api-common/ # 公共 API 模块
57+
│ └── sql/ # 数据库脚本与初始化
6258
63-
└── e-commerce-vue/ # 前端应用
59+
└── e-commerce-vue/ # 前端应用(Vue 3 + TypeScript)
6460
├── src/
6561
│ ├── pages/ # 页面组件
66-
│ │ ├── admin/ # 后台管理页面
67-
│ │ └── client/ # 客户端页面
68-
│ ├── components/ # 公共组件
69-
│ ├── http/ # API接口
70-
│ ├── stores/ # 状态管理
71-
│ └── router/ # 路由配置
72-
└── public/ # 静态资源
62+
│ │ ├── admin/ # 后台管理页面(Dashboard、管理页等)
63+
│ │ └── client/ # 客户端页面(首页、商品、用户中心等)
64+
│ ├── components/ # 公共可复用组件
65+
│ ├── layouts/ # 布局组件(Header/Footer/Layout)
66+
│ ├── views/ # 视图目录(按页面组织)
67+
│ ├── router/ # 路由配置
68+
│ ├── stores/ # Pinia 状态管理
69+
│ ├── http/ # API 封装(axios 实例与接口)
70+
│ ├── utils/ # 工具函数、通用帮助方法
71+
│ ├── assets/ # 静态资源(图片、样式等)
72+
│ └── main.ts # 应用入口
73+
├── public/ # 公共静态资源(直接暴露)
74+
├── index.html # 前端入口页
75+
├── package.json # 依赖与脚本
76+
└── vite.config.ts # Vite 配置
7377
```
7478

79+
80+
说明:
81+
- 后端(e-commerce-server)为 Spring Boot 项目,包含模块化结构与数据库脚本。
82+
- 前端(e-commerce-vue)为 Vue 3 + TypeScript + Vuetify 项目,按功能模块划分目录,方便维护与扩展。
83+
- 以上为简洁且实用的目录视图,按需可以在对应目录下补充 README 或文档以说明每个子目录的详细用途。
84+
7585
## 🖼️ 系统界面展示
7686

7787
### 🏠 客户端界面

docs/2月8日_1_.gif

-59.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)