80 lines
3.0 KiB
HTML
80 lines
3.0 KiB
HTML
<!doctype html>
|
||
<html>
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||
<title>DreamLife|HomePage</title>
|
||
<link rel="stylesheet" href="css/footer.css">
|
||
<link rel="stylesheet" href="css/body.css">
|
||
<link rel="stylesheet" href="css/chat.css">
|
||
<link rel="stylesheet" href="css/font.css">
|
||
<link rel="stylesheet" href="css/time.css">
|
||
<link rel="stylesheet" href="css/tool_card.css">
|
||
<link rel="stylesheet" href="css/max_width.css">
|
||
</head>
|
||
|
||
<body>
|
||
<button id="fullscreen-button" class="fullscreen-btn">
|
||
<span class="icon"><img src="icon/full.png" width="30px"></span>
|
||
</button>
|
||
|
||
<div class="main-layout">
|
||
<!-- 左侧内容 -->
|
||
<div class="left-panel" id="leftPanel">
|
||
<h1 class="logo">DreamLife</h1>
|
||
<div class="intro">
|
||
<h3>这是我的网站首页,主页代码正在完善中</h3>
|
||
<ul>
|
||
<li>此网站将用于个人经历展示,个人技术分析</li>
|
||
<li>目前网站工具箱以基本完善</li>
|
||
<li>工具箱网站dreamlife.top/toolbox</li>
|
||
</ul>
|
||
<a href="http://dreamlife.top/toolbox/" target="_blank">ToolBox</a>
|
||
<a href="http://dreamlife.top:8080/" target="_blank">博客|WordPress</a>
|
||
<a href="http://dreamlife.top:13000/explore/" target="_blank">Gitea</a>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 右侧内容 -->
|
||
<div class="right-panel" id="rightPanel">
|
||
<div class="datetime">
|
||
<div id="timeDisplay" class="time">--:--:--</div>
|
||
<div id="dateDisplay" class="date">加载中...</div>
|
||
</div>
|
||
<div class="future-content">
|
||
<p>此处预留未来内容</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 移动端切换按钮 -->
|
||
<div class="switch_button">
|
||
<button onclick="switchPanel()" class="swbutton">Switch</button>
|
||
</div>
|
||
|
||
<!-- DeepSeek 聊天输入 -->
|
||
<div class="chat-container">
|
||
<div id="chatContainer" class="chat-box hide"></div>
|
||
|
||
<div class="input-row">
|
||
<!-- 改用 onclick,顺带阻止冒泡 -->
|
||
<input type="text" id="userInput" placeholder="输入你的消息..." onclick="openChat(event)" />
|
||
<button id="sendbutton" onclick="sendMessage()">发送</button>
|
||
</div>
|
||
</div>
|
||
|
||
<footer>
|
||
<p>© 2025 DreamLife 版权所有</p>
|
||
</footer>
|
||
|
||
<script src="javascape/time.js"></script>
|
||
<script src="javascape/ai_api.js"></script>
|
||
<script src="javascape/chat.js"></script>
|
||
<script src="javascape/max_width.js"></script>
|
||
<script src="javascape/marked.min.js"></script>
|
||
<script src="javascape/purify.min.js"></script>
|
||
<script src="javascape/full_button.js"></script>
|
||
<script src="javascape/switch_interface.js"></script>
|
||
|
||
</body>
|
||
</html> |