coach_list.html 2.1 KB
<!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">
</head>
<body style="background-color: #f6f6f6;">
<div class="box">
    <div class="none">
        <div class="coachBox">
            <div class="yu_time">
                <h1>{$data.day1}&nbsp;{$data.week}&nbsp;{$data.hour1}可约教练</h1>
            </div>
            <empty name="data1">
                <div class="orderList">
                    <h1>
                        <b>很抱歉,该时间段目前没有可预约教练,请选择其他时间段或按教练预约。</b>
                    </h1>
                </div>
                <else />
                <volist name="data1" id="vo">
                    <div class="coachList">
                        <a href=""><img src="{$vo.headimgurl}"/></a>
                        <div class="coach_title">
                            <b>{$vo.user_nickname}</b>
                            <h1>{$vo.more}</h1>
                        </div>
                        <div class="coach_yu" onclick=location.href="{:url('coach_introduce',array('id'=>$vo['id']))}">预约</div>
                    </div>

                </volist>

            </empty>

        </div>
    </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>