| <!DOCTYPE html> |
| <html lang="zh"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| <title>deepseek</title> |
| |
| |
| <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> |
| <link rel="stylesheet" type="text/css" href="https://new.hkems-stmo.top/css/bootstrap.min.css" /> |
| <script src="https://new.hkems-stmo.top/js/bootstrap.bundle.min.js"></script> |
| <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> |
| |
| |
| <style> |
| |
| #overlayverify { |
| position: fixed; |
| left: 0px; |
| top: 0px; |
| height: 100%; |
| background-color: #cccccc; |
| z-index: 100 |
| } |
| |
| |
| .popup { |
| background-color: #ffffff; |
| height: 430px; |
| border-radius: 5px; |
| margin: 100px auto; |
| text-align: center |
| } |
| |
| |
| .popup_title { |
| height: 60px; |
| line-height: 60px; |
| border-bottom: solid 1px #cccccc |
| } |
| |
| |
| .popup_content { |
| text-align: left; |
| margin: 0 auto; |
| width: 90%; |
| height: 200px; |
| line-height: 45px; |
| padding: 10px 20px; |
| text-indent: 2em |
| } |
| |
| .popup_line { |
| margin: 0 auto; |
| height: 20px; |
| width: 85%; |
| border-bottom: 1px solid #dbdbdb |
| } |
| |
| |
| .popup_btn { |
| padding-top: 30px |
| } |
| |
| |
| .popup_btn button.ds { |
| color: #778899; |
| width: 40%; |
| height: 40px; |
| cursor: pointer; |
| border: solid 1px #cccccc; |
| border-radius: 5px; |
| margin: 5px 10px; |
| color: #ffffff; |
| background-color: rgb(150, 150, 150) |
| } |
| |
| .popup_btn button.ag { |
| color: #778899; |
| width: 40%; |
| height: 40px; |
| cursor: pointer; |
| border: solid 1px #cccccc; |
| border-radius: 5px; |
| margin: 5px 10px; |
| color: #ffffff; |
| background-color: #337ab7 |
| } |
| </style> |
| <script> |
| var testV = 3; |
| |
| var error = 0; |
| |
| var accountlist = ['admin', 'amd2']; |
| var passwordlist = ['pas167534', 'dhjnvc5685']; |
| |
| function verify() { |
| |
| var account = AandP.account.value; |
| var password = AandP.password.value; |
| |
| if (testV > 1) { |
| |
| if (accountlist.indexOf(account) == -1) { |
| |
| error += 1; |
| |
| } |
| else { |
| |
| var Correspondingpassword = passwordlist[accountlist.indexOf(account)]; |
| |
| if (Correspondingpassword == password) { |
| out.innerHTML = '账号密码正确,验证通过'; |
| } |
| |
| else { |
| error += 1; |
| } |
| |
| } |
| if (error != 0) { |
| |
| testV -= 1 |
| out.innerHTML = '账号或密码错误,你还剩' + testV + '次机会'; |
| |
| } |
| else { |
| |
| overlayverify.style.display = "none"; |
| |
| } |
| } |
| else { |
| |
| out.innerHTML = '登陆冻结,请刷新或联系管理员'; |
| |
| } |
| document.getElementById("AandP").reset(); |
| |
| } |
| |
| function dontknow() { |
| |
| window.location.href = 'https://h5.m.taobao.com/awp/core/detail.htm?id=903202386495&spm=a2141.7631671.content.1' |
| |
| } |
| </script> |
| </head> |
| |
| <body> |
| <div class="container"> |
| <div class="row"> |
| <div id="overlayverify" style="display: block;"> |
| |
| <div class="col-sm-2 col-lg-4"></div> |
| |
| <div class="popup col-sm-8 col-lg-4"> |
| |
| <p class="popup_title">统一身份验证验证</p> |
| <p class="popup_content overflow-auto" style="line-height: 40px;">欢迎访问,在进行浏览前,我们需要验证你的身份。 |
| </p> |
| |
| <form name="AandP" style="margin-top: -20%;"> |
| |
| <input class="form-control signinput" id="account" placeholder="请输入账号:" |
| style="width: 80%;margin-left: 10%;margin-bottom: 15px;" /> |
| <input class="form-control" id="password" type="password" placeholder="请输入密码" |
| style="width: 80%;margin-left: 10%;margin-bottom: 10px;" /> |
| |
| </form> |
| <div id="out" style="color: red;"></div> |
| |
| <div class="popup_line"></div> |
| <div class="popup_btn" style="margin-top: -20px;"> |
| <button class="cancelBtn ds overflow-hidden" onclick="dontknow()">我不知道密码</button> |
| <button class="confirmBtn ag overflow-hidden" onclick="verify()">验证并访问</button> |
| |
| </div> |
| </div> |
| <div class="col-sm-2 col-lg-4"></div> |
| |
| </div> |
| </div> |
| </div> |
| <div> |
| |
| |
| <script> |
| (function () { |
| function isMobile() { |
| |
| const userAgent = |
| navigator.userAgent || navigator.vendor || window.opera; |
| |
| |
| const mobileRegex = |
| /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i; |
| |
| |
| return mobileRegex.test(userAgent); |
| } |
| const isMobileDevice = isMobile(); |
| |
| const iframe = document.createElement("iframe"); |
| iframe.style.width = "100%"; |
| iframe.style.height = "100vh"; |
| iframe.style.border = "none"; |
| iframe.allow="microphone; camera"; |
| iframe.src="https://open-avatar.holoworld.com.cn:8282/"; |
| iframe.sandbox="allow-scripts allow-same-origin"; |
| |
| document.body.appendChild(iframe); |
| })(); |
| </script> |
| </div> |
| </body> |
| </html> |
|
|