当前位置: 首页 > news >正文

vue element tree 后台 数据转换_mallcloud商城vue

演示地址 http://www.yjlive.cn:8090/#/home/

# mall

下载地址 https://gitee.com/zscat-platform/mall

> 基于SpringBoot+MyBatis的电商系统,包括前台商城系统及后台管理系统,小程序,app。

> 如果该项目对您有帮助,您可以点右上角 "Star" 支持一下 谢谢!

> 或者您可以 "follow" 一下,该项目将持续更新,不断完善功能。

> 项目交流QQ群: 195405248   

> 如有问题或者好的建议可以在 Issues 中提。

完整的小程序功能

api.js 为接口文档地址
1.微信登录,
2.小程序首页
3.商品列表,商品分类
4.商品详情,商品评论列表
5.商品收藏(取消收藏),数据存入mongodb
6.加入购物车 购物车列表
7.下单预览,下单,支付,订单列表,订单详情
8.收货地址(crud),设为默认地址
9.优惠券列表,领取优惠券,我领取优惠券

## 前言

`mall`项目致力于打造一个完整的电商系统,采用现阶段流行技术实现。

## 项目介绍

`mall`项目是一套电商系统,包括前台商城系统及后台管理系统,h5,小程序,基于SpringBoot+MyBatis实现。

前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。

后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。

### 组织结构

``` lua

mall

├── mall-mbg -- MyBatisGenerator生成的数据库操作代码

├── mall-admin -- 后台商城管理系统接口

├── mall-search -- 基于Elasticsearch的商品搜索系统

├── mall-portal -- 前台商城系统接口

├── 前端项目`mall-admin-web`  地址 请加群下载   320860169

├── h5前端项目`vue-js-master`地址 请加群下载  

├── pc前端项目`Mall-Vue-master`地址 请加群下载  

├── 小前端项目`wechatapp`地址 请加群下载

```

### 项目演示

> 后台管理系统

项目演示地址: http://39.98.190.128/index.html

- [后台管理系统功能演示.gif]https://gitee.com/zscat/mall/tree/master/document/resource/mall-admin.gif

- [小程序功能演示.gif]    https://gitee.com/zscat/mall/tree/master/document/gif/小程序演示.gif

8a23ea79dffc65cf47a120826c81f701.png

## 目前h5项目已实现功能

1. 首页数据的展示

2. 分类页数据的展示

3. 购物车

4. 我的

5. 注册

6. 登录

7. 商品详情页

8. 商品搜索

##h5项目效果图

1f1f186ff5b349129f980881bf7784b3.png

## 目前小程序项目已实现功能

1. 首页数据的展示

2. 分类页数据的展示

3. 购物车

4. 我的

5. 注册

6. 登录

7. 商品详情页

8. 商品搜索

9.下单

10.用户详情

2f76d17c917bddf28fcfd77c0b16be03.png

## 目前pc项目已实现功能

1. 首页数据的展示

2. 分类页数据的展示

3. 购物车

4. 我的

5. 注册

6. 登录

7. 商品详情页

8. 商品搜索

9.下单

10.用户详情

33ef0320ee2477e47f92507b947c06f6.png

428bb342ad9ae31972b04086991c3736.png

### 技术选型

#### 后端技术

技术 | 说明 | 官网

----|----|----

Spring Boot | 容器+MVC框架 | [https://spring.io/projects/spring-boot](https://spring.io/projects/spring-boot)

Spring Security | 认证和授权框架 | [https://spring.io/projects/spring-security](https://spring.io/projects/spring-security)

MyBatis | ORM框架  | [http://www.mybatis.org/mybatis-3/zh/index.html](http://www.mybatis.org/mybatis-3/zh/index.html)

MyBatisGenerator | 数据层代码生成 | [http://www.mybatis.org/generator/index.html](http://www.mybatis.org/generator/index.html)

PageHelper | MyBatis物理分页插件 | [http://git.oschina.net/free/Mybatis_PageHelper](http://git.oschina.net/free/Mybatis_PageHelper)

Swagger-UI | 文档生产工具 | [https://github.com/swagger-api/swagger-ui](https://github.com/swagger-api/swagger-ui)

Hibernator-Validator | 验证框架 | [http://hibernate.org/validator/](http://hibernate.org/validator/)

Elasticsearch | 搜索引擎 | [https://github.com/elastic/elasticsearch](https://github.com/elastic/elasticsearch)

RabbitMq | 消息队列 | [https://www.rabbitmq.com/](https://www.rabbitmq.com/)

Redis | 分布式缓存 | [https://redis.io/](https://redis.io/)

MongoDb | NoSql数据库 | [https://www.mongodb.com/](https://www.mongodb.com/)

Docker | 应用容器引擎 | [https://www.docker.com/](https://www.docker.com/)

Druid | 数据库连接池 | [https://github.com/alibaba/druid](https://github.com/alibaba/druid)

OSS | 对象存储 | [https://github.com/aliyun/aliyun-oss-java-sdk](https://github.com/aliyun/aliyun-oss-java-sdk)

JWT | JWT登录支持 | [https://github.com/jwtk/jjwt](https://github.com/jwtk/jjwt)

LogStash | 日志收集 | [https://github.com/logstash/logstash-logback-encoder](https://github.com/logstash/logstash-logback-encoder)

Lombok | 简化对象封装工具 | [https://github.com/rzwitserloot/lombok](https://github.com/rzwitserloot/lombok)

#### 前端技术

技术 | 说明 | 官网

----|----|----

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)

#### 架构图

##### 系统架构图

![系统架构图](document/resource/mall_system_arch.png)

##### 业务架构图

![系统架构图](document/resource/mall_business_arch.png)

#### 模块介绍

##### 后台管理系统 `mall-admin`

- 商品管理:[功能结构图-商品.jpg](document/resource/mind_product.jpg)

- 订单管理:[功能结构图-订单.jpg](document/resource/mind_order.jpg)

- 促销管理:[功能结构图-促销.jpg](document/resource/mind_sale.jpg)

- 内容管理:[功能结构图-内容.jpg](document/resource/mind_content.jpg)

- 用户管理:[功能结构图-用户.jpg](document/resource/mind_member.jpg)

##### 前台商城系统 `mall-portal`

[功能结构图-前台.jpg](document/resource/mind_portal.jpg)

#### 开发进度

![项目开发进度图](document/resource/mall_dev_flow.png)

## 环境搭建

### 开发工具

工具 | 说明 | 官网

----|----|----

IDEA | 开发IDE | https://www.jetbrains.com/idea/download

RedisDesktop | redis客户端连接工具 | https://redisdesktop.com/download

Robomongo | mongo客户端连接工具 | https://robomongo.org/download

SwitchHosts| 本地host管理 | https://oldj.github.io/SwitchHosts/

X-shell | Linux远程连接工具 | http://www.netsarang.com/download/software.html

Navicat | 数据库连接工具 | http://www.formysql.com/xiazai.html

PowerDesigner | 数据库设计工具 | http://powerdesigner.de/

Axure | 原型设计工具 | https://www.axure.com/

MindMaster | 思维导图设计工具 | http://www.edrawsoft.cn/mindmaster

ScreenToGif | gif录制工具 | https://www.screentogif.com/

ProcessOn | 流程图绘制工具 | https://www.processon.com/

PicPick | 屏幕取色工具 | https://picpick.app/zh/

### 开发环境

工具 | 版本号 | 下载

----|----|----

JDK | 1.8 | https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Mysql | 5.7 | https://www.mysql.com/

Redis | 3.2 | https://redis.io/download

Elasticsearch | 2.4.6 | https://www.elastic.co/downloads

MongoDb | 3.2 | https://www.mongodb.com/download-center

RabbitMq | 5.25 | http://www.rabbitmq.com/download.html

nginx | 1.10 | http://nginx.org/en/download.html

### 搭建步骤

> 本地环境搭建

- 本地安装开发环境中的所有工具并启动,具体参考[deploy-windows.md](document/reference/deploy-windows.md);

- 克隆源代码到本地,使用IDEA或Eclipse打开,并完成编译;

- 在mysql中新建mall数据库,导入document/sql下的mall.sql文件;

- 启动mall-admin项目:直接运行com.macro.mall.MallAdminApplication的main方法即可,

  接口文档地址:http://localhost:8080/swagger-ui.html;

- 启动mall-search项目:直接运行com.macro.mall.search.MallSearchApplication的main方法即可,

  接口文档地址:http://localhost:8081/swagger-ui.html;

- 启动mall-portal项目:直接运行com.macro.mall.portal.MallPortalApplication的main方法即可,

  接口文档地址:http://localhost:8085/swagger-ui.html;

- 克隆`mall-admin-web`项目,并导入到IDEA中并完成编译[传送门](https://github.com/macrozheng/mall-admin-web);

- 运行命令:npm run dev,访问地址:[http://localhost:8090](http://localhost:8090) 即可打开后台管理系统页面;

- 克隆`Mall-Vue-master`项目,并导入到IDEA中并完成编译[传送门]();

- 运行命令:npm run dev,访问地址: 即可打开pc商城页面;

- 克隆`vue-jd-master`项目,并导入到IDEA中并完成编译[传送门]();

- 运行命令:npm run dev,访问地址: 即可打开h5商城页面;

- ELK日志收集系统的搭建:参考[elk.md](document/elk/elk.md)。

> docker环境部署

- 在VirtualBox或其他环境中安装CenterOs7.2;

- 配置本地host:参考[host.txt](document/docker/host.txt),将ip地址改为虚拟机的ip地址;

- 使用maven构建`mall-admin`、`mall-search`、`mall-portal`的docker镜像,参考[docker.md](document/reference/docker.md)中的使用maven构建Docker镜像;

- 部署步骤参考[docker-deploy.md](document/docker/docker-deploy.md)进行部署。

## 参考资料

- [Spring实战(第4版)](https://book.douban.com/subject/26767354/)

- [Spring Boot实战](https://book.douban.com/subject/26857423/)

- [Spring Cloud微服务实战](https://book.douban.com/subject/27025912/)

- [Spring Cloud与Docker微服务架构实战](https://book.douban.com/subject/27028228/)

- [Spring Data实战](https://book.douban.com/subject/25975186/)

- [MyBatis从入门到精通](https://book.douban.com/subject/27074809/)

- [深入浅出MySQL](https://book.douban.com/subject/25817684/)

- [循序渐进Linux(第2版)](https://book.douban.com/subject/26758194/)

- [Elasticsearch 技术解析与实战](https://book.douban.com/subject/26967826/)

- [MongoDB实战(第二版)](https://book.douban.com/subject/27061123/)

- [Kubernetes权威指南](https://book.douban.com/subject/26902153/)

## 许可证

后台管理项目来自  https://github.com/macrozheng/mall

Copyright (c) 2018-2019 zscat

相关文章:

  • excel统计行数_WPS| 12个简单的Excel技巧,却能让造价人变得如此逆天!
  • RandomAccess接口
  • python用input输入list_python怎么用input函数输入一个列表
  • sublime text 2 卸载与重装
  • 数字图像中255表示什么_数字图像处理学习之(一):图像与图像的表示
  • 初见Hadoop—- 搭建MyEclipse 访问HDFS 上的文件
  • 有些网站打开一半空白_如何发一条空白的朋友圈
  • 一台服务器能承载多少用户_冰淇淋机多少钱一台?做冰淇淋也能小有成就
  • json web token 网上学习笔记
  • python中函数包括_python函数
  • bzoj1059 [ZJOI2007]矩阵游戏
  • python 直方图的绘制方法全解_python可视化:matplotlib绘制直方图进阶篇!
  • CPU位数、操作系统位数、机器字长、C/C++基本数据类型长度
  • python决策树分类 导入数据集_python中使用scikit-learn和pandas决策树进行iris鸢尾花数据分类建模...
  • 2017/08/22 工作日志
  • 【译】JS基础算法脚本:字符串结尾
  • [rust! #004] [译] Rust 的内置 Traits, 使用场景, 方式, 和原因
  • [译]CSS 居中(Center)方法大合集
  • C++回声服务器_9-epoll边缘触发模式版本服务器
  • Java,console输出实时的转向GUI textbox
  • java8 Stream Pipelines 浅析
  • javascript 总结(常用工具类的封装)
  • pdf文件如何在线转换为jpg图片
  • Python - 闭包Closure
  • React as a UI Runtime(五、列表)
  • yii2权限控制rbac之rule详细讲解
  • 关于 Linux 进程的 UID、EUID、GID 和 EGID
  • 关于Android中设置闹钟的相对比较完善的解决方案
  • 简析gRPC client 连接管理
  • 普通函数和构造函数的区别
  • 使用 5W1H 写出高可读的 Git Commit Message
  • 数据库写操作弃用“SELECT ... FOR UPDATE”解决方案
  • 物联网链路协议
  • 深度学习之轻量级神经网络在TWS蓝牙音频处理器上的部署
  • 400多位云计算专家和开发者,加入了同一个组织 ...
  • puppet连载22:define用法
  • 树莓派用上kodexplorer也能玩成私有网盘
  • $.each()与$(selector).each()
  • (03)光刻——半导体电路的绘制
  • (1)安装hadoop之虚拟机准备(配置IP与主机名)
  • (13)Latex:基于ΤΕΧ的自动排版系统——写论文必备
  • (2/2) 为了理解 UWP 的启动流程,我从零开始创建了一个 UWP 程序
  • (Matlab)基于蝙蝠算法实现电力系统经济调度
  • (NO.00004)iOS实现打砖块游戏(十二):伸缩自如,我是如意金箍棒(上)!
  • (待修改)PyG安装步骤
  • (亲测成功)在centos7.5上安装kvm,通过VNC远程连接并创建多台ubuntu虚拟机(ubuntu server版本)...
  • (十五)使用Nexus创建Maven私服
  • (算法)求1到1亿间的质数或素数
  • (终章)[图像识别]13.OpenCV案例 自定义训练集分类器物体检测
  • (转)EOS中账户、钱包和密钥的关系
  • .bat批处理(十一):替换字符串中包含百分号%的子串
  • .Net - 类的介绍
  • .net Application的目录
  • .NET Framework 服务实现监控可观测性最佳实践
  • .NET WebClient 类下载部分文件会错误?可能是解压缩的锅