From 072541d6e83dca52077f9d906dec5aa800a4de5f Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Sat, 17 Jun 2023 15:34:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E7=B3=BB=E6=88=91=E4=BB=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CaseCard.vue | 45 +++++++++++++++++++++- src/components/SubNavigation.vue | 10 ++++- src/pages/CaseShow.vue | 81 ++++++++++++++++++++++++++++++++++++++++ src/pages/Company.vue | 2 +- src/pages/Contact.vue | 32 +++++----------- 5 files changed, 142 insertions(+), 28 deletions(-) diff --git a/src/components/CaseCard.vue b/src/components/CaseCard.vue index 7a99ff1..b01dd96 100644 --- a/src/components/CaseCard.vue +++ b/src/components/CaseCard.vue @@ -1,5 +1,17 @@ @@ -12,12 +24,41 @@ grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); .card { - width: 100%; + flex: 1; height: 125px; - background: #283fe7; display: flex; flex-direction: column; align-items: center; + padding: 30px 0; + box-sizing: border-box; + &:nth-child(odd) { + background: #fafafa; + } + .icon { + width: 20px; + height: 20px; + background: #000; + margin-bottom: 11px; + } + .title { + font-size: 8px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + color: #262626; + margin-bottom: 9px; + } + .btn { + border: 1px solid #262626; + padding: 3px 6px; + display: flex; + align-items: center; + justify-content: center; + font-size: 6px; + font-family: Alibaba PuHuiTi; + font-weight: 300; + color: #262626; + white-space: nowrap; + } } } diff --git a/src/components/SubNavigation.vue b/src/components/SubNavigation.vue index 27ef13d..f72a926 100644 --- a/src/components/SubNavigation.vue +++ b/src/components/SubNavigation.vue @@ -1,12 +1,18 @@ - + diff --git a/src/pages/Company.vue b/src/pages/Company.vue index 7654227..afdef5b 100644 --- a/src/pages/Company.vue +++ b/src/pages/Company.vue @@ -1,6 +1,6 @@