作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

1

... ... @@ -247,17 +247,17 @@
category:id,
},
success: function (data) {
var html=""
console.log(data);
if (data==""){
var html=' <div class="nodata" style="display: none">\n' +
html=' <div class="nodata" style="display: none">\n' +
' <div class="nodata_img">\n' +
' <img src="__TMPL__/public/assets/images/img/nodata.png" alt="">\n' +
' </div>\n' +
' <p class="nodata_name">暂无数据</p >\n' +
' </div>'
}
else {
var html = "";
} else {
html = "";
for (var i = 0; i < data.length; i++) {
html += ' <a href="' + data[i].url + '" style="text-decoration:none;">\n' +
' <div class="presentlist_item">\n' +
... ...