From 16e2ad64a290ccf6642dbd05c1ca2894ca0947d6 Mon Sep 17 00:00:00 2001
From: ssongliu <73214554+ssongliu@users.noreply.github.com>
Date: Thu, 16 Oct 2025 18:54:46 +0800
Subject: [PATCH] style: Fix the issue of incomplete watermark display (#10668)
---
frontend/src/layout/index.vue | 56 +++++-------
frontend/src/views/home/index.vue | 8 +-
frontend/src/views/home/status/index.vue | 107 ++++++++++++++++-------
3 files changed, 101 insertions(+), 70 deletions(-)
diff --git a/frontend/src/layout/index.vue b/frontend/src/layout/index.vue
index 53c1fcb74..3b5850c1a 100644
--- a/frontend/src/layout/index.vue
+++ b/frontend/src/layout/index.vue
@@ -23,28 +23,31 @@
-
@@ -213,7 +216,6 @@ onMounted(() => {
padding: 7px 20px;
flex: 1;
overflow: auto;
- margin-bottom: 50px;
}
.app-sidebar {
z-index: 2;
@@ -229,15 +231,7 @@ onMounted(() => {
z-index: 5;
}
}
-.app-footer {
- position: fixed;
- bottom: 0;
- left: 0;
- margin-left: 180px;
- width: calc(100% - 180px);
- text-align: center;
- z-index: 1000;
-}
+
.hideSidebar {
.main-container {
margin-left: var(--panel-menu-hide-width);
@@ -248,10 +242,6 @@ onMounted(() => {
.fixed-header {
width: calc(100% - var(--panel-menu-hide-width));
}
- .app-footer {
- margin-left: 75px;
- width: calc(100% - 75px);
- }
}
.fullScreen {
diff --git a/frontend/src/views/home/index.vue b/frontend/src/views/home/index.vue
index 6cda4368b..64d55e8ea 100644
--- a/frontend/src/views/home/index.vue
+++ b/frontend/src/views/home/index.vue
@@ -166,7 +166,7 @@
@@ -177,7 +177,7 @@
-
+
-
+
@@ -746,7 +746,7 @@ onBeforeUnmount(() => {
.h-systemInfo {
margin-left: 18px;
- height: 286px;
+ height: 306px;
}
@-moz-document url-prefix() {
.h-systemInfo {
diff --git a/frontend/src/views/home/status/index.vue b/frontend/src/views/home/status/index.vue
index faea5ddb8..53f530bf4 100644
--- a/frontend/src/views/home/status/index.vue
+++ b/frontend/src/views/home/status/index.vue
@@ -75,34 +75,79 @@
-
- {{ $t('home.mem') }}:
- {{ $t('home.total') }}: {{ computeSize(currentInfo.memoryTotal) }}
- {{ $t('home.used') }}: {{ computeSize(currentInfo.memoryUsed) }}
- {{ $t('home.free') }}: {{ computeSize(currentInfo.memoryFree) }}
- {{ $t('home.shard') }}: {{ computeSize(currentInfo.memoryShard) }}
- {{ $t('home.cache') }}: {{ computeSize(currentInfo.memoryCache) }}
-
- {{ $t('home.available') }}: {{ computeSize(currentInfo.memoryAvailable) }}
-
-
- {{ $t('home.percent') }}: {{ formatNumber(currentInfo.memoryUsedPercent) }}%
-
-
- {{ $t('home.swapMem') }}:
-
- {{ $t('home.total') }}: {{ computeSize(currentInfo.swapMemoryTotal) }}
-
-
- {{ $t('home.used') }}: {{ computeSize(currentInfo.swapMemoryUsed) }}
-
-
- {{ $t('home.free') }}: {{ computeSize(currentInfo.swapMemoryAvailable) }}
-
-
- {{ $t('home.percent') }}: {{ formatNumber(currentInfo.swapMemoryUsedPercent) }}%
-
-
+
+
+
+
+ {{ $t('home.mem') }}:
+
+
+
+ {{ $t('home.total') }}: {{ computeSize(currentInfo.memoryTotal) }}
+
+
+
+
+ {{ $t('home.used') }}: {{ computeSize(currentInfo.memoryUsed) }}
+
+
+
+
+ {{ $t('home.free') }}: {{ computeSize(currentInfo.memoryFree) }}
+
+
+
+
+ {{ $t('home.shard') }}: {{ computeSize(currentInfo.memoryShard) }}
+
+
+
+
+ {{ $t('home.cache') }}: {{ computeSize(currentInfo.memoryCache) }}
+
+
+
+
+ {{ $t('home.available') }}: {{ computeSize(currentInfo.memoryAvailable) }}
+
+
+
+
+ {{ $t('home.percent') }}: {{ formatNumber(currentInfo.memoryUsedPercent) }}%
+
+
+
+
+
+ {{ $t('home.swapMem') }}:
+
+
+
+ {{ $t('home.total') }}: {{ computeSize(currentInfo.swapMemoryTotal) }}
+
+
+
+
+ {{ $t('home.used') }}: {{ computeSize(currentInfo.swapMemoryUsed) }}
+
+
+
+
+ {{ $t('home.free') }}: {{ computeSize(currentInfo.swapMemoryAvailable) }}
+
+
+
+
+ {{ $t('home.percent') }}: {{ formatNumber(currentInfo.swapMemoryUsedPercent) }}%
+
+
+
+
({
- websiteNumber: 0,
- databaseNumber: 0,
- cronjobNumber: 0,
- appInstalledNumber: 0,
-
hostname: '',
os: '',
platform: '',
@@ -294,6 +334,7 @@ const baseInfo = ref({
cpuLogicalCores: 0,
cpuModelName: '',
currentInfo: null,
+ quickJump: [],
});
const currentInfo = ref({
uptime: 0,