From 75f043dfa6660716364e66ee0b3cf99f44255686 Mon Sep 17 00:00:00 2001 From: DYL0109 <dn18191638832@163.com> Date: 星期三, 16 四月 2025 19:20:36 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop1.0' into dyl_dev --- zhitan-vue/src/components/BaseCard/index.vue | 36 +++++++++++++++++++++++++++++++++--- 1 files changed, 33 insertions(+), 3 deletions(-) diff --git a/zhitan-vue/src/components/BaseCard/index.vue b/zhitan-vue/src/components/BaseCard/index.vue index 398a771..28f172a 100644 --- a/zhitan-vue/src/components/BaseCard/index.vue +++ b/zhitan-vue/src/components/BaseCard/index.vue @@ -8,8 +8,7 @@ </template> <script setup> -defineProps(['title']) - +defineProps(["title"]) </script> <style lang="scss" scoped> @@ -20,7 +19,7 @@ border-radius: 10px 10px 10px 10px; border: 1px solid #22408c; padding-bottom: 10px; - + .mycard-title { display: flex; justify-content: flex-start; @@ -29,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; + } } } } @@ -47,6 +61,7 @@ border: 1px solid #ebebeb; padding-bottom: 10px; background-color: #fff; + .mycard-title { display: flex; justify-content: flex-start; @@ -55,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