12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>登录</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="renderer" content="webkit">
- <meta http-equiv="Cache-Control" content="no-siteapp" />
- <meta name="keywords" content="登录">
- <meta name="description" content="登录">
- <link rel="shortcut icon" href="../../favicon.ico">
- <link rel="stylesheet" type="text/css" href="../../css/font-awesome.min.css"/>
- <link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css"/>
- <link rel="stylesheet" type="text/css" href="../../plugins/artDialog/6.0.5/api/css/ui-dialog.css"/>
- <link rel="stylesheet" type="text/css" href="../../css/style.min.css"/>
- <link href="../../plugins/toastr/toastr.min.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="../../css/cross.css"/>
- <link rel="stylesheet" type="text/css" href="login.css"/>
- </head>
- <body>
- <div id="main">
- <div class="row">
- <div class="col-sm-8 left-img">
- <img src="../../images/icon_chahua.png" />
- </div>
- <div id="loginForm" class="col-sm-4">
- <div class="tabs-container">
- <ul class="nav nav-tabs">
- <li :class="{'active': type==1}" @click="changeType(1)"><a>手机号登录</a>
- </li>
- <li :class="{'active': type==2}" @click="changeType(2)"><a>验证码登录</a>
- </li>
- </ul>
- <div class="tab-content">
- <div class="tab-pane" :class="{'active': type==1}">
- <div class="panel-body">
- <form id="form1" class="m-t" role="form" onsubmit="return false;">
- <div class="form-group">
- <input class="form-control" type="text" maxlength="11" v-model="mobile" placeholder="请输入手机号码">
- </div>
- <div class="form-group">
- <input class="form-control" :type="eyeIsOpen?'text':'password'" v-model="password" placeholder="初始密码为手机号码后六位">
- <i class="fa" :class="eyeIsOpen? 'fa-eye': 'fa-eye-slash'"></i>
- </div>
- <button type="submit" class="btn btn-success block full-width m-b" @click="login">登 录</button>
- </form>
- </div>
- </div>
- <div class="tab-pane" :class="{'active': type==2}">
- <div class="panel-body">
- <form id="form2" class="m-t" role="form" onsubmit="return false;">
- <div class="form-group">
- <input class="form-control" type="text" maxlength="11" v-model="mobile" placeholder="请输入手机号码">
- </div>
- <div class="form-group">
- <input class="form-control" type="text" v-model="captcha" placeholder="请输入短信验证码">
- <a class="getCaptcha" :class="{'disabled': countdown}" @click="getCaptcha">{{infoText}}</a>
- </div>
- <button type="submit" class="btn btn-success block full-width m-b" @click="login">登 录</button>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script src="../../js/vue.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../js/jquery-2.2.4.js"></script>
- <script src="../../js/bootstrap.min.js"></script>
- <script src="../../js/validate/jquery.validate.min.js"></script>
- <script src="../../js/validate/messages_zh.min.js"></script>
- <script src="../../js/security.js"></script>
- <script src="../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../plugins/toastr/toastr.min.js"></script>
- <script src="../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../js/util.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../plugins/artDialog/6.0.5/api/js/dialog-plus.js" type="text/javascript" charset="utf-8"></script>
- <script src="login.js"></script>
- </body>
- </html>
|