index.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="force-rendering" content="webkit"/>
  6. <meta name="renderer" content="webkit" />
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no,minimum-scale=1.0">
  9. <title>功道云-积分系统用户登录</title>
  10. <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
  11. <script type="text/javascript" src="//open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
  12. <script src="static/js/polyfill.min.js"></script>
  13. <script>
  14. if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
  15. console.log('app')
  16. } else {
  17. console.log('pc')
  18. }
  19. </script>
  20. <!-- <script>
  21. /**
  22. * wx.config 参数
  23. *
  24. * @see https://open.work.weixin.qq.com/api/doc/90001/90144/90547
  25. */
  26. window.configParams = { /* ... */ }
  27. /**
  28. * wx.agentConfig 参数
  29. *
  30. * @see https://open.work.weixin.qq.com/api/doc/90001/90144/90548
  31. */
  32. window.agentConfigParams = { /* ... */ }
  33. </script> -->
  34. <style>
  35. .chromLink {
  36. width: 163px;
  37. height: 66px;
  38. position: absolute;
  39. left: 50%;
  40. top: 450px;
  41. margin-left: -170px;
  42. cursor: pointer;
  43. background-color: blue;
  44. -khtml-opacity: 0;
  45. -moz-opacity: 0;
  46. filter: alpha(opacity=0);
  47. filter: "alpha(opacity=0)";
  48. opacity: 0;
  49. filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  50. }
  51. .firefoxLink {
  52. width: 163px;
  53. height: 66px;
  54. position: absolute;
  55. left: 50%;
  56. top: 450px;
  57. cursor: pointer;
  58. margin-left: 9px;
  59. background-color: pink;
  60. filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr=#0f000000, endColorstr=#0f000000);
  61. -khtml-opacity: 0;
  62. -moz-opacity: 0;
  63. filter: alpha(opacity=0);
  64. filter: "alpha(opacity=0)";
  65. opacity: 0;
  66. filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  67. }
  68. </style>
  69. </head>
  70. <body>
  71. <div style="position: absolute; top:-100000px; left:-100000px;">
  72. <input type="text">
  73. <input type="password">
  74. </div>
  75. <div id="app"></div>
  76. <!-- <div id='ie_tip' style='display:none'><img style='position:absolute;left:50%;margin-left:-366px;' src='static/images/ltIE9.png'><a
  77. href='https://www.baidu.com/s?ie=UTF-8&wd=%E8%B0%B7%E6%AD%8C%E6%B5%8F%E8%A7%88%E5%99%A8' target='_blank' class='chromLink'></a><a
  78. href='https://www.baidu.com/s?ie=UTF-8&wd=%E7%81%AB%E7%8B%90%E6%B5%8F%E8%A7%88%E5%99%A8' target='_blank' class='firefoxLink'></a></div> -->
  79. <!-- built files will be auto injected -->
  80. </body>
  81. <script>
  82. // (function (window) { // ie9以下浏览器
  83. // var theUA = window.navigator.userAgent.toLowerCase();
  84. // if ((theUA.match(/msie\s\d+/) && theUA.match(/msie\s\d+/)[0]) || (theUA.match(/trident\s?\d+/) && theUA.match(/trident\s?\d+/)[0])) {
  85. // var ieVersion = theUA.match(/msie\s\d+/)[0].match(/\d+/)[0] || theUA.match(/trident\s?\d+/)[0];
  86. // if (ieVersion < 9) {
  87. // // document.writeln("<img style='position:absolute;left:50%;margin-left:-366px;' src='.static/images/ltIE9.png'><a href='https://www.baidu.com/s?ie=UTF-8&wd=%E8%B0%B7%E6%AD%8C%E6%B5%8F%E8%A7%88%E5%99%A8' target='_blank' class='chromLink'></a><a href='https://www.baidu.com/s?ie=UTF-8&wd=%E7%81%AB%E7%8B%90%E6%B5%8F%E8%A7%88%E5%99%A8' target='_blank' class='firefoxLink'></a>");
  88. // // document.execCommand("Stop");
  89. // var app = document.getElementById("app")
  90. // var ie_tip = document.getElementById("ie_tip")
  91. // ie_tip.style.display = 'block';
  92. // app.appendChild(ie_tip)
  93. // };
  94. // }
  95. // })(window);
  96. </script>
  97. </html>