c2481eaf35ac0bcd894302c8810b5921.php 4.3 KB
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:52:"themes/simpleboot3/user/yuyue/coach_introduce_2.html";i:1532719020;}*/ ?>
<!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>
        .Myorder .orderList .order_head{
            height: 100%;
            overflow: hidden;
            line-height: normal;
        }
        .ping_show {
            width: 100%;
            background-color: #fff;
            margin-top: .267rem;
        }
        .ping_title{
            width: 9.467rem;
            margin: 0 auto;
        }
        .ping_title img{
            margin-left: .667rem;
        }
        .yu_tan .yu_tan_box .tan_text{
            width: 6.533333rem;
        }
    </style>
</head>
<body style="background-color: #f6f6f6;">
<div class="box">
    <div class="Myorder">
        <div class="orderList">
            <h1>
                <b>待学车</b>
                <i><?php echo $ddata; ?></i>
            </h1>
            <div class="order_head">
                <img src="<?php echo $data['headimgurl']; ?>"/>
                <div class="coach_intro">
                    <u><?php echo $data['user_nickname']; ?></u>
                    <h3>
                        <span>教练介绍:</span>
                        <em><?php echo $data['more']; ?></em>
                    </h3>
                    <h3>
                        <span>好评率:</span>
                        <em>100%</em>
                    </h3>
                </div>
            </div>
            <div class="order_details tell_jiaolian" >
                <a href="tel:<?php echo $data['mobile']; ?>" style="display: block;overflow: hidden"><img src="/static/image/tell_jiaolian.png"></a>
            </div>
        </div>
    </div>
    <div class="ping_show">
        <div class="ping_title">
            <img src="/static/image/ping_icon.png"/>
            <b>教练评价</b>
        </div>
        <div class="coach_tab">
            <?php if(is_array($ctdata) || $ctdata instanceof \think\Collection || $ctdata instanceof \think\Paginator): $i = 0; $__LIST__ = $ctdata;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <span><?php echo $vo['name']; ?></span>
            <?php endforeach; endif; else: echo "" ;endif; ?>

        </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($cdata) || $cdata instanceof \think\Collection || $cdata instanceof \think\Paginator): $i = 0; $__LIST__ = $cdata;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>

                <div class="ping_list">
                    <h1><?php echo $vo['comment']; ?></h1>
                    <h2>
                        <b><?php echo $vo['user_nickname']; ?></b>
                        <i>时间:<?php echo date("Y-m-d",$vo['create_time']); ?></i>
                    </h2>
                </div>
            <?php endforeach; endif; else: echo "" ;endif; endif; ?>


    </div>
    <div class="btn_yuyue_none"></div>
    <div class="btn_yuyue1">
        <img src="/static/image/btn_yuyue.png"/>
    </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>
    $('.btn_yuyue1').click(function(){
        window.location.href="/user/yuyue/yu_studycar_2/id/<?php echo $id; ?>"
    });
</script>
</body>
</html>