coach_introduce.html
4.6 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!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>{$ddata}</i>
</h1>
<div class="order_head">
<img src="{$data.headimgurl}"/>
<div class="coach_intro">
<u>{$data.user_nickname}</u>
<h3>
<span>教练介绍:</span>
<em>{$data.more}</em>
</h3>
<h3>
<span>好评率:</span>
<em>100%</em>
</h3>
</div>
</div>
<div class="order_details tell_jiaolian">
<a href="tel:{$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">
<volist name="ctdata" id="vo">
<span>{$vo.name}</span>
</volist>
</div>
</div>
<div class="btn_yuyue_none"></div>
<div class="btn_yuyue1">
<img src="/static/image/btn_yuyue.png"/>
</div>
</div>
<!--弹跳框-->
<div class="full_bg"></div>
<div class="yu_tan" data-qr="1">
<div class="yu_tan_box">
<img src="/static/image/tan_car1.png" class="tan_car"/>
<h1 class="tan_text">您确定要预约{$shijian_data}{$data.user_nickname}的课程吗</h1>
<h2 class="btn_qr">确认</h2>
</div>
<div class="syudy_cancel"></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 () {
$('.tan_car').css({"width": "4.97rem", "height": "2.88rem"});
tankuang();
});
$('.btn_qr').click(function () {
var data_qr = $('.yu_tan').attr("data-qr");
if (data_qr == 1) {
$.ajax({
url: "{:url('yuyue_time_do')}",
type: "post",
data: {
id: {$tech_id}
},
success: function (res) {
console.log(typeof res);
if (res.code == "0") {
$('.tan_text').html(res.msg);
tankuang();
$('.yu_tan').attr("data-qr", "2");
} else {
$('.tan_text').html(res.msg);
tankuang();
$('.yu_tan').attr("data-qr", "2");
}
},
error: function (err) {
}
});
} else if (data_qr == 2) {
window.location.href = "/user/profile/percenter";
}
});
$('.syudy_cancel').click(function () {
var data_qr = $('.yu_tan').attr("data-qr");
if (data_qr == 1) {
$("html").css("overflow", "auto");
$("body").css("overflow", "auto");
$(".full_bg").hide();
$(".yu_tan").hide();
} else if (data_qr == 2) {
window.location.href = "/user/profile/percenter";
}
});
</script>
</body>
</html>