diff --git a/example/docs/zh-CN/components/noticeBar.md b/example/docs/zh-CN/components/noticeBar.md
new file mode 100644
index 00000000..11b42565
--- /dev/null
+++ b/example/docs/zh-CN/components/noticeBar.md
@@ -0,0 +1,81 @@
+::: anchor
+:::
+
+::: title 基本介绍
+:::
+
+::: describe 全局展示操作反馈信息。
+:::
+
+::: title 基础使用
+:::
+
+::: demo
+
+
+
+
+
+
+
+:::
+
+::: title 使用图标
+:::
+
+::: demo
+
+
+
+
+
+
+
+:::
+
+
+::: title 允许关闭
+:::
+
+::: demo
+
+
+
+
+
+
+
+:::
\ No newline at end of file
diff --git a/example/src/router/zh-CN.ts b/example/src/router/zh-CN.ts
index e5dbe100..5282cd46 100644
--- a/example/src/router/zh-CN.ts
+++ b/example/src/router/zh-CN.ts
@@ -356,13 +356,20 @@ const zhCN = [
path: "/zh-CN/components/fullscreen",
component: () =>
import("../../docs/zh-CN/components/fullscreen.md"),
- meta: { title: "结果" },
- }, {
+ meta: { title: "全屏" },
+ },
+ {
path: "/zh-CN/components/scroll",
component: () =>
import("../../docs/zh-CN/components/scroll.md"),
meta: { title: "虚拟滚动" },
},
+ {
+ path: "/zh-CN/components/noticeBar",
+ component: () =>
+ import("../../docs/zh-CN/components/noticeBar.md"),
+ meta: { title: "通知栏" },
+ },
],
},
],
diff --git a/example/src/view/utils/menus.ts b/example/src/view/utils/menus.ts
index 7de9044b..42d65a41 100644
--- a/example/src/view/utils/menus.ts
+++ b/example/src/view/utils/menus.ts
@@ -330,9 +330,15 @@ const menus = [
{
id: 100,
title: "虚拟滚动",
- subTitle: "result",
+ subTitle: "scroll",
path: "/zh-CN/components/scroll",
},
+ {
+ id: 100,
+ title: "通知栏",
+ subTitle: "noticeBar",
+ path: "/zh-CN/components/noticeBar",
+ },
],
},
{
diff --git a/src/component/noticeBar/index.ts b/src/component/noticeBar/index.ts
index 389b5c17..5511c18f 100644
--- a/src/component/noticeBar/index.ts
+++ b/src/component/noticeBar/index.ts
@@ -5,4 +5,4 @@ Component.install = (app: App) => {
app.component(Component.name, Component);
};
-export default Component;
\ No newline at end of file
+export default Component;
diff --git a/src/component/noticeBar/index.vue b/src/component/noticeBar/index.vue
index 0440d313..f1012bd6 100644
--- a/src/component/noticeBar/index.vue
+++ b/src/component/noticeBar/index.vue
@@ -14,9 +14,9 @@