From 416af5b02cfa74f21411514d558517608dc7e67c Mon Sep 17 00:00:00 2001
From: mehaotian <490272692@qq.com>
Date: Thu, 31 Mar 2022 11:17:16 +0800
Subject: [PATCH] update uni-ui slot
---
docs/component/uniui/uni-card.md | 29 +++++++++++++-------------
docs/component/uniui/uni-list.md | 12 +++++++----
docs/component/uniui/uni-nav-bar.md | 6 +++---
docs/component/uniui/uni-search-bar.md | 9 ++++++--
4 files changed, 33 insertions(+), 23 deletions(-)
diff --git a/docs/component/uniui/uni-card.md b/docs/component/uniui/uni-card.md
index 7043cff48..2daaeef07 100644
--- a/docs/component/uniui/uni-card.md
+++ b/docs/component/uniui/uni-card.md
@@ -58,22 +58,23 @@
```html
-
这是一个带封面和操作栏的卡片示例,此示例展示了封面插槽和操作栏插槽的用法。
-
-
-
- 分享
+
+
+
+
+ 分享
+
+
+
+ 点赞
+
+
+
+ 评论
+
-
-
- 点赞
-
-
-
- 评论
-
-
+
```
diff --git a/docs/component/uniui/uni-list.md b/docs/component/uniui/uni-list.md
index b156932e3..825104bbd 100644
--- a/docs/component/uniui/uni-list.md
+++ b/docs/component/uniui/uni-list.md
@@ -256,17 +256,21 @@ switchTab|同 uni.switchTab()
```html
-
+
-
+
+
+
- 自定义插槽
+
+ 自定义插槽
+
-
+
diff --git a/docs/component/uniui/uni-nav-bar.md b/docs/component/uniui/uni-nav-bar.md
index 9eef2c68b..3f4de6509 100644
--- a/docs/component/uniui/uni-nav-bar.md
+++ b/docs/component/uniui/uni-nav-bar.md
@@ -119,8 +119,8 @@ Tips:
### NavBar Slots
-
支持向 NavBar 里插入不同内容,以达到自定义的目的。
+
|slot名 |说明|
|:-:|:-:|
|default|向导航栏中间插入 |
@@ -130,8 +130,8 @@ Tips:
```html
标题栏
- left
- right
+ left
+ right
```
diff --git a/docs/component/uniui/uni-search-bar.md b/docs/component/uniui/uni-search-bar.md
index f2c098ab5..d302f7e9d 100644
--- a/docs/component/uniui/uni-search-bar.md
+++ b/docs/component/uniui/uni-search-bar.md
@@ -60,12 +60,17 @@
```html
-
+
+
+
- X
+
+
+ X
+
```
--
GitLab