From 45b4ff5c0b824d2e5b51a6af3c44076d05f0214d Mon Sep 17 00:00:00 2001 From: whychdw <496960745@qq.com> Date: 星期三, 18 十二月 2024 13:21:28 +0800 Subject: [PATCH] 内容提交 --- src/components/HdwCard/index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/HdwCard/index.vue b/src/components/HdwCard/index.vue index 17d8a2a..1c8a497 100644 --- a/src/components/HdwCard/index.vue +++ b/src/components/HdwCard/index.vue @@ -19,6 +19,7 @@ <template> <div class="hdw-card" :class="[isFull && 'is-full', title && 'is-has-title']"> <div v-if="title" class="hdw-card-title"> + <img src="./images/arrow_mark.png" alt="" /> {{title}} </div> <div class="hdw-card-content"> @@ -30,7 +31,7 @@ <style scoped lang="scss"> .hdw-card { box-shadow: 0 0 12px rgba(0,0,0,0.2); - padding: 8px; + padding: 0 8px 8px 8px; border-radius: 4px; &.is-full { height: 100%; @@ -46,12 +47,17 @@ } .hdw-card-title { + color: var(--light-color); margin-left: -8px; margin-right: -8px; - padding: 4px 16px; - border-bottom: 1px solid rgba(128, 128, 128, 0.2); + padding: 8px; + border-bottom: 1px solid #00feff30; font-weight: 700; font-size: 14px; + img { + width: auto; + height: 10px; + } } } </style> -- Gitblit v1.9.1