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

56 lines
2.8 KiB

<!--miniprogram/subpages/organization/pages/organizationStree/organizationStree.wxml-->
<view class="box clearfix">
<!-- 搜索 -->
<view class="search">
<search></search>
</view>
<!--背景图-->
<view class="background" wx:if="{{isShow}}">
<image src="../../images/background-red.png" class="background-red"/>
<view class="background-text">
<text class="background-text1">{{deptName}}</text>
<text class="background-text2">{{deptName}}下属{{StreetNumber}}个街道党工委,{{communityTotal}}个社区,{{gridTotal}}个网格。</text>
</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="{{list}}" wx:key="deptId" data-index="{{index}}" data-deptid="{{item.deptId}}">
<text class="item-text {{isActive==index? 'active': ''}}">{{item.deptName}}</text>
<text class="item-text {{isActive==index? 'active': ''}}">党工委</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="info" wx:if="{{isShowRight}}">
<view class="border" wx:if="{{isShowRight}}">{{rightdeptName}}下属{{rightcommunityTotal}}个社区,{{rightgridTotal}}个网格。</view>
<view class="user" wx:if="{{rightmasterOfficerName !==''}}">
<image class="userImg" src="{{rightuserFace}}" wx:if="{{rightuserFace!==''}}"></image>
<image class="userImg" src="../../images/people.png" wx:if="{{rightuserFace==''}}"></image>
<view class="phone">
<view class="phone-name">
<text class="name">{{rightmasterOfficerName}}</text>
<text>/{{rightmobile}}</text>
</view>
<view class="des">
{{rightposition}}
</view>
</view>
<image class="call" src="../../images/call.png" bind:tap="goCall"></image>
</view>
</view>
<view class="community" bind:tap="goUnfoldIndex" wx:for="{{rightList}}" wx:key="index" data-id="{{item.deptId}}">
<view class="left">{{item.deptName}}</view>
<!-- <view class="right">></view> -->
<image class="right" src="../../images/rightIcon.png" ></image>
</view>
</scroll-view>
</view>
</view>
<load-more loadVisible="{{loadVisible}}" loadType="{{loadType}}" wx:if="{{loadVisible}}"></load-more>
</view>