feat: 添加页脚和AppID显示
在页面底部添加包含版本信息的页脚,并在应用列表中显示AppID
This commit is contained in:
@@ -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);
|
||||
|
||||
// 创建按钮容器并添加按钮
|
||||
|
||||
Reference in New Issue
Block a user