<!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 href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">
</head>
<body class="bg-gray-50">
<div class="max-w-2xl mx-auto p-4">
<div class="mb-4">
<a href="../index.html" class="text-blue-500 hover:underline">← 返回首页</a>
</div>
<div class="space-y-6">
<!-- AI消息 -->
<div class="flex items-start gap-3">
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white">
<i class="ri-robot-line text-lg"></i>
</div>
<div class="flex flex-col gap-1">
<div class="text-xs text-gray-500">AI助手</div>
<div class="bg-white border border-gray-200 rounded-lg p-3 shadow-sm max-w-lg">
<p class="text-gray-800">欢迎查看经典风格的聊天气泡!</p>
</div>
</div>
</div>
<!-- 用户消息 -->
<div class="flex items-start gap-3 justify-end">
<div class="flex flex-col gap-1 items-end">
<div class="text-xs text-gray-500">我</div>
<div class="bg-blue-500 rounded-lg p-3 shadow-sm max-w-lg">
<p class="text-white">这个设计看起来很舒服!</p>
</div>
</div>
<div class="w-8 h-8 rounded-full bg-gray-500 flex items-center justify-center text-white text-sm font-medium">
我
</div>
</div>
<!-- AI消息带代码块 -->
<div class="flex items-start gap-3">
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white">
<i class="ri-robot-line text-lg"></i>
</div>
<div class="flex flex-col gap-1">
<div class="text-xs text-gray-500">AI助手</div>
<div class="bg-white border border-gray-200 rounded-lg p-3 shadow-sm max-w-lg">
<p class="text-gray-800 mb-2">这是一段代码示例:</p>
<pre class="bg-gray-50 p-2 rounded text-sm overflow-x-auto">
<code>function hello() {
console.log("Hello World!");
}</code></pre>
</div>
</div>
</div>
<!-- AI消息带加载状态 -->
<div class="flex items-start gap-3">
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white">
<i class="ri-robot-line text-lg"></i>
</div>
<div class="flex flex-col gap-1">
<div class="text-xs text-gray-500">AI助手</div>
<div class="bg-white border border-gray-200 rounded-lg p-3 shadow-sm max-w-lg">
<div class="flex gap-1">
<div class="w-2 h-2 rounded-full bg-gray-300 animate-bounce"></div>
<div class="w-2 h-2 rounded-full bg-gray-300 animate-bounce loading-dot-2"></div>
<div class="w-2 h-2 rounded-full bg-gray-300 animate-bounce loading-dot-3"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>