From 7ab49073679e738a11c33d0b094fe7308e83fd51 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 17 二月 2025 10:50:05 +0800
Subject: [PATCH] feat: 签约

---
 packages/components/src/Card/FlexJobTopView.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/packages/components/src/Card/FlexJobTopView.vue b/packages/components/src/Card/FlexJobTopView.vue
index 4f938b6..63a0ef0 100644
--- a/packages/components/src/Card/FlexJobTopView.vue
+++ b/packages/components/src/Card/FlexJobTopView.vue
@@ -10,7 +10,9 @@
         </div>
         <div class="flexJob-card-top-info-auth">{{ '宸插疄鍚�' }}</div>
       </div>
-      <div class="flexJob-card-top-info-detail">{{ '26宀� | 闈炲鐢� | 鏈 | 涓婂矖121娆�' }}</div>
+      <slot name="detail">
+        <div class="flexJob-card-top-info-detail">{{ '26宀� | 闈炲鐢� | 鏈 | 涓婂矖121娆�' }}</div>
+      </slot>
     </div>
   </div>
 </template>
@@ -46,6 +48,8 @@
   .flexJob-card-top-info {
     display: flex;
     flex-direction: column;
+    flex: 1;
+    min-width: 0;
 
     .flexJob-card-top-info-item {
       display: flex;
@@ -56,6 +60,7 @@
         line-height: 34px;
         font-weight: bold;
         color: boleGetCssVar('text-color', 'primary');
+        @include ellipsis;
       }
 
       .flexJob-card-top-info-gender {
@@ -63,6 +68,7 @@
         align-items: center;
         height: 34px;
         margin: 0 10px;
+        flex-shrink: 0;
 
         .flexJob-card-top-info-gender-icon {
           width: 24px;
@@ -73,6 +79,7 @@
       .flexJob-card-top-info-auth {
         font-size: 28px;
         line-height: 34px;
+        flex-shrink: 0;
       }
     }
 

--
Gitblit v1.9.1