confirm-appointment-info.wxml 2.3 KB
<!--pages/index/confirm-appointment-info/confirm-appointment-info.wxml-->
<view class="content">
  <view class="tips {{show?'active':''}}">
    <!--<view>-->
    <view class="iconfont icon-jinggao"></view>
    <text>请在15分钟内确认预约,超时系统将自动取消!</text>
    <!--</view>-->
  </view>
  <view class="time">
    <view class="line"></view>
    <text>预约时间 : </text>
    <text class="date-time">{{session_info.time}}</text>
  </view>

  <view class="address">
    <view class="time">
      <view class="line"></view>
      <text>预约地址 :</text>
    </view>
    <view class="address-detail">
      <!--<text>-->
      {{session_info.address}}
      <!--</text>-->
    </view>
  </view>
  <view class="phone-num">
    <view class="line"></view>
    <text>预约电话 :</text>
    <text class="phone">{{session_info.mobile}}</text>
  </view>
  <view class="children-name">
    <view class="left-name">
      <view class="line"></view>
      <text>学员姓名</text>
    </view>
    <image src="../../../images/add_btn.png" bindtap="addStudent"></image>
  </view>
  <form bindsubmit="formSubmit" bindreset="formReset" report-submit="true">
    <view class="name-box">
      <!--<view class="check-box" wx:for="{{student_list}}" wx:key="index" bindtap="chooseChildren" data-index="{{index}}">-->
      <!--<view class="name {{item.is_choose?'change-color':''}}">{{item.name}}</view>-->
      <!--<image src="../../../images/choose_icon.png" wx:if="{{item.is_choose}}" class="check-icon"></image>-->
      <!--</view>-->
      <checkbox-group class="check-box" bindchange="chooseChildren">
        <label class="checkbox" wx:for="{{student_list}}" wx:for-item="i" wx:key="index">
          <view class="name {{i.checked?'change-color':''}}">{{i.name}}{{i.checked}}</view>
          <checkbox value="{{index}}" checked="{{i.checked}}" id="{{i.id}}" name="student_id" class="checkbox"/>
        </label>
      </checkbox-group>
    </view>

    <view class="footer">
      <button class="confirm_btn" form-type="submit">
        <text>确认预约</text>
      </button>
    </view>
  </form>
    <import src="/templates/templates.wxml" />
    <template is="modal" data="{{...modal_data}}"></template>
    <template is="state-modal" data="{{...state_data}}"></template>


</view>