Commit 00f02d49 authored by agping's avatar agping

商铺列表 独家合同

parent 106e5e0b
...@@ -785,8 +785,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -785,8 +785,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
beforeSend: function() {}, beforeSend: function() {},
success: function(_data) { success: function(_data) {
if(_data.code == 200) { if(_data.code == 200) {
_this.parent().next().prepend('<li><img title="点击查看大图" src="{0}" /></li>'.stringFormatObj({ $("#liudan_pic_pre").append('<li><img title="点击查看大图" class="jai_dujia" src="{0}" data-img="{1}"/></li>'.stringFormatObj({
'0': ServerHostImageLiu+'/resource/lib/Attachments/images/'+_data.data.internet_img_name '0': ServerHostImageLiu+'/resource/lib/Attachments/images/'+_data.data.internet_img_name,
'1':_data.data.internet_img_name
})); }));
} else { } else {
alert(_data.msg); alert(_data.msg);
...@@ -857,7 +858,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -857,7 +858,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
business.is_exclusive_type = data.data.is_exclusive_type ; //是否独家 business.is_exclusive_type = data.data.is_exclusive_type ; //是否独家
var img_url = ""; var img_url = "";
$.each(data['data']['exclusive_img'], function(i, item) { $.each(data['data']['exclusive_img'], function(i, item) {
var local_img = location.origin + '/resource/lib/Attachments/images/' + item.img_name; var local_img = ServerHostImageLiu + '/resource/lib/Attachments/images/' + item.img_name;
img_url += '<img src="' + local_img + '" data-bimg="' + local_img + '" class="jai_dujia diagram-image J_preview" data-img="' + item.img_name + '" >'; img_url += '<img src="' + local_img + '" data-bimg="' + local_img + '" class="jai_dujia diagram-image J_preview" data-img="' + item.img_name + '" >';
}); });
$("#liudan_pic_pre").html(img_url); $("#liudan_pic_pre").html(img_url);
......
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