From 26b1441c6044119ff639732e86b3ad96ec74431d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com>
Date: Thu, 7 Oct 2021 18:32:23 +0800
Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=20iconPicker=20=E5=9B=BE?=
=?UTF-8?q?=E6=A0=87=E9=80=89=E6=8B=A9=E5=99=A8,=20=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=EF=BC=9A=E5=88=9D=E6=AD=A5=E9=9B=86=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/docs/zh-CN/components/iconPicker.md | 19 +
docs/src/styles/markdown.css | 6 -
src/index.ts | 5 +-
src/module/breadcrumb/index.vue | 1 +
src/module/breadcrumbItem/index.vue | 1 -
src/module/iconPicker/index.vue | 708 ++++++++++++++++++++++-
6 files changed, 730 insertions(+), 10 deletions(-)
diff --git a/docs/docs/zh-CN/components/iconPicker.md b/docs/docs/zh-CN/components/iconPicker.md
index e69de29b..12e89bd8 100644
--- a/docs/docs/zh-CN/components/iconPicker.md
+++ b/docs/docs/zh-CN/components/iconPicker.md
@@ -0,0 +1,19 @@
+::: demo
+
+
+
+
+
+
+
+:::
\ No newline at end of file
diff --git a/docs/src/styles/markdown.css b/docs/src/styles/markdown.css
index faba6747..b86c5dbe 100644
--- a/docs/src/styles/markdown.css
+++ b/docs/src/styles/markdown.css
@@ -88,12 +88,6 @@ h1 {
line-height: 38px;
}
-ol,
-ul {
- margin: 1rem 0;
- line-height: 1.7;
-}
-
area,
button,
[role='button'],
diff --git a/src/index.ts b/src/index.ts
index c05b56e4..e9c79c92 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -8,6 +8,7 @@ import LayButton from './module/button/index'
import LayButtonContainer from './module/buttonContainer/index'
import LayButtonGroup from './module/buttonGroup/index'
import LayIcon from './module/icon/index'
+import LayIconPicker from './module/iconPicker/index'
import LayCard from './module/card/index'
import LayLayout from "./module/layout/index"
import LaySide from "./module/side/index"
@@ -95,7 +96,8 @@ const components: Record = {
LayDropdown,
LayDropdownItem,
LayTab,
- LayTabItem
+ LayTabItem,
+ LayIconPicker
}
const install = (app: App, options?: InstallOptions): void => {
@@ -157,6 +159,7 @@ export {
LayDropdownItem,
LayTab,
LayTabItem,
+ LayIconPicker,
install,
}
diff --git a/src/module/breadcrumb/index.vue b/src/module/breadcrumb/index.vue
index 1dd0c754..c3e30f51 100644
--- a/src/module/breadcrumb/index.vue
+++ b/src/module/breadcrumb/index.vue
@@ -17,4 +17,5 @@ const props = withDefaults(
)
provide("separator",props.separator);
+
diff --git a/src/module/breadcrumbItem/index.vue b/src/module/breadcrumbItem/index.vue
index 1998590b..8d189b73 100644
--- a/src/module/breadcrumbItem/index.vue
+++ b/src/module/breadcrumbItem/index.vue
@@ -13,5 +13,4 @@ const props =
const separator = inject("separator");
-
diff --git a/src/module/iconPicker/index.vue b/src/module/iconPicker/index.vue
index 088a7fa0..328c1bcf 100644
--- a/src/module/iconPicker/index.vue
+++ b/src/module/iconPicker/index.vue
@@ -1,8 +1,712 @@
-
+
+
+
+
+
+
-