From 48caa4168c86aa30033656638c000f56b950fb0c Mon Sep 17 00:00:00 2001 From: sakuraiKiyoshi Date: Wed, 7 Jan 2026 13:56:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E9=A1=B5=E8=84=9A?= =?UTF-8?q?=E5=92=8CAppID=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在页面底部添加包含版本信息的页脚,并在应用列表中显示AppID --- index.html | 4 ++++ script.js | 4 ++++ style.css | 9 +++++++++ 3 files changed, 17 insertions(+) diff --git a/index.html b/index.html index 73dface..fb6630c 100644 --- a/index.html +++ b/index.html @@ -54,6 +54,10 @@
+ diff --git a/script.js b/script.js index 958c0cc..eb1aa7e 100644 --- a/script.js +++ b/script.js @@ -130,6 +130,9 @@ async function loadAppList() { const appDate = document.createElement('p'); // 创建App日期元素 appDate.textContent = `上传时间:${app.date}`; + const appId = document.createElement('p'); // 创建App ID元素 + appId.textContent = `AppID:${app.id}`; + const downloadBtn = document.createElement('button'); // 创建下载按钮 downloadBtn.className = 'download-btn'; downloadBtn.textContent = '下载'; @@ -148,6 +151,7 @@ async function loadAppList() { // 组装App项 appInfo.appendChild(appName); appInfo.appendChild(appDate); + appInfo.appendChild(appId); appItem.appendChild(appInfo); // 创建按钮容器并添加按钮 diff --git a/style.css b/style.css index 4e4a327..fc05e95 100644 --- a/style.css +++ b/style.css @@ -24,6 +24,15 @@ header { padding-bottom: 20px; border-bottom: 1px solid #000; } +/* 页面尾部样式 */ +footer { + text-align: center; + margin-top: 30px; + padding-top: 20px; + margin-bottom: 30px; + /* padding-bottom: 20px; */ + border-top: 1px solid #000; +} /* 页面标题样式 */ header h1 {