From cf7612a1576e40791bc543fc416e584486866f3d Mon Sep 17 00:00:00 2001 From: mehaotian <490272692@qq.com> Date: Mon, 24 Jan 2022 11:35:22 +0800 Subject: [PATCH] docs: uni-ui --- docs/component/uniui/uni-nav-bar.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/component/uniui/uni-nav-bar.md b/docs/component/uniui/uni-nav-bar.md index fcb90d07e..9eef2c68b 100644 --- a/docs/component/uniui/uni-nav-bar.md +++ b/docs/component/uniui/uni-nav-bar.md @@ -110,6 +110,13 @@ Tips: |border|Boolean|true|导航栏下是否有边框| |height|Number/String|44|导航栏高度| |dark|Boolean|false|导航栏开启暗黑模式| +|leftWidth|Number/String|120rpx|导航栏左侧插槽宽度| +|rightWidth|Number/String|120rpx|导航栏右侧插槽宽度| + +**Tips** +- `leftWidth` 和 `rightWidth` 如无必要不需要设置 +- `leftWidth` 和 `rightWidth` 如需设置 ,只有两个值相同,才能保证 `title` 居中 ,如设置值过大,需要注意到 `title` 被覆盖的可能 + ### NavBar Slots -- GitLab