diff --git a/package/component/src/component/noticeBar/index.vue b/package/component/src/component/noticeBar/index.vue index 5c0f4256..f991adf8 100644 --- a/package/component/src/component/noticeBar/index.vue +++ b/package/component/src/component/noticeBar/index.vue @@ -19,7 +19,7 @@ {{ text }}
- +
{{ item }}
diff --git a/package/document/src/document/zh-CN/components/noticeBar.md b/package/document/src/document/zh-CN/components/noticeBar.md index 6766c99f..47de31dc 100644 --- a/package/document/src/document/zh-CN/components/noticeBar.md +++ b/package/document/src/document/zh-CN/components/noticeBar.md @@ -79,6 +79,36 @@ export default { ::: +::: 垂直滚动 +::: + +::: demo + + + + + +::: ::: title Notice Bar 属性 ::: @@ -91,7 +121,8 @@ export default { | text | 内容 | 滚动内容 | | leftIcon | 左侧图标 | -- | | rightIcon | 右侧图标 | -- | - +| scrollable | 是否开启垂直滚动|true,false| +| textlist | 垂直滚动内容| Array| :::