nianjie/dialog/templates/index.html
2026-01-11 18:52:11 +08:00

45 lines
1.4 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>简约多轮对话 · Kimi</title>
<link rel="icon" href="/static/favicon.ico" />
<link rel="stylesheet" href="/static/styles.css?v=16" />
</head>
<body>
<div class="app-shell">
<aside class="sidebar">
<div class="sidebar-header">
<div class="logo">Kimi Chat</div>
<button id="toggleSidebar" class="ghost"></button>
</div>
<div class="sidebar-actions">
<button id="newChat" class="primary">+ 新建对话</button>
</div>
<div class="history-header">历史对话</div>
<ul id="conversationList" class="conversation-list"></ul>
</aside>
<main class="chat-pane">
<header class="topbar">
<div class="title">多轮对话示例</div>
<div class="status" id="statusIndicator">空闲</div>
</header>
<section id="chatLog" class="chat-log"></section>
<footer class="composer">
<textarea id="userInput" rows="2" placeholder="输入消息Shift+Enter 换行" autofocus></textarea>
<div class="composer-actions">
<span class="hint">回车发送</span>
<button id="sendBtn" class="primary">发送</button>
</div>
</footer>
</main>
</div>
<script src="/static/script.js?v=16"></script>
</body>
</html>