You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

172 lines
8.7 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>{$tkd.title|parseTpl}</title>
  6. <meta name="keywords" content="{$tkd.keywords|parseTpl}">
  7. <meta name="description" content="{$tkd.description|parseTpl}">
  8. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/global.css"/>
  9. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/style.css"/>
  10. <script src="{$kx.config.resurl}/template/kxwebno1/js/jquery-3.3.1.js"></script>
  11. <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
  12. <meta name="author" content="www.ptcms.com">
  13. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  14. <meta name="renderer" content="webkit">
  15. <meta name="viewport" content="width=device-width" />
  16. <meta name="applicable-device" content="pc">
  17. <meta http-equiv="mobile-agent" content="format=html5; url={$kx.config.mobileurl}__SELF__">
  18. <meta http-equiv="Cache-Control" content="no-siteapp" />
  19. <meta http-equiv="Cache-Control" content="no-transform" />
  20. <link rel="canonical" href="{$kx.config.pcurl}__SELF__" />
  21. </head>
  22. <body>
  23. <!-- 头部 -->
  24. {include file="/system/header"}
  25. <!-- 内容 -->
  26. <div class="pt-content mt10">
  27. <!-- 一楼 -->
  28. <div class="pt-floor1">
  29. <div class="pt-list">
  30. <!-- 人气榜单 -->
  31. <div class="fr pt-toplist">
  32. <div class="border-b size18 color8 pb10 pt-toplist-title">人气榜单</div>
  33. <div class="pt-toplist-item">
  34. {block method="rank.out" name=list}
  35. {loop}
  36. <a title="{$loop.name}" href="{link=novel.rank.list key=$loop.key}" {if $loop.key==$rankkey}class="color2"{/if}><span class="mr10">·</span>{$loop.name}</a>
  37. {/loop}
  38. </div>
  39. </div>
  40. <!-- 站内榜单 -->
  41. <div class="fr pt-sortlist">
  42. <div class="border-b size18 color8 pb10 pt-sortlist-title">站内榜单</div>
  43. {block method="rank.list" name=list}
  44. {loop=list}
  45. <div class="pt-sortlist-item fl" style="width:50%">
  46. <a title="{$loop.name}" class="{if $loop.key==$rankkey}color2{else}color8{/if} fl" href="{link=novel.rank.list key=$loop.key}" >{$loop.name}</a>
  47. </div>
  48. {/loop}
  49. </div>
  50. </div>
  51. <!-- 排名 -->
  52. {block method="pagination" name="paginate" page=$page limit=$pagesize count=$count maxpage=50 section=3}
  53. <div class="relative pt-rank">
  54. <!-- 选择分类 -->
  55. <div class="pt-rank-head">
  56. <span class="size18 color2 mr10">{$rankname}</span>
  57. </div>
  58. <!-- 分类详情 -->
  59. {section loop=$ranklist item=$loop}
  60. {if $loop.novel.id}
  61. <div class="pt-rank-detail">
  62. <a title="{$loop.novel.name}" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}">
  63. <img src="{$loop.novel.cover}" alt="{$loop.novel.name}">
  64. </a>
  65. <div class="fl pt-rank-detail-middle">
  66. <div class="fl w100 title">
  67. <span class="fl mr60">
  68. {if $page==1}<span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square">{$i.order}</span>{/if}
  69. <a title="{$loop.novel.name}" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" class="size18 color2">{$loop.novel.name}</a>
  70. </span>
  71. <span class="fl color7">
  72. <span class="mr30">作者:<a title="{$loop.author.name}" href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}">{$loop.author.name}</a> </span>
  73. <span>分类:
  74. <a title="{$loop.category.name}" href="{link=novel.category.list id=$loop.category.id key=$loop.category.key}">{$loop.category.name}</a>
  75. </span>
  76. </span>
  77. <span class="fr color5">{$loop.data.allvisit} 人在读</span>
  78. </div>
  79. <div class="compulsory-row fl w100 color5 desc">
  80. {$loop.novel.intro|showIntroLine}
  81. </div>
  82. <div class="fl lh100">
  83. {if $loop.last.id}
  84. <span>
  85. 最新更新:
  86. <a title="{$loop.last.name}" href="{link=novel.chapter.read pinyin=$loop.novel.pinyin novelid=$loop.novel.id chapterid=$loop.last.id}">
  87. <span class="color2 mr20">{$loop.last.name}</span>
  88. </a>
  89. </span>
  90. <span class="color0 size12">{$loop.last.last_update}</span>
  91. {else}
  92. <span>最新更新:<span class="color0 mr20">{$loop.last.name}</span></span>
  93. {/if}
  94. </div>
  95. </div>
  96. <div class="fr mr30">
  97. <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" class="mb20 color2 border-red pt-btn read">立即阅读</a>
  98. {if $islogin}
  99. {block method="mark.check" name=$ismark userid=$userinfo.id novelid=$loop.novel.id}
  100. <a href="javascript:void(0);" class="border-c9 color4 pt-btn btn-mark" data-novel-id="{$loop.novel.id}">{$ismark|default='加入收藏','取消收藏'}</a>
  101. {else}
  102. <a href="javascript:void(0);" class="border-c9 color4 pt-btn btn-mark" data-novel-id="{$loop.novel.id}">加入收藏</a>
  103. {/if}
  104. </div>
  105. </div>
  106. {else}
  107. <div class="pt-rank-detail">
  108. <img src="{$loop.novel.cover}" alt="{$loop.novel.name}">
  109. <div class="fl pt-rank-detail-middle">
  110. <div class="fl w100 title">
  111. <div class="fl mr60">
  112. <span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square">{$i.order}</span>
  113. <span class="size18 color2">{$loop.novel.name}</span>
  114. </div>
  115. <span class="fl color7">
  116. <span class="mr30">作者:{$loop.author.name} </span>
  117. <span>分类:{$loop.category.name}</span>
  118. </span>
  119. </div>
  120. <div class="compulsory-row fl w100 color5 desc">
  121. {$loop.novel.intro|showIntroLine}
  122. </div>
  123. <div class="fl lh100">
  124. <span>
  125. 最新更新:暂无记录
  126. </span>
  127. </div>
  128. </div>
  129. <div class="fr mr30">
  130. <a href="javascript:alert('资源补充中,请等待');" class="mb20 color2 border-red pt-btn read">立即阅读</a>
  131. <a href="javascript:alert('资源补充中,请等待');" class="border-c9 color4 pt-btn" data-novel-id="{$loop.novel.id}">加入收藏</a>
  132. </div>
  133. </div>
  134. {/if}
  135. {/loop}
  136. <!-- 分页 -->
  137. {if $paginate.total>1}
  138. <div class="pt-pages">
  139. <div class="pt30 color5">
  140. {if $paginate.prev}
  141. <a href="{link=novel.rank.list key=$rankkey page=$paginate.prev}"><span><</span></a>
  142. {else}
  143. <span class="disable"><</span>
  144. {/if}
  145. {loop=paginate.items}
  146. <a href="{link=novel.rank.list key=$rankkey page=$loop.num}">
  147. <span class="{$loop.status|default='','pt-pages-select'}">{$loop.num}</span>
  148. </a>
  149. {/loop}
  150. {if $paginate.next}
  151. <a href="{link=novel.rank.list key=$rankkey page=$paginate.next}"><span>></span></a>
  152. {else}
  153. <span class="disable">></span>
  154. {/if}
  155. </div>
  156. </div>
  157. {/if}
  158. </div>
  159. </div>
  160. <!-- 友情链接 -->
  161. </div>
  162. <!-- 底部版权-->
  163. {include file="/system/footer"}
  164. <script>
  165. var __ADD_MARK='{link=user.mark.add}',__DEL_MARK='{link=user.mark.del}';
  166. </script>
  167. <!-- js-->
  168. <script src="{$kx.config.resurl}/template/kxwebno1/js/listmark.js"></script>
  169. </body>
  170. </html>