Merge branch 'master' of git.zdool.com:xs/yyx/h5

This commit is contained in:
lnn19986213 2023-08-03 16:00:46 +08:00
commit f7ae651016
2 changed files with 480 additions and 573 deletions

View File

@ -93,7 +93,11 @@
</view> </view>
</view> </view>
<view class="content_bott_itm" @click="toCountryside()"> <view
class="content_bott_itm"
@click="toCountryside()"
v-if="isAdmin || isVillageAdmin"
>
<!-- @click="" --> <!-- @click="" -->
<view class="content_bott_wods"> 下乡管理 </view> <view class="content_bott_wods"> 下乡管理 </view>
<view class="content_bott_arrow"> <view class="content_bott_arrow">
@ -145,6 +149,8 @@ export default {
isUnread: false, isUnread: false,
statusHeight: 0, statusHeight: 0,
titleHeight: 90, titleHeight: 90,
isAdmin: null,
isVillageAdmin: null,
}; };
}, },
onReady() { onReady() {
@ -160,6 +166,8 @@ export default {
}, },
onShow() { onShow() {
this.getUserInfo(); this.getUserInfo();
this.isAdmin = uni.getStorageSync("isAdmin");
this.isVillageAdmin = uni.getStorageSync("isVillageAdmin");
}, },
methods: { methods: {
// //

File diff suppressed because it is too large Load Diff