From 045eac52aa02ede41a83199b214c344fed4bb898 Mon Sep 17 00:00:00 2001 From: zhangwentao <1909118034@qq.com> Date: Mon, 26 Jan 2026 10:07:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 5 ++--- components/tabbar/tabbar.vue | 24 ++++++++++++------------ pages.json | 7 +++++++ 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/App.vue b/App.vue index b1a2b30..97397de 100644 --- a/App.vue +++ b/App.vue @@ -19,13 +19,12 @@ updateManager.onUpdateReady(function (res) { uni.showModal({ title: '更新提示', - content: '新版本已经准备好,是否重启应用?', + content: '新版本已经准备好,是否重启应用?', success(res) { if (res.confirm) { // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启 updateManager.applyUpdate(); - } - } + } } }) }) } diff --git a/components/tabbar/tabbar.vue b/components/tabbar/tabbar.vue index b402f39..e6b9bcc 100644 --- a/components/tabbar/tabbar.vue +++ b/components/tabbar/tabbar.vue @@ -29,13 +29,21 @@ BASE_IMG_URL:BASE_IMG_URL, tablist:[ { - pagePath: "/pages/index/index", - iconPath: BASE_IMG_URL+"tab1.png", - selectedIconPath: BASE_IMG_URL+"tab1_a.png", - text: "首页", + pagePath: "/pages/index/contract/contract", + iconPath: "https://hls.huhakeji.top/uploads/20260108/46d0feeaa65e6c2dbd47054fc333c467.png", + selectedIconPath: "https://hls.huhakeji.top/uploads/20260108/8cab46fc021348dc5cd7b2177206cb8a.png", + text: "采购", isTip:true, num:0 }, + // { + // pagePath: "/pages/index/index", + // iconPath: BASE_IMG_URL+"tab1.png", + // selectedIconPath: BASE_IMG_URL+"tab1_a.png", + // text: "首页", + // isTip:true, + // num:0 + // }, { pagePath: "/pagesA/crm/customerManagement/customerManagement", iconPath: BASE_IMG_URL+"tab2.png", @@ -44,14 +52,6 @@ isTip:true, num:0 }, - { - pagePath: "/pages/index/contract/contract", - iconPath: "https://hls.huhakeji.top/uploads/20260108/46d0feeaa65e6c2dbd47054fc333c467.png", - selectedIconPath: "https://hls.huhakeji.top/uploads/20260108/8cab46fc021348dc5cd7b2177206cb8a.png", - text: "采购", - isTip:true, - num:0 - }, { pagePath: "/pages/news/news", iconPath: BASE_IMG_URL+"tab3.png", diff --git a/pages.json b/pages.json index 33d183f..5cdaac7 100644 --- a/pages.json +++ b/pages.json @@ -3,6 +3,13 @@ "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" }, "pages": [ + { + "path": "pages/index/contract/contract", + "style": { + "navigationBarTitleText": "采购", + "navigationBarBackgroundColor": "#008EFF" + } + }, { "path": "pages/index/index", "style": {