From 9486476bd79bb3bc6eeef2b1b69e6222fcd18b00 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 14 二月 2025 17:31:45 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp --- 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