<?php $__env->startSection('head'); ?>
    @parent
    <style>
        .op-time-span {
            display: block;
            text-align: center;
            font-size: 0.8rem;
            color: #ccc;
        }
        .op-time-span > span{
            display:block
        }
    </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('main-content'); ?>
    <section class="content animated slideInRight">
        <div class="row">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-12">
                            <ol class="breadcrumb float-sm-left">
                                <li class="breadcrumb-item"><a href="/coach">教练列表</a></li>
                                <li class="breadcrumb-item active"><?php echo e(isset($id) ? '修改教练信息' : '添加教练信息'); ?></li>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-12">
                <div class="card card-primary">
                    <div class="card-body p-0">
                        <div class="table-responsive">
                            <table class="table table-hover admin-table" id="product-table">
                                <thead>
                                <tr>
                                    <th width="6%">选择</th>
                                    <th width="20%">昵称</th>
                                    <th width="10%">预约姓名</th>
                                    <th width="10%">预约电话</th>
                                    <th width="10%">预约教练</th>
                                    <th width="15%">预约时间</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr v-if="total == 0">
                                    <td colspan="6">暂无相关记录</td>
                                </tr>
                                <tr v-if="total > 0 " v-for="item in list">
                                    <td><input type="checkbox"></td>
                                    <td>
                                        <a>
                                            <img :src="item.avatar" class="index_image" v-if="item.avatar">
                                            <span class="title_span cp grey"
                                                  :title="item.nick_name">{{item['nick_name']}}</span>
                                        </a>
                                    </td>
                                    <td>{{item.name}}</td>
                                    <td>{{item.tel}}</td>
                                    <td>{{item.coach_name}}</td>
                                    <td class="op-time-span">
                                        <span>{{item.get_time}}</span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="card-footer">
                        <div id="page-wrap"></div>
                    </div>
                </div>
            </div>
        </div>
        </div>
    </section>
<?php $__env->startSection('script'); ?>
    @parent
    <script src="/static/js/coach/user_coach.js?vt=<?php echo e(time()); ?>"></script>
<?php $__env->stopSection(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.index', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>