CINXE.COM

<!doctype html> <html> <head> <meta charset=utf-8> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="renderer" content="webkit"> <title></title> <script type="text/javascript" src="/ajax/common.ashx"></script> <script type="text/javascript" src="/ajax/Industry.Vivian,Industry.ashx"></script> <link rel="stylesheet" href="https://public.mtnets.com/css/base.css"> <style> html, body { height: 100%; position: relative; } .reminder { width: 579px; height: 377px; background: url('https://public.mtnets.com/Images/public/wxbg.png') no-repeat; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .reminder p{ font-size:16px; color:#335183; position:absolute; left:108px; top:132px; } .reminder span{ font-size:14px; color:#999999; position:absolute; left:108px; top:195px; } .reminder .code{ position:absolute; left:108px; top:165px; color:#999999; } .reminder .code img{ margin-right:10px; cursor:pointer; } .reminder .code input{ margin-left:10px; width:50px; text-align:center; height:20px; border:1px solid #dcdcdc; } .reminder button{ width:92px; height:32px; background:#335183; color:#fff; border-radius:3px; font-size:14px; color:#ffffff; border:none; position:absolute; left:173px; top:250px; cursor:pointer; } </style> </head> <body> <div class="reminder"> <p>请输入验证码提交后继续访问:</p> <div class="code"> <img id="defaultImgCode" src="/ValidCode.aspx" onclick="this.src='/ValidCode.aspx?'+Math.random()" title="点击刷新验证码">=<input id="valDImgCode" type="text"> </div> <span>请输入计算结果(填写阿拉伯数字),<br>如:三加四=7</span> <button onclick="DefaultCheckImgCode();">提交</button> </div> <script> document.getElementById("defaultImgCode").click(); function DefaultCheckImgCode() { var CheckDefaultImgCode = Vivian.CheckDefaultForImgCode(document.getElementById("valDImgCode").value).value; if (CheckDefaultImgCode == "1") location.reload(); else { document.getElementById("defaultImgCode").click(); alert("验证码错误!"); return false; } } </script> </body> </html>