Files
aiagent/index.html
renjianbo 7ee80c74b2 feat: 集成飞书通知和机器人对话系统
- 新增通知系统 (notifications 表、服务、API)
- 新增飞书定时任务结果推送 (webhook + 应用消息)
- 新增飞书应用消息发送服务 (feishu_app_service)
- 新增飞书 WebSocket 长连接事件监听 (苹果应用)
- 新增飞书账号绑定/解绑 API
- 新增橙子飞书机器人 (独立 WS 连接,固定路由到橙子助手 Agent)
- 执行记录添加 schedule_id,用户添加飞书绑定字段

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 16:17:49 +08:00

100 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">
<title>欢迎页面</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}
.container {
text-align: center;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 50px 60px;
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.2);
}
h1 {
font-size: 48px;
margin-bottom: 15px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
p {
font-size: 18px;
opacity: 0.9;
margin-bottom: 30px;
line-height: 1.6;
}
.btn {
display: inline-block;
padding: 12px 36px;
background: #fff;
color: #764ba2;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
font-size: 16px;
transition: all 0.3s ease;
cursor: pointer;
border: none;
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.time {
margin-top: 20px;
font-size: 14px;
opacity: 0.7;
}
</style>
</head>
<body>
<div class="container">
<h1>🌞 你好,世界!</h1>
<p>这是一个简单美观的 HTML 页面。<br>欢迎来到 D:\aaa\test 目录。</p>
<button class="btn" onclick="showMessage()">点我试试</button>
<div class="time" id="timeDisplay"></div>
</div>
<script>
// 显示欢迎消息
function showMessage() {
alert('🎉 欢迎来到我的页面!');
}
// 显示当前时间
function updateTime() {
const now = new Date();
const timeStr = now.toLocaleString('zh-CN', {
year: 'numeric',
month: '2-digit',
day: '2-digit',
hour: '2-digit',
minute: '2-digit',
second: '2-digit'
});
document.getElementById('timeDisplay').textContent = '当前时间:' + timeStr;
}
// 每秒更新时间
updateTime();
setInterval(updateTime, 1000);
</script>
</body>
</html>