From 4e59b306669944fb46f37fd032c1eaf18789b17f Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Mon, 3 Dec 2018 11:35:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E6=AF=8F=E4=B8=AA=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E7=9A=84=E9=A6=96=E9=A1=B5=E6=98=BE=E7=A4=BA=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 6cab63bfcc9fbbb16740f86c293fec3996061006 [formerly 6cab63bfcc9fbbb16740f86c293fec3996061006 [formerly 6cab63bfcc9fbbb16740f86c293fec3996061006 [formerly 6cab63bfcc9fbbb16740f86c293fec3996061006 [formerly beab075483c86b86dcf8088652d47d10d17e791b [formerly aa0a4c06e6e6c365614a38137e570322db6356f5]]]]] Former-commit-id: e27ebca4c2bb81ef3930d2a2744b569e3ba0c47e Former-commit-id: 05ab8b935658496dbb83ebd1726fd7abdb85b4a5 Former-commit-id: 9fe99c61fd2c812e7ac86a65ef7a96fb77e2555a [formerly 8448054abcfec1aeb5d29b6b3ab9bb7994a0e5d3] Former-commit-id: c40b050f64112493e7ea738e8cac1b3ec32839d6 Former-commit-id: cdb02c46bc4ec0dd38a15c7682acbe4da3f4ffe2 Former-commit-id: 6e620c8a7bf1f4feae914af55a3d4e48f2527adc Former-commit-id: 46e4a65d456e1159c9bb5d4c34d4c171ea38c145 Former-commit-id: 90f1ebb055ffc14de13d90d00dc7bb14545c34c8 --- .../index.vue | 0 .../d2-module-index-menu/components/group.vue | 100 ++++++++++++++++++ .../d2-module-index-menu/components/item.vue | 30 ++++++ src/components/d2-module-index-menu/index.vue | 43 ++++++++ src/components/index.js | 3 +- src/pages/demo/business/index/index.vue | 5 +- src/pages/demo/charts/index/index.vue | 5 +- src/pages/demo/components/index/index.vue | 5 +- src/pages/demo/d2-crud/index/index.vue | 5 +- src/pages/demo/element/index/index.vue | 5 +- src/pages/demo/frame/index/index.vue | 5 +- src/pages/demo/playground/index/index.vue | 5 +- src/pages/demo/plugins/index/index.vue | 5 +- 13 files changed, 207 insertions(+), 9 deletions(-) rename src/components/{d2-module-banner => d2-module-index-banner}/index.vue (100%) create mode 100644 src/components/d2-module-index-menu/components/group.vue create mode 100644 src/components/d2-module-index-menu/components/item.vue create mode 100644 src/components/d2-module-index-menu/index.vue diff --git a/src/components/d2-module-banner/index.vue b/src/components/d2-module-index-banner/index.vue similarity index 100% rename from src/components/d2-module-banner/index.vue rename to src/components/d2-module-index-banner/index.vue diff --git a/src/components/d2-module-index-menu/components/group.vue b/src/components/d2-module-index-menu/components/group.vue new file mode 100644 index 00000000..22cd4af3 --- /dev/null +++ b/src/components/d2-module-index-menu/components/group.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/src/components/d2-module-index-menu/components/item.vue b/src/components/d2-module-index-menu/components/item.vue new file mode 100644 index 00000000..2331066d --- /dev/null +++ b/src/components/d2-module-index-menu/components/item.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/src/components/d2-module-index-menu/index.vue b/src/components/d2-module-index-menu/index.vue new file mode 100644 index 00000000..0c36e6ce --- /dev/null +++ b/src/components/d2-module-index-menu/index.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/src/components/index.js b/src/components/index.js index e738d7de..76a5b68a 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -16,6 +16,7 @@ Vue.component('d2-icon-select', () => import('./d2-icon-select/index.vue')) Vue.component('d2-icon-svg', () => import('./d2-icon-svg/index.vue')) Vue.component('d2-markdown', () => import('./d2-markdown')) Vue.component('d2-mde', () => import('./d2-mde')) -Vue.component('d2-module-banner', () => import('./d2-module-banner')) +Vue.component('d2-module-index-banner', () => import('./d2-module-index-banner')) +Vue.component('d2-module-index-menu', () => import('./d2-module-index-menu')) Vue.component('d2-quill', () => import('./d2-quill')) Vue.component('d2-ueditor', () => import('./d2-ueditor')) diff --git a/src/pages/demo/business/index/index.vue b/src/pages/demo/business/index/index.vue index bc962084..cdf1541e 100644 --- a/src/pages/demo/business/index/index.vue +++ b/src/pages/demo/business/index/index.vue @@ -1,14 +1,17 @@