2dd8d0419d58a69ae22b99137916631f.php 2.9 KB
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:43:"themes/simpleboot3/user/yuyue/yu_coach.html";i:1532718584;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title>预约学车</title>
    <link rel="stylesheet" href="/static/css/common.css">
    <link rel="stylesheet" href="/static/css/style.css">
    <style>
        .btn_yuyue{
            margin-bottom: 1rem;
        }
    </style>
</head>
<body style="background-color: #f6f6f6;">
<div class="box">
    <ul class="yu_menu">
        <li>
            <a href="<?php echo url('index'); ?>">
                <b>按时间预约</b>
            </a>
        </li>
        <li>
            <a href="<?php echo url('yu_coach'); ?>">
                <b class="yu_cur">按教练预约</b>
            </a>
        </li>
    </ul>
    <div class="coachBox">
        <?php if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <div class="coachList">
                <a href="coach_introduce.html"><img src="<?php echo $vo['headimgurl']; ?>"/></a>
                <div class="coach_title">
                    <b><?php echo $vo['user_nickname']; ?></b>
                    <h1><?php echo $vo['more']; ?></h1>
                </div>
                <div class="coach_yu" onclick=location.href="<?php echo url('coach_introduce_2',array('id'=>$vo['id'])); ?>">预约</div>
            </div>
        <?php endforeach; endif; else: echo "" ;endif; ?>

    </div>
    <div class="per_footer">
        <ul>
            <li>
                <a href="<?php echo url('user/yuyue/index'); ?>">
                    <span class="foot_img foot_img_2"></span>
                    <p class="foot_item foot_item_1">预约学车</p>
                </a>
            </li>
            <li class="foot_active">
                <a href="<?php echo url('user/profile/percenter'); ?>">
                    <span class="foot_img foot_img02_1"></span>
                    <p class="foot_item">个人中心</p>
                </a>
            </li>
        </ul>
    </div>

</div>


<script type="text/javascript" src="/static/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/js/study_car.js"></script>
<script>
    $('.day_list').click(function(){
        $(this).addClass('day_bg').parent().siblings().children().removeClass('day_bg');
    });
</script>
</body>
</html>