shumengya mail@smyhub.com
This commit is contained in:
85
cf-nav-frontend/index.html
Normal file
85
cf-nav-frontend/index.html
Normal file
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="萌芽导航 - 轻量好用的网址导航">
|
||||
<meta name="theme-color" content="#10b981">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
||||
<meta name="apple-mobile-web-app-title" content="萌芽导航">
|
||||
<title>萌芽导航</title>
|
||||
<link rel="manifest" href="/manifest.webmanifest">
|
||||
<link rel="icon" href="/favicon.ico" sizes="any">
|
||||
<link rel="icon" href="/logo.png" type="image/png">
|
||||
<link rel="apple-touch-icon" href="/logo.png">
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<script src="config.js"></script>
|
||||
<script src="apply-config.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header class="main-header">
|
||||
<h1 id="site-title">萌芽导航</h1>
|
||||
</header>
|
||||
|
||||
<div class="web-search-box">
|
||||
<form id="web-search-form">
|
||||
<div class="search-wrapper">
|
||||
<span class="search-icon">🔍</span>
|
||||
<input type="text" id="web-search-input" placeholder="搜索网页...">
|
||||
<select id="search-engine" class="search-select">
|
||||
<option value="google">Google</option>
|
||||
<option value="baidu">百度</option>
|
||||
<option value="bing">Bing</option>
|
||||
<option value="duckduckgo">DuckDuckGo</option>
|
||||
<option value="yandex">Yandex</option>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="top-bar">
|
||||
<div class="stats-group">
|
||||
<div class="stats-item">📚 网站总数: <span id="total-sites">0</span></div>
|
||||
<div class="stats-item">📁 分类数量: <span id="total-categories">0</span></div>
|
||||
<div class="stats-item">🏷️ 标签数量: <span id="total-tags">0</span></div>
|
||||
</div>
|
||||
<div class="search-container compact">
|
||||
<span class="search-icon">🔍</span>
|
||||
<input type="text" id="search-input" placeholder="搜索网站、描述或标签...">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="categories-container" id="categories-container">
|
||||
<!-- 网站分类和网站卡片将通过JavaScript动态生成 -->
|
||||
<div class="empty-state">
|
||||
<div style="font-size: 4rem; margin-bottom: 15px;">📭</div>
|
||||
<h2>暂无网站</h2>
|
||||
<p>请在后台管理中添加网站</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toast" id="toast">
|
||||
<span class="toast-icon">✅</span>
|
||||
<span class="toast-message">操作成功</span>
|
||||
</div>
|
||||
|
||||
<!-- 分类侧边栏:固定不随页面滚动,点击左侧「分类」按钮展开 -->
|
||||
<button type="button" id="category-sidebar-toggle" class="category-toggle-btn category-toggle-fixed" aria-label="打开分类">📁 分类</button>
|
||||
<div id="category-sidebar-backdrop" class="category-sidebar-backdrop" aria-hidden="true"></div>
|
||||
<aside id="category-sidebar" class="category-sidebar" aria-label="分类筛选">
|
||||
<div class="category-sidebar-header">
|
||||
<h2>分类</h2>
|
||||
<button type="button" class="category-sidebar-close" id="category-sidebar-close" aria-label="关闭">×</button>
|
||||
</div>
|
||||
<div class="category-sidebar-list" id="category-filters">
|
||||
<!-- 由 JS 动态填充 -->
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user