|
@@ -268,13 +268,13 @@
|
|
|
<div class="menuHeader">服务</div>
|
|
|
<div class="menuList">
|
|
|
<div class="menuItem" @click="goEnv('homeShowEnv')"><div class="menuImg"><image class="image" :src="h5StaticPath+'environment.png'"/></div><div class="menuTitle">环境调节</div></div>
|
|
|
- <div class="menuItem"><div class="menuImg"><image class="image" :src="h5StaticPath+'find.png'"/></div><div class="menuTitle">找一找</div></div>
|
|
|
+ <div class="menuItem" @click="goToFind"><div class="menuImg"><image class="image" :src="h5StaticPath+'find.png'"/></div><div class="menuTitle">找一找</div></div>
|
|
|
<div class="menuItem" @click="goPortrait"><div class="menuImg"><image class="image" :src="h5StaticPath+'myhabits.png'"/></div><div class="menuTitle">我的习惯</div></div>
|
|
|
<div class="menuItem" @click="goPersonCenter"><div class="menuImg"><image class="image" :src="h5StaticPath+'myself.png'"/></div><div class="menuTitle">个人中心</div></div>
|
|
|
</div>
|
|
|
<div class="menuHeader" v-if="userInfo.manageUserType==3">管理</div>
|
|
|
<div class="menuList" v-if="userInfo.manageUserType==3">
|
|
|
- <div class="menuItem"><div class="menuImg" @click="goAdministration"><image class="image" :src="h5StaticPath+'control.png'"/></div><div class="menuTitle">行政端管理</div></div>
|
|
|
+ <div class="menuItem" @click="goAdministration"><div class="menuImg"><image class="image" :src="h5StaticPath+'control.png'"/></div><div class="menuTitle">行政端管理</div></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<van-popup :show="show" position="bottom" @close="hideProject" round>
|
|
@@ -447,6 +447,11 @@ wepy.page({
|
|
|
url: `/packagesEnv/pages/home/${id}?hasControlSpaces=${hasControlSpaces}`,
|
|
|
});
|
|
|
},
|
|
|
+ goToFind() {
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '/packagesEnv/pages/search/index',
|
|
|
+ });
|
|
|
+ },
|
|
|
goPortrait() {
|
|
|
wx.navigateTo({
|
|
|
url: '/packagesEnv/pages/portrait/home',
|