feat: 添加页脚和AppID显示

在页面底部添加包含版本信息的页脚,并在应用列表中显示AppID
This commit is contained in:
2026-01-07 13:56:50 +08:00
parent 04c0c3cae5
commit 48caa4168c
3 changed files with 17 additions and 0 deletions

View File

@@ -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);
// 创建按钮容器并添加按钮