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