login.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>Amaze UI Admin index Examples</title>
  7. <meta name="description" content="这是一个 index 页面">
  8. <meta name="keywords" content="index">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <meta name="renderer" content="webkit">
  11. <meta http-equiv="Cache-Control" content="no-siteapp" />
  12. <link rel="icon" type="image/png" href="assets/i/favicon.png">
  13. <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
  14. <meta name="apple-mobile-web-app-title" content="Amaze UI" />
  15. <link rel="stylesheet" href="assets/css/amazeui.min.css" />
  16. <link rel="stylesheet" href="assets/css/admin.css">
  17. <link rel="stylesheet" href="assets/css/app.css?version=1.0">
  18. </head>
  19. <style>
  20. .bg-login-box {
  21. background-size: 100%;
  22. height: 100%;
  23. background-image: url("assets/img/self/bg.jpg");
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. }
  28. .login-box {
  29. background-color: #F3FCFD;
  30. width: 450px;
  31. height: 400px;
  32. border-radius: 30px;
  33. margin-bottom: 8%;
  34. }
  35. .color-title-login {
  36. color: #007AFF;
  37. }
  38. .login-title-box {
  39. margin-top: 30px;
  40. text-align: center;
  41. color: #333333;
  42. font-size: 28px;
  43. }
  44. .login-input-class-new {
  45. width: 320px;
  46. border: none;
  47. background: transparent;
  48. border-bottom: 1px solid #d7d7d7;
  49. font-size: 16px;
  50. padding-bottom: 10px;
  51. }
  52. .login-input-verCode {
  53. border: none;
  54. background: transparent;
  55. border-bottom: 1px solid #d7d7d7;
  56. font-size: 15px;
  57. padding-bottom: 5px;
  58. }
  59. .login-btn-class {
  60. background-color: #00C7F7;
  61. width: 320px;
  62. color: #fff;
  63. border-radius: 5px;
  64. height: 40px;
  65. border: none;
  66. }
  67. input:focus {
  68. outline: 0;
  69. border-width: none;
  70. }
  71. input::-webkit-input-placeholder{
  72. color:#d6d6dd;
  73. }
  74. input::-moz-placeholder{ /* Mozilla Firefox 19+ */
  75. color:#d6d6dd;
  76. }
  77. input:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
  78. color:#d6d6dd;
  79. }
  80. input:-ms-input-placeholder{ /* Internet Explorer 10-11 */
  81. color:#d6d6dd;
  82. }
  83. </style>
  84. <body data-type="login">
  85. <div class="bg-login-box">
  86. <div class="login-box">
  87. <div class="login-title-box"><span class="color-title-login">西咸新区</span>绿色建筑能耗监测平台</div>
  88. <form id="loginform" autocomplete="off">
  89. <div class="margin-top-50 am-text-center">
  90. <input type="text" placeholder="Username" class="login-input-class-new" name="account" autocomplete="off">
  91. </div>
  92. <div class="margin-top-10 am-text-center">
  93. <input type="password" placeholder="Password" class="login-input-class-new" name="password" autocomplete="off">
  94. </div>
  95. <div class="am-form-icon margin-top-10 display-flex-start justify-center verCode-box">
  96. <div class="cu_code_input" style="width:37%">
  97. <input type="text" class="login-input-verCode" name="vercode" autocomplete="off" placeholder="验证码">
  98. </div>
  99. <div class="cu_code_img display-flex-start">
  100. <img src="vercode.php" class="vercode-img cursor-hand margin-right-5" height="30" alt="刷新换一张" id="vercodeimg"/>
  101. <div class="cu_code_tip display-flex-start items-center cursor-hand" id="vercode_refresh" >
  102. 刷新<i class="am-icon-refresh cursor-hand" style="margin-left: 5px;margin-top: 0;position: static;"></i>
  103. </div>
  104. </div>
  105. </div>
  106. <div class="margin-top-10 am-text-center">
  107. <button type="button" class="login-btn-class margin-top-20 font-size-15" id="btn_login">登录</button>
  108. </div>
  109. </form>
  110. <div class="am-text-center font-size-15 margin-top-50"><a href="https://beian.miit.gov.cn" class="color-blue" target='_blank'>陕ICP备2022003083号-1</a></div>
  111. </div>
  112. </div>
  113. <script src="assets/js/jquery-2.1.1.js"></script>
  114. <script src="assets/js/amazeui.min.js"></script>
  115. <script src="assets/js/app.js"></script>
  116. <script>
  117. $('#loginBtn').click(function(){
  118. window.location.href = './index.html'
  119. })
  120. </script>
  121. </body>
  122. </html>