通用评论

example.html 836B

1234567891011121314151617181920212223242526
  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/main.81c08691.css" />
  9. </head>
  10. <body>
  11. <div>
  12. <h1>在非 React.js 项目中使用通用评论</h1>
  13. <p>使用多个 businessId</p>
  14. <button id="render">渲染评论 bid: test</button>
  15. <button id="re-render">重新渲染 bid: test1</button>
  16. <div id="RENDER_ELEMENT_WRAPPER"></div>
  17. </div>
  18. <script src="http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js"></script>
  19. <script type="text/javascript" src="./static/js/main.9d10db91.js"></script>
  20. <script type="text/javascript" src="example.js"></script>
  21. </body>
  22. </html>