From 31958e68b5cfa415384f62dd0d230e5c3c4a6f57 Mon Sep 17 00:00:00 2001
From: HRK <119110706+18148764734@users.noreply.github.com>
Date: Wed, 21 Feb 2024 11:19:57 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20searchBar=E8=AE=BE?=
=?UTF-8?q?=E7=BD=AE=E8=BE=93=E5=85=A5=E6=97=B6=E5=AD=97=E4=BD=93=E9=A2=9C?=
=?UTF-8?q?=E8=89=B2=EF=BC=9AtextColor?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/component/uniui/uni-search-bar.md | 187 +++++++++++++------------
1 file changed, 94 insertions(+), 93 deletions(-)
diff --git a/docs/component/uniui/uni-search-bar.md b/docs/component/uniui/uni-search-bar.md
index e01efc439..b71746533 100644
--- a/docs/component/uniui/uni-search-bar.md
+++ b/docs/component/uniui/uni-search-bar.md
@@ -35,6 +35,7 @@
|cancelButton|String|auto |是否显示取消按钮,可选值`always`-一直显示、`auto`-输入框不为空时显示、`none`-一直不显示 |
|cancelText|String |取消|取消按钮的文字|
|bgColor|String |#F8F8F8|输入框背景颜色|
+|textColor|String |#F8F8F8|输入时文字颜色|
|maxlength|Number|100|输入最大长度|
|focus|Boolean |false ||
@@ -84,12 +85,12 @@
::: preview https://hellouniapp.dcloud.net.cn/pages/extUI/search-bar/search-bar
> Template
``` html
-
-
+
+
搜索栏组件,通常用于搜索商品、文章等。
-
-
+
+
@@ -97,105 +98,105 @@
当前输入为:{{ searchValue }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
```
> Script
-```html
-
+```html
+
```
> Style
-```html
-
```
--
GitLab