<view class="weui-cells__title">查询信息</view>
<view class="weui-cells weui-cells_after-title">
  <view class="weui-cell">
    <view class="weui-cell__hd"><label class="weui-label">真实姓名</label></view>
    <view class="weui-cell__bd">
      <input class="weui-input" placeholder="填写真实姓名" placeholder-class="weui-input__placeholder" bindinput="bindinput1"
        value="{{realname}}" />
    </view>
  </view>
  <view class="weui-cell">
    <view class="weui-cell__hd"><label class="weui-label">身份证号</label></view>
    <view class="weui-cell__bd">
      <input class="weui-input" type="idcard" placeholder="填写身份证号" placeholder-class="weui-input__placeholder"
        bindinput="bindinput2" value="{{ID_number}}" />
    </view>
  </view>
</view>
<view style="text-align:center;margin-top:4px;">
  <button bindtap="search" type="primary">查询</button>
</view>
<view class="weui-cells__title">查询结果</view>
<view wx:if="{{candidates.length}}">
  <block wx:for="{{candidates}}" wx:key="unique">
    <view class="weui-cell" data-url="{{item.img}}" bindlongpress="copyUrl">
      <view class="weui-cell__bd">
        <view class="weui-media-box__title">
          单号:{{item.report_number}}</view>
        <view class="weui-media-box__desc">
          <view style="color:darkblue">发证日期:{{item.issue_date}}</view>
        </view>
      </view>
      <view class="weui-cell__ft">
        <view style="color:green">通过考核</view>
        <view >长按复制地址去浏览器打开</view>
      </view>
    </view>
  </block>
</view>
<view wx:else style="text-align:center">暂无证书信息</view>