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.
 
 
 
 

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