From 8b16936e3862cfd7957abbaed154f9af2391249e Mon Sep 17 00:00:00 2001 From: Oscar Date: Thu, 25 Dec 2025 19:01:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?style(ui):=20=E9=87=8D=E6=9E=84=20ItemCard?= =?UTF-8?q?=20=E5=B8=83=E5=B1=80=E5=B9=B6=E4=BC=98=E5=8C=96=E7=BD=91?= =?UTF-8?q?=E6=A0=BC=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/components/shared/ItemCard.vue | 153 +++++++++++-------- dashboard/src/views/PlatformPage.vue | 106 +++++++------ 2 files changed, 144 insertions(+), 115 deletions(-) diff --git a/dashboard/src/components/shared/ItemCard.vue b/dashboard/src/components/shared/ItemCard.vue index 7c3013239..93e94326c 100644 --- a/dashboard/src/components/shared/ItemCard.vue +++ b/dashboard/src/components/shared/ItemCard.vue @@ -1,71 +1,92 @@ @@ -126,10 +147,12 @@ export default { border-radius: 18px; transition: all 0.3s ease; overflow: hidden; - min-height: 220px; + min-height: 160px; + width: 100%; display: flex; flex-direction: column; justify-content: space-between; + border: 1px solid #e0e0e0; } .hover-elevation:hover { diff --git a/dashboard/src/views/PlatformPage.vue b/dashboard/src/views/PlatformPage.vue index 56d23852d..121a01af0 100644 --- a/dashboard/src/views/PlatformPage.vue +++ b/dashboard/src/views/PlatformPage.vue @@ -16,7 +16,7 @@ -
+
mdi-connection @@ -24,55 +24,54 @@ - - - - - - - +
+ + + +
@@ -453,6 +452,13 @@ export default { padding-bottom: 40px; } +.item-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); + gap: 16px; + width: 100%; +} + .webhook-info { margin-top: 4px; } From 628c723153c55f5e1e21fab3012d4ac51dc1daca Mon Sep 17 00:00:00 2001 From: Oscar Date: Fri, 26 Dec 2025 17:47:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?refactor(ui):=20=E9=87=8D=E6=9E=84=20ItemCa?= =?UTF-8?q?rd=20=E5=B8=83=E5=B1=80=E7=BB=93=E6=9E=84=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=8A=B6=E6=80=81=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/components/shared/ItemCard.vue | 205 ++++++++++++------- dashboard/src/views/PlatformPage.vue | 57 ++---- 2 files changed, 150 insertions(+), 112 deletions(-) diff --git a/dashboard/src/components/shared/ItemCard.vue b/dashboard/src/components/shared/ItemCard.vue index 93e94326c..61aa89327 100644 --- a/dashboard/src/components/shared/ItemCard.vue +++ b/dashboard/src/components/shared/ItemCard.vue @@ -1,90 +1,91 @@