From db8ff6b181d94f34a41ae9e89db0541cf5c279f8 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 27 Mar 2024 16:40:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E6=90=9C=E7=B4=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BF=AE=E6=94=B9,tabBar=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 9 +++++---- components/custom-tab-bar/index.js | 8 ++++---- subpages/OCRCard/pages/index/index.js | 1 + 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app.json b/app.json index 00345a9..e625fd0 100644 --- a/app.json +++ b/app.json @@ -8,6 +8,7 @@ "pages/mine/mine", "pages/webView/webView", "pages/statistics/statistics", + "pages/resiAndHouse/resiAndHouse", "pages/setup/setup", "subpages/house/pages/housePortrait/housePortrait", "subpages/businessRecord/businessRecord" @@ -128,10 +129,10 @@ "selectedIconPath": "images/home/messageSelected.png" }, { - "pagePath": "pages/work/work", - "text": "工作", - "iconPath": "images/home/work.png", - "selectedIconPath": "images/home/workSelected.png" + "pagePath": "pages/resiAndHouse/resiAndHouse", + "text": "人房", + "iconPath": "images/home/resiAndHouse.png", + "selectedIconPath": "images/home/resiAndHouseSelected.png" }, { "pagePath": "pages/statistics/statistics", diff --git a/components/custom-tab-bar/index.js b/components/custom-tab-bar/index.js index 075ea51..0f6e042 100644 --- a/components/custom-tab-bar/index.js +++ b/components/custom-tab-bar/index.js @@ -17,10 +17,10 @@ Component({ show: true }, { - "pagePath": "/pages/work/work", - "text": "工作", - "iconPath": "/images/home/work.png", - "selectedIconPath": "/images/home/workSelected.png", + "pagePath": "/pages/resiAndHouse/resiAndHouse", + "text": "人房", + "iconPath": "/images/home/resiAndHouse.png", + "selectedIconPath": "/images/home/resiAndHouseSelected.png", show: true }, diff --git a/subpages/OCRCard/pages/index/index.js b/subpages/OCRCard/pages/index/index.js index 909af73..5a420a5 100644 --- a/subpages/OCRCard/pages/index/index.js +++ b/subpages/OCRCard/pages/index/index.js @@ -90,6 +90,7 @@ Page({ keyWord:e.detail.id.text, tableData:[] }) + // 跳转至居民详情页 await this.getTable('card') if(this.data.tableData.length != 0){ wx.navigateTo({