From 25ff371c21fa3c9888377276ad13f7112b4cf22e Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 25 Aug 2025 17:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=BC=80=E6=B6=88=E6=81=AF=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 6 +++++- custom-tab-bar/index.js | 12 ++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app.json b/app.json index 3f54aeb..b8fcb85 100644 --- a/app.json +++ b/app.json @@ -91,7 +91,11 @@ "pagePath": "pages/index/index", "iconPath": "images/icon/home.png" }, - + { + "text": "消息", + "pagePath": "pages/message/message", + "iconPath": "images/icon/home.png" + }, { "text": "我的", diff --git a/custom-tab-bar/index.js b/custom-tab-bar/index.js index 8e0a8da..a5fb732 100644 --- a/custom-tab-bar/index.js +++ b/custom-tab-bar/index.js @@ -16,12 +16,12 @@ Component({ selectedIconPath: "/images/icon/home-a.png", text: "首页", }, - // { - // pagePath: "/pages/message/message", - // iconPath: "/images/icon/message.png", - // selectedIconPath: "/images/icon/message-a.png", - // text: "消息", - // }, + { + pagePath: "/pages/message/message", + iconPath: "/images/icon/message.png", + selectedIconPath: "/images/icon/message-a.png", + text: "消息", + }, { pagePath: "/pages/serve/serve", iconPath: "/images/icon/serve-a.png",