123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <template>
- <view class="management">
- <view class="topnames" >
- 工作台
- </view>
- <view class="managelind">
- <view class="managename" @click="Tenantbill" v-if="$has('app:TenantBill')">
- <view class="managename1">
- <u--image mode="widthFix" :src="srczuhu" width="48rpx" height="48rpx"></u--image>
- </view>
- <view class="managename2">
- 租户账单
- </view>
- </view>
- <view class="managename" @click="Remotecontrol" v-if="$has('app:RemoteControl')">
- <view class="managename1">
- <!-- <img :src='srcyuanc' alt=""> -->
- <u--image mode="widthFix" :src="srcyuanc" width="48rpx" height="48rpx"></u--image>
- </view>
- <view class="managename2">
- 远程管控
- </view>
- </view>
- <view class="managename" @click="Videosurveillance" v-if="$has('app:Videosurveillance')">
- <view class="managename1">
- <!-- <img :src='srcyuanc' alt=""> -->
- <u--image mode="widthFix" :src="srcshipin" width="48rpx" height="48rpx"></u--image>
- </view>
- <view class="managename2">
- 视频监控
- </view>
- </view>
- <view class="managename" @click="AccessControl" v-if="$has('app:AccessControl')">
- <view class="managename1">
- <!-- <img :src='srcyuanc' alt=""> -->
- <u--image mode="widthFix" :src="srcmj" width="48rpx" height="48rpx"></u--image>
- </view>
- <view class="managename2">
- 门禁管理
- </view>
- </view>
- <view class="managename" @click="Intelligentdoorlock" v-if="$has('app:Intelligentdoorlock')">
- <view class="managename1">
- <!-- <img :src='srcyuanc' alt=""> -->
- <u--image mode="widthFix" :src="srcms" width="48rpx" height="48rpx"></u--image>
- </view>
- <view class="managename2">
- 智能门锁
- </view>
- </view>
- <!-- v-if="$has('app:Arrearsrecord')" -->
- <!--<view class="managename" @click="Arrearsrecord" >-->
- <!--<view class="managename1">-->
- <!--<!– <img :src='srcyuanc' alt=""> –>-->
- <!--<u--image mode="widthFix" :src="srcjilu" width="48rpx" height="48rpx"></u--image>-->
- <!--</view>-->
- <!--<view class="managename2">-->
- <!--欠费记录-->
- <!--</view>-->
- <!--</view>-->
- <!-- <view class="managename" @click="pay">
- <view class="managename1">
- <img :src='srcyuanc' alt="">
- <u--image mode="widthFix" :src="srcyuanc" width="48rpx" height="48rpx"></u--image>
- </view>
- <view class="managename2">
- 支付功能
- </view>
- </view> -->
- </view>
- <!--
- <u-tabbar
- :value="value1"
- :fixed="true"
- :placeholder="true"
- @change="name => value1 = name"
- activeColor="#2E69EB"
- :safeAreaInsetBottom="true"
- >
- <u-tabbar-item text="首页" icon="home" @click="click1" ></u-tabbar-item>
- <u-tabbar-item v-if="$has('app:worktable')" text="工作台" icon="list" @click="click2" ></u-tabbar-item>
- <u-tabbar-item text="我的" icon="account" @click="click3" ></u-tabbar-item>
- </u-tabbar> -->
-
- <u-tabbar class="tabberall" :value="value1" :fixed="true" :placeholder="true" @change="name => value1 = name"
- :safeAreaInsetBottom="true">
- <u-tabbar-item text="首页" @click="click1">
- <image class="u-page__item__slot-icon" slot="active-icon" :src="tabimg1"></image>
- <image class="u-page__item__slot-icon" slot="inactive-icon" :src="tabimg2"></image>
- </u-tabbar-item>
-
- <u-tabbar-item v-if="$has('app:worktable')" text="工作台" @click="click2">
- <image class="u-page__item__slot-icon" slot="active-icon" :src="tabimg3"></image>
- <image class="u-page__item__slot-icon" slot="inactive-icon" :src="tabimg4"></image>
-
- </u-tabbar-item>
- <u-tabbar-item text="我的" @click="click3">
- <image class="u-page__item__slot-icon" slot="active-icon" :src="tabimg5"></image>
- <image class="u-page__item__slot-icon" slot="inactive-icon" :src="tabimg6"></image>
-
- </u-tabbar-item>
- </u-tabbar>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- tabimg1: require('@/static/tab/h2.png'),
- tabimg2: require('@/static/tab/h1.png'),
- tabimg3: require('@/static/tab/w2.png'),
- tabimg4: require('@/static/tab/w1.png'),
- tabimg5: require('@/static/tab/y2.png'),
- tabimg6: require('@/static/tab/y1.png'),
-
- value1: 1,
- srczuhu: require('@/static/management/zd.png'),
- srcyuanc: require('@/static/management/yc.png'),
- srcjilu: require('@/static/management/jl.png'),
- srcshipin: require('@/static/management/sp.png'),
-
- srcms: require('@/static/management/ms.png'),
- srcmj: require('@/static/management/mj.png'),
- }
- },
- methods: {
- click1(){
- uni.navigateTo({
- url: '/pages/index/index'
- })
- },
- click2(){
- uni.navigateTo({
- url: '/pages/Workorder/Workorder'
- })
- },
- click3(){
- uni.navigateTo({
- url: '/pages/my/my'
- })
- },
- Tenantbill(){
- uni.navigateTo({
- url: '/pages/Workorder/Tenantbill/Tenantbill'
- })
- },
- Remotecontrol(){
- uni.navigateTo({
- url: '/pages/Workorder/Remotecontrol/Remotecontrol'
- })
- },
- Intelligentdoorlock(){
- uni.navigateTo({
- url: '/pages/Workorder/Intelligentdoorlock/Intelligentdoorlock'
- })
- },
- // Arrearsrecord(){
- // uni.navigateTo({
- // url: '/pages/Workorder/Arrearsrecord/Arrearsrecord'
- // })
- // },
- Videosurveillance(){
- uni.navigateTo({
- url: '/pages/Workorder/Videosurveillance/Videosurveillance'
- })
- },
-
- AccessControl(){
- uni.navigateTo({
- url: '/pages/Workorder/AccessControl/AccessControl'
- })
- },
- // pay(){
- // uni.navigateTo({
- // url: '/pages/Workorder/pay/pay'
- // })
- // },
- }
- }
- </script>
- <style>
- .u-page__item__slot-icon {
- width: 40rpx;
- height: 40rpx;
- }
- .management{}
- .managelind{
- display: flex;
- //justify-content: space-around;
- align-items: center;
- flex-wrap: wrap;
- width: 690rpx;
- min-height: 130rpx;
- margin: 20rpx auto;
- background: #fff;
- border-radius: 10px;
- }
- .managename{
- width: 345rpx;
- height: 170rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .managename1 img{
- width: 40rpx;
- height: 40rpx;
- }
- .managename2{
- padding-top: 15rpx;
- color: #666;
- font-size: 20rpx;
- }
- </style>
|