2025-12-23 22:19:02 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="zh-CN">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2025-12-23 23:28:09 +08:00
|
|
|
<title>App分发系统</title>
|
2025-12-23 22:19:02 +08:00
|
|
|
<link rel="stylesheet" href="style.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="container">
|
|
|
|
|
<header>
|
2025-12-23 23:28:09 +08:00
|
|
|
<h1>App分发系统By拉面王</h1>
|
|
|
|
|
<h6>项目经理:Qwen3max,测试经理:Doubao-seed-1.8,开发经理:Doubao-seed-1.8,bug修复和模块整合:拉面王</h6>
|
2025-12-23 22:19:02 +08:00
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<!-- 登录区域 -->
|
|
|
|
|
<div id="loginSection" class="section">
|
|
|
|
|
<h2>管理员登录</h2>
|
|
|
|
|
<input type="password" id="password" placeholder="请输入密码" maxlength="20">
|
|
|
|
|
<button onclick="login()">登录</button>
|
|
|
|
|
<p id="loginMessage"></p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 上传区域 -->
|
|
|
|
|
<div id="uploadSection" class="section" style="display: none;">
|
|
|
|
|
<h2>上传App</h2>
|
|
|
|
|
<input type="text" id="appName" placeholder="App名称" maxlength="50">
|
|
|
|
|
<input type="file" id="appFile" accept=".apk,.ipa,.zip">
|
|
|
|
|
<button onclick="uploadApp()">上传</button>
|
|
|
|
|
<p id="uploadMessage"></p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 下载区域 -->
|
|
|
|
|
<div id="downloadSection" class="section">
|
2025-12-23 23:48:12 +08:00
|
|
|
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;">
|
|
|
|
|
<h2>可用App</h2>
|
|
|
|
|
<div>
|
|
|
|
|
<button id="refreshBtn" onclick="refreshAppList()">刷新</button>
|
|
|
|
|
<span id="loadingIndicator" style="display: none; margin-left: 10px; font-size: 12px;">加载中...</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-12-23 22:19:02 +08:00
|
|
|
<div id="appList"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script src="script.js"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|