初始化仓库,前端完成
This commit is contained in:
41
index.html
Normal file
41
index.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>极简App分发系统</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1>App分发系统</h1>
|
||||
</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">
|
||||
<h2>可用App</h2>
|
||||
<div id="appList"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user