From 94a8a667592967fb37f2bf7407d7595ad8c72686 Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Sat, 21 Jul 2018 21:46:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Etab=E5=9B=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +- src/components/chart/Bar.vue | 53 ++++++++++++++++++++ src/components/dashboard/Dashboard.vue | 67 ++++++++++++++++++++++++-- 3 files changed, 120 insertions(+), 5 deletions(-) create mode 100644 src/components/chart/Bar.vue diff --git a/README.md b/README.md index 5ea6698..72dd720 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # vue-antd-admin -Ant Design Pro 的 Vue 实现(非官方) +**Ant Design Pro 的 Vue 实现(非官方)** +一个开箱即用的中后台前端/设计解决方案 -[预览地址](https://iczer.github.io) \ No newline at end of file +[预览地址](https://iczer.github.io)(开发中...) diff --git a/src/components/chart/Bar.vue b/src/components/chart/Bar.vue new file mode 100644 index 0000000..dfed6d7 --- /dev/null +++ b/src/components/chart/Bar.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/src/components/dashboard/Dashboard.vue b/src/components/dashboard/Dashboard.vue index 3f6adc3..14f522d 100644 --- a/src/components/dashboard/Dashboard.vue +++ b/src/components/dashboard/Dashboard.vue @@ -51,10 +51,43 @@
-
日均销售额 ¥ 234.56
+
日均销售额 ¥ 234.56
+ +
+ +
+ + +
+ + + + + + + 123 + + + + + + + + + 123 + + +
+
+
@@ -68,12 +101,40 @@ import AIcon from 'vue-antd-ui/es/icon/icon' import MiniArea from '../chart/MiniArea' import MiniBar from '../chart/MiniBar' import MiniProgress from '../chart/MiniProgress' +import ATabs from 'vue-antd-ui/es/tabs' +import ADatePicker from 'vue-antd-ui/es/date-picker' +import Bar from "../chart/Bar"; + +const ATabPane = ATabs.TabPane +const ARangePicker = ADatePicker.RangePicker export default { name: 'dashboard', - components: {MiniProgress, MiniBar, MiniArea, AIcon, ATooltip, ChartCard, ACard, ARow, ACol} + components: { + Bar, + ARangePicker, + ATabPane, + ATabs, + MiniProgress, + MiniBar, + MiniArea, + AIcon, + ATooltip, + ChartCard, + ACard, + ARow, + ACol} } -