104 lines
4.1 KiB
Plaintext
104 lines
4.1 KiB
Plaintext
|
|
<!--pages/emergency/resourse/index/index.wxml-->
|
||
|
|
<!-- 搜索 -->
|
||
|
|
<view class="cu-bar search">
|
||
|
|
<view class="search-form round">
|
||
|
|
<text class="cuIcon-search"></text>
|
||
|
|
<input value="{{condition}}" bindinput="inputSearch" type="text" placeholder="请输入关键字" confirm-type="search"></input>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<!-- 筛选 -->
|
||
|
|
<scroll-view scroll-x class="filter">
|
||
|
|
<view class="tag text-blue {{index==curTab?'cur':''}}" wx:for="{{tabs}}" wx:key catchtap="tabSelect" data-index="{{index}}">
|
||
|
|
{{item.lab}}
|
||
|
|
</view>
|
||
|
|
</scroll-view>
|
||
|
|
<scroll-view scroll-y style="height: calc(100% - 170rpx)" refresher-enabled bindrefresherrefresh="refresh" bindscrolltolower="getList" refresher-triggered="{{freshIng}}">
|
||
|
|
<!-- 列表 -->
|
||
|
|
<view class="item-bg" wx:for="{{list}}">
|
||
|
|
<!-- 应急资源 -->
|
||
|
|
<view wx:if="{{curTab == 0}}" catchtap="toDetail" data-item="{{item}}" class="item">
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<view class="lab flex">{{item.houseName||''}}</view>
|
||
|
|
<image class="guide" src="/images/emergency/icon-guide.png" />
|
||
|
|
<view class="phone">导航</view>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">所属单位:</text>
|
||
|
|
<text class="val">{{item.possession||''}}</text>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">管理员:</text>
|
||
|
|
<text class="val flex">{{item.nameText||''}}</text>
|
||
|
|
<text class="phone">{{item.telephone|''}}</text>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">物资数量:</text>
|
||
|
|
<text class="val">{{item.houseTotal}}</text>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center" style="color: #999999; font-size: 26rpx;">
|
||
|
|
<text class="cuIcon-location"></text>
|
||
|
|
<text class="address">316m</text>
|
||
|
|
<text style="margin: 0 20rpx;">|</text>
|
||
|
|
<text class="address">{{item.address}}</text>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<!-- 应急专家 -->
|
||
|
|
<view wx:if="{{curTab == 1}}" catchtap="toDetail" data-item="{{item}}" class="item">
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<view class="lab">{{item.othname}}</view>
|
||
|
|
<view class="lab age flex">{{item.othage}}岁</view>
|
||
|
|
<image class="guide" src="/images/emergency/icon-guide.png" />
|
||
|
|
<view class="phone">导航</view>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">职称:</text>
|
||
|
|
<text class="val">{{item.othmajor}}</text>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">任职单位:</text>
|
||
|
|
<text class="val">{{item.othcompany||''}}</text>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">联系电话:</text>
|
||
|
|
<text class="phone">{{item.othphone}}</text>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">专业领域:</text>
|
||
|
|
<text class="val">{{item.othmajortype}}</text>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<!-- 救援队伍 -->
|
||
|
|
<view wx:if="{{curTab == 2}}" catchtap="toDetail" data-item="{{item}}" class="item">
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<view class="lab flex">{{item.teamname}}</view>
|
||
|
|
<image class="guide" src="/images/emergency/icon-guide.png" />
|
||
|
|
<view class="phone">导航</view>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">所属单位:</text>
|
||
|
|
<text class="val">{{item.unitname||''}}</text>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">联系人:</text>
|
||
|
|
<text class="val flex">{{item.principal}}</text>
|
||
|
|
<text class="phone">{{item.principaltel}}</text>
|
||
|
|
</view>
|
||
|
|
<view class="line"></view>
|
||
|
|
<view class="h-div v-center">
|
||
|
|
<text class="lab">队伍人数:</text>
|
||
|
|
<text class="val">{{item.personnum||'0'}}</text>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<view class="space"></view>
|
||
|
|
</scroll-view>
|