From 8f45dbe328fd032b4914f6b4f6d4be63975f96b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=B1=E8=A3=A4=E8=A1=A9?=
Date: Tue, 9 Apr 2019 09:58:08 +0800
Subject: [PATCH] feature[Icons]: add element-ui icons demo (#1865)
---
src/views/svg-icons/element-icon.json | 1 +
src/views/svg-icons/index.vue | 64 ++++++++++++++++++---------
src/views/svg-icons/requireIcons.js | 1 -
3 files changed, 43 insertions(+), 23 deletions(-)
create mode 100644 src/views/svg-icons/element-icon.json
diff --git a/src/views/svg-icons/element-icon.json b/src/views/svg-icons/element-icon.json
new file mode 100644
index 00000000..15072a4c
--- /dev/null
+++ b/src/views/svg-icons/element-icon.json
@@ -0,0 +1 @@
+["info","error","success","warning","question","back","arrow-left","arrow-down","arrow-right","arrow-up","caret-left","caret-bottom","caret-top","caret-right","d-arrow-left","d-arrow-right","minus","plus","remove","circle-plus","remove-outline","circle-plus-outline","close","check","circle-close","circle-check","circle-close-outline","circle-check-outline","zoom-out","zoom-in","d-caret","sort","sort-down","sort-up","tickets","document","goods","sold-out","news","message","date","printer","time","bell","mobile-phone","service","view","menu","more","more-outline","star-on","star-off","location","location-outline","phone","phone-outline","picture","picture-outline","delete","search","edit","edit-outline","rank","refresh","share","setting","upload","upload2","download","loading"]
diff --git a/src/views/svg-icons/index.vue b/src/views/svg-icons/index.vue
index b14d4be6..665b1d03 100644
--- a/src/views/svg-icons/index.vue
+++ b/src/views/svg-icons/index.vue
@@ -4,37 +4,57 @@
Add and use
-
-
-
-
- {{ generateIconCode(item) }}
-
-
-
- {{ item }}
-
-
-
-
+
+
+
+
+
+ {{ generateIconCode(item) }}
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+ {{ generateElementIconCode(item) }}
+
+
+
+ {{ item }}
+
+
+
+
+