榆山数据端小程序
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.

64 lines
2.8 KiB

<!-- miniprogram/subpages/organization/pages/streeUnfold/streeUnfold.wxml -->
<view class="box clearfix">
<!-- 搜索 -->
<view class="search">
<search></search>
</view>
<!-- 背景图 -->
<view class="background" wx:if="{{isShow}}">
<view class="info background-info">
<view class="border-top">{{topdeptName}}</view>
<view class="border">{{topdeptName}}下属{{topgridTotal}}个网格。</view>
<view class="user" wx:if="{{topmasterOfficerName !==''}}">
<image class="userImg" src="{{topuserFace}}" wx:if="{{topuserFace!==''}}"></image>
<image class="userImg" src="../../images/people.png" wx:if="{{topuserFace==''}}"></image>
<view class="phone width">
<view>
<text class="name">{{topmasterOfficerName}}</text>
<text>/{{topmobile}}</text>
</view>
<view class="des">{{topposition}}</view>
</view>
<image class="call background-call" src="../../images/call.png" bind:tap="goCallLeader"></image>
</view>
</view>
</view>
<!-- 分类 -->
<view class="category clearfix" wx:if="{{isShow}}">
<!-- 顶级分类 -->
<view class="sup clearfix">
<scroll-view scroll-y style="height: 982rpx;">
<view class="item {{isActive==index? 'itembg': ''}}" bind:tap="trigger" wx:for="{{leftList}}" wx:key="id" data-index="{{index}}" data-deptid="{{item.deptId}}">
<text class="item-text {{isActive==index? 'active': ''}}">{{item.deptName}}</text>
<view class="line" wx:if="{{isActive==index}}"></view>
</view>
</scroll-view>
</view>
<!-- 子级分类 -->
<view class="sub clearfix" style="height: 982rpx;">
<scroll-view scroll-y class="scroll">
<!-- <view class="border border-none" wx:if="{{isShowRight}}">{{deptName}}共包含{{officerTotal}}个网格长</view> -->
<view class="noPeopleView" wx:if="{{officerTotal==0}}">
<image src="../../images/noPeolpe.png" class="noPeople" />
<text class="noPeopletext">暂无联系人</text>
</view>
<view wx:if="{{isShowRight}}">
<view class="info bac-info height" wx:for="{{rightList}}">
<view class="user no-top">
<image class="userImg" src="../../images/people.png"></image>
<view class="phone">
<view>
<text class="name">{{item.name}}</text>
<text>/{{item.mobile}}</text>
</view>
<view class="des">{{item.position}}</view>
</view>
<image class="call no-call" src="../../images/call.png" bind:tap="goCall" data-number="{{item.mobile}}"></image>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
<load-more loadVisible="{{loadVisible}}" loadType="{{loadType}}" wx:if="{{loadVisible}}"></load-more>
</view>