From b0530ed9211230227a8f94e394eda779d5ae5fc1 Mon Sep 17 00:00:00 2001 From: birt <2499248221@qq.com> Date: 星期日, 13 四月 2025 01:51:52 +0800 Subject: [PATCH] birtzhang --- zhitan-vue/src/components/BaseCard/index.vue | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/zhitan-vue/src/components/BaseCard/index.vue b/zhitan-vue/src/components/BaseCard/index.vue index f434aeb..28f172a 100644 --- a/zhitan-vue/src/components/BaseCard/index.vue +++ b/zhitan-vue/src/components/BaseCard/index.vue @@ -28,11 +28,26 @@ border-radius: 7px 7px 0 0; padding: 20px; background-color: #22408c; + .name { font-family: OPPOSans, OPPOSans; font-weight: bold; font-size: 18px; color: #fff; + position: relative; + padding-left: 12px; + + &::before { + content: ''; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 5px; + height: 18px; + background-color: #3883FA; + border-radius: 2px; + } } } } @@ -46,6 +61,7 @@ border: 1px solid #ebebeb; padding-bottom: 10px; background-color: #fff; + .mycard-title { display: flex; justify-content: flex-start; @@ -54,11 +70,26 @@ border-radius: 7px 7px 0 0; padding: 20px; background-color: #e7eefd; + .name { font-family: OPPOSans, OPPOSans; font-weight: bold; font-size: 18px; color: #2d2e31; + position: relative; + padding-left: 12px; + + &::before { + content: ''; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 5px; + height: 18px; + background-color: #3883FA; + border-radius: 2px; + } } } } -- Gitblit v1.9.3