通用评论

example_multiple.html 676B

1234567891011121314151617181920212223
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>通用评论 demo</title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <link rel="stylesheet" type="text/css" media="screen" href="../static/css/comment.0.5.13.css" />
  9. </head>
  10. <body>
  11. <div>
  12. <h1>在非 React.js 项目中使用通用评论</h1>
  13. <p>使用多个 bisunessId</p>
  14. <button id="render">渲染评论 bid: test</button>
  15. <button id="re-render">重新渲染 bid: test1</button>
  16. <div id="comment"></div>
  17. </div>
  18. <script type="text/javascript" src="./example_multiple.js"></script>
  19. </body>
  20. </html>