Article_list.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <div class="banner">
  2. <img src="wap/img/news_banner.jpg"/>
  3. </div>
  4. <!--新闻类别 开始-->
  5. <div class="news_type pad100 mt10">
  6. <ul class="clearfix bgfff">
  7. <li class="{if $catid==13}current{/if}"><a href="{$Categorys[13][url]}">全部</a></li>
  8. <YP:subcat catid="13" id="r" limit="3">
  9. <li {if $catid==$r[id]}class="current"{/if}><a href="{$r.url}" title="">{$r.catname}</a></li>
  10. </YP:subcat>
  11. </ul>
  12. </div>
  13. <!--新闻类别 结束-->
  14. <!--新闻列表 开始-->
  15. <div class="news_list pad100 mt10">
  16. <ul id="ajax_list_ul">
  17. <volist name="list" id="r">
  18. <li>
  19. <a href="{$r.url}">
  20. <div class="img"><img src="{$r.thumb}"/></div>
  21. <div class="bottom">
  22. <div class="title ellipsis">{$r.title}</div>
  23. <div class="des ellipsis-3">{if $r['des']}{$r.des}{else}{$r.description}{/if}</div>
  24. <div class="date">{$r.createtime|toDate=###,"Y-m-d"}</div>
  25. </div>
  26. </a>
  27. </li>
  28. </volist>
  29. </ul>
  30. </div>
  31. <!--新闻列表 结束-->
  32. {if $pages}
  33. <div class="ajax_tips">
  34. 下拉加载更多...
  35. </div>
  36. <div class="ajaxpage">
  37. {$pages}
  38. </div>
  39. <div class="fixedloading"></div>
  40. <div class="fixedloadingbg"></div>
  41. {/if}
  42. <script src="wap/js/ajax.js" type="text/javascript"></script>