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

1

... ... @@ -187,7 +187,7 @@
</head>
<body>
<div class="container">
<div class="main">
<div class="head">
<div class="head_info">
<p class="head_img"><img src="{:cmf_get_image_preview_url($user.avatar)}" alt=""></p>
... ... @@ -217,12 +217,6 @@
</foreach>
</ul>
<div class="presentlist">
<div class="nodata" style="display: none">
<div class="nodata_img">
<img src="__TMPL__/public/assets/images/img/nodata.png" alt="">
</div>
<p class="nodata_name">暂无数据</p >
</div>
<foreach name="list" item="vo">
<a href="{:url('portal/prize/prizeDetail',array('id'=>$vo.id))}" style="text-decoration:none;">
<div class="presentlist_item">
... ... @@ -239,7 +233,6 @@
</foreach>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="__TMPL__/public/assets/js/jquery.min.js"></script>
<script>
... ... @@ -256,7 +249,12 @@
success: function (data) {
console.log(data);
if (data==""){
$(".nodata").css('display','block');
var 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 = "";
... ... @@ -274,8 +272,8 @@
' </div>\n' +
' </a>'
}
$(".presentlist").html(html);
}
$(".presentlist").html(html);
}
})
})
... ...