order-detail.wxml 3.6 KB
<!--pages/index/confirm-appointment-info/confirm-appointment-info.wxml-->
<view class="content">
    <view class="tips {{show?'active':''}}" wx:if="{{currentTab === 1}}">
        <!--<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">188****8888</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}}</view>
                    <checkbox value="{{index}}" checked="{{i.checked}}" id="{{i.id}}" name="student_id" class="checkbox"/>
                </label>
            </checkbox-group>
        </view>

        <!--待确认-->
        <view class="footer-box1" wx:if="{{currentTab === 1}}">
            <view class="one_box" form-type="submit" bindtap="formSubmit">
                <!--<view class="cancel_box" form-type="submit" bindtap="formSubmit">-->
                <view class="cancel">取消</view>
                <view class="confirm"><text class="text">确认</text></view>
            </view>
        </view>
        <!--已预约-->
        <view class="footer-box" wx:if="{{currentTab === 2}}">
            <view class="cancel_box" form-type="submit" bindtap="formSubmit">
                <text>注:活动开始前 x 小时可取消预约</text>
                <view class="cancel_btn"><text class="text">取消预约</text></view>
            </view>
        </view>
        <!--已取消-->
        <view class="footer-box2" wx:if="{{currentTab === 3}}">
            <view class="two_box" form-type="submit" bindtap="formSubmit">
                <view>预约已取消</view>
            </view>
        </view>
        <!--已结束-->
        <view class="footer-box2" wx:if="{{currentTab === 4}}">
            <view class="two_box" form-type="submit" bindtap="formSubmit">
                <view>预约已结束</view>
            </view>
        </view>
    </form>
    <import src="/templates/templates.wxml" />
    <template is="modal" data="{{...modal_data}}"></template>
    <template is="state-modal" data="{{...state_data}}"></template>


</view>