diff --git a/src/pages.json b/src/pages.json index e81a824..a5b2c75 100644 --- a/src/pages.json +++ b/src/pages.json @@ -4,6 +4,8 @@ { "path": "pages/index/index", "style": { + "navigationStyle": "custom", // 隐藏默认导航 + "navigationBarTextStyle": "white", "navigationBarTitleText": "首页" } }, diff --git a/src/pages/index/components/CustomNavbar.vue b/src/pages/index/components/CustomNavbar.vue new file mode 100644 index 0000000..978ee44 --- /dev/null +++ b/src/pages/index/components/CustomNavbar.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index c9d5e63..36b618c 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,11 +1,14 @@ - - + +