榆山
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
5.8 KiB

<view class="page">
5 years ago
<!-- <view class="title">
<view class="banner"> -->
<!-- 背景图 -->
5 years ago
<!-- <image src="/images/banner.png" class="banner-bg" mode="widthFix" />
<view class="info">
5 years ago
<view class="name">{{curGridName}}</view> -->
<!-- <image bindtap="toSetUp" class="icon icon-right-1" src="/images/shezhi.png"></image> -->
5 years ago
<!-- <image bindtap="logout" class="icon icon-right-1" src="/images/logout.png"></image>
<image bindtap="toNotice" wx:if="{{notice == 0}}" class="icon icon-right-2" src="/images/notice.png"></image>
<image bindtap="toNotice" wx:else class="icon icon-right-2" src="/images/notice-xz.png"></image>
</view>
<view class="explain">
<image class="icon icon-right-1" src="/images/ic_dang2.png"></image>
<view class="explain-name">可按照网格支部查看</view>
</view>
<view class="switch">
<view bindtap="gridChange" class="img-bg">
<image src="/images/yellowbg.png"></image>
<view class="qh">
<image src="/images/change.png"></image>
<text>切换</text>
</view>
</view>
</view>
</view>
5 years ago
</view> -->
<!-- 书记在线 -->
<!-- <view class="sudoku clerkOnline" wx:if="{{panel.length !==0}}">
<view class="content">
<view class="item" bind:tap="goclerkOnline" hover-stay-time="150" hover-class="grid-hover">
<image src="/images/sjyhs.png" />
<view class="name">书记在线</view>
<button class="button" open-type="getUserInfo" catchgetuserinfo="getInfo" hover-stop-propagation="{{propagation}}" wx:if="{{checkUpdateAvatar}}"></button>
</view>
</view>
</view> -->
<!-- 九宫格循环 -->
5 years ago
<view class="title-new">
<view class="grid-any">
<view bindtap="gridChange" class="grid-name">
<view>{{curGridName}}</view>
<image src="/images/down.png"></image>
</view>
<view class="grid-set">
3 years ago
<image bindtap="toFamily" class="scan" src="/images/scan.png"></image>
5 years ago
<image wx:if="{{notice == 0}}" bindtap="toNotice" class="notice" src="/images/notice.png"></image>
<image bindtap="toNotice" wx:else class="notice" src="/images/notice-xz.png"></image>
<image bindtap="logout" class="logout" src="/images/logout.png"></image>
</view>
</view>
<view class="explain-new">
<image src="/images/ic_dang2.png"></image>
<view class="explain-name-new">可按照网格支部查看</view>
</view>
</view>
<view class="list-all">
<block wx:for="{{panel}}" wx:for-item="itemPanel">
<view class="detailed">
<view class="detailed-name">{{itemPanel.mainLabel}}</view>
<view class="sudoku">
<view class="content">
<view wx:for="{{itemPanel.childNav}}" wx:for-index="index" wx:for-item="itemChild" data-state="{{index}}" data-tmp="{{itemPanel.templateInfo.templateCode}}" data-navcode="{{itemChild.navCode}}" data-remark="{{itemChild.remark}}" bindtap="toTabs" hover-stay-time="150" hover-class="grid-hover" class="item">
5 years ago
<image src="{{itemChild.icon}}" />
<view class="name">{{itemChild.label}}</view>
<!-- 书记在线特殊处理 -->
<button wx:if="{{itemChild.navCode == 10011 && checkUpdateAvatar}}" class="button" open-type="getUserInfo" catchgetuserinfo="getInfo" hover-stop-propagation="{{propagation}}"></button>
<!-- 工作日志特殊处理 -->
<view wx:if="{{itemChild.navCode == 10021 && workCheckUpdateAvatar}}" class="but" data-navCode="{{itemChild.navCode}}" catchtap="navigateToUd" hover-stop-propagation="{{propagation}}">
<button data-navCode="{{itemChild.navCode}}" class="button button-wid" open-type="getUserInfo" bindgetuserinfo="getInfoWork"></button>
</view>
<!-- 周报告 -->
<view wx:if="{{itemChild.navCode == 10022 && workCheckUpdateAvatar}}" class="but button-weekly" data-navCode="{{itemChild.navCode}}" catchtap="navigateToUd" hover-stop-propagation="{{propagation}}">
<button data-navCode="{{itemChild.navCode}}" class="button button-wid button-weekly" open-type="getUserInfo" bindgetuserinfo="getInfoWork"></button>
</view>
<!-- 月报告 -->
<view wx:if="{{itemChild.navCode == 10023 && workCheckUpdateAvatar}}" class="but button-monthly" data-navCode="{{itemChild.navCode}}" catchtap="navigateToUd" hover-stop-propagation="{{propagation}}">
<button data-navCode="{{itemChild.navCode}}" class="button button-wid button-monthly" open-type="getUserInfo" bindgetuserinfo="getInfoWork"></button>
</view>
<view wx:if="{{itemChild.navCode == 10024 && workCheckUpdateAvatar}}" class="but button-left" data-navCode="{{itemChild.navCode}}" catchtap="navigateToUd" hover-stop-propagation="{{propagation}}">
<button data-navCode="{{itemChild.navCode}}" class="button button-wid button-left" open-type="getUserInfo" bindgetuserinfo="getInfoWork"></button>
</view>
<view wx:if="{{itemChild.num>0}}" class="number {{itemChild.label.length === 2 ? 'number-left-2': itemChild.label.length === 3 ? 'number-left-3': itemChild.label.length === 4 ? 'number-left-4':itemChild.label.length === 5 ? 'number-left-5':itemChild.label.length === 6 ? 'number-left-6' :''}}">
<text wx:if="{{itemChild.num > 999}}">999+</text>
<text wx:else>{{itemChild.num}}</text>
</view>
</view>
</view>
</view>
</view>
5 years ago
</block>
</view>
</view>
<!-- 悬浮按钮 -->
<move-btn wx:if="{{floatButton}}" button-width="142" button-height="142" button-left="620" area-top="120" area-height="85%" img-url="{{floatButton.icon}}" bindmovebtnCallBack="clickMoveButton"></move-btn>