Commit a2138d2ce1c1ae9e0df5ef728fa56b89904dbd65

Authored by Andy
1 parent ee75cbd3

登录 login

css/login.css
... ... @@ -20,6 +20,9 @@ html,body{
20 20 color: #fff;
21 21 font-size: 32px;
22 22 }
  23 +.float-left{
  24 + float: left;
  25 +}
23 26 .login-content{
24 27 height: 412px;
25 28 width: 580px;
... ... @@ -46,6 +49,118 @@ html,body{
46 49 margin-left: -50px;
47 50 background-image: url("../image/logo-loginGreen.png");
48 51 background-repeat: no-repeat;
49   - background-position: 22px 12px;
  52 + background-position: 21px 24.5px;
50 53 background-size: 58px 51px;
  54 +}
  55 +.user-cont{
  56 + margin: 0 auto;
  57 + padding-top: 95px;
  58 + width: 332px;
  59 + height: 136px;
  60 + /*border: 1px solid #ddd;*/
  61 +}
  62 +.psw-cont{
  63 + margin: 0 auto;
  64 + width: 332px;
  65 + height: 40px;
  66 + margin-top: 24px;
  67 + margin-bottom: 24px;
  68 +}
  69 +.cont-user,.cont-psw{
  70 + height: 42px;
  71 + line-height: 40px;
  72 + width: 332px;
  73 + border: 1px solid #ddd;
  74 + border-radius: 4px;
  75 +}
  76 +.user-bg{
  77 + height: 40px;
  78 + width: 40px;
  79 + background-color: #ddd;
  80 + background-image: url("../image/login_usericon.png");
  81 + background-size: 19px 17px;
  82 + background-repeat: no-repeat;
  83 + background-position: 10px 11.5px;
  84 + float: left;
  85 +}
  86 +.psw-bg{
  87 + height: 40px;
  88 + width: 40px;
  89 + background-color: #ddd;
  90 + background-image: url("../image/login_pwsicon.png");
  91 + background-size: 16px 20px;
  92 + background-repeat: no-repeat;
  93 + background-position: 12px 10px;
  94 + float: left;
  95 +}
  96 +.login-control{
  97 + height: 40px;
  98 + line-height: 40px;
  99 + width: 290px;
  100 + outline: none;
  101 + border: none !important;
  102 + border-top-right-radius:4px;
  103 + border-bottom-right-radius:4px;
  104 + padding-left: 12px;
  105 +}
  106 +.ver-cont{
  107 + width: 222px;
  108 + height: 42px;
  109 + margin-left: 124px;
  110 + border: 1px solid #ddd;
  111 + border-radius: 4px;
  112 + margin-bottom: 10px;
  113 +}
  114 +.ver-bg{
  115 + height: 40px;
  116 + width: 40px;
  117 + background-color: #ddd;
  118 + background-image: url("../image/login_vericon.png");
  119 + background-size: 16px 16px;
  120 + background-repeat: no-repeat;
  121 + background-position: 12px 12px;
  122 + float: left;
  123 +}
  124 +.ver-control{
  125 + height: 40px;
  126 + line-height: 40px;
  127 + width: 180px;
  128 + outline: none;
  129 + border: none !important;
  130 + border-top-right-radius:4px;
  131 + border-bottom-right-radius:4px;
  132 + padding-left: 12px;
  133 +}
  134 +.imgWrap{
  135 + height: 42px;
  136 + width: 98px;
  137 + background: #ddd;
  138 + border-radius: 4px;
  139 + margin-left: 10px;
  140 +}
  141 +.imgWrap img {
  142 + width: 100%;
  143 + height: 100%;
  144 +}
  145 +.error_info{
  146 + height: 30px;
  147 + line-height: 30px;
  148 + font-size: 14px;
  149 + color: #f00;
  150 + text-align: center;
  151 + margin-bottom: 8px;
  152 +}
  153 +.login-foot{
  154 + width: 100%;
  155 + height: 40px;
  156 +}
  157 +.login-foot .btn{
  158 + height: 40px;
  159 + width: 148px;
  160 + background: #26be96;
  161 + border-radius: 20px;
  162 + color: #fff;
  163 + font-size:18px;
  164 + margin: 0 auto;
  165 + display: block;
51 166 }
52 167 \ No newline at end of file
... ...
image/login_pwsicon.png 0 → 100644

431 Bytes

image/login_usericon.png 0 → 100644

371 Bytes

image/login_vericon.png 0 → 100644

382 Bytes

login.html
... ... @@ -6,6 +6,10 @@
6 6 <meta name="renderer" content="ie-comp">
7 7 <meta name="renderer" content="ie-stand">
8 8 <meta name="google" content="notranslate" />
  9 + <meta http-equiv="pragma" content="no-cache">
  10 + <meta http-equiv="cache-control" content="no-cache">
  11 + <meta http-equiv="expires" content="0">
  12 + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
9 13 <title>登录</title>
10 14 <link rel="stylesheet" href="css/libCss/common.css">
11 15 <link rel="stylesheet" href="css/libCss/bootstrap.min.css">
... ... @@ -15,16 +19,47 @@
15 19 <body>
16 20 <div class="login-model">
17 21 <!-- top-tit -->
18   - <div class="top-tit">欢迎登企业云接口平台</div>
  22 + <div class="top-tit">欢迎登企业云接口平台</div>
19 23 <!-- content sta-->
20   - <div class="login-content boxshadow posrel">
  24 + <div class="login-content boxshadow posrel clearfix">
21 25 <div class="login-contop posabl"></div>
  26 + <!-- user -->
  27 + <div class="user-cont">
  28 + <div class="cont-user clearfix">
  29 + <span class="user-bg"></span>
  30 + <input class="login-control" type="text" autocomplete="off" placeholder="请输入用户名" name="username" id="userName" maxlength="25">
  31 + </div>
  32 + </div>
  33 + <!-- psw -->
  34 + <div class="psw-cont">
  35 + <div class="cont-psw clearfix">
  36 + <span class="psw-bg"></span>
  37 + <input class="login-control" type="text" autocomplete="off" placeholder="请输入6-20位字母和数字组成的密码" name="password" id="passWord" maxlength="25">
  38 + </div>
  39 + </div>
  40 + <!-- yanzhengma -->
  41 + <div class="clearfix">
  42 + <div class="ver-cont posrel float-left">
  43 + <i class="verification-logo"></i>
  44 + <span class="ver-bg float-left"></span>
  45 + <input class="ver-control verification-input float-left" type="text" autocomplete="off" placeholder="请输入验证码" name="" maxlength="4" id="login_imgCode_value">
  46 + </div>
  47 + <span class="imgWrap float-left">
  48 + <!--<img src="" id="login_imgCode">-->
  49 + </span>
  50 + </div>
  51 + <!--error -->
  52 + <div class="error_info">密码错误</div>
  53 + <!--btn login-->
  54 + <div class="login-foot">
  55 + <button type="button" class="btn uppercase" id="login-btn">登录</button>
  56 + </div>
22 57 </div>
23 58 </div>
24 59 <script type="text/javascript" src="js/libJs/jquery.min.js"></script>
25 60 <script type="text/javascript" src="js/libJs/bootstrap.min.js"></script>
26 61 <script type="text/javascript">
27   - document.write("<s" + "cript type='text/javascript' src='../assets/pages/scripts/login.js?ver" + Math.random() + "'></s" + "cript>");
  62 + document.write("<s" + "cript type='text/javascript' src='js/login.js?ver" + Math.random() + "'></s" + "cript>");
28 63 </script>
29 64 </body>
30 65 </html>
31 66 \ No newline at end of file
... ...