login.html 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>登录</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="renderer" content="webkit">
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <meta name="keywords" content="登录">
  10. <meta name="description" content="登录">
  11. <link rel="shortcut icon" href="../../favicon.ico">
  12. <link rel="stylesheet" type="text/css" href="../../css/font-awesome.min.css"/>
  13. <link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css"/>
  14. <link rel="stylesheet" type="text/css" href="../../plugins/artDialog/6.0.5/api/css/ui-dialog.css"/>
  15. <link rel="stylesheet" type="text/css" href="../../css/style.min.css"/>
  16. <link href="../../plugins/toastr/toastr.min.css" rel="stylesheet">
  17. <link rel="stylesheet" type="text/css" href="../../css/cross.css"/>
  18. <link rel="stylesheet" type="text/css" href="login.css"/>
  19. </head>
  20. <body>
  21. <div id="main">
  22. <div class="row">
  23. <div class="col-sm-8 left-img">
  24. <img src="../../images/icon_chahua.png" />
  25. </div>
  26. <div id="loginForm" class="col-sm-4">
  27. <div class="tabs-container">
  28. <ul class="nav nav-tabs">
  29. <li :class="{'active': type==1}" @click="changeType(1)"><a>手机号登录</a>
  30. </li>
  31. <li :class="{'active': type==2}" @click="changeType(2)"><a>验证码登录</a>
  32. </li>
  33. </ul>
  34. <div class="tab-content">
  35. <div class="tab-pane" :class="{'active': type==1}">
  36. <div class="panel-body">
  37. <form id="form1" class="m-t" role="form" onsubmit="return false;">
  38. <div class="form-group">
  39. <input class="form-control" type="text" maxlength="11" v-model="mobile" placeholder="请输入手机号码">
  40. </div>
  41. <div class="form-group">
  42. <input class="form-control" :type="eyeIsOpen?'text':'password'" v-model="password" placeholder="初始密码为手机号码后六位">
  43. <i class="fa" :class="eyeIsOpen? 'fa-eye': 'fa-eye-slash'"></i>
  44. </div>
  45. <button type="submit" class="btn btn-success block full-width m-b" @click="login">登 录</button>
  46. </form>
  47. </div>
  48. </div>
  49. <div class="tab-pane" :class="{'active': type==2}">
  50. <div class="panel-body">
  51. <form id="form2" class="m-t" role="form" onsubmit="return false;">
  52. <div class="form-group">
  53. <input class="form-control" type="text" maxlength="11" v-model="mobile" placeholder="请输入手机号码">
  54. </div>
  55. <div class="form-group">
  56. <input class="form-control" type="text" v-model="captcha" placeholder="请输入短信验证码">
  57. <a class="getCaptcha" :class="{'disabled': countdown}" @click="getCaptcha">{{infoText}}</a>
  58. </div>
  59. <button type="submit" class="btn btn-success block full-width m-b" @click="login">登 录</button>
  60. </form>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <script src="../../js/vue.js" type="text/javascript" charset="utf-8"></script>
  69. <script src="../../js/jquery-2.2.4.js"></script>
  70. <script src="../../js/bootstrap.min.js"></script>
  71. <script src="../../js/validate/jquery.validate.min.js"></script>
  72. <script src="../../js/validate/messages_zh.min.js"></script>
  73. <script src="../../js/security.js"></script>
  74. <script src="../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  75. <script src="../../plugins/toastr/toastr.min.js"></script>
  76. <script src="../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
  77. <script src="../../js/util.js" type="text/javascript" charset="utf-8"></script>
  78. <script src="../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
  79. <script src="../../plugins/artDialog/6.0.5/api/js/dialog-plus.js" type="text/javascript" charset="utf-8"></script>
  80. <script src="login.js"></script>
  81. </body>
  82. </html>