bugfix: 首页不显示+号&sketch卡片尺寸

This commit is contained in:
2026-03-24 14:25:37 +08:00
parent d97892815c
commit b064bca80e
4 changed files with 22 additions and 17 deletions

View File

@@ -15,11 +15,6 @@
</template>
<script setup lang="ts">
// const props = defineProps<{
// title: string
// isUrl?: boolean
// }>()
const props = withDefaults(
defineProps<{
title?: string
@@ -46,17 +41,20 @@
background-size: 100% 100%;
padding: 2.9rem;
overflow: hidden;
position: relative;
&.is-url {
background: url('@/assets/images/link-card.png') no-repeat;
background-size: 100% 100%;
}
&.is-sketch {
background: url('@/assets/images/sketch-card.png') no-repeat;
background-size: 100% 100%;
background-size: contain;
padding: 2rem 3rem;
.report-card-header {
margin-bottom: 0;
}
}
// &:first-of-type{
// margin-top: 0;
// }
&-header {
font-family: 'Medium';
font-size: 1.6rem;