|
@@ -139,7 +139,7 @@ function ServiceList(){
|
|
|
}
|
|
|
var flag = typeof(r[i].s_isshow) != "undefined" && r[i].s_isshow != null && r[i].s_isshow.indexOf("3")>-1;
|
|
|
html += '<tr>'
|
|
|
- +'<td rowspan="2" width="120"><img src="'+(r[i].s_images==""?"null":r[i].s_images)+'" onerror="this.src=\'/images/services/default.png\'"></td>'
|
|
|
+ +'<td rowspan="2" width="130"><img src="'+(r[i].s_images==""?"null":r[i].s_images)+'" onerror="this.src=\'/images/services/default.png\'"></td>'
|
|
|
+'<td class="b-com-name">';
|
|
|
if(flag){
|
|
|
html += '<a href="/market/detail/'+r[i]._id+'.html">';
|
|
@@ -156,11 +156,17 @@ function ServiceList(){
|
|
|
html += '<td> </td><td> </td>';
|
|
|
}
|
|
|
html += '</tr><tr>'
|
|
|
- +'<td>'+r[i].s_introduction+'</td>'
|
|
|
+ +'<td colspan="3"><div class="ent-serviceintroduction"><div>'+r[i].s_introduction+'</div></div></td>'
|
|
|
+'</tr>';
|
|
|
}
|
|
|
$("#serviceListPaging").parent().prevAll().remove();
|
|
|
$("#serviceListPaging").parent().before(html);
|
|
|
+ $(".ent-serviceintroduction").each(function(){
|
|
|
+ console.info($(this).height() +"------"+ $(this).children("div").height());
|
|
|
+ if($(this).height() < $(this).children("div").height()){
|
|
|
+ $(this).parent().append("......");
|
|
|
+ }
|
|
|
+ });
|
|
|
});
|
|
|
});
|
|
|
}
|