common_comment(禁止输入).html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chorme=1">
  6. <meta name="description" content="">
  7. <meta name="keywords" content="">
  8. <title>多玩通用评论模版</title>
  9. <link rel="stylesheet" type="text/css" href="http://www.duowan.com/assets/css/dwzq-common.css" media="all">
  10. <link rel="stylesheet" type="text/css" href="img/common_comment.css" media="all">
  11. <script src="http://www.duowan.com/public/assets/sys/js/jquery.js?02131514.js"></script>
  12. </head>
  13. <body>
  14. <div class="dw-comment-ctn dw-comment-skin_yellow">
  15. <div class="dw-comment-box dw-comment-mood-ctn">
  16. <h3>读完这篇文章后,您心情如何?</h3>
  17. <div class="content">
  18. <ul>
  19. <li>
  20. <span class="support_num">50</span>
  21. <i class="support_line"><span></span></i>
  22. <a href="" class="comment-mood-pic"><img src="http://duowan.pro/50x50" alt=""><em>愤怒</em></a>
  23. </li>
  24. <li>
  25. <span class="support_num">50</span>
  26. <i class="support_line"><span></span></i>
  27. <a href="" class="comment-mood-pic"><img src="http://duowan.pro/50x50" alt=""><em>愤怒</em></a>
  28. </li>
  29. <li>
  30. <span class="support_num">50</span>
  31. <i class="support_line"><span></span></i>
  32. <a href="" class="comment-mood-pic"><img src="http://duowan.pro/50x50" alt=""><em>愤怒</em></a>
  33. </li>
  34. <li>
  35. <span class="support_num">50</span>
  36. <i class="support_line"><span></span></i>
  37. <a href="" class="comment-mood-pic"><img src="http://duowan.pro/50x50" alt=""><em>愤怒</em></a>
  38. </li>
  39. <li>
  40. <span class="support_num">50</span>
  41. <i class="support_line"><span></span></i>
  42. <a href="" class="comment-mood-pic"><img src="http://duowan.pro/50x50" alt=""><em>愤怒</em></a>
  43. </li>
  44. <li>
  45. <span class="support_num">50</span>
  46. <i class="support_line"><span></span></i>
  47. <a href="" class="comment-mood-pic"><img src="http://duowan.pro/50x50" alt=""><em>愤怒</em></a>
  48. </li>
  49. <li>
  50. <span class="support_num">50</span>
  51. <i class="support_line"><span></span></i>
  52. <a href="" class="comment-mood-pic"><img src="http://duowan.pro/50x50" alt=""><em>愤怒</em></a>
  53. </li>
  54. </ul>
  55. </div>
  56. </div>
  57. <div class="dw-comment-box dw-comment-view-ctn">
  58. <div class="view_list"><a class="comment-tucaoItem1" href="">高声唱红歌</a><a class="comment-tucaoItem2" href="">高声唱红歌</a><a class="comment-tucaoItem3" href="">高声唱红歌</a><a href="">高声唱红歌</a><a href="">高声唱红歌</a><a href="">高声唱红歌</a><span class="comment-more_view">更多<i></i></span></div>
  59. <div class="view_action_bar">
  60. <form action="">
  61. <label for="dw-comment-view">点击表示赞同该观点或者输入其他标签词:</label>
  62. <p class="search_ctn">
  63. <input type="text" class="dw-comment-view dw-comment-forbid" name="dw-comment-view" readonly="true" id="dw-comment-view"><input class="submit" type="submit" value="吐槽">
  64. </p>
  65. </form>
  66. </div>
  67. </div>
  68. <div class="dw-comment-box dw-comment-comments-ctn">
  69. <h3><span class="total_num fl">所有评论(<em>24</em>条)</span><a href="" class="new-comment-flash fr">3条新评论</a></h3>
  70. <div class="dw-comment-post-ctn">
  71. <div class="textarea_ctn">
  72. <textarea name="" id="dw-comment-post" class="dw-comment-post"></textarea>
  73. <div class="maks"></div>
  74. <div class="dw-comment-loginbar-ctn">
  75. <p class="dw-comment-loginbar">参与讨论,请先<a href="">登录</a>|<a href="">注册</a></p><a href=""></a>
  76. </div>
  77. </div>
  78. <div class="dw-comment-post-foot">
  79. <p class="user-info">
  80. <img src="http://duowan.pro/20x20" alt=""><span class="name">billwings</span>欢迎你<a href="">[退出]</a>
  81. <span class="no_name_method"><input type="checkbox" name="" id=""><label for="">匿名评论</label></span>
  82. </p>
  83. <div class="dw-comment-sharebar fl">
  84. <dl class="sharebar">
  85. <dt>社会化登录:</dt>
  86. <dd><a href=""><img src="img/sina.png" alt="新浪微博"></a></dd>
  87. <dd><a href=""><img src="img/qq.png" alt="QQ"></a></dd>
  88. <dd><a href=""><img src="img/qq_w.png" alt="腾讯微博"></a></dd>
  89. <dd><a href=""><img src="img/renren.png" alt="人人网"></a></dd>
  90. </dl>
  91. </div>
  92. <div class="dw-comment-post-action">
  93. <div class="comment-expression">
  94. <span class="note">超出<em>28</em>字</span>
  95. <a href="javascript:void(0)" class="dw-comment-expression-btn"><img src="img/icon_expression.png" alt=""></a>
  96. </div>
  97. <input class="submit" type="submit" value="发表评论">
  98. <input class="submit not_login" type="submit" value="发表评论">
  99. </div>
  100. </div>
  101. </div>
  102. <div class="mod-msg msg-success">
  103. <i class="icon"></i>
  104. <p>评论发表成功!</p>
  105. <span class="btn-close J_btnClose" title="关闭">&times;</span>
  106. </div>
  107. <div class="mod-msg msg-error">
  108. <i class="icon"></i>
  109. <p>评论发表失败!</p>
  110. <span class="btn-close J_btnClose" title="关闭">&times;</span>
  111. </div>
  112. <div class="dw-comment-sequence">
  113. <a class="selected" href="">热门评论</a><a href="">最新评论</a>
  114. </div>
  115. <a href="" class="dw-comment-new_comment"><span>有新评论,刷新看看</span></a>
  116. <a href="" class="dw-comment-new_comment dw-comment-more_loading">有新评论,刷新看看</a>
  117. <ul class="dw-comment-comment_list">
  118. <li class="comment-list_item">
  119. <a href="" class="comment-author_pic"><img src="http://duowan.pro/50x50" alt=""></a>
  120. <div class="comment_content">
  121. <p class="comment_info"><a href="" class="author">吊儿郎当哥</a></p>
  122. <p class="comment_text">你个SB 国人的败类 日本的走狗~我当初也不喜欢周董可人家写的歌就是好听 还是自己写的 有几个歌手可以这么吊?你个下贱的狗半坦都会被打的半死、、还消弱大招、不全球。。而且那个圈圈敌方也看的到!特别郁闷!想抗议! 去做日本狗吧~~</p>
  123. <div class="comment_action">
  124. <div class="post_time">
  125. <span class="info_day">2012-6-25</span><span class="info_time">14:19</span>发表
  126. </div>
  127. <span class="view_up " style=""><a target="_self" href="javascript:DWComment3.addVote('6b2cbe512d7ede82b5aa6d4fc70a90ca')" class="comment-support">赞</a><span class="comment_support">(<em>1</em>)</span></span>
  128. <span class="view_down " style=""><a target="_self" href="javascript:DWComment3.addVote('6b2cbe512d7ede82b5aa6d4fc70a90ca')" class="comment-support">踩</a><span class="comment_support">(<em>1</em>)</span></span>
  129. <a href="" class="view_up">(6)</a><a href="" class="view_down selected">(6)</a><a href="" class="comment-reply">回复<em>(6)</em></a></div>
  130. <div class="comment_reply_ctn">
  131. <i class="comment_reply_arrow"></i>
  132. <ul class="dw-comment-replay_list">
  133. <li class="replay_list_item">
  134. <a href="" class="reply_author_pic"><img src="http://duowan.pro/30x30" alt=""></a>
  135. <div class="reply_content">
  136. <p class="reply_info"><a href="" class="author">音乐才子</a>
  137. </p>
  138. <p class="reply_text">第一跟中国没关系 第二跟古代没关系 第三跟皇帝没关系 你吐槽的也太不是点了</p>
  139. <div class="reply_action">
  140. <div class="reply_time">
  141. <span class="info_day">2012-6-25</span><span class="info_time">14:19</span>发表
  142. </div>
  143. <a href="" class="view_up selected">(6)</a><a href="" class="view_down">(6)</a><a href="" class="comment-reply">回复<em>(6)</em></a>
  144. </div>
  145. </div>
  146. </li>
  147. <li class="replay_list_item">
  148. <a href="" class="reply_author_pic"><img src="http://duowan.pro/30x30" alt=""></a>
  149. <div class="reply_content">
  150. <p class="reply_info"><a href="" class="author">音乐才子</a>
  151. </p>
  152. <p class="reply_text">第一跟中国没关系 第二跟古代没关系 第三跟皇帝没关系 你吐槽的也太不是点了</p>
  153. <div class="reply_action">
  154. <div class="reply_time">
  155. <span class="info_day">2012-6-25</span><span class="info_time">14:19</span>发表
  156. </div>
  157. <a href="" class="comment-reply">回复</a>
  158. </div>
  159. <div class="comment_reply_reply_ctn">
  160. <div class="dw-comment-reply_post-ctn">
  161. <div class="textarea_ctn">
  162. <textarea name="" class="dw-comment-reply_post" id="dw-comment-reply_post" cols="30" rows="10"></textarea>
  163. <div class="maks"></div>
  164. <div class="dw-comment-loginbar-ctn">
  165. <p class="dw-comment-loginbar">参与讨论,请先<a href="">登录</a>|<a href="">注册</a></p><a href=""></a>
  166. </div>
  167. </div>
  168. <div class="dw-comment-reply_post-foot">
  169. <div class="dw-comment-reply_post-action">
  170. <a href="javascript:void(0)" class="dw-comment-expression-btn"><img src="img/icon_expression.png" alt=""></a>
  171. <label for="">验证码:</label>
  172. <input class="post_code" type="text" name="" id="">
  173. <img src="http://duowan.pro/63x25" alt="">
  174. <input class="submit" type="submit" value="回复">
  175. <input class="submit not_login" type="submit" value="发表评论">
  176. </div>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. </li>
  182. <li class="replay_list_item">
  183. <a href="" class="reply_author_pic"><img src="http://duowan.pro/30x30" alt=""></a>
  184. <div class="reply_content">
  185. <p class="reply_info"><a href="" class="author">音乐才子</a>
  186. </p>
  187. <p class="reply_text">第一跟中国没关系 第二跟古代没关系 第三跟皇帝没关系 你吐槽的也太不是点了</p>
  188. <div class="reply_action">
  189. <div class="reply_time">
  190. <span class="info_day">2012-6-25</span><span class="info_time">14:19</span>发表
  191. </div>
  192. <a href="" class="comment-reply">回复</a>
  193. </div>
  194. </div>
  195. </li>
  196. </ul>
  197. <p class="more_reply">还有3条回复,<a href="">点击查看</a></p>
  198. <div class="dw-comment-reply_post-ctn">
  199. <div class="textarea_ctn">
  200. <textarea name="" class="dw-comment-reply_post" id="dw-comment-reply_post" cols="30" rows="10"></textarea>
  201. <div class="maks"></div>
  202. <div class="dw-comment-loginbar-ctn">
  203. <p class="dw-comment-loginbar">参与讨论,请先<a href="">登录</a>|<a href="">注册</a></p><a href=""></a>
  204. </div>
  205. </div>
  206. <div class="dw-comment-reply_post-foot">
  207. <p class="user-info fl"><img src="http://duowan.pro/20x20" alt=""><span class="name">billwings</span>欢迎你<a href="">[退出]</a></p>
  208. <div class="dw-comment-reply_post-action">
  209. <label for="">验证码:</label>
  210. <input class="post_code" type="text" name="" id="">
  211. <img src="http://duowan.pro/63x25" alt="">
  212. <span><input class="submit" type="submit" value="回复"></span>
  213. <input class="submit not_login" type="submit" value="发表评论">
  214. </div>
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. </li>
  220. <li class="comment-list_item">
  221. <a href="" class="comment-author_pic"><img src="http://duowan.pro/50x50" alt=""></a>
  222. <div class="comment_content">
  223. <p class="comment_info"><a href="" class="author">吊儿郎当哥</a></p>
  224. <blockquote class="comment_blockquote">
  225. <span class="comment_blockquote_title">引用</span>
  226. SB 国人的败类 日本的走狗~我当初也不喜欢周董可人家写的歌就是好听 还是自己写的 有几个歌手可以这么吊?你个下贱的狗半坦都会被打的半死、、还消弱大招、不全球。。而且那个
  227. </blockquote>
  228. <p class="comment_text">你个SB 国人的败类 日本的走狗~我当初也不喜欢周董可人家写的歌就是好听 还是自己写的 有几个歌手可以这么吊?你个下贱的狗半坦都会被打的半死、、还消弱大招、不全球。。而且那个圈圈敌方也看的到!特别郁闷!想抗议! 去做日本狗吧~~</p>
  229. <div class="comment_action">
  230. <div class="post_time">
  231. <span class="info_day">2012-6-25</span><span class="info_time">14:19</span>发表
  232. </div>
  233. <a href="" class="view_up">(6)</a><a href="" class="view_down selected">(6)</a><a href="" class="comment-reply">回复<em>(6)</em></a>
  234. </div>
  235. </div>
  236. </li>
  237. </ul>
  238. <a href="" class="dw-comment-more_comment"><span>查看更多精彩评论</span></a>
  239. <p class="dw-comment-hide_comment">2条被隐藏评论,<a href="">点击查看</a></p>
  240. <h3>回复评论<span class="total_num">(<em>24</em>条)</span></h3>
  241. <div class="dw-comment-post-ctn">
  242. <div class="textarea_ctn">
  243. <textarea name="" id="" class="dw-comment-post dw-comment-forbid" readonly="true" cols="30" rows="10"></textarea>
  244. </div>
  245. <div class="dw-comment-post-foot">
  246. <p class="user-info"><img src="http://duowan.pro/20x20" alt=""><span class="name">billwings</span>欢迎你<a href="">[退出]</a></p>
  247. <div class="dw-comment-post-action">
  248. <label for="">验证码:</label>
  249. <input class="post_code" type="text" name="" id="">
  250. <img src="http://duowan.pro/63x25" alt="">
  251. <input class="submit" type="submit" value="发表评论">
  252. </div>
  253. </div>
  254. </div>
  255. <p class="dw-comment-ps_note"><em>注:</em>网友评论仅供表达个人看法,并不表达多玩同意其观点或证实其描述</p>
  256. </div>
  257. <div id="comment-expression-popu" class="comment-expression-popu">
  258. <a href="" class="arrow"></a>
  259. <div class="content">
  260. <ul class="expression-list">
  261. <li><a href=""><img src="img/boom.png" alt=""></a></li>
  262. <li><a href=""></a></li>
  263. <li><a href=""></a></li>
  264. <li><a href=""></a></li>
  265. <li><a href=""></a></li>
  266. <li><a href=""></a></li>
  267. <li><a href=""></a></li>
  268. <li><a href=""></a></li>
  269. <li><a href=""></a></li>
  270. <li><a href=""></a></li>
  271. <li><a href=""></a></li>
  272. <li><a href=""></a></li>
  273. <li><a href=""></a></li>
  274. <li><a href=""></a></li>
  275. <li><a href=""></a></li>
  276. <li><a href=""></a></li>
  277. <li><a href=""></a></li>
  278. <li><a href=""></a></li>
  279. <li><a href=""></a></li>
  280. <li><a href=""></a></li>
  281. <li><a href=""></a></li>
  282. <li><a href=""></a></li>
  283. <li><a href=""></a></li>
  284. <li><a href=""></a></li>
  285. <li><a href=""></a></li>
  286. <li><a href=""></a></li>
  287. <li><a href=""></a></li>
  288. <li><a href=""></a></li>
  289. <li><a href=""></a></li>
  290. <li><a href=""></a></li>
  291. <li><a href=""></a></li>
  292. <li><a href=""></a></li>
  293. <li><a href=""></a></li>
  294. <li><a href=""></a></li>
  295. <li><a href=""></a></li>
  296. <li><a href=""></a></li>
  297. <li><a href=""></a></li>
  298. <li><a href=""></a></li>
  299. <li><a href=""></a></li>
  300. <li><a href=""></a></li>
  301. <li><a href=""></a></li>
  302. <li><a href=""></a></li>
  303. <li><a href=""></a></li>
  304. <li><a href=""></a></li>
  305. <li><a href=""></a></li>
  306. <li><a href=""></a></li>
  307. <li><a href=""></a></li>
  308. <li><a href=""></a></li>
  309. <li><a href=""></a></li>
  310. <li><a href=""></a></li>
  311. <li><a href=""></a></li>
  312. </ul>
  313. </div>
  314. </div>
  315. </div>
  316. <script type="text/javascript">
  317. $(function(){
  318. //定义变量弹出层,表情弹出按钮
  319. var mood_popu = $("#comment-expression-popu");
  320. var mood_btn = $(".dw-comment-expression-btn");
  321. //为表情按钮绑定事件
  322. mood_btn.on('click', '', function(event) {
  323. if(mood_popu.is(':visible'))
  324. {
  325. mood_popu.hide().find('.arrow-down').get(0).className = "arrow";
  326. }
  327. else{
  328. var bottom = $(window).height() - $(this).offset().top + $(window).scrollTop();
  329. if(bottom > mood_popu.height())
  330. {
  331. mood_popu.css({
  332. top: $(this).offset().top +28,
  333. left:$(this).offset().left,
  334. 'margin-left':-400
  335. }).show();
  336. }
  337. else{
  338. mood_popu.css({
  339. top: $(this).offset().top -10 - mood_popu.height(),
  340. left:$(this).offset().left,
  341. 'margin-left':-400
  342. }).show().find('.arrow').get(0).className = "arrow-down";
  343. }
  344. }
  345. // Act on the event
  346. });
  347. //为弹出层绑定事件
  348. mood_popu.hover(function() {
  349. $(this).attr("onfocus",true)
  350. }, function() {
  351. $(this).attr("onfocus","")
  352. mood_popu.hide().find('.arrow-down').get(0).className = "arrow";
  353. });
  354. mood_btn.on('blur', function(event) {
  355. if(!mood_popu.attr("onfocus"))
  356. {
  357. mood_popu.hide().find('.arrow-down').get(0).className = "arrow";
  358. }
  359. // Act on the event
  360. });
  361. })
  362. </script>
  363. </body>
  364. </html>