From efcdb2b28e13939f8054e4a0d7cf23fb93b5e884 Mon Sep 17 00:00:00 2001
From: liruiqiang <3151805288@qq.com>
Date: Fri, 8 Aug 2025 17:26:49 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5-=E8=87=AA=E5=AE=9A=E4=B9=89?=
=?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=A0=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages.json | 2 +
src/pages/index/components/CustomNavbar.vue | 72 +++++++++++++++++++++++++++++
src/pages/index/index.vue | 13 ++++--
3 files changed, 82 insertions(+), 5 deletions(-)
create mode 100644 src/pages/index/components/CustomNavbar.vue
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 @@
-
-
- index
+
+
+
+
+
+