From 8705ff60224ebd5e9966d13c9171f8da028d0de4 Mon Sep 17 00:00:00 2001 From: jxj_yjl <1490736767@qq.com> Date: Tue, 5 Sep 2023 14:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=A0=87=E9=A2=98=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/card.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/card.vue b/src/components/card.vue index b099877..5023b05 100644 --- a/src/components/card.vue +++ b/src/components/card.vue @@ -29,6 +29,7 @@ export default { background: url("@/assets/images/titleImg.png") no-repeat; background-size: 100% 100%; display: flex; + align-items: center; div { font-size: calc(100vw * 18 / 1920); color: #ffffff; @@ -41,11 +42,12 @@ export default { } } .titltText { - margin: 1% 0 0 2%; + margin: 0% 0 1% 2%; + // margin-left: 2%; } } .content { - margin-top: 2%; + margin-top: 3%; height: 88%; background: url("@/assets/images/cardImg.png") no-repeat; background-size: 100% 100%;