ai_scheduler/web/index.html

54 lines
2.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI 销售助手 · 服务工作台</title>
<link rel="stylesheet" href="assets/css/theme.css">
</head>
<body>
<div class="home-wrap">
<div class="home-hero">
<div class="hh-logo">AI</div>
<h1>AI 销售助手 <span>服务工作台</span></h1>
<p>从聊天记录中提取销售 / 项目 / 聊天技巧 / 客户四大维度,构建数字销售分身,模拟真人对话并辅助微信沟通。</p>
</div>
<div class="entry-grid">
<a class="entry-card" href="/admin.html">
<div class="ec-ico">◈</div>
<h3>管理后台</h3>
<p>配置 AI 模型接入(密钥 / 接口地址 / 场景模型),维护行业模板,AI 一键生成各维度模板内容。</p>
<div class="ec-go">进入管理后台 →</div>
</a>
<a class="entry-card" href="/project.html">
<div class="ec-ico">➤</div>
<h3>项目后台</h3>
<p>创建项目并复制行业模板;上传销售聊天记录进行 AI 分析;管理销售/版本/技巧/客户;AI 演练 + 微信工作台模拟真人沟通。</p>
<div class="ec-go">进入项目后台 →</div>
</a>
</div>
<div class="home-foot">
<span id="healthBadge" class="badge gray"><span class="dot"></span>服务检测中…</span>
<span>AI SCHEDULER</span>
</div>
</div>
<script src="assets/js/core.js"></script>
<script>
(function () {
fetch("/api/v1/health").then(function (r) { return r.text(); }).then(function (t) {
var b = document.getElementById("healthBadge");
if (t && t.trim() === "1") { b.className = "badge green"; b.innerHTML = '<span class="dot live"></span>服务运行中'; }
else { b.className = "badge yellow"; b.innerHTML = '<span class="dot"></span>服务响应异常'; }
}).catch(function () {
var b = document.getElementById("healthBadge");
b.className = "badge red"; b.innerHTML = '<span class="dot"></span>服务未启动';
});
})();
</script>
</body>
</html>