<view class="article">
  <view class="title">{{info.title}}</view>
  <view class="leader {{leaderRecom==0?'':'leader_header'}}" bindtap="{{leaderRecom==0?'':'jumpToLeaderDemeanor'}}">
    <view class="leader_headImg flexBox">
      <image src="{{info.teacherAvatar}}"></image>
    </view>
    <view class="leader_info flexBox">
      <view class="leader_info_name">{{info.teacherName}}<text>（{{info.teacherCity}}）</text></view>
      <view class="leader_info_detail">{{ leaderRecom==1?info.teacherIntro : '该领队的个人介绍正在准备中，敬请期待~'}}</view>
    </view>
  </view>
  <view class="courseInfo">
    <view>关键词：<text>{{info.keywords}}</text></view>
    <view>探究领域：<text>{{info.field}} | {{info.ages}}</text></view>
    <view>上课时间：{{info.startTimeStr}}</view>
    <view>截止预约时间：{{info.deadlineApplyStr}}</view>
  </view>
  <view class="sign_info">
    <view class="sign_title">
      <text>报名信息</text>
      <text>报名人数：{{info.students.length || 0}}/{{info.totalNum}}</text>
    </view>
  </view>
  <view class="chlid_List" wx:if="{{info.students.length>0}}">
    <view class="card" wx:for="{{info.students}}" wx:key="index">
      <view class="card_left">
        <image src="{{item.userAvatar}}"></image>
      </view>
      <view class="card_right">
        <view class="child_name">{{item.userNickname}}</view>
        <view class="child_info">
          <view>{{item.age}}岁</view>
          <view>{{item.sex==0?'女':'男'}}孩</view>
          <view>{{item.city}}</view>
        </view>
      </view>
      <!-- <button type="warn" size="mini">儿童信息</button> -->
    </view>
  </view>
  <view class="noneCrad" wx:else>暂无儿童报名~</view>
</view>
<view class="btn {{info.status==0?'yuyue':info.status==1?'mane':info.status==2?'jieshu':info.status==3?'quxiao':info.status==4?'daishangke':info.status==5?'shangke':info.status==6?'mane':info.status==7?'daipin':''}}" bindtap="{{(info.status==0 ||info.status==3)?'appointment':(info.status==7?'jumpToEvaluate':'')}}">
  <view>{{info.status==0?'预 约':info.status==1?'已 满 额':info.status==2?(currentIndex==3?'已 评 价':'已 结 束'):info.status==3?'取消预约':info.status==4?'待 上 课':info.status==5?'上 课 中':info.status==6?'预约已停止':info.status==7?'待 评 价':''}}</view>
  <view wx:if="{{info.status==0 ||info.status==3}}">（{{info.status==0?info.deadlineApplyStr:info.deadlineCancelApplyStr}}{{info.status==0?' 截止预约':' 前可取消'}}）</view>
</view>
<popupCode methodView="{{methodView}}" show="{{showCode}}" bindclose="closeCode" headImg="{{headImg}}"></popupCode>
