From 1d675605963f9e5be82489eeddce8e1d4bae78ae Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Mon, 11 Jun 2018 13:47:48 +0800
Subject: [PATCH] no message
Former-commit-id: b5a2e324ecbb5b07f0d9271fad79ffc349d7f802
Former-commit-id: 0bf7da6578411c0a3503cba0d08e349d675bca18
Former-commit-id: f7401e8a82bba4d3f3b678c46c18320bfa7ac427
---
.../-header-right/components/-theme.vue | 55 +--------------
src/components/core/d2-theme-list/index.vue | 67 +++++++++++++++++++
src/components/core/register.js | 3 +-
...EMOVED.git-id => d2@2x.png.REMOVED.git-id} | 0
4 files changed, 72 insertions(+), 53 deletions(-)
create mode 100644 src/components/core/d2-theme-list/index.vue
rename static/image/theme-preview/{d2admin@2x.png.REMOVED.git-id => d2@2x.png.REMOVED.git-id} (100%)
diff --git a/src/components/core/d2-layout-main/components/-header-right/components/-theme.vue b/src/components/core/d2-layout-main/components/-header-right/components/-theme.vue
index 5d479958..f01b7671 100644
--- a/src/components/core/d2-layout-main/components/-header-right/components/-theme.vue
+++ b/src/components/core/d2-layout-main/components/-header-right/components/-theme.vue
@@ -5,67 +5,18 @@
-
-
-
-
-
-
-
-
- 使用
-
-
-
+
+
-
-
diff --git a/src/components/core/d2-theme-list/index.vue b/src/components/core/d2-theme-list/index.vue
new file mode 100644
index 00000000..5407e72f
--- /dev/null
+++ b/src/components/core/d2-theme-list/index.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+ 使用
+
+
+
+
+
+
+
+
diff --git a/src/components/core/register.js b/src/components/core/register.js
index b3f19794..d5c9854b 100644
--- a/src/components/core/register.js
+++ b/src/components/core/register.js
@@ -14,5 +14,6 @@ Vue.component('d2-icon', () => import('@/components/core/d2-icon'))
Vue.component('d2-icon-select', () => import('@/components/core/d2-icon-select/index.vue'))
Vue.component('d2-icon-svg', () => import('@/components/core/d2-icon-svg/index.vue'))
Vue.component('d2-markdown', () => import('@/components/core/d2-markdown'))
-Vue.component('d2-quill', () => import('@/components/core/d2-quill'))
Vue.component('d2-mde', () => import('@/components/core/d2-mde'))
+Vue.component('d2-quill', () => import('@/components/core/d2-quill'))
+Vue.component('d2-theme-list', () => import('@/components/core/d2-theme-list'))
diff --git a/static/image/theme-preview/d2admin@2x.png.REMOVED.git-id b/static/image/theme-preview/d2@2x.png.REMOVED.git-id
similarity index 100%
rename from static/image/theme-preview/d2admin@2x.png.REMOVED.git-id
rename to static/image/theme-preview/d2@2x.png.REMOVED.git-id