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.
 
 
 
 

170 lines
9.9 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">
  27. <!-- 面包屑 -->
  28. <div class="pt-crumb">
  29. <img src="{$kx.config.resurl}/template/kxwebno1/images/crumb_icon.png" class="pt-crumb-icon">
  30. <span class="color5"><span class="color5"><a title="{$kx.config.sitename}" href="{$kx.config.siteurl}">{$kx.config.sitename}</a> > <a title="{$category.name}" href="{link=novel.category.list categoryid=$category.id key=$category.key}" class="color5">{$category.name}</a> > <a title="{$novel.name}" href="{link=novel.novel.index novelid=$novel.id pinyin=$novel.pinyin}" class="color5">{$novel.name}</a></span> > <a href="{link=novel.comment.list novelid=$novel.id pinyin=$novel.pinyin}">{$novel.name}评论区</a></span>
  31. </div>
  32. <!-- 章节 -->
  33. <div class="clearfix" style="width:100%">
  34. <div class="fl" style="width:950px">
  35. <div class="pt-chapter">
  36. <div class="size18 color5 pt-chapter-title">
  37. <a title="{$novel.name}评论区" href="{link=novel.comment.list novelid=$novel.id pinyin=$novel.pinyin}" class="pt-chapter-select">{$novel.name}评论区</a>
  38. </div>
  39. <div>
  40. <div class="clear">
  41. {block method="pagination" name="paginate" page=$page limit=$pagesize count=$data.comment maxpage=50 section=3}
  42. {block method="comment.list" name=commentlist type='novel' typeid=$novel.id userid=$userinfo.id num=$paginate.limit page=$paginate.current}
  43. <ul class="commentlist clearfix">
  44. {loop=commentlist}
  45. <li data-comment-id="{$loop.id}">
  46. <div class="fl">
  47. <div class="avatar"><img src="{$loop.user.avatar}" alt="{$loop.user.name}"></div>
  48. </div>
  49. <div class="fr">
  50. <div class="comment-title">
  51. <div class="comment-name"><b>{$loop.user.name}</b> 发表了帖子</div>
  52. <div class="comment-time">{$loop.datetime|date="Y-m-d H:i:s"}</div>
  53. </div>
  54. <div class="comment-content">
  55. {$loop.content}
  56. </div>
  57. <div class="comment-btn">
  58. <div class="comment-btn-up mr30 {$loop.rating|boolval|default='','disable'}">
  59. <span class="comment-btn-up-btn {=$loop.rating=='good'?'active':''}"></span>
  60. <span class="number">{$loop.good_num}</span>
  61. </div>
  62. <div class="comment-btn-down {=$loop.rating=='bad'?'active':''}">
  63. <span class="comment-btn-down-btn"></span>
  64. <span class="number">{$loop.bad_num}</span>
  65. </div>
  66. <a href="{link=novel.comment.post novelid=$novel.id pinyin=$novel.pinyin commentid=$loop.id}">
  67. <span class="comment-btn-reply color2">{$loop.post_num} 条回复</span>
  68. </a>
  69. </div>
  70. </div>
  71. </li>
  72. {/loop}
  73. </ul>
  74. </div>
  75. <!-- 分页 -->
  76. {if !empty($commentlist) && $paginate.total>1}
  77. <div class="pt-pages">
  78. <div class="pt30 color5">
  79. {if $paginate.prev>1}
  80. <a href="{link=list novelid=$novel.id pinyin=$novel.pinyin page=$paginate.prev}"><span><</span></a>
  81. {else}
  82. <span class="disable"><</span>
  83. {/if}
  84. {loop=paginate.items}
  85. <a href="{link=list novelid=$novel.id pinyin=$novel.pinyin page=$loop.num}">
  86. <span class="{$loop.status|default='','pt-pages-select'}">{$loop.num}</span>
  87. </a>
  88. {/loop}
  89. {if $paginate.next}
  90. <a href="{link=list novelid=$novel.id pinyin=$novel.pinyin page=$paginate.next}"><span>></span></a>
  91. {else}
  92. <span class="disable">></span>
  93. {/if}
  94. </div>
  95. </div>
  96. {/if}
  97. <form onsubmit="return false;" class="addcomment">
  98. <textarea></textarea>
  99. <button>发表</button>
  100. </form>
  101. </div>
  102. </div>
  103. </div>
  104. <div class="fr" style="width:240px;">
  105. <div class="fr pt-new-recomment">
  106. <div class="pt-new-recomment-title">评论区信息</div>
  107. <div class="pt-new-recomment-list">
  108. <div class="mb20 lh100">
  109. <span class="color5">小说书名:</span>
  110. <span class="color7"><a href="{link=novel.novel.index novelid=$novel.id pinyin=$novel.pinyin}" class="color2" title="{$novel.name}">{$novel.name}</a></span>
  111. </div>
  112. <div class="mb20 lh100">
  113. <span class="color5 ">专区版主:</span>
  114. <span class="color7"><a title="{$author.name}" href="{link=author.space.index authorid=$author.id pinyin=$author.pinyin name=$author.name}" class="color2">{$author.name}</a></span>
  115. </div>
  116. <div class="mb20 lh100">
  117. <span class="color5 ">评论数量:</span>
  118. <span class="color7">{$data.comment}</span>
  119. </div>
  120. <div class="mb20 lh100">
  121. <span class="color5 ">回帖数量:</span>
  122. <span class="color7">{$data.comment}</span>
  123. </div>
  124. <div class="mb20 lh100">
  125. <span class="color5 ">评论人数:</span>
  126. <span class="color7">{$data.comment}</span>
  127. </div>
  128. </div>
  129. </div>
  130. <!-- 猜你喜欢 -->
  131. <div class="fr pt-new-recomment">
  132. <div class="pt-new-recomment-title">猜你喜欢</div>
  133. <ul class="pt-new-recomment-list">
  134. {block method="novel.list" name=list order=postdate sort=desc num=10}
  135. {section loop=$list item=$loop}
  136. <li>
  137. <span class="color3">[<a title="{$loop.category.name}" href="{link=novel.category.list categoryid=$loop.category.id key=$loop.category.key}">{$loop.category.name}</a>]</span>
  138. <a class="color4 pt-text" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
  139. </li>
  140. {/section}
  141. </ul>
  142. </div>
  143. <!-- 周榜、月榜 -->
  144. <div class="pt-sexselect">
  145. {block method="rank.info" name=rankinfo key=weekvisit}
  146. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span>{$rankinfo.name}</div>
  147. <ul class="pt-sexselect-list">
  148. {block method="novel.list" name=list order=$rankinfo.key num=10}
  149. {section loop=$list item=$loop}
  150. <li>
  151. <span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square">{$i.order}</span>
  152. <a class="color5" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
  153. <a title="{$loop.author.name}" class="color3 fr" href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}">{$loop.author.name}</a>
  154. </li>
  155. {/section}
  156. </ul>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. <!-- 底部版权-->
  162. {include file="/system/footer"}
  163. <!-- js -->
  164. <script>
  165. var __RATING_COMMENT='{link=novel.comment.rating}',__ADD_COMMENT='{link=comment.add}',__REPLY_COMMENT='{link=comment.reply}',__TYPE='novel',__TYPE_ID='{$novel.id}';
  166. </script>
  167. <script src="{$kx.config.resurl}/template/kxwebno1/js/comment.js"></script>
  168. </body>
  169. </html>