diff --git a/.kiro/specs/library-switch-optimization/design.md b/.kiro/specs/library-switch-optimization/design.md
deleted file mode 100644
index 5aff458..0000000
--- a/.kiro/specs/library-switch-optimization/design.md
+++ /dev/null
@@ -1,278 +0,0 @@
-# Design Document
-
-## Overview
-
-本设计文档描述素材库切换性能优化的技术方案。核心思路是将"一次性加载全部数据"改为"按需分批加载",并引入健壮的请求管理机制来处理取消、竞态和空闲加载。
-
-## Architecture
-
-### 整体架构
-
-```
-┌─────────────────────────────────────────────────────────────┐
-│ Frontend │
-│ ┌─────────────┐ ┌──────────────┐ ┌───────────────────┐ │
-│ │ Sidebar │ │ MainContent │ │ ImageWaterfall │ │
-│ │ (文件夹树) │ │ (协调加载) │ │ (虚拟滚动) │ │
-│ └──────┬──────┘ └──────┬───────┘ └─────────┬─────────┘ │
-│ │ │ │ │
-│ └────────────────┼─────────────────────┘ │
-│ ▼ │
-│ ┌───────────────────────┐ │
-│ │ RequestManager │ │
-│ │ (请求管理/取消/队列) │ │
-│ └───────────┬───────────┘ │
-│ │ │
-│ ┌───────────────────────┐ │
-│ │ ImageLoadService │ │
-│ │ (分批加载/空闲加载) │ │
-│ └───────────┬───────────┘ │
-└──────────────────────────┼──────────────────────────────────┘
- │
- ▼
-┌─────────────────────────────────────────────────────────────┐
-│ Backend │
-│ ┌─────────────────────────────────────────────────────┐ │
-│ │ Image API (分页支持) │ │
-│ │ GET /api/image?libraryId=x&folder=y&offset=0&limit=200│ │
-│ └─────────────────────────────────────────────────────┘ │
-└─────────────────────────────────────────────────────────────┘
-```
-
-### 数据流
-
-```mermaid
-sequenceDiagram
- participant User
- participant Sidebar
- participant RequestManager
- participant ImageLoadService
- participant Backend
-
- User->>Sidebar: 点击文件夹A
- Sidebar->>RequestManager: loadFolder(A)
- RequestManager->>RequestManager: 取消之前的请求
- RequestManager->>ImageLoadService: fetchBatch(A, offset=0)
- ImageLoadService->>Backend: GET /api/image?folder=A&offset=0&limit=200
- Backend-->>ImageLoadService: 返回前200张
- ImageLoadService-->>Sidebar: 更新UI显示
-
- Note over ImageLoadService: 用户空闲时
- ImageLoadService->>Backend: GET /api/image?folder=A&offset=200&limit=200
- Backend-->>ImageLoadService: 返回下一批
- ImageLoadService-->>Sidebar: 追加到列表
-```
-
-## Components and Interfaces
-
-### 1. RequestManager (新增)
-
-负责管理所有异步请求的生命周期。
-
-```typescript
-interface RequestManager {
- // 创建一个新的请求上下文
- createRequest(type: 'library' | 'folder' | 'images'): RequestContext;
-
- // 取消指定类型的所有请求
- cancelAll(type: 'library' | 'folder' | 'images'): void;
-
- // 取消所有请求
- cancelAllRequests(): void;
-
- // 检查请求是否仍然有效
- isValid(requestId: string): boolean;
-}
-
-interface RequestContext {
- id: string;
- abortController: AbortController;
- signal: AbortSignal;
- isActive: boolean;
- cancel(): void;
-}
-```
-
-### 2. ImageLoadService (工具函数集合)
-
-提供空闲加载控制的工具函数,状态由 Store 统一管理。
-
-```typescript
-// 用户操作开始时调用,暂停空闲加载并取消请求
-function onUserActionStart(): void;
-
-// 用户操作结束时调用,恢复空闲加载
-function onUserActionEnd(hasMore: boolean): void;
-
-// 暂停/恢复空闲加载
-function pauseIdleLoading(): void;
-function resumeIdleLoading(): void;
-
-// 检查空闲加载是否暂停
-function isIdlePaused(): boolean;
-```
-
-### 3. 后端 API 扩展
-
-```typescript
-// 扩展现有的 GET /api/image 接口
-interface ImageSearchParams {
- libraryId: string;
- folder?: string;
- keywords?: string;
- offset?: number; // 新增:分页偏移
- limit?: number; // 新增:每页数量
- // ... 其他现有参数
-}
-
-interface ImageSearchResponse {
- images: Image[];
- total: number; // 新增:总数
- offset: number; // 新增:当前偏移
- hasMore: boolean; // 新增:是否有更多
-}
-```
-
-### 4. Store 扩展
-
-```typescript
-// useStore 新增状态
-interface ImageLoadingState {
- isLoading: boolean; // 是否正在加载
- loadedCount: number; // 已加载数量
- totalCount: number; // 总数量
- hasMore: boolean; // 是否还有更多
-}
-```
-
-
-
-## Data Models
-
-### 请求上下文
-
-```typescript
-interface RequestContext {
- id: string; // 唯一请求ID (UUID)
- type: 'library' | 'folder' | 'images';
- createdAt: number; // 创建时间戳
- abortController: AbortController;
- status: 'pending' | 'completed' | 'cancelled' | 'error';
-}
-```
-
-
-
-
-
-## Correctness Properties
-
-*A property is a characteristic or behavior that should hold true across all valid executions of a system-essentially, a formal statement about what the system should do. Properties serve as the bridge between human-readable specifications and machine-verifiable correctness guarantees.*
-
-### Property 1: Request cancellation on library switch
-*For any* library switch operation, all pending requests from the previous library should be cancelled (aborted) before new requests are initiated.
-**Validates: Requirements 1.2**
-
-### Property 2: Memory cleanup on library switch
-*For any* library switch operation, the previous library's image data should be cleared from the store state, and the new state should only contain data from the new library.
-**Validates: Requirements 1.3**
-
-### Property 3: Request cancellation on folder switch
-*For any* folder selection while a previous folder's images are still loading, the previous folder's loading request should be cancelled.
-**Validates: Requirements 2.2**
-
-### Property 4: Scroll triggers batch loading
-*For any* folder with more images than the initial batch size, scrolling to the bottom should trigger loading of the next batch.
-**Validates: Requirements 2.3**
-
-### Property 5: Debounce rapid folder clicks
-*For any* sequence of rapid folder clicks (within debounce window), only the final folder selection should result in a completed request.
-**Validates: Requirements 3.2**
-
-### Property 6: Background loading pauses on user action
-*For any* user-initiated action (folder click, library switch) while background loading is in progress, the background loading should pause until the user action completes.
-**Validates: Requirements 3.3**
-
-### Property 7: Unique request IDs
-*For any* set of requests created by RequestManager, each request should have a unique ID that is different from all other request IDs.
-**Validates: Requirements 4.1**
-
-### Property 8: Cancelled requests don't trigger callbacks
-*For any* cancelled request, its completion callback should not be executed, and its result should not be applied to the state.
-**Validates: Requirements 4.2**
-
-### Property 9: Only latest request result applied
-*For any* sequence of requests for the same resource (folder/library), only the result of the most recently initiated request should be applied to the state, regardless of completion order.
-**Validates: Requirements 4.3**
-
-### Property 10: Unmount cancels all requests
-*For any* component unmount event, all pending requests associated with that component should be cancelled.
-**Validates: Requirements 4.4**
-
-### Property 11: Batch loading updates display incrementally
-*For any* batch load completion, the displayed image count should increase by the batch size (or remaining count if less).
-**Validates: Requirements 5.2**
-
-
-
-## Error Handling
-
-### 网络错误
-- 请求超时:显示重试按钮,允许用户手动重试
-- 网络断开:显示离线提示,使用缓存数据(如果可用)
-
-### 缓存错误
-- 缓存文件损坏:删除损坏的缓存,从数据库重新加载
-- 缓存写入失败:记录警告日志,继续正常运行(缓存是优化,不是必需)
-
-### 并发错误
-- 竞态条件:通过 requestId 机制确保只应用最新请求的结果
-- 重复请求:通过 debounce 和请求去重避免
-
-## Testing Strategy
-
-### 单元测试
-
-使用 Vitest 进行单元测试:
-
-1. **RequestManager 测试**
- - 测试请求创建和 ID 唯一性
- - 测试请求取消功能
- - 测试按类型取消请求
-
-2. **ImageLoadService 测试**
- - 测试分批加载逻辑
- - 测试空闲加载触发
-
-### 属性测试
-
-使用 fast-check 进行属性测试:
-
-1. **请求管理属性测试**
- - Property 7: 生成随机数量的请求,验证所有 ID 唯一
- - Property 8: 生成请求序列,取消部分,验证回调行为
- - Property 9: 生成乱序完成的请求,验证只应用最新结果
-
-### 集成测试
-
-1. **素材库切换流程测试**
- - 模拟切换素材库,验证请求取消和状态清理
-
-2. **文件夹导航测试**
- - 模拟快速点击多个文件夹,验证 debounce 和取消逻辑
-
-
diff --git a/.kiro/specs/library-switch-optimization/requirements.md b/.kiro/specs/library-switch-optimization/requirements.md
deleted file mode 100644
index d29a07b..0000000
--- a/.kiro/specs/library-switch-optimization/requirements.md
+++ /dev/null
@@ -1,77 +0,0 @@
-# Requirements Document
-
-## Introduction
-
-本文档定义了素材库切换性能优化的需求。当前系统在切换到大型素材库(如5万张图片)时存在严重的性能问题,表现为20-30秒的UI卡顿。优化目标是实现流畅的素材库切换体验,即使面对大量图片也能保持响应性。
-
-## Glossary
-
-- **素材库 (Library)**: 用户添加的图片文件夹,包含图片索引数据库
-- **文件夹树 (Folder Tree)**: 素材库内的文件夹层级结构
-- **虚拟滚动 (Virtual Scroll)**: 只渲染可视区域内的元素,减少DOM节点数量
-- **分页加载 (Pagination)**: 分批次加载数据,而非一次性加载全部
-- **请求取消 (Request Cancellation)**: 当用户切换操作时,取消之前未完成的请求
-- **空闲加载 (Idle Loading)**: 在用户无操作时后台预加载数据
-- **AbortController**: Web API,用于取消 fetch 请求
-
-## Requirements
-
-### Requirement 1
-
-**User Story:** As a user, I want to switch between libraries quickly, so that I can browse different image collections without waiting.
-
-#### Acceptance Criteria
-
-1. WHEN a user clicks on a different library THEN the System SHALL display the folder tree within 500ms
-2. WHEN a user switches libraries THEN the System SHALL cancel any pending image loading requests from the previous library
-3. WHEN a user switches libraries THEN the System SHALL clear the previous library's image data from memory before loading new data
-4. WHEN switching to a large library (>10000 images) THEN the System SHALL show a loading indicator instead of freezing the UI
-
-### Requirement 2
-
-**User Story:** As a user, I want to click on folders and see images immediately, so that I can browse my collection efficiently.
-
-#### Acceptance Criteria
-
-1. WHEN a user selects a folder THEN the System SHALL load and display the first batch of images within 300ms
-2. WHEN a user selects a different folder while images are loading THEN the System SHALL cancel the previous folder's loading request
-3. WHEN a folder contains more images than the initial batch THEN the System SHALL load additional images as the user scrolls
-4. WHEN the user stops scrolling THEN the System SHALL continue loading remaining images in the background during idle time
-
-### Requirement 3
-
-**User Story:** As a user, I want the application to remain responsive while loading large amounts of data, so that I can continue interacting with the UI.
-
-#### Acceptance Criteria
-
-1. WHEN loading images THEN the System SHALL process data in chunks to avoid blocking the main thread for more than 50ms
-2. WHEN multiple rapid folder clicks occur THEN the System SHALL debounce requests and only execute the final selection
-3. WHEN background loading is in progress THEN the System SHALL pause background loading when user initiates a new action
-4. WHEN an error occurs during loading THEN the System SHALL display an error message and allow retry
-
-### Requirement 4
-
-**User Story:** As a developer, I want a robust request management system, so that concurrent requests do not cause race conditions or memory leaks.
-
-#### Acceptance Criteria
-
-1. WHEN a new request is initiated THEN the System SHALL assign a unique request ID for tracking
-2. WHEN a request is cancelled THEN the System SHALL clean up associated resources and pending callbacks
-3. WHEN multiple requests complete out of order THEN the System SHALL only apply the result of the most recent request
-4. WHEN the component unmounts THEN the System SHALL cancel all pending requests
-
-### Requirement 5
-
-**User Story:** As a user, I want to see progress feedback when loading large folders, so that I know the application is working.
-
-#### Acceptance Criteria
-
-1. WHEN loading a folder with more than 500 images THEN the System SHALL display a progress indicator showing loaded count
-2. WHEN images are being loaded in batches THEN the System SHALL update the display incrementally as each batch completes
-3. WHEN all images are loaded THEN the System SHALL hide the progress indicator
-
-
-
diff --git a/.kiro/specs/library-switch-optimization/tasks.md b/.kiro/specs/library-switch-optimization/tasks.md
deleted file mode 100644
index 6405032..0000000
--- a/.kiro/specs/library-switch-optimization/tasks.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# Implementation Plan
-
-- [x] 1. 后端 API 扩展 - 支持分页和缓存元数据
-
- - [x] 1.1 扩展图片搜索 API 支持分页参数
-
-
- - 修改 `backend/routes/image.js` 的 GET `/` 接口
- - 添加 `offset` 和 `limit` 参数支持
- - 返回 `total`、`hasMore` 字段
- - _Requirements: 2.3_
- - [x] 1.2 添加缓存元数据 API
-
-
- - 新增 GET `/api/cache/meta/:libraryId` 接口
- - 返回数据库最后修改时间戳
- - _Requirements: 6.3_
- - [x] 1.3 修改数据库记录修改时间
-
- - 在 `backend/database/db.js` 添加 `last_modified` 表或字段
- - 每次插入/更新/删除图片时更新时间戳
- - _Requirements: 6.3, 6.4_
-
-- [x] 2. 前端请求管理器 - RequestManager
-
- - [x] 2.1 创建 RequestManager 服务
-
-
- - 新建 `frontend/src/services/requestManager.js`
- - 实现 `createRequest`、`cancelAll`、`isValid` 方法
- - 使用 AbortController 管理请求取消
- - _Requirements: 4.1, 4.2_
- - [x] 2.2 编写 RequestManager 属性测试
-
-
- - **Property 7: Unique request IDs**
- - **Validates: Requirements 4.1**
- - [x] 2.3 编写请求取消属性测试
-
- - **Property 8: Cancelled requests don't trigger callbacks**
- - **Validates: Requirements 4.2**
-
-
-
-- [x] 3. Checkpoint - 确保基础设施测试通过
-
- - Ensure all tests pass, ask the user if questions arise.
-
-- [x] 4. 前端图片加载服务 - ImageLoadService
-
- - [x] 4.1 创建 ImageLoadService 服务
- - 新建 `frontend/src/services/imageLoadService.js`
- - 实现 `loadNextBatch` 方法
- - 集成 RequestManager 进行请求管理
- - _Requirements: 2.1, 2.3_
-
- - [x] 4.2 实现空闲加载逻辑
- - 使用 `requestIdleCallback` 或 `setTimeout` 实现空闲检测
- - 在空闲时继续加载剩余图片
- - _Requirements: 2.4_
-
- - [x] 4.3 编写分批加载属性测试
-
- - **Property 4: Scroll triggers batch loading**
- - **Property 11: Batch loading updates display incrementally**
- - **Validates: Requirements 2.3, 5.2**
-
-- [x] 5. 重构 Sidebar 组件 - 素材库切换
-
- - [x] 5.1 重构 handleLibraryClick 函数
- - 集成 RequestManager 取消之前的请求
- - 清理之前素材库的状态
- - _Requirements: 1.2, 1.3_
-
- - [x] 5.2 编写素材库切换属性测试
-
- - **Property 1: Request cancellation on library switch**
- - **Property 2: Memory cleanup on library switch**
- - **Validates: Requirements 1.2, 1.3**
-
-- [x] 6. 重构 MainContent 组件 - 文件夹切换
-
- - [x] 6.1 重构 loadImages 函数
- - 实现请求取消和 debounce
- - _Requirements: 2.1, 2.2, 3.2_
-
- - [x] 6.2 添加加载进度显示
- - 显示已加载/总数
- - 加载完成后隐藏进度条
- - _Requirements: 5.1, 5.2, 5.3_
-
- - [x] 6.3 编写文件夹切换属性测试
-
- - **Property 3: Request cancellation on folder switch**
- - **Property 5: Debounce rapid folder clicks**
- - **Validates: Requirements 2.2, 3.2**
-
-- [x] 7. 重构 ImageWaterfall 组件 - 滚动加载
-
- - [x] 7.1 添加滚动加载触发
- - 监听滚动事件,接近底部时触发加载下一批
- - 集成 ImageLoadService
- - _Requirements: 2.3_
-
- - [x] 7.2 优化大数据量渲染
- - 确保虚拟滚动正确处理增量数据
- - 优化 Worker 数据传输
- - _Requirements: 3.1_
-
-- [x] 8. Store 状态扩展
-
- - [x] 8.1 添加加载状态字段
- - 添加 `isLoadingImages`、`loadedImageCount`、`hasMoreImages` 等字段
- - _Requirements: 4.3, 5.1_
-
- - [x] 8.2 编写状态管理属性测试
- - **Property 9: Only latest request result applied**
- - **Validates: Requirements 4.3**
-
-- [x] 9. 组件卸载清理
-
- - [x] 9.1 添加组件卸载时的请求取消
- - 在 MainContent、ImageWaterfall 的 useEffect cleanup 中取消请求
- - _Requirements: 4.4_
-
-- [x] 10. 空闲加载与用户操作协调
-
- - [x] 10.1 实现空闲加载暂停机制
- - 用户操作时暂停空闲加载
- - 操作完成后恢复空闲加载
- - _Requirements: 3.3_
-
-- [x] 11. Final Checkpoint - 确保所有测试通过
- - Ensure all tests pass, ask the user if questions arise.
diff --git a/frontend/src/components/MainContent.jsx b/frontend/src/components/MainContent.jsx
index 6e36d59..de1e5d4 100644
--- a/frontend/src/components/MainContent.jsx
+++ b/frontend/src/components/MainContent.jsx
@@ -218,7 +218,7 @@ function MainContent() {
}`}>
- {scanPaused ? '扫描已暂停' : scanProgress?.status === 'preparing' ? '正在准备扫描...' : '正在扫描素材库'}
+ {scanPaused ? '扫描已暂停' : scanProgress?.status === 'preparing' ? '正在准备扫描...' : '正在扫描素材库,期间建议勿操作,否则会影响扫描速度'}
diff --git a/website/README.md b/website/README.md
new file mode 100644
index 0000000..715ba9a
--- /dev/null
+++ b/website/README.md
@@ -0,0 +1,63 @@
+# FlyPic 官网
+
+这是 FlyPic 的静态介绍页面,可以直接部署到宝塔面板或任何静态网站托管服务。
+
+## 文件结构
+
+```
+website/
+├── index.html # 主页面
+├── style.css # 样式文件
+├── images/ # 图片资源
+│ ├── icon.png # 网站图标 (已有)
+│ ├── logo.png # Logo (已有)
+│ └── ... # 需要添加的截图
+└── README.md # 说明文档
+```
+
+## 需要准备的图片
+
+请将以下截图放入 `images/` 文件夹:
+
+| 文件名 | 说明 | 建议尺寸 |
+|--------|------|----------|
+| `screenshot-main.png` | Hero 区域主截图 | 1200x800 |
+| `screenshot-light.png` | 亮色主题截图 | 800x500 |
+| `screenshot-dark.png` | 暗色主题截图 | 800x500 |
+| `screenshot-mobile.png` | 移动端截图 | 400x700 |
+
+## 部署到宝塔面板
+
+1. 登录宝塔面板
+2. 进入「网站」→「添加站点」
+3. 填写域名,选择纯静态
+4. 将 `website` 文件夹内的所有文件上传到网站根目录
+5. 配置 SSL 证书(可选)
+
+## 自定义修改
+
+### 修改 GitHub 链接
+
+在 `index.html` 中搜索 `your-repo/flypic`,替换为实际的 GitHub 仓库地址。
+
+### 修改颜色主题
+
+在 `style.css` 顶部的 `:root` 中修改 CSS 变量:
+
+```css
+:root {
+ --primary: #3b82f6; /* 主色调 */
+ --primary-dark: #2563eb; /* 主色调深色 */
+ --secondary: #8b5cf6; /* 次要色调 */
+ /* ... */
+}
+```
+
+## 特性
+
+- ✅ 响应式设计,支持桌面端和移动端
+- ✅ 滚动动画效果
+- ✅ 回到顶部按钮
+- ✅ 平滑滚动导航
+- ✅ 移动端汉堡菜单
+- ✅ 现代化 UI 设计
diff --git a/website/index.html b/website/index.html
new file mode 100644
index 0000000..82f905f
--- /dev/null
+++ b/website/index.html
@@ -0,0 +1,751 @@
+
+
+
+
+
+ FlyPic - 飞牛NAS图片检索浏览应用
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
🤖 完全由 AI 开发 · 专为飞牛 fnOS 设计
+
轻量、快速、稳定的
图像素材检索浏览应用
+
+ 支持 10万+ 级别图片流畅浏览,轻量快速。非侵入式设计,
+ 不修改原文件结构。AI开发 100% 开源免费。
+
+
+
+
+ 10万+
+ 图片支持
+
+
+ 60+
+ 文件格式
+
+
+ 实时
+ 文件监控
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
轻量快速
+
基于 SQLite 本地数据库,毫秒级响应。虚拟滚动 + Web Worker 布局计算,流畅浏览海量图片。
+
+
+
+
非侵入式
+
只在素材库目录创建 .flypic 文件夹存储索引和缩略图,不修改任何原始文件,删除应用后数据完全可控。
+
+
+
+
稳定可靠
+
优雅的资源管理,数据库连接池自动释放,WAL 模式确保数据安全,不影响正常文件操作。
+
+
+
+
实时同步
+
基于 Worker Thread 的文件监控,自动检测新增、删除、修改,实时更新索引,无需手动刷新。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
固定行高瀑布流
+
固定高度、宽度自适应的瀑布流布局,视觉整齐美观。支持缩略图大小调节(150-300px),适应不同浏览需求。
+
+ - 虚拟滚动技术,轻松浏览 10万+ 图片
+ - Web Worker 异步计算布局,不阻塞主线程
+ - 智能分批加载,按需请求数据
+
+
+
+
+
+
+
智能搜索
+
多关键词组合搜索,空格分隔即可实现 AND 逻辑。实时搜索 + 防抖优化,输入即搜,快速定位。
+
+
+
+
+
+
高级筛选
+
按格式(JPG/PNG/WebP...)、文件大小、横竖图方向筛选。智能分析当前文件夹内容,动态生成筛选选项。
+
+
+
+
+
+
文件夹树浏览
+
层级文件夹结构展示,支持文件夹搜索(多关键词)、全部展开/折叠。显示每个文件夹的图片数量。
+
+
+
+
+
+
+
+
多选批量操作
+
Ctrl 点击切换选中,Shift 点击范围选择。支持批量复制到剪贴板、批量导出为 ZIP 压缩包。
+
+
+
+
+
+
+
+
图片详情面板
+
右侧面板显示选中图片的详细信息:尺寸、大小、格式、创建/修改时间、完整路径。渐进式加载,先显示缩略图再加载原图。
+
+
+
+
+
+
实时文件监控
+
基于 chokidar + Worker Thread 的文件监控,自动检测文件变化。智能防抖合并事件,高效更新索引。
+
+
+
+
+
+
扫描控制
+
首次添加素材库自动全量扫描,支持暂停/继续。显示扫描进度和预估剩余时间,大量图片也能从容处理。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 自动切换中
+
+
+
+
+

+
+
+

+
+
+
+
+
+
+
+ 📱
+ 移动端适配
+
+
响应式设计,手机上也能流畅使用
+
+
+
+

+
+
文件夹目录
+
+
+
+

+
+
图片浏览
+
+
+
+

+
+
图片详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
已完成
+
核心功能
+
+ - 素材库管理(添加/删除/切换)
+ - 固定行高瀑布流浏览
+ - 多关键词智能搜索
+ - 高级筛选(格式/大小/方向)
+ - 文件夹树浏览
+ - 实时文件监控
+ - 多选批量操作
+ - 亮色/暗色主题
+ - 移动端适配
+
+
+
+
+
+
+
+
当前阶段
+
优化与维护
+
+ - 性能优化,提升大量图片浏览体验
+ - Bug 修复与稳定性提升
+ - 用户反馈响应
+
+
+
+
+
+
+
+
考虑中
+
可能的功能
+
+ - 基础文件操作(删除、重命名、移动)
+ - NAS 登录与远程访问
+ - 多用户共享
+
+
* 以上功能不一定会实现,取决于实际需求和开发资源
+
+
+
+
+
+
+
+
+
+
+
+
+
前端
+
+ React 18
+ Vite 5
+ TailwindCSS
+ Zustand
+ react-window
+ react-photo-view
+ Socket.IO Client
+ Axios
+ JSZip
+ Lucide Icons
+
+
+
+
后端
+
+ Node.js
+ Express
+ better-sqlite3
+ Sharp
+ Socket.IO
+ chokidar
+ glob
+ p-limit
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1
+
+
打开飞牛应用中心
+
在飞牛 fnOS 系统中打开应用中心
+
+
+
+
2
+
+
搜索 FlyPic
+
在应用中心搜索 "FlyPic" 或 "图片浏览"
+
+
+
+
+
4
+
+
添加素材库
+
打开应用,添加您的图片文件夹作为素材库
+
+
+
+
+
+
+
+
+
+
+
添加素材库
+
点击左侧素材库下拉框,选择"添加新素材库",输入名称和路径
+
+
+
+
浏览图片
+
点击左侧文件夹树选择文件夹,或点击"全部图片"查看所有图片
+
+
+
+
搜索图片
+
在顶部搜索框输入关键词,多个关键词用空格分隔实现 AND 搜索
+
+
+
+
筛选图片
+
点击搜索框旁的筛选按钮,按格式、大小、方向筛选
+
+
+
+
+
+
多选操作
+
Ctrl+点击 切换选中,Shift+点击 范围选择,支持批量导出
+
+
+
+
导出图片
+
选中图片后,在右侧面板点击"复制"或"导出"为 ZIP
+
+
+
+
调整缩略图
+
拖动顶部滑块调整缩略图大小(150-300px)
+
+
+
+
+
+
切换主题
+
点击右上角太阳/月亮图标切换亮色/暗色主题
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 📁
+ 素材库目录
+
+
+ 🖼️
+ 您的图片文件...
+
+
+ 📁
+ .flypic/
+ ← FlyPic 数据目录
+
+
+ 📁
+ thumbnails/
+ WebP 缩略图
+
+
+ 🗄️
+ metadata.db
+ SQLite 数据库
+
+
+
+
+
+
+
+
安全无侵入
+
只在素材库目录创建 .flypic 隐藏文件夹,不修改任何原始文件
+
+
+
+
+
+
一键清除
+
删除 .flypic 文件夹即可完全清除索引数据,不留任何痕迹
+
+
+
+
+
+
高效存储
+
WebP 格式缩略图 + SQLite 数据库,占用空间小,查询速度快
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/website/style.css b/website/style.css
new file mode 100644
index 0000000..d53f66a
--- /dev/null
+++ b/website/style.css
@@ -0,0 +1,1983 @@
+/* ===== 基础样式 ===== */
+:root {
+ --primary: #3b82f6;
+ --primary-dark: #2563eb;
+ --secondary: #8b5cf6;
+ --bg: #ffffff;
+ --bg-secondary: #f8fafc;
+ --text: #1e293b;
+ --text-secondary: #64748b;
+ --border: #e2e8f0;
+ --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+ --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
+ --radius: 12px;
+ --radius-sm: 8px;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+html {
+ scroll-behavior: smooth;
+}
+
+body {
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
+ background: var(--bg);
+ color: var(--text);
+ line-height: 1.6;
+}
+
+.container {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 24px;
+}
+
+/* ===== 按钮 ===== */
+.btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 12px 24px;
+ border-radius: var(--radius-sm);
+ font-weight: 500;
+ text-decoration: none;
+ transition: all 0.2s;
+ cursor: pointer;
+ border: none;
+ font-size: 15px;
+}
+
+.btn-primary {
+ background: var(--primary);
+ color: white;
+}
+
+.btn-primary:hover {
+ background: var(--primary-dark);
+ transform: translateY(-2px);
+ box-shadow: var(--shadow-lg);
+}
+
+.btn-ghost {
+ background: transparent;
+ color: var(--text);
+ border: 1px solid var(--border);
+}
+
+.btn-ghost:hover {
+ background: var(--bg-secondary);
+}
+
+.btn-outline {
+ background: transparent;
+ color: var(--text);
+ border: 1px solid var(--border);
+}
+
+.btn-outline:hover {
+ background: var(--bg-secondary);
+ border-color: var(--primary);
+ color: var(--primary);
+}
+
+.btn-sm {
+ padding: 8px 16px;
+ font-size: 14px;
+}
+
+.btn-lg {
+ padding: 14px 28px;
+ font-size: 16px;
+}
+
+.btn .icon {
+ width: 18px;
+ height: 18px;
+}
+
+/* ===== 导航栏 ===== */
+.navbar {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ z-index: 100;
+ background: rgba(255, 255, 255, 0.8);
+ backdrop-filter: blur(12px);
+ border-bottom: 1px solid transparent;
+ transition: all 0.3s;
+}
+
+.navbar.scrolled {
+ border-bottom-color: var(--border);
+ box-shadow: var(--shadow);
+}
+
+.nav-container {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 72px;
+}
+
+.logo {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ text-decoration: none;
+ font-weight: 700;
+ font-size: 20px;
+ color: var(--text);
+}
+
+.logo-img {
+ width: 36px;
+ height: 36px;
+ border-radius: 8px;
+}
+
+.nav-links {
+ display: flex;
+ align-items: center;
+ gap: 32px;
+}
+
+.nav-links a {
+ text-decoration: none;
+ color: var(--text-secondary);
+ font-weight: 500;
+ transition: color 0.2s;
+}
+
+.nav-links a:hover {
+ color: var(--primary);
+}
+
+.mobile-menu-btn {
+ display: none;
+ flex-direction: column;
+ gap: 5px;
+ background: none;
+ border: none;
+ cursor: pointer;
+ padding: 8px;
+}
+
+.mobile-menu-btn span {
+ display: block;
+ width: 24px;
+ height: 2px;
+ background: var(--text);
+ transition: all 0.3s;
+}
+
+.mobile-menu-btn.active span:nth-child(1) {
+ transform: rotate(45deg) translate(5px, 5px);
+}
+
+.mobile-menu-btn.active span:nth-child(2) {
+ opacity: 0;
+}
+
+.mobile-menu-btn.active span:nth-child(3) {
+ transform: rotate(-45deg) translate(5px, -5px);
+}
+
+.mobile-menu {
+ display: none;
+ position: fixed;
+ top: 72px;
+ left: 0;
+ right: 0;
+ background: white;
+ padding: 16px 24px;
+ border-bottom: 1px solid var(--border);
+ box-shadow: var(--shadow);
+}
+
+.mobile-menu.active {
+ display: block;
+}
+
+.mobile-menu a {
+ display: block;
+ padding: 12px 0;
+ text-decoration: none;
+ color: var(--text);
+ font-weight: 500;
+ border-bottom: 1px solid var(--border);
+}
+
+.mobile-menu a:last-child {
+ border-bottom: none;
+}
+
+/* ===== Hero ===== */
+.hero {
+ padding: 140px 0 60px;
+ background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
+}
+
+.hero .container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+}
+
+.hero-badge {
+ display: inline-block;
+ padding: 6px 14px;
+ background: rgba(59, 130, 246, 0.1);
+ color: var(--primary);
+ border-radius: 20px;
+ font-size: 14px;
+ font-weight: 500;
+ margin-bottom: 20px;
+}
+
+.hero h1 {
+ font-size: 48px;
+ font-weight: 800;
+ line-height: 1.2;
+ margin-bottom: 24px;
+}
+
+.gradient-text {
+ background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+}
+
+.hero-desc {
+ font-size: 18px;
+ color: var(--text-secondary);
+ margin-bottom: 32px;
+ line-height: 1.7;
+}
+
+.hero-desc strong {
+ color: var(--text);
+}
+
+.hero-actions {
+ display: flex;
+ gap: 16px;
+ margin-bottom: 48px;
+ justify-content: center;
+}
+
+.hero-stats {
+ display: flex;
+ gap: 48px;
+ justify-content: center;
+ margin-bottom: 60px;
+}
+
+.stat {
+ text-align: center;
+}
+
+.stat-value {
+ display: block;
+ font-size: 28px;
+ font-weight: 700;
+ color: var(--primary);
+}
+
+.stat-label {
+ font-size: 14px;
+ color: var(--text-secondary);
+}
+
+.hero-image {
+ position: relative;
+ width: 100%;
+ max-width: 1200px;
+}
+
+.hero-image-wrapper {
+ position: relative;
+ border-radius: 16px;
+ overflow: hidden;
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
+}
+
+.screenshot-main {
+ width: 100%;
+ display: block;
+ border-radius: 16px;
+}
+
+.hero-image-glow {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 120%;
+ height: 120%;
+ background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
+ z-index: -1;
+}
+
+
+/* ===== 核心优势 ===== */
+.advantages {
+ padding: 80px 0;
+ background: var(--bg);
+}
+
+.advantages-grid {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 24px;
+}
+
+.advantage-card {
+ padding: 32px;
+ background: var(--bg-secondary);
+ border-radius: var(--radius);
+ transition: all 0.3s;
+}
+
+.advantage-card:hover {
+ transform: translateY(-4px);
+ box-shadow: var(--shadow-lg);
+}
+
+.advantage-icon {
+ width: 56px;
+ height: 56px;
+ border-radius: 12px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-bottom: 20px;
+}
+
+.advantage-icon svg {
+ width: 28px;
+ height: 28px;
+}
+
+.icon-blue {
+ background: rgba(59, 130, 246, 0.1);
+ color: #3b82f6;
+}
+
+.icon-green {
+ background: rgba(34, 197, 94, 0.1);
+ color: #22c55e;
+}
+
+.icon-purple {
+ background: rgba(139, 92, 246, 0.1);
+ color: #8b5cf6;
+}
+
+.icon-orange {
+ background: rgba(249, 115, 22, 0.1);
+ color: #f97316;
+}
+
+.advantage-card h3 {
+ font-size: 18px;
+ font-weight: 600;
+ margin-bottom: 12px;
+}
+
+.advantage-card p {
+ font-size: 14px;
+ color: var(--text-secondary);
+ line-height: 1.6;
+}
+
+/* ===== 功能特性 ===== */
+.features {
+ padding: 100px 0;
+ background: var(--bg-secondary);
+}
+
+.section-header {
+ text-align: center;
+ margin-bottom: 60px;
+}
+
+.section-header h2 {
+ font-size: 36px;
+ font-weight: 700;
+ margin-bottom: 16px;
+}
+
+.section-header p {
+ font-size: 18px;
+ color: var(--text-secondary);
+}
+
+.features-grid {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 24px;
+}
+
+.feature-card {
+ padding: 32px;
+ background: white;
+ border-radius: var(--radius);
+ border: 1px solid var(--border);
+ transition: all 0.3s;
+}
+
+.feature-card:hover {
+ border-color: var(--primary);
+ box-shadow: var(--shadow);
+}
+
+.feature-large {
+ grid-column: span 2;
+}
+
+.feature-icon {
+ width: 48px;
+ height: 48px;
+ background: rgba(59, 130, 246, 0.1);
+ border-radius: 10px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-bottom: 20px;
+}
+
+.feature-icon svg {
+ width: 24px;
+ height: 24px;
+ color: var(--primary);
+}
+
+.feature-card h3 {
+ font-size: 18px;
+ font-weight: 600;
+ margin-bottom: 12px;
+}
+
+.feature-card p {
+ font-size: 14px;
+ color: var(--text-secondary);
+ line-height: 1.6;
+}
+
+.feature-list {
+ margin-top: 16px;
+ padding-left: 20px;
+}
+
+.feature-list li {
+ font-size: 14px;
+ color: var(--text-secondary);
+ margin-bottom: 8px;
+}
+
+/* ===== 支持格式 ===== */
+.formats {
+ padding: 80px 0;
+ background: var(--bg);
+}
+
+.formats-grid {
+ display: flex;
+ justify-content: center;
+ flex-wrap: wrap;
+ gap: 16px;
+}
+
+.format-item {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 24px 32px;
+ background: var(--bg-secondary);
+ border-radius: var(--radius);
+ min-width: 120px;
+}
+
+.format-ext {
+ font-size: 24px;
+ font-weight: 700;
+ color: var(--primary);
+ margin-bottom: 8px;
+}
+
+.format-name {
+ font-size: 13px;
+ color: var(--text-secondary);
+}
+
+.format-more {
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
+}
+
+/* ===== 界面预览 ===== */
+.screenshots {
+ padding: 100px 0;
+ background: var(--bg-secondary);
+}
+
+.screenshots-grid {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 24px;
+}
+
+.screenshot-item {
+ text-align: center;
+}
+
+.screenshot-item img {
+ width: 100%;
+ border-radius: var(--radius);
+ box-shadow: var(--shadow);
+ margin-bottom: 16px;
+ background: #e2e8f0;
+ aspect-ratio: 16/10;
+ object-fit: cover;
+}
+
+.screenshot-item p {
+ font-size: 14px;
+ color: var(--text-secondary);
+}
+
+/* ===== 开发计划 ===== */
+.roadmap {
+ padding: 100px 0;
+ background: var(--bg);
+}
+
+.roadmap-timeline {
+ max-width: 700px;
+ margin: 0 auto;
+ position: relative;
+}
+
+.roadmap-timeline::before {
+ content: '';
+ position: absolute;
+ left: 15px;
+ top: 0;
+ bottom: 0;
+ width: 2px;
+ background: var(--border);
+}
+
+.roadmap-item {
+ position: relative;
+ padding-left: 50px;
+ padding-bottom: 40px;
+}
+
+.roadmap-item:last-child {
+ padding-bottom: 0;
+}
+
+.roadmap-marker {
+ position: absolute;
+ left: 6px;
+ top: 4px;
+ width: 20px;
+ height: 20px;
+ border-radius: 50%;
+ background: var(--border);
+ border: 4px solid white;
+}
+
+.roadmap-item.done .roadmap-marker {
+ background: #22c55e;
+}
+
+.roadmap-item.current .roadmap-marker {
+ background: var(--primary);
+ box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
+}
+
+.roadmap-item.future .roadmap-marker {
+ background: var(--text-secondary);
+}
+
+.roadmap-content {
+ background: var(--bg-secondary);
+ padding: 24px;
+ border-radius: var(--radius);
+}
+
+.roadmap-status {
+ display: inline-block;
+ padding: 4px 12px;
+ border-radius: 20px;
+ font-size: 12px;
+ font-weight: 500;
+ margin-bottom: 12px;
+}
+
+.roadmap-item.done .roadmap-status {
+ background: rgba(34, 197, 94, 0.1);
+ color: #22c55e;
+}
+
+.roadmap-item.current .roadmap-status {
+ background: rgba(59, 130, 246, 0.1);
+ color: var(--primary);
+}
+
+.roadmap-item.future .roadmap-status {
+ background: rgba(100, 116, 139, 0.1);
+ color: var(--text-secondary);
+}
+
+.roadmap-content h3 {
+ font-size: 18px;
+ font-weight: 600;
+ margin-bottom: 12px;
+}
+
+.roadmap-content ul {
+ padding-left: 20px;
+}
+
+.roadmap-content li {
+ font-size: 14px;
+ color: var(--text-secondary);
+ margin-bottom: 6px;
+}
+
+.roadmap-note {
+ margin-top: 12px;
+ font-size: 13px;
+ color: var(--text-secondary);
+ font-style: italic;
+}
+
+/* ===== 技术栈 ===== */
+.tech-stack {
+ padding: 80px 0;
+ background: var(--bg-secondary);
+}
+
+.tech-grid {
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ gap: 40px;
+ max-width: 800px;
+ margin: 0 auto;
+}
+
+.tech-group h3 {
+ font-size: 16px;
+ font-weight: 600;
+ margin-bottom: 16px;
+ color: var(--text-secondary);
+}
+
+.tech-items {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 10px;
+}
+
+.tech-item {
+ padding: 8px 16px;
+ background: white;
+ border: 1px solid var(--border);
+ border-radius: 20px;
+ font-size: 14px;
+ font-weight: 500;
+}
+
+
+/* ===== 安装使用 ===== */
+.install {
+ padding: 100px 0;
+ background: var(--bg);
+}
+
+.install-steps {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 24px;
+ margin-bottom: 60px;
+}
+
+.install-step {
+ text-align: center;
+ padding: 32px 24px;
+ background: var(--bg-secondary);
+ border-radius: var(--radius);
+ position: relative;
+}
+
+.install-step::after {
+ content: '→';
+ position: absolute;
+ right: -18px;
+ top: 50%;
+ transform: translateY(-50%);
+ font-size: 24px;
+ color: var(--border);
+}
+
+.install-step:last-child::after {
+ display: none;
+}
+
+.step-number {
+ width: 48px;
+ height: 48px;
+ background: var(--primary);
+ color: white;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 20px;
+ font-weight: 700;
+ margin: 0 auto 16px;
+}
+
+.step-content h3 {
+ font-size: 16px;
+ font-weight: 600;
+ margin-bottom: 8px;
+}
+
+.step-content p {
+ font-size: 14px;
+ color: var(--text-secondary);
+}
+
+.install-note {
+ background: var(--bg-secondary);
+ padding: 32px;
+ border-radius: var(--radius);
+}
+
+.install-note h3 {
+ font-size: 18px;
+ font-weight: 600;
+ margin-bottom: 16px;
+}
+
+.install-note ul {
+ list-style: none;
+}
+
+.install-note li {
+ font-size: 14px;
+ color: var(--text-secondary);
+ padding: 8px 0;
+ border-bottom: 1px solid var(--border);
+}
+
+.install-note li:last-child {
+ border-bottom: none;
+}
+
+.install-note li strong {
+ color: var(--text);
+}
+
+/* ===== 数据存储 ===== */
+.data-storage {
+ padding: 80px 0;
+ background: var(--bg-secondary);
+}
+
+.storage-card {
+ display: flex;
+ gap: 40px;
+ background: white;
+ padding: 40px;
+ border-radius: var(--radius);
+ border: 1px solid var(--border);
+}
+
+.storage-icon {
+ flex-shrink: 0;
+ width: 64px;
+ height: 64px;
+ background: rgba(59, 130, 246, 0.1);
+ border-radius: 12px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.storage-icon svg {
+ width: 32px;
+ height: 32px;
+ color: var(--primary);
+}
+
+.storage-content h3 {
+ font-size: 20px;
+ font-weight: 600;
+ margin-bottom: 12px;
+}
+
+.storage-content p {
+ font-size: 14px;
+ color: var(--text-secondary);
+ margin-bottom: 16px;
+}
+
+.storage-content pre {
+ background: var(--bg-secondary);
+ padding: 20px;
+ border-radius: var(--radius-sm);
+ overflow-x: auto;
+}
+
+.storage-content code {
+ font-family: 'Monaco', 'Consolas', monospace;
+ font-size: 13px;
+ color: var(--text);
+}
+
+.storage-note {
+ margin-top: 16px;
+ font-size: 13px;
+ color: var(--text-secondary);
+}
+
+/* ===== Footer ===== */
+.footer {
+ padding: 60px 0 30px;
+ background: #1e293b;
+ color: white;
+}
+
+.footer-content {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding-bottom: 30px;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+}
+
+.footer-brand {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ font-size: 20px;
+ font-weight: 700;
+}
+
+.footer-logo {
+ width: 40px;
+ height: 40px;
+ border-radius: 8px;
+}
+
+.footer-links {
+ display: flex;
+ gap: 32px;
+}
+
+.footer-links a {
+ color: rgba(255, 255, 255, 0.7);
+ text-decoration: none;
+ transition: color 0.2s;
+}
+
+.footer-links a:hover {
+ color: white;
+}
+
+.footer-bottom {
+ padding-top: 30px;
+ text-align: center;
+}
+
+.footer-bottom p {
+ font-size: 14px;
+ color: rgba(255, 255, 255, 0.5);
+}
+
+/* ===== 响应式 ===== */
+@media (max-width: 1024px) {
+ .advantages-grid {
+ grid-template-columns: repeat(2, 1fr);
+ }
+
+ .features-grid {
+ grid-template-columns: repeat(2, 1fr);
+ }
+
+ .feature-large {
+ grid-column: span 2;
+ }
+
+ .install-steps {
+ grid-template-columns: repeat(2, 1fr);
+ }
+
+ .install-step::after {
+ display: none;
+ }
+}
+
+@media (max-width: 768px) {
+ .nav-links {
+ display: none;
+ }
+
+ .mobile-menu-btn {
+ display: flex;
+ }
+
+ .hero {
+ padding: 120px 0 60px;
+ }
+
+ .hero h1 {
+ font-size: 32px;
+ }
+
+ .hero-desc {
+ font-size: 16px;
+ }
+
+ .hero-actions {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .hero-stats {
+ flex-direction: column;
+ gap: 24px;
+ }
+
+ .advantages-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .features-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .feature-large {
+ grid-column: span 1;
+ }
+
+ .screenshots-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .tech-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .install-steps {
+ grid-template-columns: 1fr;
+ }
+
+ .storage-card {
+ flex-direction: column;
+ gap: 24px;
+ }
+
+ .footer-content {
+ flex-direction: column;
+ gap: 24px;
+ text-align: center;
+ }
+
+ .section-header h2 {
+ font-size: 28px;
+ }
+}
+
+/* ===== 图片占位 ===== */
+.screenshot-main,
+.screenshot-item img,
+.logo-img,
+.footer-logo {
+ background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
+}
+
+
+/* ===== 滚动动画 ===== */
+.fade-in {
+ opacity: 0;
+ transform: translateY(30px);
+ transition: opacity 0.6s ease, transform 0.6s ease;
+}
+
+.fade-in.visible {
+ opacity: 1;
+ transform: translateY(0);
+}
+
+.fade-in-delay-1 { transition-delay: 0.1s; }
+.fade-in-delay-2 { transition-delay: 0.2s; }
+.fade-in-delay-3 { transition-delay: 0.3s; }
+.fade-in-delay-4 { transition-delay: 0.4s; }
+
+/* ===== 悬浮效果增强 ===== */
+.feature-card {
+ transform: translateY(0);
+}
+
+.feature-card:hover {
+ transform: translateY(-8px);
+}
+
+.advantage-card {
+ transform: translateY(0);
+}
+
+.advantage-card:hover {
+ transform: translateY(-8px);
+ background: white;
+}
+
+/* ===== 按钮波纹效果 ===== */
+.btn {
+ position: relative;
+ overflow: hidden;
+}
+
+.btn::after {
+ content: '';
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ width: 0;
+ height: 0;
+ background: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ transform: translate(-50%, -50%);
+ transition: width 0.6s, height 0.6s;
+}
+
+.btn:active::after {
+ width: 300px;
+ height: 300px;
+}
+
+/* ===== 数字计数动画 ===== */
+.stat-value {
+ display: inline-block;
+}
+
+/* ===== 格式卡片悬浮 ===== */
+.format-item {
+ transition: all 0.3s ease;
+}
+
+.format-item:hover {
+ transform: translateY(-4px);
+ box-shadow: var(--shadow);
+ background: white;
+}
+
+/* ===== 安装步骤动画 ===== */
+.install-step {
+ transition: all 0.3s ease;
+}
+
+.install-step:hover {
+ transform: translateY(-4px);
+ box-shadow: var(--shadow);
+}
+
+.install-step:hover .step-number {
+ transform: scale(1.1);
+}
+
+.step-number {
+ transition: transform 0.3s ease;
+}
+
+/* ===== 技术标签悬浮 ===== */
+.tech-item {
+ transition: all 0.2s ease;
+}
+
+.tech-item:hover {
+ background: var(--primary);
+ color: white;
+ border-color: var(--primary);
+ transform: translateY(-2px);
+}
+
+/* ===== 时间线动画 ===== */
+.roadmap-item {
+ transition: all 0.3s ease;
+}
+
+.roadmap-content:hover {
+ transform: translateX(8px);
+}
+
+/* ===== 截图悬浮效果 ===== */
+.screenshot-item img {
+ transition: all 0.3s ease;
+}
+
+.screenshot-item:hover img {
+ transform: scale(1.02);
+ box-shadow: var(--shadow-lg);
+}
+
+/* ===== 存储卡片效果 ===== */
+.storage-card {
+ transition: all 0.3s ease;
+}
+
+.storage-card:hover {
+ box-shadow: var(--shadow-lg);
+ border-color: var(--primary);
+}
+
+/* ===== 代码块样式增强 ===== */
+.storage-content pre {
+ position: relative;
+}
+
+.storage-content pre::before {
+ content: '文件结构';
+ position: absolute;
+ top: -10px;
+ left: 16px;
+ background: var(--bg-secondary);
+ padding: 0 8px;
+ font-size: 12px;
+ color: var(--text-secondary);
+}
+
+/* ===== 导航链接下划线动画 ===== */
+.nav-links a:not(.btn) {
+ position: relative;
+}
+
+.nav-links a:not(.btn)::after {
+ content: '';
+ position: absolute;
+ bottom: -4px;
+ left: 0;
+ width: 0;
+ height: 2px;
+ background: var(--primary);
+ transition: width 0.3s ease;
+}
+
+.nav-links a:not(.btn):hover::after {
+ width: 100%;
+}
+
+/* ===== Hero 背景动画 ===== */
+.hero {
+ position: relative;
+ overflow: hidden;
+}
+
+.hero::before {
+ content: '';
+ position: absolute;
+ top: -50%;
+ right: -50%;
+ width: 100%;
+ height: 100%;
+ background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
+ animation: float 20s ease-in-out infinite;
+}
+
+@keyframes float {
+ 0%, 100% { transform: translate(0, 0) rotate(0deg); }
+ 25% { transform: translate(-5%, 5%) rotate(5deg); }
+ 50% { transform: translate(5%, -5%) rotate(-5deg); }
+ 75% { transform: translate(-3%, -3%) rotate(3deg); }
+}
+
+/* ===== 加载状态 ===== */
+.loading {
+ position: relative;
+}
+
+.loading::after {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
+ animation: shimmer 1.5s infinite;
+}
+
+@keyframes shimmer {
+ 0% { transform: translateX(-100%); }
+ 100% { transform: translateX(100%); }
+}
+
+/* ===== 回到顶部按钮 ===== */
+.back-to-top {
+ position: fixed;
+ bottom: 30px;
+ right: 30px;
+ width: 48px;
+ height: 48px;
+ background: var(--primary);
+ color: white;
+ border: none;
+ border-radius: 50%;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ opacity: 0;
+ visibility: hidden;
+ transition: all 0.3s ease;
+ box-shadow: var(--shadow-lg);
+ z-index: 99;
+}
+
+.back-to-top.visible {
+ opacity: 1;
+ visibility: visible;
+}
+
+.back-to-top:hover {
+ background: var(--primary-dark);
+ transform: translateY(-4px);
+}
+
+.back-to-top svg {
+ width: 24px;
+ height: 24px;
+}
+
+/* ===== 选择高亮 ===== */
+::selection {
+ background: rgba(59, 130, 246, 0.2);
+ color: var(--text);
+}
+
+/* ===== 滚动条美化 ===== */
+::-webkit-scrollbar {
+ width: 8px;
+ height: 8px;
+}
+
+::-webkit-scrollbar-track {
+ background: var(--bg-secondary);
+}
+
+::-webkit-scrollbar-thumb {
+ background: var(--border);
+ border-radius: 4px;
+}
+
+::-webkit-scrollbar-thumb:hover {
+ background: var(--text-secondary);
+}
+
+
+/* ===== 文件格式分类样式 ===== */
+.formats-categories {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
+ gap: 24px;
+}
+
+.format-category {
+ background: var(--bg-secondary);
+ border-radius: var(--radius);
+ padding: 24px;
+ transition: all 0.3s ease;
+}
+
+.format-category:hover {
+ transform: translateY(-4px);
+ box-shadow: var(--shadow);
+}
+
+.category-header {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ margin-bottom: 16px;
+}
+
+.category-icon {
+ width: 40px;
+ height: 40px;
+ border-radius: 10px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.category-icon svg {
+ width: 20px;
+ height: 20px;
+}
+
+.icon-pink {
+ background: rgba(236, 72, 153, 0.1);
+ color: #ec4899;
+}
+
+.category-header h3 {
+ font-size: 16px;
+ font-weight: 600;
+ margin: 0;
+}
+
+.format-tags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+}
+
+.format-tags span {
+ padding: 4px 10px;
+ background: white;
+ border: 1px solid var(--border);
+ border-radius: 6px;
+ font-size: 12px;
+ font-weight: 500;
+ color: var(--text-secondary);
+ transition: all 0.2s;
+}
+
+.format-tags span:hover {
+ border-color: var(--primary);
+ color: var(--primary);
+}
+
+/* ===== 使用说明卡片样式 ===== */
+.usage-guide {
+ margin-top: 60px;
+ padding-top: 60px;
+ border-top: 1px solid var(--border);
+}
+
+.usage-grid {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 20px;
+}
+
+.usage-card {
+ background: var(--bg-secondary);
+ border-radius: var(--radius);
+ padding: 24px;
+ text-align: center;
+ transition: all 0.3s ease;
+}
+
+.usage-card:hover {
+ transform: translateY(-4px);
+ box-shadow: var(--shadow);
+ background: white;
+}
+
+.usage-icon {
+ width: 48px;
+ height: 48px;
+ background: rgba(59, 130, 246, 0.1);
+ border-radius: 12px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin: 0 auto 16px;
+}
+
+.usage-icon svg {
+ width: 24px;
+ height: 24px;
+ color: var(--primary);
+}
+
+.usage-card h4 {
+ font-size: 15px;
+ font-weight: 600;
+ margin-bottom: 8px;
+}
+
+.usage-card p {
+ font-size: 13px;
+ color: var(--text-secondary);
+ line-height: 1.5;
+}
+
+/* ===== 数据存储可视化样式 ===== */
+.storage-visual {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 40px;
+ align-items: start;
+}
+
+.storage-diagram {
+ background: var(--bg-secondary);
+ border-radius: var(--radius);
+ padding: 32px;
+}
+
+.folder-tree {
+ font-family: 'Monaco', 'Consolas', monospace;
+ font-size: 14px;
+}
+
+.tree-item {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ padding: 8px 0;
+ border-bottom: 1px solid var(--border);
+}
+
+.tree-item:last-child {
+ border-bottom: none;
+}
+
+.tree-item.root {
+ font-weight: 600;
+}
+
+.tree-item.sub {
+ padding-left: 24px;
+}
+
+.folder-icon {
+ font-size: 16px;
+}
+
+.folder-name {
+ color: var(--text);
+}
+
+.folder-name.highlight {
+ color: var(--primary);
+ font-weight: 600;
+}
+
+.folder-desc {
+ font-size: 12px;
+ color: var(--text-secondary);
+ margin-left: auto;
+}
+
+.storage-info {
+ display: flex;
+ flex-direction: column;
+ gap: 16px;
+}
+
+.info-card {
+ display: flex;
+ gap: 16px;
+ background: white;
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ padding: 20px;
+ transition: all 0.3s ease;
+}
+
+.info-card:hover {
+ border-color: var(--primary);
+ box-shadow: var(--shadow);
+}
+
+.info-icon {
+ flex-shrink: 0;
+ width: 44px;
+ height: 44px;
+ border-radius: 10px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.info-icon svg {
+ width: 22px;
+ height: 22px;
+}
+
+.info-content h4 {
+ font-size: 15px;
+ font-weight: 600;
+ margin-bottom: 4px;
+}
+
+.info-content p {
+ font-size: 13px;
+ color: var(--text-secondary);
+ line-height: 1.5;
+}
+
+/* ===== 响应式调整 ===== */
+@media (max-width: 1024px) {
+ .usage-grid {
+ grid-template-columns: repeat(2, 1fr);
+ }
+
+ .storage-visual {
+ grid-template-columns: 1fr;
+ }
+}
+
+@media (max-width: 768px) {
+ .usage-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .formats-categories {
+ grid-template-columns: 1fr;
+ }
+}
+
+
+/* ===== 文件格式新样式 ===== */
+.formats-main {
+ background: var(--bg-secondary);
+ border-radius: var(--radius);
+ padding: 32px;
+ margin-bottom: 24px;
+}
+
+.formats-main-header {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ margin-bottom: 24px;
+}
+
+.main-icon {
+ width: 48px;
+ height: 48px;
+ border-radius: 12px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-shrink: 0;
+}
+
+.main-icon svg {
+ width: 24px;
+ height: 24px;
+}
+
+.formats-main-header h3 {
+ font-size: 18px;
+ font-weight: 600;
+ margin-bottom: 4px;
+}
+
+.formats-main-header p {
+ font-size: 14px;
+ color: var(--text-secondary);
+}
+
+.formats-grid-main {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 12px;
+}
+
+.formats-grid-main .format-item {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 16px 24px;
+ background: white;
+ border-radius: var(--radius-sm);
+ min-width: 90px;
+ transition: all 0.2s;
+}
+
+.formats-grid-main .format-item:hover {
+ transform: translateY(-2px);
+ box-shadow: var(--shadow);
+}
+
+.formats-grid-main .format-ext {
+ font-size: 18px;
+ font-weight: 700;
+ color: var(--primary);
+ margin-bottom: 4px;
+}
+
+.formats-grid-main .format-name {
+ font-size: 12px;
+ color: var(--text-secondary);
+}
+
+/* 其他格式样式 */
+.formats-other {
+ background: var(--bg-secondary);
+ border-radius: var(--radius);
+ padding: 24px;
+}
+
+.formats-other-header {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ margin-bottom: 16px;
+ padding-bottom: 16px;
+ border-bottom: 1px solid var(--border);
+}
+
+.formats-other-header svg {
+ width: 20px;
+ height: 20px;
+ color: var(--text-secondary);
+}
+
+.formats-other-header > span:first-of-type {
+ font-weight: 600;
+ color: var(--text);
+}
+
+.formats-other-note {
+ font-size: 13px;
+ color: var(--text-secondary);
+ margin-left: auto;
+ background: rgba(59, 130, 246, 0.1);
+ padding: 4px 12px;
+ border-radius: 20px;
+}
+
+.formats-other-list {
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ gap: 12px;
+}
+
+.other-category {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ padding: 12px 16px;
+ background: white;
+ border-radius: var(--radius-sm);
+}
+
+.category-label {
+ font-size: 12px;
+ font-weight: 600;
+ color: white;
+ background: var(--text-secondary);
+ padding: 4px 10px;
+ border-radius: 4px;
+ min-width: 48px;
+ text-align: center;
+}
+
+.category-formats {
+ font-size: 13px;
+ color: var(--text-secondary);
+}
+
+@media (max-width: 768px) {
+ .formats-other-list {
+ grid-template-columns: 1fr;
+ }
+
+ .formats-other-note {
+ display: none;
+ }
+
+ .formats-grid-main {
+ justify-content: center;
+ }
+}
+
+
+/* ===== 全宽截图展示样式 ===== */
+.screenshots-full {
+ padding: 100px 0 0;
+ background: var(--bg-secondary);
+}
+
+.screenshot-showcase {
+ margin-top: 60px;
+}
+
+.screenshot-full-item {
+ position: relative;
+ padding: 60px 0;
+ background: linear-gradient(180deg, var(--bg-secondary) 0%, #f1f5f9 100%);
+}
+
+.screenshot-full-item.dark {
+ background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
+}
+
+.screenshot-label {
+ position: absolute;
+ top: 20px;
+ left: 50%;
+ transform: translateX(-50%);
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ padding: 8px 20px;
+ background: white;
+ border-radius: 30px;
+ box-shadow: var(--shadow);
+ font-weight: 600;
+ font-size: 14px;
+ z-index: 10;
+}
+
+.screenshot-full-item.dark .screenshot-label {
+ background: #334155;
+ color: white;
+}
+
+.label-icon {
+ font-size: 16px;
+}
+
+.screenshot-full-wrapper {
+ max-width: 1400px;
+ margin: 0 auto;
+ padding: 0 24px;
+}
+
+.screenshot-full-wrapper img {
+ width: 100%;
+ border-radius: 12px;
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
+ display: block;
+}
+
+.screenshot-full-item.dark .screenshot-full-wrapper img {
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
+}
+
+/* 移动端截图可选展示 */
+@media (max-width: 768px) {
+ .screenshot-full-item {
+ padding: 50px 0;
+ }
+
+ .screenshot-full-wrapper {
+ padding: 0 16px;
+ }
+
+ .screenshot-label {
+ padding: 6px 16px;
+ font-size: 13px;
+ }
+}
+
+
+/* ===== 界面预览选项卡样式 ===== */
+.screenshots-section {
+ padding: 100px 0;
+ background: var(--bg-secondary);
+}
+
+/* 桌面端预览 */
+.desktop-preview {
+ margin-bottom: 80px;
+}
+
+.preview-tabs {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 8px;
+ margin-bottom: 32px;
+ position: relative;
+}
+
+.preview-tab {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ padding: 12px 24px;
+ background: white;
+ border: 2px solid var(--border);
+ border-radius: 30px;
+ font-size: 15px;
+ font-weight: 500;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ position: relative;
+ z-index: 1;
+}
+
+.preview-tab:hover {
+ border-color: var(--primary);
+}
+
+.preview-tab.active {
+ background: var(--primary);
+ border-color: var(--primary);
+ color: white;
+}
+
+.tab-icon {
+ font-size: 18px;
+}
+
+.auto-play-hint {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ margin-left: 16px;
+ font-size: 13px;
+ color: var(--text-secondary);
+}
+
+.auto-play-hint .dot {
+ width: 8px;
+ height: 8px;
+ background: #22c55e;
+ border-radius: 50%;
+ animation: pulse 1.5s ease-in-out infinite;
+}
+
+@keyframes pulse {
+ 0%, 100% { opacity: 1; transform: scale(1); }
+ 50% { opacity: 0.5; transform: scale(0.8); }
+}
+
+.preview-content {
+ position: relative;
+ background: white;
+ border-radius: 16px;
+ padding: 24px;
+ box-shadow: var(--shadow-lg);
+ overflow: hidden;
+}
+
+.preview-panel {
+ display: none;
+ animation: fadeIn 0.5s ease;
+}
+
+.preview-panel.active {
+ display: block;
+}
+
+@keyframes fadeIn {
+ from { opacity: 0; transform: translateY(10px); }
+ to { opacity: 1; transform: translateY(0); }
+}
+
+.preview-panel img {
+ width: 100%;
+ border-radius: 8px;
+ display: block;
+}
+
+/* 移动端预览 */
+.mobile-preview {
+ text-align: center;
+}
+
+.mobile-preview-title {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 10px;
+ font-size: 24px;
+ font-weight: 600;
+ margin-bottom: 12px;
+}
+
+.title-icon {
+ font-size: 28px;
+}
+
+.mobile-preview-desc {
+ color: var(--text-secondary);
+ margin-bottom: 40px;
+}
+
+.mobile-screens {
+ display: flex;
+ justify-content: center;
+ gap: 32px;
+}
+
+.mobile-screen {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 16px;
+}
+
+.phone-frame {
+ width: 220px;
+ height: 440px;
+ background: #1a1a1a;
+ border-radius: 32px;
+ padding: 12px;
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
+ position: relative;
+ overflow: hidden;
+}
+
+.phone-frame::before {
+ content: '';
+ position: absolute;
+ top: 8px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 80px;
+ height: 24px;
+ background: #000;
+ border-radius: 12px;
+ z-index: 10;
+}
+
+.phone-frame img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ border-radius: 20px;
+}
+
+.screen-label {
+ font-size: 14px;
+ font-weight: 500;
+ color: var(--text-secondary);
+}
+
+/* 响应式 */
+@media (max-width: 768px) {
+ .mobile-screens {
+ flex-direction: column;
+ align-items: center;
+ gap: 40px;
+ }
+
+ .phone-frame {
+ width: 200px;
+ height: 400px;
+ }
+
+ .preview-tabs {
+ flex-wrap: wrap;
+ }
+
+ .auto-play-hint {
+ width: 100%;
+ justify-content: center;
+ margin-left: 0;
+ margin-top: 12px;
+ }
+}