diff --git a/pages.json b/pages.json
index 7159ff349a27ee6e2364d4cf4bb5371230241194..a2ae57d284935b074bb443c9da9ae742b87d0552 100644
--- a/pages.json
+++ b/pages.json
@@ -958,7 +958,15 @@
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
- }
+ },
+ {
+ "path": "pages/component/sticky-header/sticky-header",
+ "style": {
+ "navigationBarTitleText": "sticky-header",
+ "enablePullDownRefresh": false
+ }
+ }
+
],
"globalStyle": {
"pageOrientation": "portrait",
diff --git a/pages/component/sticky-header/sticky-header.uvue b/pages/component/sticky-header/sticky-header.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..2568e981615ab78ecd9b82763ea78e24be4172c6
--- /dev/null
+++ b/pages/component/sticky-header/sticky-header.uvue
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+ 向上滑动页面,体验sticky-header吸顶效果。
+
+
+
+
+
+ {{name}}
+
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+
diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index 17b2b63ad314ac5ee5ffa00f23fbb1dab0f44d58..6851c88d43e109eefb0992f885b4373bc16c8e69 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -87,7 +87,10 @@ export default {
*/
{
name: 'list-view',
- },
+ },
+ {
+ name: 'sticky-header',
+ }
] as Page[],
},
{