a
This commit is contained in:
@@ -0,0 +1,286 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>玩Android Uniapp项目预览</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
||||
min-height: 100vh;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
background: white;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: linear-gradient(135deg, #3cc51f 0%, #2a9d1a 100%);
|
||||
color: white;
|
||||
padding: 40px 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 32px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.header p {
|
||||
opacity: 0.9;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 40px 30px;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.section h2 {
|
||||
color: #3cc51f;
|
||||
font-size: 24px;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 2px solid #f0f0f0;
|
||||
}
|
||||
|
||||
.feature-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
background: #f8f9fa;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
transition: transform 0.3s, box-shadow 0.3s;
|
||||
}
|
||||
|
||||
.feature-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
font-size: 40px;
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.feature-title {
|
||||
font-weight: 600;
|
||||
margin-bottom: 10px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.feature-desc {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.status-badge {
|
||||
display: inline-block;
|
||||
padding: 5px 15px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.status-completed {
|
||||
background: #d4edda;
|
||||
color: #155724;
|
||||
}
|
||||
|
||||
.status-pending {
|
||||
background: #fff3cd;
|
||||
color: #856404;
|
||||
}
|
||||
|
||||
.file-list {
|
||||
background: #f8f9fa;
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.file-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid #e9ecef;
|
||||
}
|
||||
|
||||
.file-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.file-name {
|
||||
font-family: 'Courier New', monospace;
|
||||
}
|
||||
|
||||
.file-size {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: center;
|
||||
padding: 30px;
|
||||
background: #f8f9fa;
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.success-message {
|
||||
background: #d4edda;
|
||||
color: #155724;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
margin: 20px 0;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.container {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.header {
|
||||
padding: 30px 20px;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 30px 20px;
|
||||
}
|
||||
|
||||
.feature-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>玩Android Uniapp客户端</h1>
|
||||
<p>基于Uniapp框架开发的Android应用</p>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="success-message">
|
||||
✅ 项目测试通过!可以导入HBuilder X进行打包
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h2>项目概述</h2>
|
||||
<p>这是一个基于Uniapp框架开发的玩Android客户端应用,集成了玩Android开放API,提供文章浏览、项目查看等功能。</p>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h2>功能特性</h2>
|
||||
<div class="feature-grid">
|
||||
<div class="feature-card">
|
||||
<span class="feature-icon">🏠</span>
|
||||
<div class="feature-title">首页</div>
|
||||
<div class="feature-desc">Banner轮播、文章列表、下拉刷新、上拉加载</div>
|
||||
<span class="status-badge status-completed">已完成</span>
|
||||
</div>
|
||||
|
||||
<div class="feature-card">
|
||||
<span class="feature-icon">📦</span>
|
||||
<div class="feature-title">项目</div>
|
||||
<div class="feature-desc">开源项目浏览和分类查看</div>
|
||||
<span class="status-badge status-pending">待开发</span>
|
||||
</div>
|
||||
|
||||
<div class="feature-card">
|
||||
<span class="feature-icon">📱</span>
|
||||
<div class="feature-title">公众号</div>
|
||||
<div class="feature-desc">技术公众号文章订阅</div>
|
||||
<span class="status-badge status-pending">待开发</span>
|
||||
</div>
|
||||
|
||||
<div class="feature-card">
|
||||
<span class="feature-icon">🌳</span>
|
||||
<div class="feature-title">体系</div>
|
||||
<div class="feature-desc">技术知识体系结构</div>
|
||||
<span class="status-badge status-pending">待开发</span>
|
||||
</div>
|
||||
|
||||
<div class="feature-card">
|
||||
<span class="feature-icon">👤</span>
|
||||
<div class="feature-title">我的</div>
|
||||
<div class="feature-desc">用户中心和个人设置</div>
|
||||
<span class="status-badge status-pending">待开发</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h2>项目结构</h2>
|
||||
<div class="file-list">
|
||||
<div class="file-item">
|
||||
<span class="file-name">pages/index/index.vue</span>
|
||||
<span class="file-size">11.4 KB</span>
|
||||
</div>
|
||||
<div class="file-item">
|
||||
<span class="file-name">pages.json</span>
|
||||
<span class="file-size">2.3 KB</span>
|
||||
</div>
|
||||
<div class="file-item">
|
||||
<span class="file-name">manifest.json</span>
|
||||
<span class="file-size">1.5 KB</span>
|
||||
</div>
|
||||
<div class="file-item">
|
||||
<span class="file-name">App.vue</span>
|
||||
<span class="file-size">1.7 KB</span>
|
||||
</div>
|
||||
<div class="file-item">
|
||||
<span class="file-name">components/uni-load-more.vue</span>
|
||||
<span class="file-size">2.3 KB</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h2>使用说明</h2>
|
||||
<p>1. 下载项目文件到本地</p>
|
||||
<p>2. 使用HBuilder X导入项目</p>
|
||||
<p>3. 运行到浏览器或手机模拟器测试</p>
|
||||
<p>4. 打包为Android APK文件</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>生成时间: 2026-03-17</p>
|
||||
<p>项目路径: /home/ubuntu/wanandroid/uniapp</p>
|
||||
<p>© 2026 玩Android Uniapp客户端</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user