From 6b25868b497dc932d508a2736845b57a69c73371 Mon Sep 17 00:00:00 2001 From: "lijie.hu" Date: Mon, 8 Apr 2024 16:41:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=80=82=E9=85=8D=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lj-car-info-table.component.css | 10 +++-- .../lj-car-info-table.component.html | 8 ++-- .../lj-car-info-table.component.ts | 45 +++++++++++-------- .../navigation/navigation.component.html | 4 +- 4 files changed, 40 insertions(+), 27 deletions(-) diff --git a/src/app/routes/data-v/lj-car-info-table/lj-car-info-table.component.css b/src/app/routes/data-v/lj-car-info-table/lj-car-info-table.component.css index 93d6d1c..8ff49ec 100644 --- a/src/app/routes/data-v/lj-car-info-table/lj-car-info-table.component.css +++ b/src/app/routes/data-v/lj-car-info-table/lj-car-info-table.component.css @@ -34,19 +34,22 @@ border-radius: 3px; .card-content { overflow: hidden; + + /* height: 18rem; */ margin-bottom: 0.5rem; - //height: 18rem; padding: 1rem 1.5rem; padding: 1rem; /* 调整内边距以适应内容 */ - //position: relative; + + /* //position: relative; */ background-image: url('../../../../assets/dashboard/dashboard_card_bg2.png'); background-repeat: no-repeat; /* 防止背景图片重复 */ background-position: center; - // background-position: top; + + /* // background-position: top; */ background-size: 100% 100%; .card-content-title { @@ -115,6 +118,7 @@ border-radius: 3px; .table-header { display: flex; /* 使用 flex 布局 */ justify-content: space-between; /* 元素之间平均分布 */ + font-size: 0.9rem; } diff --git a/src/app/routes/data-v/lj-car-info-table/lj-car-info-table.component.html b/src/app/routes/data-v/lj-car-info-table/lj-car-info-table.component.html index d96e21a..7411ae4 100644 --- a/src/app/routes/data-v/lj-car-info-table/lj-car-info-table.component.html +++ b/src/app/routes/data-v/lj-car-info-table/lj-car-info-table.component.html @@ -17,7 +17,7 @@
#1
#2
#3
#4
{{ menu.text }} @@ -36,7 +36,7 @@ {{ menu.text }}