comment-post.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
  6. <meta name="description" content="">
  7. <meta name="keywords" content="">
  8. <meta name="format-detection" content="telephone=no">
  9. <meta name="format-detection" content="email=no">
  10. <meta name="format-detection" content="address=no">
  11. <title></title>
  12. <link rel="stylesheet" type="text/css" href="css/normalize.css">
  13. <link rel="stylesheet" type="text/css" href="css/mobile-base.css">
  14. <link rel="stylesheet" href="css/main.css">
  15. <script type="text/javascript" src="js/zepto.js"></script>
  16. <script type="text/javascript" src="js/iscroll.js"></script>
  17. <script type="text/javascript" src="js/main.js"></script>
  18. </head>
  19. <body>
  20. <div class="comment-wrapper comment-wrapper--duowanapp">
  21. <div class="comment-post">
  22. <form action="">
  23. <textarea name="" id="" placeholder="想说点什么?"></textarea>
  24. <span class="post-button" ontouchstart="">
  25. <input type="submit" value="发表">
  26. </span>
  27. </form>
  28. </div>
  29. </div>
  30. <script type="text/javascript">
  31. var myScroll;
  32. function loaded() {
  33. myScroll = new iScroll('comment-wrapper' , { checkDOMChanges: true } );
  34. }
  35. document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
  36. document.addEventListener('DOMContentLoaded', function () { setTimeout(loaded, 200); }, false);
  37. </script>
  38. </body>
  39. </html>