You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
3.7 KiB
83 lines
3.7 KiB
![]()
2 years ago
|
# mallplus-platform
|
||
|
|
||
|
## 说明
|
||
|
|
||
|
> 基于Vue+Element的电商后台管理系统,完整实现了整个流程。
|
||
|
|
||
|
> 该项目为前后端分离项目,搭建步骤具体参考后端项目[传送门](https://github.com/macrozheng/mall)。
|
||
|
|
||
|
> 如果该项目对您有帮助,您可以点右上角 "Star" 支持一下 谢谢!
|
||
|
|
||
|
> 或者您可以 "follow" 一下,该项目将持续更新,不断完善功能。
|
||
|
|
||
|
> 项目交流QQ群:[959351312](http://qm.qq.com/cgi-bin/qm/qr?k=V6xu5c12j9qhnMUNdDRzakNxRKzOxibQ)。
|
||
|
|
||
|
> 如有问题或者好的建议可以在 Issues 中提。
|
||
|
|
||
|
## 前言
|
||
|
|
||
|
`mall`项目后台管理系统的前端项目
|
||
|
[传送门](https://github.com/macrozheng/mall)。
|
||
|
|
||
|
## 项目介绍
|
||
|
|
||
|
`mallplus-platform`是一个电商后台管理系统的前端项目,基于Vue+Element实现。
|
||
|
主要包括商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等功能。
|
||
|
|
||
|
## 项目演示
|
||
|
|
||
|
项目在线演示地址:[http://39.98.190.128/index.html](http://39.98.190.128/index.html)
|
||
|
|
||
|

|
||
|
|
||
|
## 技术选型
|
||
|
|
||
|
技术 | 说明 | 官网
|
||
|
----|----|----
|
||
|
Vue | 前端框架 | [https://vuejs.org/](https://vuejs.org/)
|
||
|
Vue-router | 路由框架 | [https://router.vuejs.org/](https://router.vuejs.org/)
|
||
|
Vuex | 全局状态管理框架 | [https://vuex.vuejs.org/](https://vuex.vuejs.org/)
|
||
|
Element | 前端UI框架 | [https://element.eleme.io/](https://element.eleme.io/)
|
||
|
Axios | 前端HTTP框架 | [https://github.com/axios/axios](https://github.com/axios/axios)
|
||
|
v-charts | 基于Echarts的图表框架 | [https://v-charts.js.org/](https://v-charts.js.org/)
|
||
|
Js-cookie | cookie管理工具 | [https://github.com/js-cookie/js-cookie](https://github.com/js-cookie/js-cookie)
|
||
|
nprogress | 进度条控件 | [https://github.com/rstacruz/nprogress](https://github.com/rstacruz/nprogress)
|
||
|
vue-element-admin | 项目脚手架参考 | [https://github.com/PanJiaChen/vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)
|
||
|
|
||
|
### 项目布局
|
||
|
|
||
|
``` lua
|
||
|
src -- 源码目录
|
||
|
├── api -- axios网络请求定义
|
||
|
├── assets -- 静态图片资源文件
|
||
|
├── components -- 通用组件封装
|
||
|
├── icons -- svg矢量图片文件
|
||
|
├── router -- vue-router路由配置
|
||
|
├── store -- vuex的状态管理
|
||
|
├── styles -- 全局css样式
|
||
|
├── utils -- 工具类
|
||
|
└── views -- 前端页面
|
||
|
├── home -- 首页
|
||
|
├── layout -- 通用页面加载框架
|
||
|
├── login -- 登录页
|
||
|
├── oms -- 订单模块页面
|
||
|
├── pms -- 商品模块页面
|
||
|
└── sms -- 营销模块页面
|
||
|
```
|
||
|
|
||
|
## 搭建步骤
|
||
|
- 下载node并安装:[https://nodejs.org/dist/v8.9.4/node-v8.9.4-x64.msi](https://nodejs.org/dist/v8.9.4/node-v8.9.4-x64.msi);
|
||
|
- 该项目为前后端分离项目,访问本地访问接口需搭建后台环境,搭建请参考后端项目[传送门](https://github.com/macrozheng/mall);
|
||
|
- 访问在线接口无需搭建后台环境,只需将config/dev.env.js文件中的BASE_API改为[http://39.98.190.128:8080](http://39.98.190.128:8080)即可;
|
||
|
- 克隆源代码到本地,使用IDEA打开,并完成编译;
|
||
|
- 在IDEA命令行中运行命令:npm install,下载相关依赖;
|
||
|
- 在IDEA命令行中运行命令:npm run dev,运行项目;
|
||
|
- 访问地址:[http://localhost:8090](http://localhost:8090) 即可打开后台管理系统页面;
|
||
|
- 如果遇到无法运行该命令,需要配置npm的环境变量,如在path变量中添加:C:\Users\zhenghong\AppData\Roaming\npm。
|
||
|
|
||
|
## 许可证
|
||
|
|
||
|
[MIT](https://github.com/macrozheng/mallplus-platform/blob/master/LICENSE)
|
||
|
|
||
|
Copyright (c) 2018-2019 macrozheng
|