From 43e9000f23d33c7ffcd7c85315305dac1d903b60 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Wed, 15 Feb 2023 15:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E5=B7=A5=E5=85=B7=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.js | 4 ++-- pages/home/index.vue | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pages.js b/pages.js index 35dcef5..7603931 100644 --- a/pages.js +++ b/pages.js @@ -15,7 +15,7 @@ module.exports = hot((pagesJson)=>{ selectedColor:"#10C176", backgroundColor:"#fff", list:[ - {pagePath:"pages/home/index",text:"首页",iconPath: "/static/tab_home.png",selectedIconPath: "/static/tab_home_active.png"}, + {pagePath:"pages/home/index",visible:true,text:"首页",iconPath: "/static/tab_home.png",selectedIconPath: "/static/tab_home_active.png"}, {pagePath:"pages/massif/index",text:"地块管理",iconPath: "/static/tab_massif.png",selectedIconPath: "/static/tab_massif_active.png"}, {pagePath:"pages/home/my",text:"我的",iconPath: "/static/tab_my.png",selectedIconPath: "/static/tab_my_active.png"}, ] @@ -23,7 +23,7 @@ module.exports = hot((pagesJson)=>{ condition : { current: 0, list: [ - {name:"测试页面",path:"pages/stock/agrWarehouse"}, + // {name:"测试页面",path:"pages/stock/agrWarehouse"}, // {name: "地块管理",path: "pages/massif/mana/index","query": ""}, // {name: "地块基本信息",path: "pages/massif/info","query": ""}, {name: "登录",path: "pages/home/login","query": ""}, diff --git a/pages/home/index.vue b/pages/home/index.vue index c3a701e..fa5e5e3 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -397,6 +397,10 @@ import request,{host} from '@/common/request.js' } }, onLoad() { + // uni.setTabBarItem({ + // index:0, + // pagePath:"/pages/home/rePassword" + // }) this.getHeadImg() if(this.isAdmin){ this.getPlantBase()