list.html 3.3 KB

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