|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
|
<head>
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
<link rel="stylesheet" type="text/css" href="css/base.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="css/share.css" />
|
|
|
<script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="js/share.js"></script>
|
|
|
<script src="js/jquery-1.2.6.min.js"></script>
|
|
|
<title>家庭医生</title>
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
<link rel="stylesheet" href="css/weui.css">
|
|
|
<link rel="stylesheet" type="text/css" href="css/base.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="css/share.css" />
|
|
|
<script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="js/share.js"></script>
|
|
|
<script src="js/jquery-1.2.6.min.js"></script>
|
|
|
<script src="js/common.js"></script>
|
|
|
<title>家庭医生</title>
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
<div class="header center">
|
|
|
<div class="left back"><a href="#" onClick="javascript:history.back(-1);"><img src="images/care_03.jpg"/></a></div>
|
|
|
<div class="header center">
|
|
|
<div class="left back">
|
|
|
<a href="#" onClick="javascript:history.back(-1);">
|
|
|
<img src="images/care_03.jpg" />
|
|
|
</a>
|
|
|
</div>
|
|
|
<div class="hotitle">家庭医生</div>
|
|
|
<div class="right hoshare"><a href="#" onClick="toshare()"><img src="images/hoshare_03.png"/></a></div>
|
|
|
<div class="banner"><img src="images/dobanner_02.jpg"/></div>
|
|
|
</div>
|
|
|
<!--dopart1 -->
|
|
|
<div class="dopart1 center doctorimg">
|
|
|
<img src="images/dc_02.jpg"/>
|
|
|
</div>
|
|
|
|
|
|
<!--trfooter-->
|
|
|
<div id="trfooter">
|
|
|
<div id="trlprice" class="left"><span class="trmoney">¥4980</span>起</div>
|
|
|
<div class="left listen"><a href="#"><img src="images/listen_03.jpg"/></a></div>
|
|
|
<div id="trsub" class="right"><a href="#">去预约</a></div>
|
|
|
</div>
|
|
|
<!--trfooter end-->
|
|
|
|
|
|
<!--share start-->
|
|
|
<div class="am-share">
|
|
|
<h3 class="am-share-title">分享到</h3>
|
|
|
<ul class="am-share-sns">
|
|
|
<li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>
|
|
|
<li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>
|
|
|
<li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>
|
|
|
<li><a href="#"> <i class="share-icon-weibo"></i> <span>新浪微博</span> </a> </li>
|
|
|
</ul>
|
|
|
<div class="am-share-footer"><button class="share_btn">取消</button></div>
|
|
|
</div>
|
|
|
<!--share end-->
|
|
|
<div class="right hoshare">
|
|
|
<a href="#" onClick="toshare()">
|
|
|
<img src="images/hoshare_03.png" />
|
|
|
</a>
|
|
|
</div>
|
|
|
<div class="banner">
|
|
|
<img src="images/dobanner_02.jpg" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--dopart1 -->
|
|
|
<div class="dopart1 center doctorimg">
|
|
|
<img src="images/dc_02.jpg" />
|
|
|
</div>
|
|
|
|
|
|
<!--trfooter-->
|
|
|
<div id="trfooter">
|
|
|
<div id="trlprice" class="left">
|
|
|
<span class="trmoney">¥4980</span>起</div>
|
|
|
<div class="left listen">
|
|
|
<a href="#">
|
|
|
<img src="images/listen_03.jpg" />
|
|
|
</a>
|
|
|
</div>
|
|
|
<div id="trsub" class="right">
|
|
|
<a href="#">去预约</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--trfooter end-->
|
|
|
|
|
|
<!--share start-->
|
|
|
<div class="am-share">
|
|
|
<h3 class="am-share-title">分享到</h3>
|
|
|
<ul class="am-share-sns">
|
|
|
<li>
|
|
|
<a href="#">
|
|
|
<i class="share-icon-weibo"></i>
|
|
|
<span>新浪微博</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a href="#">
|
|
|
<i class="share-icon-weibo"></i>
|
|
|
<span>新浪微博</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a href="#">
|
|
|
<i class="share-icon-weibo"></i>
|
|
|
<span>新浪微博</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a href="#">
|
|
|
<i class="share-icon-weibo"></i>
|
|
|
<span>新浪微博</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div class="am-share-footer">
|
|
|
<button class="share_btn">取消</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--share end-->
|
|
|
|
|
|
<script src="js/weui.js"></script>
|
|
|
<script>
|
|
|
$(function () {
|
|
|
let loading = weui.loading("加载中")
|
|
|
|
|
|
sendAjax('post', 'portal/Goods/getDoctor', {}, function (res) {
|
|
|
if (res.code == 1) {
|
|
|
loading.hide();
|
|
|
var data = res.data
|
|
|
console.log(data)
|
|
|
// 本页title
|
|
|
$(".hotitle").html(data.post_title)
|
|
|
// banner
|
|
|
$(".banner").find("img").attr("src",data.banner)
|
|
|
// 钱数
|
|
|
$(".trmoney").html("¥"+data.price)
|
|
|
} else if (res.code == 0) {
|
|
|
let loading = weui.loading(res.msg)
|
|
|
setTimeout(function () {
|
|
|
loading.hide();
|
|
|
}, 1500);
|
|
|
}
|
|
|
|
|
|
});
|
|
|
})
|
|
|
|
|
|
</script>
|
|
|
</body> |
|
|
\ No newline at end of file |
...
|
...
|
|