Commit e6d5a2a8 authored by zw's avatar zw

Merge branch 'test'

parents 61a4e60c f8eadd15
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
<div> <div>
<div> <div>
<p> <p>
<img src="/app/images/ic_default_headpic.png" onerror="javascript:this.src='/app/images/ic_default_headpic.png'" class="head-img-agent"/> <img src="" onerror="javascript:this.src='/app/images/ic_default_headpic.png'" class="head-img-agent"/>
<span class="head-agent">&nbsp;经纪人:<span id="fix_name"></span></span> <span class="head-agent">&nbsp;经纪人:<span id="fix_name"></span></span>
</p> </p>
</div> </div>
......
...@@ -265,7 +265,12 @@ ...@@ -265,7 +265,12 @@
$("#fix_name").html(_name); $("#fix_name").html(_name);
// $("#fix_tel").attr("href", "tel:" + _tel).html(_tel); // $("#fix_tel").attr("href", "tel:" + _tel).html(_tel);
$("#fix_tel").attr("href", "tel:" + _tel); $("#fix_tel").attr("href", "tel:" + _tel);
$(".head-img-agent").attr("src", _name_img); if(_name_img){
$(".head-img-agent").attr("src", _name_img);
}else{
$(".head-img-agent").attr("src", "/app/images/ic_default_headpic.png");
}
$("#fix_area_bottom_btn").click(function() { $("#fix_area_bottom_btn").click(function() {
_fix_bottom.hide(); _fix_bottom.hide();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment