<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>量化选股</title><body style="margin:0;height:100vh;display:grid;place-items:center;background:#f5f5f7;color:#1d1d1f;font:16px -apple-system,PingFang SC,sans-serif"><form id="f" style="text-align:center;width:260px"><h1 style="font-size:28px;margin:0 0 18px">量化选股</h1><input id="p" type="password" inputmode="numeric" autocomplete="current-password" placeholder="输入密码" autofocus style="width:100%;height:44px;border:1px solid #d2d2d7;border-radius:12px;padding:0 14px;font-size:17px;text-align:center;box-sizing:border-box"><button style="width:100%;height:44px;margin-top:12px;border:0;border-radius:12px;background:#0071e3;color:#fff;font-size:16px;font-weight:600">进入</button><p id="m" style="color:#e0352b;font-size:13px;min-height:20px"></p></form><script>document.getElementById("f").addEventListener("submit",function(e){e.preventDefault();var m=document.getElementById("m");fetch("/__login",{headers:{"X-Quant-Pass":document.getElementById("p").value},credentials:"same-origin"}).then(function(r){if(r.status===204){location.reload();}else if(r.status===429){m.textContent="尝试太频繁，请一分钟后再试";}else{m.textContent="密码不对";}}).catch(function(){m.textContent="网络错误";});});</script></body></html>