a594f54cd2
- 全站品牌替换:DAEL / Design AI & Ecology Lab → TeaLab / SI · 空间智能与自主设计 * 11 个 HTML 页面 title、navbar、页脚、版权统一更新 * Logo 字母 D → T,配色与版式不变 * js/common.js 注释 + localStorage 计数键更新 * backend/app.py /api/health 文案更新 - website.html 内容重写 * Hero 改为"空间智能 & 自主设计",加序言两行 + 英文 mission * 使命段改为研究主线(感知→理解→推理闭环) * 研究方向三卡:自主设计 / 深邃之形 / 人本智能(含工具栈) - research.html 拆分 * 原 research.html(研究管理后台)重命名为 research-manage.html * 新建公开 research.html:研究定位 + 完整段落 + 概念对比表 + 研究维度表 - 基础设施调整 * 后端端口 5000 → 5001(避开本机 zotero-proxy 占用) * start_backend.sh 加可执行位 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
175 lines
9.8 KiB
HTML
175 lines
9.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN" class="scroll-smooth">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>搜索结果 | TeaLab · 空间智能与自主设计</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/common.css">
|
|
</head>
|
|
<body class="antialiased">
|
|
|
|
<!-- Navigation -->
|
|
<nav class="fixed w-full z-50 bg-white/90 backdrop-blur-sm border-b border-gray-100 transition-all duration-300" id="navbar">
|
|
<div class="max-w-7xl mx-auto px-6 lg:px-12 h-20 flex items-center justify-between">
|
|
<a href="website.html" class="text-xl tracking-tight font-bold flex items-center gap-2">
|
|
<div class="w-8 h-8 bg-black text-white flex items-center justify-center font-serif italic">T</div>
|
|
<span>TeaLab<span class="text-gray-400 font-light mx-2">/</span><span class="text-sm font-normal text-gray-600 hidden sm:inline">SI · 空间智能与自主设计</span></span>
|
|
</a>
|
|
|
|
<button id="mobile-menu-btn" class="md:hidden p-2 text-gray-600">
|
|
<i data-lucide="menu"></i>
|
|
</button>
|
|
|
|
<div class="hidden md:flex items-center space-x-6 text-sm font-medium tracking-wide text-gray-800">
|
|
<a href="website.html#about" class="nav-link hover:text-black">关于实验室</a>
|
|
<a href="website.html#research" class="nav-link hover:text-black">研究方向</a>
|
|
<a href="publications.html" class="nav-link hover:text-black">成果展示</a>
|
|
<a href="website.html#team" class="nav-link hover:text-black">研究团队</a>
|
|
<a href="news.html" class="nav-link hover:text-black">新闻资讯</a>
|
|
<a href="website.html#contact" class="nav-link hover:text-black">加入我们</a>
|
|
|
|
<form id="search-form" class="relative search-box">
|
|
<input type="text" id="search-input" placeholder="搜索..."
|
|
class="px-4 py-2 text-sm border border-gray-300 rounded-full focus:outline-none focus:border-black w-40">
|
|
<button type="submit" class="absolute right-2 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-black">
|
|
<i data-lucide="search" class="w-4 h-4"></i>
|
|
</button>
|
|
<div id="search-results" class="search-results"></div>
|
|
</form>
|
|
|
|
<a href="login.html" id="login-btn" class="text-xs border border-gray-300 px-4 py-2 rounded hover:bg-black hover:text-white transition-colors">登录</a>
|
|
<a href="#" id="logout-btn" class="hidden text-xs border border-gray-300 px-4 py-2 rounded hover:bg-black hover:text-white transition-colors">退出</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="mobile-menu" class="hidden md:hidden bg-white border-b border-gray-100 absolute w-full px-6 py-4 space-y-4 shadow-lg">
|
|
<a href="website.html#about" class="block text-gray-800 hover:text-black">关于实验室</a>
|
|
<a href="website.html#research" class="block text-gray-800 hover:text-black">研究方向</a>
|
|
<a href="publications.html" class="block text-gray-800 hover:text-black">成果展示</a>
|
|
<a href="website.html#team" class="block text-gray-800 hover:text-black">研究团队</a>
|
|
<a href="news.html" class="block text-gray-800 hover:text-black">新闻资讯</a>
|
|
<a href="website.html#contact" class="block text-gray-800 hover:text-black">加入我们</a>
|
|
<a href="login.html" class="block text-gray-800 hover:text-black">登录</a>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Search Results -->
|
|
<section class="pt-32 pb-24 bg-white">
|
|
<div class="max-w-7xl mx-auto px-6 lg:px-12">
|
|
<div class="mb-8">
|
|
<h1 class="text-3xl font-bold mb-4">搜索结果</h1>
|
|
<p class="text-gray-600" id="search-query-display">搜索关键词:</p>
|
|
</div>
|
|
|
|
<div id="search-results-container" class="space-y-6">
|
|
<!-- Results will be populated by JavaScript -->
|
|
</div>
|
|
|
|
<div id="no-results" class="hidden text-center py-12">
|
|
<i data-lucide="search-x" class="w-16 h-16 mx-auto text-gray-300 mb-4"></i>
|
|
<p class="text-gray-500">未找到相关结果</p>
|
|
<p class="text-sm text-gray-400 mt-2">请尝试使用其他关键词搜索</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<footer class="bg-black text-white py-16 border-t border-gray-800">
|
|
<div class="max-w-7xl mx-auto px-6 lg:px-12">
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 mb-16">
|
|
<div>
|
|
<h5 class="text-sm font-bold uppercase tracking-widest text-gray-500 mb-6">Contact</h5>
|
|
<p class="text-sm text-gray-400 leading-loose">
|
|
TeaLab · 空间智能与自主设计<br>
|
|
1234 Design Avenue, Innovation District<br>
|
|
Shanghai, China<br>
|
|
<a href="mailto:hello@dael.edu.cn" class="text-white hover:underline">hello@dael.edu.cn</a>
|
|
</p>
|
|
</div>
|
|
<div>
|
|
<h5 class="text-sm font-bold uppercase tracking-widest text-gray-500 mb-6">Social</h5>
|
|
<div class="flex flex-col space-y-2 text-sm text-gray-400">
|
|
<a href="#" class="hover:text-white transition-colors">WeChat / 微信公众号</a>
|
|
<a href="#" class="hover:text-white transition-colors">Instagram</a>
|
|
<a href="#" class="hover:text-white transition-colors">Twitter / X</a>
|
|
<a href="#" class="hover:text-white transition-colors">GitHub</a>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<h5 class="text-sm font-bold uppercase tracking-widest text-gray-500 mb-6">Resources</h5>
|
|
<div class="flex flex-col space-y-2 text-sm text-gray-400">
|
|
<a href="resources.html" class="hover:text-white transition-colors">资源下载</a>
|
|
<a href="academic.html" class="hover:text-white transition-colors">学术资料</a>
|
|
<a href="team.html" class="hover:text-white transition-colors">完整团队</a>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<h5 class="text-sm font-bold uppercase tracking-widest text-gray-500 mb-6">Join Us</h5>
|
|
<p class="text-sm text-gray-400 mb-4">
|
|
我们长期招收博士后、博士生及研究助理。欢迎具有跨学科背景的申请者。
|
|
</p>
|
|
<a href="#" class="text-white text-sm border-b border-white hover:text-gray-300 hover:border-gray-300 pb-0.5">申请职位</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flex flex-col md:flex-row justify-between items-center pt-8 border-t border-gray-800 text-xs text-gray-600">
|
|
<div>
|
|
<p>© 2024 TeaLab · 空间智能与自主设计. All Rights Reserved.</p>
|
|
<p class="mt-2">页面访问数: <span id="visit-counter" class="font-bold">0</span></p>
|
|
</div>
|
|
<div class="flex gap-4 mt-4 md:mt-0">
|
|
<a href="#" class="hover:text-gray-400">Privacy Policy</a>
|
|
<a href="#" class="hover:text-gray-400">Terms of Use</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://unpkg.com/lucide@latest"></script>
|
|
<script src="js/api.js"></script>
|
|
<script src="js/common.js"></script>
|
|
<script src="js/search.js"></script>
|
|
<script src="js/auth.js"></script>
|
|
<script>
|
|
// Display search results on page load
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
const query = getSearchQuery();
|
|
const searchInput = document.getElementById('search-input');
|
|
const queryDisplay = document.getElementById('search-query-display');
|
|
const resultsContainer = document.getElementById('search-results-container');
|
|
const noResults = document.getElementById('no-results');
|
|
|
|
if (query) {
|
|
if (searchInput) searchInput.value = query;
|
|
if (queryDisplay) queryDisplay.textContent = `搜索关键词:${query}`;
|
|
|
|
const results = performSearch(query);
|
|
|
|
if (results.length === 0) {
|
|
resultsContainer.innerHTML = '';
|
|
noResults.classList.remove('hidden');
|
|
} else {
|
|
noResults.classList.add('hidden');
|
|
resultsContainer.innerHTML = results.map(result => `
|
|
<div class="border-b border-gray-200 pb-6">
|
|
<a href="${result.url}" class="block">
|
|
<h3 class="text-xl font-bold mb-2 hover:text-gray-600">${result.title}</h3>
|
|
<p class="text-gray-500 text-sm">${result.snippet}</p>
|
|
<p class="text-xs text-gray-400 mt-2">${result.url}</p>
|
|
</a>
|
|
</div>
|
|
`).join('');
|
|
}
|
|
} else {
|
|
queryDisplay.textContent = '请输入搜索关键词';
|
|
resultsContainer.innerHTML = '';
|
|
noResults.classList.remove('hidden');
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|