Files
deerflow-code/frontend-web/task-entry.html
T

89 lines
2.8 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light" />
<title>正在进入任务问答</title>
<style>
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
display: grid;
min-height: 100vh;
place-items: center;
padding: 24px;
color: #172033;
background: #f4f6f9;
font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.entry-card {
width: min(420px, 100%);
padding: 32px;
border: 1px solid #e2e7ef;
border-radius: 14px;
background: #fff;
box-shadow: 0 12px 36px rgba(28, 39, 60, 0.08);
}
.entry-mark {
display: grid;
width: 44px;
height: 44px;
margin-bottom: 20px;
place-items: center;
border-radius: 12px;
color: #fff;
background: #b20822;
font-size: 20px;
font-weight: 700;
}
h1 { margin: 0; font-size: 22px; line-height: 1.4; }
#task-entry-status {
min-height: 24px;
margin: 12px 0 0;
color: #667085;
font-size: 14px;
line-height: 1.7;
}
#task-entry-error {
display: none;
margin-top: 18px;
padding: 12px 14px;
border: 1px solid #fecaca;
border-radius: 10px;
color: #991b1b;
background: #fff7f7;
font-size: 14px;
line-height: 1.6;
}
#task-entry-retry {
display: none;
width: 100%;
margin-top: 18px;
padding: 10px 16px;
border: 0;
border-radius: 9px;
color: #fff;
background: #b20822;
font: inherit;
cursor: pointer;
}
#task-entry-retry:focus-visible { outline: 3px solid rgba(178, 8, 34, 0.25); outline-offset: 2px; }
#task-entry-retry:disabled { cursor: wait; opacity: 0.65; }
.entry-note { margin: 18px 0 0; color: #98a2b3; font-size: 12px; line-height: 1.6; }
</style>
<script src="%BASE_URL%runtime-config.js" data-runtime-config></script>
</head>
<body>
<main class="entry-card" aria-labelledby="task-entry-title">
<div class="entry-mark" aria-hidden="true">任</div>
<h1 id="task-entry-title">正在进入任务问答</h1>
<p id="task-entry-status" role="status" aria-live="polite">正在检查入口参数…</p>
<p id="task-entry-error" role="alert"></p>
<button id="task-entry-retry" type="button">重新进入</button>
<p class="entry-note">该入口仅用于外部系统嵌入的任务深链接。</p>
</main>
<script type="module" src="/src/task-entry-main.ts"></script>
</body>
</html>