| | |
| | | mode="widthFix" |
| | | ></image> |
| | | </view> |
| | | <view class="title_wrap"><view class="name">业务办理</view></view> |
| | | <view v-if="list1.filter(i => checkAuth(i.auth)).length > 0" class="title_wrap"><view class="name">业务办理</view></view> |
| | | <view class="container1"> |
| | | <view class="list"> |
| | | <block v-for="item in list1" :key="item.name"> |
| | |
| | | </view> --> |
| | | </view> |
| | | <!-- --> |
| | | <view class="title_wrap"><view class="name">业务查询</view></view> |
| | | <view v-if="list2.filter(i => checkAuth(i.auth)).length > 0" class="title_wrap"><view class="name">业务查询</view></view> |
| | | <view class="container2"> |
| | | <view class="list"> |
| | | <view class="item" @click="jump(item.url)" v-for="item in list2" :key="item.name"> |
| | | <image :src="item.img" class="icon" /> |
| | | <view class="name">{{item.name}}</view> |
| | | </view> |
| | | <block v-for="item in list2" :key="item.name"> |
| | | <view v-if="checkAuth(item.auth)" class="item" @click="jump(item.url)"> |
| | | <image :src="item.img" class="icon" /> |
| | | <view class="name">{{item.name}}</view> |
| | | <view v-if="item.name == '任务中心' && taskInfo" class="task_num">{{ taskInfo }}</view> |
| | | </view> |
| | | </block> |
| | | </view> |
| | | |
| | | <!-- <view class="img_wrap" @click="jump('/pages/staff/task/index')"> |
| | |
| | | isDetail: '1' |
| | | }).then(res => { |
| | | this.taskInfo = res.data.noticeWaitNum + res.data.noticeCopyNum |
| | | if(this.taskInfo && this.taskInfo > 99){ |
| | | this.taskInfo = 99 |
| | | } |
| | | }) |
| | | }, |
| | | } |
| | |
| | | width: 25%; |
| | | margin-bottom: 40rpx; |
| | | font-size: 26rpx; |
| | | position: relative; |
| | | image{ |
| | | width: 88rpx; |
| | | height: 88rpx; |
| | | margin-bottom: 20rpx; |
| | | } |
| | | .task_num{ |
| | | position: absolute; |
| | | top: -10rpx; |
| | | right: 28rpx; |
| | | font-size: 24rpx; |
| | | width: 36rpx; |
| | | height: 36rpx; |
| | | background-color: red; |
| | | color: #fff; |
| | | border-radius: 50%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | } |
| | | } |
| | | .banner_wrap { |