From 2173aa93a17e6c163ff607c8637eaeb2c00b96e3 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期二, 05 八月 2025 17:16:03 +0800 Subject: [PATCH] feat: 名片 --- packages/components/src/Card/FlexJobTopView.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/packages/components/src/Card/FlexJobTopView.vue b/packages/components/src/Card/FlexJobTopView.vue index ba2b4fd..35f10ac 100644 --- a/packages/components/src/Card/FlexJobTopView.vue +++ b/packages/components/src/Card/FlexJobTopView.vue @@ -12,7 +12,9 @@ /> <img v-else :src="IconFemale" class="flexJob-card-top-info-gender-icon" /> </div> - <div class="flexJob-card-top-info-auth">{{ isRealName ? '宸插疄鍚�' : '鏈疄鍚�' }}</div> + <div class="flexJob-card-top-info-auth" :class="{ 'is-real-name': isRealName }"> + {{ isRealName ? '宸插疄鍚�' : '鏈疄鍚�' }} + </div> </div> <slot name="detail"> <div class="flexJob-card-top-info-detail"> @@ -97,6 +99,10 @@ font-size: 28px; line-height: 34px; flex-shrink: 0; + + &.is-real-name { + color: #2a9e1b; + } } } -- Gitblit v1.9.1