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 @@