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

30 lines
1.5 KiB

  1. <view class='container'>
  2. <view class="tab-list">
  3. <view class="tab-item {{ curTab == item.type ? 'active' : '' }}" wx:for="{{ tabList }}" wx:key="index" data-type="{{ item.type }}" bind:tap="changeTab">{{ item.name }}</view>
  4. </view>
  5. <scroll-view class="list" scroll-y="{{true}}" bindscrolltolower="getList">
  6. <view class="item" wx:for="{{list}}" wx:for-item="o" wx:key="index">
  7. <view class="item-type" style="background-color:{{(o.szlxColor)}}">
  8. {{o.szlxDesc}}
  9. </view>
  10. <view class="item-info">
  11. <view class="flex-item first-info">
  12. <view>老人姓名:<text>{{o.applyPerson}}</text></view>
  13. <view class="classes"><text>{{o.age | 0}}岁</text></view>
  14. </view>
  15. <view class="mt-7">验证时间:<text>{{o.cjsj}}</text></view>
  16. <view class="mt-7" wx:if="{{ curTab == 2 }}">验证状态:
  17. <text wx:if="{{ o.faceStatus == '0' }}" style="color: red">待验证</text>
  18. <text wx:if="{{ o.faceStatus == '2' }}" style="color: red">失败</text>
  19. </view>
  20. <view class="mt-7">身份证号:<text>{{o.sfzh}}</text></view>
  21. <view class="mt-7">户籍地址:<text>{{o.domicile}}</text></view>
  22. </view>
  23. <view class="btn-groups" wx:if="{{ curTab == 2 }}">
  24. <button class="look-btn" type="primary" size="mini" data-id="{{ o.pid }}" data-validateUrl="{{ o.validateUrl }}" bind:tap="toCheck">活体验证</button>
  25. </view>
  26. </view>
  27. </scroll-view>
  28. <view class="btn-group" wx:if="{{ curTab == 1 }}">
  29. <view class="btn" bind:tap="linkTo">增加</view>
  30. </view>
  31. </view>