Initial commit - 玩玩云文件管理系统 v1.0.0
- 完整的前后端代码 - 支持本地存储和SFTP存储 - 文件分享功能 - 上传工具源代码 - 完整的部署文档 - Nginx配置模板 技术栈: - 后端: Node.js + Express + SQLite - 前端: Vue.js 3 + Axios - 存储: 本地存储 / SFTP远程存储
This commit is contained in:
191
frontend/index.html
Normal file
191
frontend/index.html
Normal file
@@ -0,0 +1,191 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>玩玩云 - 主页</title>
|
||||
<link rel="stylesheet" href="libs/fontawesome/css/all.min.css">
|
||||
<style>
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
min-height: 100vh;
|
||||
}
|
||||
.navbar {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
padding: 20px 50px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
box-shadow: 0 2px 20px rgba(0,0,0,0.1);
|
||||
}
|
||||
.logo {
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
color: #667eea;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.nav-buttons { display: flex; gap: 15px; }
|
||||
.btn {
|
||||
padding: 12px 24px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
}
|
||||
.btn-primary {
|
||||
background: #667eea;
|
||||
color: white;
|
||||
}
|
||||
.btn-primary:hover {
|
||||
background: #5568d3;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
.btn-outline {
|
||||
background: transparent;
|
||||
color: #667eea;
|
||||
border: 2px solid #667eea;
|
||||
}
|
||||
.btn-outline:hover {
|
||||
background: #667eea;
|
||||
color: white;
|
||||
}
|
||||
.hero {
|
||||
max-width: 1200px;
|
||||
margin: 80px auto;
|
||||
padding: 0 50px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
.hero h1 {
|
||||
font-size: 56px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.hero p {
|
||||
font-size: 20px;
|
||||
margin-bottom: 40px;
|
||||
opacity: 0.95;
|
||||
}
|
||||
.hero-buttons {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
}
|
||||
.features {
|
||||
max-width: 1200px;
|
||||
margin: 80px auto;
|
||||
padding: 0 50px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 30px;
|
||||
}
|
||||
.feature-card {
|
||||
background: white;
|
||||
padding: 40px 30px;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.feature-card:hover {
|
||||
transform: translateY(-8px);
|
||||
box-shadow: 0 20px 50px rgba(0,0,0,0.15);
|
||||
}
|
||||
.feature-icon {
|
||||
font-size: 48px;
|
||||
color: #667eea;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.feature-title {
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 12px;
|
||||
color: #333;
|
||||
}
|
||||
.feature-desc {
|
||||
font-size: 15px;
|
||||
color: #666;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
padding: 40px 20px;
|
||||
color: white;
|
||||
opacity: 0.9;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar">
|
||||
<div class="logo">
|
||||
<i class="fas fa-cloud"></i>
|
||||
玩玩云
|
||||
</div>
|
||||
<div class="nav-buttons">
|
||||
<a href="app.html?action=login" class="btn btn-outline">
|
||||
<i class="fas fa-right-to-bracket"></i> 登录
|
||||
</a>
|
||||
<a href="app.html?action=register" class="btn btn-primary">
|
||||
<i class="fas fa-user-plus"></i> 注册
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="hero">
|
||||
<h1><i class="fas fa-cloud"></i> 玩玩云管理平台</h1>
|
||||
<p>简单、安全、高效的文件管理解决方案<br>连接你的SFTP服务器,随时随地管理文件</p>
|
||||
<div class="hero-buttons">
|
||||
<a href="app.html?action=register" class="btn btn-primary" style="padding: 16px 32px; font-size: 18px;">
|
||||
<i class="fas fa-rocket"></i> 立即开始
|
||||
</a>
|
||||
<a href="app.html?action=login" class="btn btn-outline" style="padding: 16px 32px; font-size: 18px;">
|
||||
<i class="fas fa-right-to-bracket"></i> 已有账号登录
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="features">
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon"><i class="fas fa-server"></i></div>
|
||||
<div class="feature-title">连接你的SFTP</div>
|
||||
<div class="feature-desc">支持连接任何SFTP服务器,数据存储在你自己的服务器上,更安全可靠</div>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon"><i class="fas fa-cloud-upload-alt"></i></div>
|
||||
<div class="feature-title">轻松上传下载</div>
|
||||
<div class="feature-desc">网盘式界面,拖拽上传,快速下载,文件管理从未如此简单</div>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon"><i class="fas fa-share-alt"></i></div>
|
||||
<div class="feature-title">一键分享</div>
|
||||
<div class="feature-desc">生成分享链接,可设置密码保护,轻松分享文件给朋友</div>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon"><i class="fas fa-lock"></i></div>
|
||||
<div class="feature-title">安全可靠</div>
|
||||
<div class="feature-desc">JWT认证,密码加密存储,保护你的数据安全</div>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon"><i class="fas fa-mobile-alt"></i></div>
|
||||
<div class="feature-title">响应式设计</div>
|
||||
<div class="feature-desc">完美支持桌面和移动设备,随时随地访问你的文件</div>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon"><i class="fas fa-chart-line"></i></div>
|
||||
<div class="feature-title">分享统计</div>
|
||||
<div class="feature-desc">查看分享链接的访问次数和下载统计,了解分享效果</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p><i class="fas fa-heart" style="color: #ff6b6b;"></i> 玩玩云 © 2025</p>
|
||||
<p style="margin-top: 10px; font-size: 14px;">轻松管理你的文件,让分享更简单</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user