<!--pages/quota/quota.wxml-->
<view class="head">

  更新时间:{{update_time}}</view>
  <view style="text-align:center;margin-top:4px">
  <button bindtap="Baoming">前往正式报名</button>
  </view>
  <!-- <a class="weui-btn weui-btn_primary" bindtap="Baoming" style="margin-top:4px">前往正式报名</a> -->
<view class="weui-cells weui-cells_after-title">
  <block wx:for="{{tests}}" wx:key="unique">
    <view class="weui-media-box weui-media-box_appmsg">
      <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
        <view class="weui-media-box__title">{{item.cityName}} {{item.examDate}}</view>
        <view class="weui-media-box__desc" style="font-size:12px">
          考试时间:
          <span style="font-weight:bold;color:darkblue">{{item.examTime}}</span>
          <span>-</span>
          截止报名:
          <span style="font-weight:bold;color:red;">{{item.endSignDate}}</span>
        </view>
        <view class="weui-media-box__desc" wx:if="{{item.linkContact}}" style="font-size:12px">
        联系电话:{{item.linkContact}}
        </view>
        <view class="weui-media-box__desc" style="font-size:12px">
        {{item.planName}}
        </view>
      </view>
      <view class="weui-panel__ft">
        <view class="weui-media-box__desc" style="color:green;font-weight:bold">
        余{{item.validNum}}名
        </view>
        <view class="weui-media-box__desc" style="color:gray;font-weight:bold">
        共{{item.pNum}}名
        </view>
      </view>
    </view>
  </block>
</view>