Commit 11cab89f authored by xishifeng's avatar xishifeng

商铺详情分享页修改

parent 42c95d9c
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
$(".b3_span2").html(response.data.industry_type); $(".b3_span2").html(response.data.industry_type);
$(".b3_spanhao").html(response.data.id); $(".b3_spanhao").html(response.data.id);
$(".b3_span3").html(response.data.traffic); $(".b3_span3").html(response.data.traffic);
$(".b4_font_p1").html(response.data.item_advantage); $(".b4_font_p1").html(response.data.enter_num);
$(".b5_font_p1").html(response.data.sign_rule); $(".b5_font_p1").html(response.data.sign_rule);
b4_font = '<p class="b4_font_p">详细信息</p>' + b4_font = '<p class="b4_font_p">详细信息</p>' +
'<p class="b4_font2">营业时间:<span class="b4_span1 gw">' + response.data.do_business_date + '</span></p>' + '<p class="b4_font2">营业时间:<span class="b4_span1 gw">' + response.data.do_business_date + '</span></p>' +
......
...@@ -8,6 +8,8 @@ define (['ckfinder','ckfinderStart', 'bootstrapJs'], function () { ...@@ -8,6 +8,8 @@ define (['ckfinder','ckfinderStart', 'bootstrapJs'], function () {
event: function () { event: function () {
var _objThis = this,//user对象 var _objThis = this,//user对象
_id = getUrlParam('id'),//地址栏获取的商铺或者街铺id _id = getUrlParam('id'),//地址栏获取的商铺或者街铺id
_source = getUrlParam('source'),
_sublet_id = getUrlParam('sublet_id');
_doc = $(document), _doc = $(document),
_urlCut = location.origin + '/resource/lib/Attachments/images/',//要截取的部分url _urlCut = location.origin + '/resource/lib/Attachments/images/',//要截取的部分url
_loadMainItem = $('#main_loading_pic'),//整个页面的加载图标 _loadMainItem = $('#main_loading_pic'),//整个页面的加载图标
...@@ -71,16 +73,14 @@ define (['ckfinder','ckfinderStart', 'bootstrapJs'], function () { ...@@ -71,16 +73,14 @@ define (['ckfinder','ckfinderStart', 'bootstrapJs'], function () {
}; };
}; };
if(_id != null){ if(_id != null || _source != null){
var _source = getUrlParam('source'); var _data = {};
var _sublet_id = getUrlParam('sublet_id'); if(_id != null){
var _data = { _data['id'] = _id;
'id': _id }else if(_source){
};
if(_source){
_data['source'] = _source; _data['source'] = _source;
_data['sublet_id'] = _sublet_id; _data['sublet_id'] = _sublet_id;
}; }else{};
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: '/index/houseEdit', url: '/index/houseEdit',
......
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