样式优化

This commit is contained in:
cwchen 2025-07-24 13:21:58 +08:00
parent 89051daf80
commit 0c608a90be
1 changed files with 11 additions and 6 deletions

View File

@ -30,15 +30,19 @@
body { body {
background-color: transparent; background-color: transparent;
color: var(--dark); color: var(--dark);
min-height: 100vh; /* min-height: 98vh; */
height: 100%;
overflow-x: hidden; overflow-x: hidden;
padding: 20px; /* padding: 20px; */
} }
.container { .container {
max-width: 1400px; max-width: 1400px;
height: 100%;
margin: 0 auto; margin: 0 auto;
padding: 20px;
/* padding: 20px; */
padding: 50px 20px 0 20px;
} }
header { header {
@ -679,8 +683,8 @@
let url = commonUrl + "screen/Dashapi/pages/dashInfo"; let url = commonUrl + "screen/Dashapi/pages/dashInfo";
ajaxRequest(url, "get", "", true, function () { ajaxRequest(url, "get", "", true, function () {
}, function (result) { }, function (result) {
console.log("22222222222222222") // console.log("22222222222222222")
console.log(JSON.stringify(result)); // console.log(JSON.stringify(result));
pageData=result; pageData=result;
initPage(); initPage();
}, function (xhr, status, error) { }, function (xhr, status, error) {
@ -769,7 +773,8 @@
}); });
// 渲染页脚 // 渲染页脚
document.getElementById('footer-text').textContent = pageData.footer; // document.getElementById('footer-text').textContent = pageData.footer;
document.getElementById('footer-text').textContent = '';
} }
// 渲染二级页面 // 渲染二级页面