智慧申请系统
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.
 

31 lines
1.5 KiB

<view class='container'>
<view class="tab-list">
<view class="tab-item {{ curTab == item.type ? 'active' : '' }}" wx:for="{{ tabList }}" wx:key="index" data-type="{{ item.type }}" bind:tap="changeTab">{{ item.name }}</view>
</view>
<scroll-view class="list" scroll-y="{{true}}" bindscrolltolower="getList">
<view class="item" wx:for="{{list}}" wx:for-item="o" wx:key="index">
<view class="item-type" style="background-color:{{(o.szlxColor)}}">
{{o.szlxDesc}}
</view>
<view class="item-info">
<view class="flex-item first-info">
<view>老人姓名:<text>{{o.applyPerson}}</text></view>
<view class="classes"><text>{{o.age | 0}}岁</text></view>
</view>
<view class="mt-7">验证时间:<text>{{o.cjsj}}</text></view>
<view class="mt-7" wx:if="{{ curTab == 2 }}">验证状态:
<text wx:if="{{ o.faceStatus == '0' }}" style="color: red">待验证</text>
<text wx:if="{{ o.faceStatus == '2' }}" style="color: red">失败</text>
</view>
<view class="mt-7">身份证号:<text>{{o.sfzh}}</text></view>
<view class="mt-7">户籍地址:<text>{{o.domicile}}</text></view>
</view>
<view class="btn-groups" wx:if="{{ curTab == 2 }}">
<button class="look-btn" type="primary" size="mini" data-id="{{ o.pid }}" data-validateUrl="{{ o.validateUrl }}" bind:tap="toCheck">活体验证</button>
</view>
</view>
</scroll-view>
<view class="btn-group" wx:if="{{ curTab == 1 }}">
<view class="btn" bind:tap="linkTo">增加</view>
</view>
</view>