Commit 10ec636f authored by agping's avatar agping

修改版

parent 58f98376
...@@ -171,6 +171,22 @@ ...@@ -171,6 +171,22 @@
<li class="downriver-details-li"><span class="icon-bg-facilities"><img src="/app/images/icon_sewer@2x.png" class="supporting-facilities-img"/></span><span class="downriver-details">下水</span></li> <li class="downriver-details-li"><span class="icon-bg-facilities"><img src="/app/images/icon_sewer@2x.png" class="supporting-facilities-img"/></span><span class="downriver-details">下水</span></li>
</ul> </ul>
</div> </div>
<!--pc官网 经纪人 拨打电话-->
<div class="pc-contact-agent">
<p class="b4_font_p">
咨询经纪人
</p>
<ul class="b4_font2">
<li>
<img src=""/>
<span>
<span>507张添</span>
评分<span>2</span>/<span>50</span>人评价
</span>
<img src=""/>
</li>
</ul>
</div>
<div style="height: 2rem;"> <div style="height: 2rem;">
</div> </div>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
var p_district_id = getUrlParam('p_district_id'); var p_district_id = getUrlParam('p_district_id');
var p_store_id = getUrlParam('p_store_id'); var p_store_id = getUrlParam('p_store_id');
var p_agent_id = getUrlParam('p_agent_id'); var p_agent_id = getUrlParam('p_agent_id');
var pc_isOfficial = getUrlParam('isOfficial');
//site_area区分是c端还是b端 //site_area区分是c端还是b端
//来源 1.c端 3.b端 //来源 1.c端 3.b端
...@@ -254,6 +256,35 @@ ...@@ -254,6 +256,35 @@
} }
}); });
//推荐经纪人 h5官网
$.ajax({
url: '/api/getBroker',
data: {
'house_id': _shangpuId,
'pageSize': 3
},
type: "GET",
dataType: "json",
beforeSend: function() {},
success: function(response) {
if(typeof response === 'object') {
if(response['code'] == '200') {
$('.take_look_7').html(response.data.week);
$('.take_look_30').html(response.data.month);
$('.take_look_focus').html(response.data.attention);
} else {
layerTipsX(response['msg']);
}
} else {
layerTipsX('data type error');
};
},
error: function() {
}
});
...@@ -386,11 +417,15 @@ ...@@ -386,11 +417,15 @@
}); });
$("#fix_area_bottom_btn").click(function() { $("#fix_area_bottom_btn").click(function() {
_fix_bottom.hide(); _fix_bottom.hide();
$('.shop-list').show();
}); });
//点击 商铺详情的 更多商铺 //点击 商铺详情的 更多商铺
$('.shop-list').click(function() { $('.shop-list').click(function() {
location.href = ServerHost + "/app/dist/#/shopList?city=" + p_city +'&type=' + p_type +'&p_district_id=' + p_district_id+'&p_store_id=' + p_store_id +'&p_agent_id=' + p_agent_id+'&generalizeId=' + generalize_id; location.href = ServerHost + "/app/dist/#/shopList?city=" + p_city +'&type=' + p_type +'&p_district_id=' + p_district_id+'&p_store_id=' + p_store_id +'&p_agent_id=' + p_agent_id+'&generalizeId=' + generalize_id;
}); });
}else if(pc_isOfficial){
}; };
}; };
//跳下载页 //跳下载页
......
...@@ -173,6 +173,7 @@ ...@@ -173,6 +173,7 @@
}), }),
created() { created() {
let _this = this; let _this = this;
//h5 推广
if(_this.$route.query.city){ if(_this.$route.query.city){
_this.isShowSearch = 0; _this.isShowSearch = 0;
_this.isSelectDisabled = 0; _this.isSelectDisabled = 0;
...@@ -183,6 +184,12 @@ ...@@ -183,6 +184,12 @@
_this.p_agent_id = _this.$route.query.p_agent_id; _this.p_agent_id = _this.$route.query.p_agent_id;
_this.generalizeId = _this.$route.query.generalizeId; _this.generalizeId = _this.$route.query.generalizeId;
_this.site_area = 6; _this.site_area = 6;
};
//H5 官网
if(_this.$route.query.isOfficial){
_this.isShowSearch = 1;
_this.isSelectDisabled = 1;
_this.site_area = 6;
} }
_this.getChooseList(); _this.getChooseList();
_this.common.duringRequest({ _this.common.duringRequest({
...@@ -259,7 +266,7 @@ ...@@ -259,7 +266,7 @@
.then(function(response) { .then(function(response) {
_this.mainData[_index].isLoadOnce = true; _this.mainData[_index].isLoadOnce = true;
if(response.data.code == 200) { if(response.data.code == 200) {
if(_this.$route.query.city){ if(_this.$route.query.city || _this.$route.query.isOfficial){
if(response.data.data.list){ if(response.data.data.list){
var _list = response.data.data.list; var _list = response.data.data.list;
}else{ }else{
...@@ -471,6 +478,8 @@ ...@@ -471,6 +478,8 @@
//从推广链接 跳转 //从推广链接 跳转
if(_this.$route.query.city){ if(_this.$route.query.city){
var str = this.common.ServerHost + "/app.php/app/share_detail?id=" + id +'&share=1&isC=0&client=b&city=' + _this.$route.query.city +'&type=' + _this.$route.query.type +'&p_district_id=' + _this.$route.query.p_district_id+'&p_store_id=' + _this.$route.query.p_store_id +'&p_agent_id=' + _this.$route.query.p_agent_id+'&generalizeId=' + _this.$route.query.generalizeId; var str = this.common.ServerHost + "/app.php/app/share_detail?id=" + id +'&share=1&isC=0&client=b&city=' + _this.$route.query.city +'&type=' + _this.$route.query.type +'&p_district_id=' + _this.$route.query.p_district_id+'&p_store_id=' + _this.$route.query.p_store_id +'&p_agent_id=' + _this.$route.query.p_agent_id+'&generalizeId=' + _this.$route.query.generalizeId;
}else if(_this.$route.query.isOfficial){
var str = this.common.ServerHost + "/app.php/app/share_detail?id=" + id +'&share=1&isC=0&client=b&isOfficial=' + _this.$route.query.isOfficial;
}else{ }else{
var user_img = localStorage.getItem('shop_list_b_user_img'); var user_img = localStorage.getItem('shop_list_b_user_img');
var user_name = localStorage.getItem('shop_list_b_user'); var user_name = localStorage.getItem('shop_list_b_user');
......
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