list.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>${siteTitle!}</title>
  6. <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/ly_html.css">
  7. <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/bcrc-body.css">
  8. <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/bcrc-page.css">
  9. <script src="${resPath}/bcrc/js/jquery-1.7.2.min.js"></script>
  10. <script src="${resPath}/bcrc/js/TL_Tab.js"></script>
  11. <script src="${resPath}/bcrc/js/TL_PC_Slider.js"></script>
  12. </head>
  13. <style>
  14. .fy .pag li a {width: auto;float: none;color: #333;}
  15. .fy .pag {
  16. text-align: center;
  17. height: 20px;
  18. line-height: 20px;
  19. clear: both;
  20. float: none;
  21. padding: 0px;
  22. }
  23. .fy .pag li {
  24. text-align: center;
  25. margin: 0px 2px;
  26. padding: 0px 8px;
  27. height: 20px;
  28. line-height: 20px;
  29. text-decoration: none;
  30. display: inline-block;
  31. border: 1px solid #318ddc;
  32. width: auto;
  33. }
  34. .fy .pag .current {
  35. background-color: #318ddc;
  36. }
  37. </style>
  38. <body>
  39. <div class="contentbig">
  40. <!--头部开始-->
  41. @includeFileTemplate("/www/syrc/include/header.html",{"current":"index"}){}
  42. <!--头部结束-->
  43. <!--内容开始-->
  44. <div class="wz_cont">
  45. <div class="wz_cont_in">
  46. <div class="dqwz">
  47. <#cms_site_pos site="${site}" category="${category}" var="bean">
  48. 当前位置:
  49. ${bean.baseURL}
  50. >>
  51. @for(location in bean.locations){
  52. ${location.categoryName}
  53. @if(!locationLP.last){
  54. >>
  55. @}
  56. @}
  57. </#cms_site_pos>
  58. </div>
  59. <div class="all_title"><a><span>${category.categoryName}</span></a></div>
  60. <#cms_category categoryId="${category.categoryId}" isParent="1" var="bean">
  61. <ul class="all_list">
  62. <#cms_content_page siteId="${site.siteId!}" titleLen="66" page="${page!}" var="content">
  63. <li><a href="${content.url!}">${content.title!}</a><i>[浏览次数:${content.viewNum!}次]</i>
  64. <em>${content.inputdate,dateFormat="YYYY年MM月dd日"}</em></li>
  65. @if(content.index%5==0){
  66. <li class="dotted"></li>
  67. @}
  68. </#cms_content_page>
  69. </ul>
  70. <!--分页开始-->
  71. <div id="fy" name="fy" class="fy">
  72. <ul class="pag">
  73. <#cms_pagination siteId="${site.siteId}" categoryId="${category.categoryId}" page="${page}" moreNum="6" var="page" >
  74. <li>${page.first}</li>
  75. @for(change in page.changePage){
  76. @if(!change.isLink){
  77. @if(change.isMore){
  78. <li>${change.value!}</li>
  79. @}else{
  80. <li class="current">${change.value!}</li>
  81. @}
  82. @}else{
  83. <li> ${change.url!}</li>
  84. @}
  85. @}
  86. <li>${page.next}</li>
  87. </#cms_pagination>
  88. </ul>
  89. </div>
  90. <!--分页结束-->
  91. </div>
  92. </#cms_category>
  93. </div>
  94. <!--内容结束-->
  95. <!--底部开始-->
  96. @includeFileTemplate("/www/syrc/include/footer.html",{"current":"index"}){}
  97. <!--底部结束-->
  98. </body>
  99. </html>