Nav apraksta

inviteWeixin.html 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>邀请好友</title>
  8. <link rel="stylesheet" href="./common/reset.css">
  9. <link rel="stylesheet" href="./css/inviteWeixin.css">
  10. <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
  11. <script src="./js/weChatShare.js?v=1.0.3"></script>
  12. <script src="./js/md5.js?v=1.11"></script>
  13. <script src="./common/jquery-2.1.0.js"></script>
  14. <script>
  15. var viewport = document.querySelector("meta[name=viewport]")
  16. if (window.devicePixelRatio == 1) {
  17. viewport.setAttribute('content', 'width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no')
  18. }
  19. if (window.devicePixelRatio == 2) {
  20. viewport.setAttribute('content', 'width=device-width, initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5, user-scalable=no')
  21. }
  22. if (window.devicePixelRatio == 3) {
  23. viewport.setAttribute('content', 'width=device-width, initial-scale=0.333333333, maximum-scale=0.333333333, minimum-scale=0.333333333, user-scalable=no')
  24. }
  25. document.documentElement.style.fontSize=document.documentElement.clientWidth/375*100+"px";
  26. window.onresize=function(){
  27. document.documentElement.style.fontSize=document.documentElement.clientWidth/375*100+"px";
  28. }
  29. </script>
  30. </head>
  31. <body>
  32. <img class="back" src="./img/weixinBack02.png" alt="">
  33. <img class="button" src="./img/inviteWeixin02.png" alt="">
  34. <div class="form">
  35. <div class="input">
  36. <input id="text" type="tel" maxlength="11" placeholder="请输入11位手机号">
  37. </div>
  38. <div class="paw">
  39. <input type="tel" maxlength="4" id="code" placeholder="请输入验证码" name="" id="">
  40. <button class="check">获取验证码</button>
  41. </div>
  42. <p class="notice"><input type="checkbox" checked id="agreement">点击立即注册即代表<span onclick="goAgreement()">《同意用户协议》</span></p>
  43. </div>
  44. <div class="alert-info" style="display: none;">
  45. <p></p>
  46. </div>
  47. <!-- loading -->
  48. <div class="loading">
  49. <img src="./common/loading.gif" />
  50. </div>
  51. </body>
  52. </html>
  53. <script src="./js/inviteWeixin.js"></script>