ed4cd1718060d122574d5c0bbba02b42.php
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:45:"themes/simpleboot3/user/yuyue/coach_list.html";i:1532706171;}*/ ?>
<!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><?php echo $data['day1']; ?> <?php echo $data['week']; ?> <?php echo $data['hour1']; ?>可约教练</h1>
</div>
<?php if(empty($data) || (($data instanceof \think\Collection || $data instanceof \think\Paginator ) && $data->isEmpty())): ?>
<div class="orderList">
<h1>
<b>暂无教练</b>
</h1>
</div>
<?php else: if(is_array($data1) || $data1 instanceof \think\Collection || $data1 instanceof \think\Paginator): $i = 0; $__LIST__ = $data1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<div class="coachList">
<a href=""><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',array('id'=>$vo['id'])); ?>">预约</div>
</div>
<?php endforeach; endif; else: echo "" ;endif; endif; ?>
</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>