1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3
|
+
|
3
|
<head>
|
4
|
<head>
|
4
|
-<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
|
|
5
|
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
6
|
-<link rel="stylesheet" type="text/css" href="css/base.css" />
|
|
|
7
|
-<link rel="stylesheet" type="text/css" href="css/style.css" />
|
|
|
8
|
-<link rel="stylesheet" type="text/css" href="css/share.css" />
|
|
|
9
|
-<script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
10
|
-<script src="js/share.js"></script>
|
|
|
11
|
-<script src="js/jquery-1.2.6.min.js"></script>
|
|
|
12
|
-<title>家庭医生</title>
|
5
|
+ <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
|
|
6
|
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
7
|
+ <link rel="stylesheet" href="css/weui.css">
|
|
|
8
|
+ <link rel="stylesheet" type="text/css" href="css/base.css" />
|
|
|
9
|
+ <link rel="stylesheet" type="text/css" href="css/style.css" />
|
|
|
10
|
+ <link rel="stylesheet" type="text/css" href="css/share.css" />
|
|
|
11
|
+ <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
12
|
+ <script src="js/share.js"></script>
|
|
|
13
|
+ <script src="js/jquery-1.2.6.min.js"></script>
|
|
|
14
|
+ <script src="js/common.js"></script>
|
|
|
15
|
+ <title>家庭医生</title>
|
13
|
</head>
|
16
|
</head>
|
14
|
|
17
|
|
15
|
<body>
|
18
|
<body>
|
16
|
-<div class="header center">
|
|
|
17
|
- <div class="left back"><a href="#" onClick="javascript:history.back(-1);"><img src="images/care_03.jpg"/></a></div>
|
19
|
+ <div class="header center">
|
|
|
20
|
+ <div class="left back">
|
|
|
21
|
+ <a href="#" onClick="javascript:history.back(-1);">
|
|
|
22
|
+ <img src="images/care_03.jpg" />
|
|
|
23
|
+ </a>
|
|
|
24
|
+ </div>
|
18
|
<div class="hotitle">家庭医生</div>
|
25
|
<div class="hotitle">家庭医生</div>
|
19
|
- <div class="right hoshare"><a href="#" onClick="toshare()"><img src="images/hoshare_03.png"/></a></div>
|
|
|
20
|
- <div class="banner"><img src="images/dobanner_02.jpg"/></div>
|
|
|
21
|
-</div>
|
|
|
22
|
-<!--dopart1 -->
|
|
|
23
|
-<div class="dopart1 center doctorimg">
|
|
|
24
|
- <img src="images/dc_02.jpg"/>
|
|
|
25
|
-</div>
|
|
|
26
|
-
|
|
|
27
|
-<!--trfooter-->
|
|
|
28
|
-<div id="trfooter">
|
|
|
29
|
- <div id="trlprice" class="left"><span class="trmoney">¥4980</span>起</div>
|
|
|
30
|
- <div class="left listen"><a href="#"><img src="images/listen_03.jpg"/></a></div>
|
|
|
31
|
- <div id="trsub" class="right"><a href="#">去预约</a></div>
|
|
|
32
|
-</div>
|
|
|
33
|
-<!--trfooter end-->
|
|
|
34
|
-
|
|
|
35
|
-<!--share start-->
|
|
|
36
|
-<div class="am-share">
|
|
|
37
|
- <h3 class="am-share-title">分享到</h3>
|
|
|
38
|
- <ul class="am-share-sns">
|
|
|
39
|
- <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>
|
|
|
40
|
- <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>
|
|
|
41
|
- <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>
|
|
|
42
|
- <li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>
|
|
|
43
|
- </ul>
|
|
|
44
|
- <div class="am-share-footer"><button class="share_btn">取消</button></div>
|
|
|
45
|
-</div>
|
|
|
46
|
-<!--share end-->
|
26
|
+ <div class="right hoshare">
|
|
|
27
|
+ <a href="#" onClick="toshare()">
|
|
|
28
|
+ <img src="images/hoshare_03.png" />
|
|
|
29
|
+ </a>
|
|
|
30
|
+ </div>
|
|
|
31
|
+ <div class="banner">
|
|
|
32
|
+ <img src="images/dobanner_02.jpg" />
|
|
|
33
|
+ </div>
|
|
|
34
|
+ </div>
|
|
|
35
|
+ <!--dopart1 -->
|
|
|
36
|
+ <div class="dopart1 center doctorimg">
|
|
|
37
|
+ <img src="images/dc_02.jpg" />
|
|
|
38
|
+ </div>
|
|
|
39
|
+
|
|
|
40
|
+ <!--trfooter-->
|
|
|
41
|
+ <div id="trfooter">
|
|
|
42
|
+ <div id="trlprice" class="left">
|
|
|
43
|
+ <span class="trmoney">¥4980</span>起</div>
|
|
|
44
|
+ <div class="left listen">
|
|
|
45
|
+ <a href="#">
|
|
|
46
|
+ <img src="images/listen_03.jpg" />
|
|
|
47
|
+ </a>
|
|
|
48
|
+ </div>
|
|
|
49
|
+ <div id="trsub" class="right">
|
|
|
50
|
+ <a href="#">去预约</a>
|
|
|
51
|
+ </div>
|
|
|
52
|
+ </div>
|
|
|
53
|
+ <!--trfooter end-->
|
|
|
54
|
+
|
|
|
55
|
+ <!--share start-->
|
|
|
56
|
+ <div class="am-share">
|
|
|
57
|
+ <h3 class="am-share-title">分享到</h3>
|
|
|
58
|
+ <ul class="am-share-sns">
|
|
|
59
|
+ <li>
|
|
|
60
|
+ <a href="#">
|
|
|
61
|
+ <i class="share-icon-weibo"></i>
|
|
|
62
|
+ <span>新浪微博</span>
|
|
|
63
|
+ </a>
|
|
|
64
|
+ </li>
|
|
|
65
|
+ <li>
|
|
|
66
|
+ <a href="#">
|
|
|
67
|
+ <i class="share-icon-weibo"></i>
|
|
|
68
|
+ <span>新浪微博</span>
|
|
|
69
|
+ </a>
|
|
|
70
|
+ </li>
|
|
|
71
|
+ <li>
|
|
|
72
|
+ <a href="#">
|
|
|
73
|
+ <i class="share-icon-weibo"></i>
|
|
|
74
|
+ <span>新浪微博</span>
|
|
|
75
|
+ </a>
|
|
|
76
|
+ </li>
|
|
|
77
|
+ <li>
|
|
|
78
|
+ <a href="#">
|
|
|
79
|
+ <i class="share-icon-weibo"></i>
|
|
|
80
|
+ <span>新浪微博</span>
|
|
|
81
|
+ </a>
|
|
|
82
|
+ </li>
|
|
|
83
|
+ </ul>
|
|
|
84
|
+ <div class="am-share-footer">
|
|
|
85
|
+ <button class="share_btn">取消</button>
|
|
|
86
|
+ </div>
|
|
|
87
|
+ </div>
|
|
|
88
|
+ <!--share end-->
|
|
|
89
|
+
|
|
|
90
|
+ <script src="js/weui.js"></script>
|
|
|
91
|
+ <script>
|
|
|
92
|
+ $(function () {
|
|
|
93
|
+ let loading = weui.loading("加载中")
|
|
|
94
|
+
|
|
|
95
|
+ sendAjax('post', 'portal/Goods/getDoctor', {}, function (res) {
|
|
|
96
|
+ if (res.code == 1) {
|
|
|
97
|
+ loading.hide();
|
|
|
98
|
+ var data = res.data
|
|
|
99
|
+ console.log(data)
|
|
|
100
|
+ // 本页title
|
|
|
101
|
+ $(".hotitle").html(data.post_title)
|
|
|
102
|
+ // banner
|
|
|
103
|
+ $(".banner").find("img").attr("src",data.banner)
|
|
|
104
|
+ // 钱数
|
|
|
105
|
+ $(".trmoney").html("¥"+data.price)
|
|
|
106
|
+ } else if (res.code == 0) {
|
|
|
107
|
+ let loading = weui.loading(res.msg)
|
|
|
108
|
+ setTimeout(function () {
|
|
|
109
|
+ loading.hide();
|
|
|
110
|
+ }, 1500);
|
|
|
111
|
+ }
|
|
|
112
|
+
|
|
|
113
|
+ });
|
|
|
114
|
+ })
|
|
|
115
|
+
|
|
|
116
|
+ </script>
|
47
|
</body> |
117
|
</body> |