| | |
| | | <input class="itemInput" type="password" name="password" id="password" placeholder="请输入密码" required="" value=""> |
| | | </div> |
| | | |
| | | <!-- <div class="form-group" style="float: left;">--> |
| | | <!-- <div class="col-sm-8" style="padding-left: 0px; padding-right: 0px;">--> |
| | | <!-- <input class="form-control" type="text" name="kaptcha" placeholder="验证码" required="">--> |
| | | <!-- </div>--> |
| | | <!-- <div class="col-sm-4" style="padding-left: 0px; padding-right: 0px;">--> |
| | | <!-- <img src="${ctxPath}/kaptcha" id="kaptcha" width="100%" height="100%"/>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <div class="form-group" style="float: left;"> |
| | | <div class="col-sm-8" style="padding-left: 0px; padding-right: 0px;"> |
| | | <input class="form-control" type="text" name="kaptcha" placeholder="验证码" required=""> |
| | | </div> |
| | | <div class="col-sm-4" style="padding-left: 0px; padding-right: 0px;"> |
| | | <img src="${ctxPath}/kaptcha" id="kaptcha" width="100%" height="100%"/> |
| | | </div> |
| | | </div> |
| | | <button onclick="login()" class="btn full-width m-b" style="background-color: #0573EA;color: white;">登 录</button> |
| | | <button type="submit" id="submit" style="display: none;"></button> |
| | | </p> |
| | |
| | | var decryptedStr = decrypt.toString(CryptoJS.enc.Utf8); |
| | | return decryptedStr.toString(); |
| | | } |
| | | |
| | | function login(){ |
| | | let password = $('#password').val(); |
| | | password = encrypt(password); |