From ab829cc73f6607c36319d48719bdc3da25c4abc9 Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Mon, 4 Dec 2023 16:28:02 +0800 Subject: [PATCH] style --- index.html | 2 +- src/components/CaseCard.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index d1ef6c3..860ca36 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ var _hmt = _hmt || [] ;(function () { var hm = document.createElement('script') - hm.src = 'https://hm.baidu.com/hm.js?a816411910778ae002d61596a8ede86a' + hm.src = 'https://hm.baidu.com/hm.js?aead83b1b0f20ee468cdb1a81eb2e9c8' var s = document.getElementsByTagName('script')[0] s.parentNode.insertBefore(hm, s) })() diff --git a/src/components/CaseCard.vue b/src/components/CaseCard.vue index bb5a054..351ec22 100644 --- a/src/components/CaseCard.vue +++ b/src/components/CaseCard.vue @@ -91,14 +91,14 @@ const getImg = id => { display: flex; flex-direction: column; align-items: center; - padding: 20px 0; + padding: 10px 0; .icon { width: auto; height: 20px; margin-bottom: 11px; } .title { - font-size: 16px; + font-size: 24px; transform: scale(0.5); line-height: 8px; font-family: Alibaba PuHuiTi; @@ -126,11 +126,13 @@ const getImg = id => { justify-content: center; flex: 1; height: 100%; + overflow: hidden; .img { width: 90px; height: 90px; box-shadow: 0px 2px 7px 0px rgba(8, 69, 71, 0.09); border-radius: 11px; + transform: scale(1.45); } } }