|
@@ -1,40 +1,109 @@
|
|
|
-# 前言
|
|
|
+## 前言
|
|
|
|
|
|
* 一个基于Vue前端框架和第三方图表库echarts构建的可视化大数据平台,通过vue项目构建、指令的灵活运用、组件封装、组件之间通信,使内部图表组件库可实现自由替换和组合。
|
|
|
* 项目中部分前端库采用外部CDN引入,可以减少打包文件体积,加快页面渲染。
|
|
|
* 可视化数据大屏展示对前端性能要求高,建议使用谷歌浏览器查看或开发,屏幕尺寸为1920px宽和1080px高是最佳效果。
|
|
|
* 目前制作数据可视化大屏,前端比较流行的第三方库有:Echarts(百度),AntV(阿里),Highcharts(国外公司),D3.js(国外公司)。
|
|
|
-* 如果感觉还不错的话,老铁们是不是赏个★Star鼓励一哈,后续会持续更新和优化,也期待大家的交流。
|
|
|
|
|
|
|
|
|
-[在线效果演示](https://jackchen0120.github.io/vueDataV/)
|
|
|
-
|
|
|
-## 学习教程分上下篇
|
|
|
-* [(上)Vue+Echarts构建可视化大数据平台实战项目分享](https://54web3.cc/blog/induction-tutorial/vue-echarts-prev-section)
|
|
|
-* [(下)Vue+Echarts构建大数据可视化酷炫展示公司品牌实战项目分享](https://54web3.cc/blog/induction-tutorial/vue-echarts-next-section)
|
|
|
-
|
|
|
-# 效果截图
|
|
|
-
|
|
|
-## 登录界面
|
|
|
+## 开发
|
|
|
+- 位于 dev 分支
|
|
|
+- 请使用 less 编写样式
|
|
|
+- 技术栈
|
|
|
+ - vue2.6
|
|
|
+ - echarts4.7
|
|
|
+ - axios
|
|
|
+ - webpack
|
|
|
+ - ES6
|
|
|
+ - scss
|
|
|
+ - css3
|
|
|
+ - jquery
|
|
|
+ - iconfont
|
|
|
+
|
|
|
+``` sh
|
|
|
+yarn
|
|
|
+yarn mm
|
|
|
+yarn serve
|
|
|
+```
|
|
|
|
|
|
-<img src="https://github.com/jackchen0120/vueDataV/blob/master/public/img/login_0.png" width="900" alt="登录界面" />
|
|
|
-<img src="https://github.com/jackchen0120/vueDataV/blob/master/public/img/login_1.png" width="900" alt="登录界面" />
|
|
|
-<img src="https://github.com/jackchen0120/vueDataV/blob/master/public/img/login_2.png" width="900" alt="登录界面" />
|
|
|
+运行之后,访问地址:http://localhost:8081
|
|
|
|
|
|
-## 首页酷屏统计图
|
|
|
+## 发布
|
|
|
|
|
|
-<img src="https://github.com/jackchen0120/vueDataV/blob/master/public/img/dataV_1.png" width="900" alt="首页酷屏统计图" />
|
|
|
-<img src="https://github.com/jackchen0120/vueDataV/blob/master/public/img/dataV_2.png" width="900" alt="首页酷屏统计图" />
|
|
|
-<img src="https://github.com/jackchen0120/vueDataV/blob/master/public/img/dataV_3.png" width="900" alt="首页酷屏统计图" />
|
|
|
-<img src="https://github.com/jackchen0120/vueDataV/blob/master/public/img/dataV_4.png" width="900" alt="首页酷屏统计图" />
|
|
|
+``` sh
|
|
|
+yarn build
|
|
|
+```
|
|
|
|
|
|
-## 公司品牌介绍
|
|
|
+## 页面
|
|
|
+
|
|
|
+- 综合问览 http://localhost:8081/#/page1
|
|
|
+- 种植分析 http://localhost:8081/#/page2
|
|
|
+- 种植分析详情 http://localhost:8081/#/page3
|
|
|
+- 登录页 http://localhost:8081
|
|
|
+- 首页 http://localhost:8081/#/home
|
|
|
+- 公司介绍 http://localhost:8081/#/brand
|
|
|
+
|
|
|
+## 任务
|
|
|
+
|
|
|
+- 目标 -- 11月25号之前完成页面和模拟接口/数据
|
|
|
+- 分工
|
|
|
+ - 模拟接口和数据 -- 肖文华
|
|
|
+ - 综合问览 -- 刘成阳
|
|
|
+ - 地图 -- 徐云辉
|
|
|
+ - 不包含的内容
|
|
|
+ - 实时统计中的目标完成率表
|
|
|
+ - 种植分析 -- 徐云辉
|
|
|
+ - 不包含的内容
|
|
|
+ - 顶部条
|
|
|
+ - 本月移栽数量趋势
|
|
|
+ - 本年移栽数据趋势
|
|
|
+ - 种植分析详情 -- 肖文华
|
|
|
+ - 不包含的内容
|
|
|
+ - 顶部条
|
|
|
+ - 本月移栽数量趋势
|
|
|
+ - 本年移栽数据趋势
|
|
|
+
|
|
|
+## 仅供参考
|
|
|
+- datav http://datav.jiaminghi.com/guide/
|
|
|
+- echarts https://echarts.apache.org/examples/zh/index.html
|
|
|
+- 首页 http://localhost:8081/#/home
|
|
|
+- 公司介绍 http://localhost:8081/#/brand
|
|
|
+- 图表示例集
|
|
|
+ - https://echarts.apache.org/examples/zh/index.html
|
|
|
+ - http://chart.majh.top/
|
|
|
+ - https://echarts.zhangmuchen.top/#/index
|
|
|
+ - https://madeapie.com/#/examples
|
|
|
+- 功能示例
|
|
|
+ - http://www.htmleaf.com/Demo/201508082380.html
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=3e3af-6681-01d4-9e8ae-3475649d
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=ef808-0753-f28d-b9dbf-857232b3
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=cc8db-77e6-1b92-a8b88-e8026e2a
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=xomSYW64ff
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=f5937-38f8-ac10-b0dd5-e36bd25c
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=5e921-123f-ee83-8f550-d21ebe25
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=xcyIqcHZDe
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=c1732-f317-0e53-a4a00-82e8f168
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=xQbO0oOmdg
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=xjHG-ufzOD
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=xbmSYGhnhK
|
|
|
+ - https://echarts.zhangmuchen.top/#/detail?cid=xMQNuAkUYq
|
|
|
+
|
|
|
+- [(上)Vue+Echarts构建可视化大数据平台实战项目分享](https://54web3.cc/blog/induction-tutorial/vue-echarts-prev-section)
|
|
|
+- [(下)Vue+Echarts构建大数据可视化酷炫展示公司品牌实战项目分享](https://54web3.cc/blog/induction-tutorial/vue-echarts-next-section)
|
|
|
+
|
|
|
+## 项目架构
|
|
|
|
|
|
-<img src="https://github.com/jackchen0120/vueDataV/blob/master/public/img/brand.png" width="900" alt="炫酷展示公司品牌" />
|
|
|
+- 登录界面抖动
|
|
|
+- 粒子动效
|
|
|
+- 背景图轮播
|
|
|
+- 自定义全局模态框
|
|
|
+- 自定义消息提示框
|
|
|
+- 酷屏首页组件库
|
|
|
+- 各种酷炫小部件
|
|
|
+- 炫酷展示公司品牌
|
|
|
|
|
|
|
|
|
|
|
|
-# 项目架构
|
|
|
```
|
|
|
│ vue.config.js // webpack配置
|
|
|
├─public
|
|
@@ -99,53 +168,3 @@
|
|
|
Home.vue // 酷屏首页统计图
|
|
|
Login.vue // 登录界面
|
|
|
```
|
|
|
-
|
|
|
-# 技术栈
|
|
|
-
|
|
|
-- vue2.6
|
|
|
-- echarts4.7
|
|
|
-- axios
|
|
|
-- webpack
|
|
|
-- ES6
|
|
|
-- scss
|
|
|
-- css3
|
|
|
-- jquery
|
|
|
-- iconfont
|
|
|
-
|
|
|
-# 功能模块
|
|
|
-
|
|
|
-- 登录界面抖动
|
|
|
-- 粒子动效
|
|
|
-- 背景图轮播
|
|
|
-- 自定义全局模态框
|
|
|
-- 自定义消息提示框
|
|
|
-- 酷屏首页组件库
|
|
|
-- 各种酷炫小部件
|
|
|
-- 炫酷展示公司品牌
|
|
|
-
|
|
|
-# 下载安装依赖
|
|
|
-
|
|
|
-```
|
|
|
-git clone https://github.com/jackchen0120/vueDataV.git
|
|
|
-cd vueDataV
|
|
|
-# 建议node版本使用 v12/v14
|
|
|
-yarn
|
|
|
-```
|
|
|
-
|
|
|
-## 开发模式
|
|
|
-
|
|
|
-```
|
|
|
-yarn serve
|
|
|
-```
|
|
|
-
|
|
|
-运行之后,访问地址:http://localhost:8081
|
|
|
-
|
|
|
-## 生产环境打包
|
|
|
-
|
|
|
-```
|
|
|
-yarn build
|
|
|
-```
|
|
|
-
|
|
|
-#### 获取更多项目实战经验及各种源码资源,请关注作者公众号:懒人码农
|
|
|
-
|
|
|
-<img src="https://imgconvert.csdnimg.cn/aHR0cHM6Ly91c2VyLWdvbGQtY2RuLnhpdHUuaW8vMjAyMC81LzEzLzE3MjBlM2U0ZmQ5NDZiZDQ?x-oss-process=image/format,png" width="430" alt="公众号二维码" />
|