From f57205f7dedd536b8892d848e72af36e2f29c3bb Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 4 Nov 2021 20:57:05 +0800 Subject: [PATCH] docs(NoticeBar): fix color default value (#9806) --- packages/vant/src/notice-bar/README.md | 4 ++-- packages/vant/src/notice-bar/README.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vant/src/notice-bar/README.md b/packages/vant/src/notice-bar/README.md index 26a50f493..09c6bf0e5 100644 --- a/packages/vant/src/notice-bar/README.md +++ b/packages/vant/src/notice-bar/README.md @@ -91,8 +91,8 @@ app.use(NoticeBar); | --- | --- | --- | --- | | mode | Mode, can be set to `closeable` `link` | _string_ | `''` | | text | Notice text content | _string_ | `''` | -| color | Text color | _string_ | `#f60` | -| background | Background color | _string_ | `#fff7cc` | +| color | Text color | _string_ | `#ed6a0c` | +| background | Background color | _string_ | `#fffbe8` | | left-icon | Left Icon | _string_ | - | | delay | Animation delay (s) | _number \| string_ | `1` | | speed | Scroll speed (px/s) | _number \| string_ | `60` | diff --git a/packages/vant/src/notice-bar/README.zh-CN.md b/packages/vant/src/notice-bar/README.zh-CN.md index e30da1852..16a33d780 100644 --- a/packages/vant/src/notice-bar/README.zh-CN.md +++ b/packages/vant/src/notice-bar/README.zh-CN.md @@ -112,8 +112,8 @@ app.use(NoticeBar); | --- | --- | --- | --- | | mode | 通知栏模式,可选值为 `closeable` `link` | _string_ | `''` | | text | 通知文本内容 | _string_ | `''` | -| color | 通知文本颜色 | _string_ | `#f60` | -| background | 滚动条背景 | _string_ | `#fff7cc` | +| color | 通知文本颜色 | _string_ | `#ed6a0c` | +| background | 滚动条背景 | _string_ | `#fffbe8` | | left-icon | 左侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - | | delay | 动画延迟时间 (s) | _number \| string_ | `1` | | speed | 滚动速率 (px/s) | _number \| string_ | `60` |