<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>量化系统</title><link rel="icon" href="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Crect width=%2264%22 height=%2264%22 rx=%2214%22 fill=%22%230071e3%22/%3E%3Cpath d=%22M13 45 26 32l9 7 15-19%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%226%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%2250%22 cy=%2220%22 r=%225%22 fill=%22%23fff%22/%3E%3C/svg%3E"><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"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="56" height="56" style="display:block;margin:0 auto 14px"><rect width="64" height="64" rx="14" fill="#0071e3"/><path d="M13 45 26 32l9 7 15-19" fill="none" stroke="#fff" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/><circle cx="50" cy="20" r="5" fill="#fff"/></svg><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>