Commit fc34c0ba authored by agping's avatar agping

楼盘详情

parent 9a32179f
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
</div> </div>
</div> </div>
</div> </div>
<div style="height: 1rem;"></div> <div style="height: 2rem;"></div>
<div class="pc-contact-agent b4_font"> <div class="pc-contact-agent b4_font">
<p class="b4_font_p"> <p class="b4_font_p">
咨询经纪人 咨询经纪人
...@@ -326,8 +326,7 @@ ...@@ -326,8 +326,7 @@
<a href="javascript:;" id="fix_area_bottom_btn"><img src="/app/images/xq_cha@2x.png" /></a> <a href="javascript:;" id="fix_area_bottom_btn"><img src="/app/images/xq_cha@2x.png" /></a>
</div> </div>
<div class="shop-list"> <div class="shop-list">
<img src="/app/images/clik_shop_icon2.png" /> <!--<img src="/app/images/clik_shop_icon2.png" />-->
</div> </div>
<!--点击任意视频 全屏显示(轮播)--> <!--点击任意视频 全屏显示(轮播)-->
......
...@@ -450,7 +450,7 @@ body{ ...@@ -450,7 +450,7 @@ body{
height: 2rem; height: 2rem;
width: 1.64rem; width: 1.64rem;
display: none; display: none;
background: url(/app/images/clik_shop_icon1.png) no-repeat 0 0/1.64rem 1.78rem; background: url(/app/images/clik_office_icon1.gif) no-repeat 0 0/1.66rem 1.66rem;
} }
.shop-list>img{ .shop-list>img{
width: .8rem; width: .8rem;
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
(function() { (function() {
console.log($('#open_id').val()); console.log($('#open_id').val());
var jsonObect = JSON.parse($('#open_id').val()); var jsonObect = JSON.parse($('#open_id').val());
// var _shangpuId = getUrlParam('id'); //从url获取的商铺id
var _shangpuId = jsonObect.id; var _shangpuId = jsonObect.id;
var _shangpuName = jsonObect.housename; //从url获取的商铺名 var _shangpuName = jsonObect.housename; //从url获取的商铺名
var _isC = jsonObect.isC; var _isC = jsonObect.isC;
...@@ -12,9 +11,7 @@ ...@@ -12,9 +11,7 @@
var line_a_ulul = ""; var line_a_ulul = "";
var building_id; var building_id;
$.ajax({ $.ajax({
// url: ServerHostTempC+'/office_api/getOfficeRoomInfo',
url:'/office_api/getOfficeRoomInfo', url:'/office_api/getOfficeRoomInfo',
data: { data: {
'id': _shangpuId, 'id': _shangpuId,
}, },
...@@ -153,8 +150,11 @@ ...@@ -153,8 +150,11 @@
if(jsonObect.isC == 0) {//判断b端 还是c端分享(b端) if(jsonObect.isC == 0) {//判断b端 还是c端分享(b端)
_fix_bottom.show(); _fix_bottom.show();
$('.pc-contact-agent').hide(); $('.pc-contact-agent').hide();
$('.shop-list').show();//显示更多办公楼
}else{//c端显示推荐人 }else{//c端显示推荐人
$('.pc-contact-agent').hide(); $('.pc-contact-agent').hide();
$('.shop-list').hide();//显示更多办公楼
$.ajax({ $.ajax({
url: '/api/getBroker', url: '/api/getBroker',
...@@ -188,8 +188,6 @@ ...@@ -188,8 +188,6 @@
}); });
}; };
// $('.shop-list').show();
$("#fix_name").html(_name); $("#fix_name").html(_name);
$("#fix_tel").attr("href", "tel:" + _tel); $("#fix_tel").attr("href", "tel:" + _tel);
if(_name_img){ if(_name_img){
...@@ -279,10 +277,11 @@ ...@@ -279,10 +277,11 @@
}); });
//点击 商铺详情的 更多商铺 //点击 商铺详情的 更多商铺
$('.shop-list').click(function() { $('.shop-list').click(function() {
localStorage.setItem('shop_list_b_user',_name); // localStorage.setItem('shop_list_b_user',_name);
localStorage.setItem('shop_list_b_user_tel',_tel); // localStorage.setItem('shop_list_b_user_tel',_tel);
localStorage.setItem('shop_list_b_user_img',_name_img); // localStorage.setItem('shop_list_b_user_img',_name_img);
location.href = ServerHost + '/app/dist/#/shopList'; //拼接字符串 跳转办公楼列表
location.href = "/app/dist/#/buildList?share=1&isC=0&client=b&name=" + _name +'&tel=' + _tel +'&img=' + _name_img;
}); });
//点击进入楼盘详情 //点击进入楼盘详情
$('.building-detail').click(function() { $('.building-detail').click(function() {
......
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