<view class="page__bd">
  <a class="weui-btn weui-btn_primary" bindtap="scanC">扫一扫证书二维码</a>
		<view class="weui-panel weui-panel_access">
			<view class="weui-panel__bd" wx:if="{{results.length}}">
				<navigator class="weui-media-box weui-media-box_text"  wx:for="{{results}}" wx:key="unique" url="/pages/candidate/detail?id={{item.id}}">
					<h4 class="weui-media-box__title">
          <text style="color:blue;">{{item.consumer_name}}</text>
          {{item.number}}
          </h4>
          <view class="weui-media-box__desc">
            身份证号:{{item.ID_number}}
          </view>
          <view class="weui-media-box__desc">
            工作类别:{{item.workscope_name}}
          </view>
					<view class="weui-media-box__desc">
            期限:{{item.start_date}}至{{item.end_date}}
          </view>
				</navigator>
			</view>
			<view wx:else style="text-align:center">暂无证书信息</view>
			<!-- <view class="weui-panel__ft">
				<a class="weui-cell weui-cell_active weui-cell_access weui-cell_link">
					<view class="weui-cell__bd">查看更多</view>
					<text class="weui-cell__ft"></text>
				</a>
			</view> -->
		</view>
    </view>