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 {