From 789c5eb72577bcb163f62ac95aae9ad0c433381c 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 26d6072ea..f3ea97627 100644
--- a/docs/component/uniui/uni-card.md
+++ b/docs/component/uniui/uni-card.md
@@ -61,22 +61,23 @@
```html
-
这是一个带封面和操作栏的卡片示例,此示例展示了封面插槽和操作栏插槽的用法。
-
-
-
- 分享
+
+
+
+
+ 分享
+
+
+
+ 点赞
+
+
+
+ 评论
+
-
-
- 点赞
-
-
-
- 评论
-
-
+
```
diff --git a/docs/component/uniui/uni-list.md b/docs/component/uniui/uni-list.md
index 811c34866..984209df2 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 3ff2d1bed..36dcd792d 100644
--- a/docs/component/uniui/uni-nav-bar.md
+++ b/docs/component/uniui/uni-nav-bar.md
@@ -123,8 +123,8 @@ Tips:
### NavBar Slots
-
支持向 NavBar 里插入不同内容,以达到自定义的目的。
+
|slot名 |说明|
|:-:|:-:|
|default|向导航栏中间插入 |
@@ -134,8 +134,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 50c89a0f3..e01efc439 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