signin.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
  6. <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
  7. <title>title</title>
  8. <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
  9. <style>
  10. body{
  11. }
  12. </style>
  13. <script>
  14. (function(w, d, m) {
  15. function r() {
  16. var t = 100,
  17. o = 750,
  18. e = d.documentElement.clientWidth || w.innerWidth,
  19. n = m.max(m.min(e, 480), 320),
  20. h = 50;
  21. 320 >= n && (h = m.floor(n / o * t * .99)),
  22. n > 320 && 362 >= n && (h = m.floor(n / o * t * 1)),
  23. n > 362 && 375 >= n && (h = m.floor(n / o * t * 1)),
  24. n > 375 && (h = m.floor(n / o * t * .97)),
  25. d.querySelector("html").style.fontSize = h + "px"
  26. };
  27. r();
  28. w.onresize = function() {
  29. r()
  30. }
  31. })(window, document, Math);
  32. </script>
  33. </head>
  34. <body>
  35. </body>
  36. <script type="text/javascript" src="../../script/api.js"></script>
  37. <script type="text/javascript">
  38. apiready = function(){
  39. };
  40. </script>
  41. </html>