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.
113 lines
6.5 KiB
113 lines
6.5 KiB
<view class="header">
|
|
<view class="selectBar">
|
|
<view bind:tap="chosseTabBar" class="{{selectVal == 'search'?'search-select':''}}" data-type="search" hover-stay-time="300" hover-class="hover-tabbar">查询居民</view>
|
|
<view bind:tap="chosseTabBar" class="{{selectVal == 'filter'?'filter-select':''}}" data-type="filter" hover-stay-time="300" hover-class="hover-tabbar">选择居民</view>
|
|
<view bind:tap="chosseTabBar" class="{{selectVal == 'card'?'card-select':''}}" data-type="card" hover-stay-time="300" hover-class="hover-tabbar">身份证识别</view>
|
|
<image class="selectBarImg {{selectVal=='search'?'search-select':selectVal == 'filter'?'filter-select':'card-select'}}" src="../../../images/selct.png" mode=""/>
|
|
</view>
|
|
<view class="inout_box" wx:if="{{selectVal == 'search'}}">
|
|
<image src="../../../../../images/work/search.png" mode=""/>
|
|
<input type="text" placeholder="姓名/手机/身份证/住址等任意组合关键词" bindinput="handelBlurKeyWord" bindblur="handelBlurKeyWord" value="{{keyWord}}" />
|
|
<view class="btn_box" bind:tap="handelClickSearch"><text>搜索</text></view>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{selectVal == 'search'}}">
|
|
<scroll-view class="scroll" scroll-y="{{true}}" lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollToLower">
|
|
<view class="card">
|
|
<view class="list_card" wx:for="{{tableData}}" wx:key="index" data-item="{{item}}">
|
|
<view class="radio" style="margin-right: 30rpx;">
|
|
<!-- <radio value="{{index}}" color="#3f92fe"/> -->
|
|
<radio-group bindchange="radioChange" data-item="{{item}}">
|
|
<radio name="userRadioGroup" value="{{index}}" checked="{{selectedRadio == index}}" color="#3f92fe" />
|
|
</radio-group>
|
|
</view>
|
|
<view class="left">
|
|
<view > {{item.name}} {{item.mobile}}</view>
|
|
<view class="address">地址:{{item.homeName}}</view>
|
|
</view>
|
|
<view class="right">
|
|
<image src="../../../../../images/right.png" mode=""/>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{loadMoreVisible}}" class="loadVisible">{{loadMoreVisible?'如果找不到该居民的信息,您也可以先':'加载中...'}}<text wx:if="{{loadMoreVisible}}" style="color: #3A80E7;" bind:tap="toAddResi">新增居民</text></view>
|
|
</scroll-view>
|
|
</view>
|
|
<view wx:if="{{selectVal == 'filter'}}" >
|
|
<view class="form_card">
|
|
<view class="form_item">
|
|
<view class="label" style="width: 240rpx;">
|
|
<view class="title">需求人所在小区</view>
|
|
</view>
|
|
<view class="input">
|
|
<picker bindchange="bindPickerChangevillageId" range-key="label" value="{{index}}" range="{{villageList}}">
|
|
<view class="{{villageName?'':'gray'}}">
|
|
{{villageName?villageName:'请选择'}}
|
|
</view>
|
|
</picker>
|
|
<image src="../../../../../images/right.png" mode=""/>
|
|
</view>
|
|
</view>
|
|
<view class="form_item">
|
|
<view class="label">
|
|
<view class="title">所在楼栋</view>
|
|
</view>
|
|
<view class="input">
|
|
<picker bindchange="bindPickerChangebuilding" range-key="label" value="{{index}}" range="{{buildingList}}">
|
|
<view class="{{buildingName?'':'gray'}}">
|
|
{{buildingName?buildingName:'请选择'}}
|
|
</view>
|
|
</picker>
|
|
<image src="../../../../../images/right.png" mode=""/>
|
|
</view>
|
|
</view>
|
|
<view class="form_item">
|
|
<view class="label">
|
|
<view class="title">所在单元</view>
|
|
</view>
|
|
<view class="input">
|
|
<picker bindchange="bindPickerChangeUnit" range-key="label" value="{{index}}" range="{{unitList}}">
|
|
<view class="{{unitName?'':'gray'}}">
|
|
{{unitName?unitName:'请选择'}}
|
|
</view>
|
|
</picker>
|
|
<image src="../../../../../images/right.png" mode=""/>
|
|
</view>
|
|
</view>
|
|
<view class="form_item">
|
|
<view class="label ">
|
|
<view class="title">门牌号</view>
|
|
</view>
|
|
<view class="input">
|
|
<picker bindchange="bindPickerChangeHouse" range-key="label" value="{{index}}" range="{{houseList}}">
|
|
<view class="{{houseName?'':'gray'}}">
|
|
{{houseName?houseName:'请选择'}}
|
|
</view>
|
|
</picker>
|
|
<image src="../../../../../images/right.png" mode=""/>
|
|
</view>
|
|
</view>
|
|
<view class="form_item">
|
|
<view class="label ">
|
|
<view class="title">居民姓名</view>
|
|
</view>
|
|
<view class="input">
|
|
<picker bindchange="bindPickerChangeResi" range-key="name" value="{{index}}" range="{{resiList}}">
|
|
<view class="{{resiName?'':'gray'}}">
|
|
{{resiName?resiName:'请选择'}}
|
|
</view>
|
|
</picker>
|
|
<image src="../../../../../images/right.png" mode=""/>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{loadMoreVisible}}" class="loadVisible">{{loadMoreVisible?'如果找不到该居民的信息,您也可以先':'加载中...'}}<text wx:if="{{loadMoreVisible}}" style="color: #3A80E7;" bind:tap="toAddResi">新增居民</text></view>
|
|
</view>
|
|
<view wx:if="{{selectVal == 'card'}}" class="card">
|
|
<image src="../../../../../images/card.png" mode=""/>
|
|
<view> <b style="font-weight: 500;">身份识别:</b>是在居民出示身份证原件或图片得到场合下,通过OCR技术拍摄识别身份证信息</view>
|
|
<ocr-navigator bind:onSuccess="cardSuccess" certificateType="idCard" opposite="{{false}}">
|
|
<button>开始识别</button>
|
|
</ocr-navigator>
|
|
</view>
|
|
<button class="fixed_btn" bind:tap="toDemandCheck" hover-class="white" wx:if="{{selectVal!='card'}}">确 定</button>
|
|
|