@@ -49,7 +49,7 @@
<!-- <badge class="status-badge" dot
:offset="[80, -10]">
</badge> -->
- <div class="status-title">
+ <div class="status-title" :class="{ 'status-title-small': (card.title || '').length > 6 }">
{{ card.title }}
</div>
<div class="status-sub">
@@ -76,7 +76,7 @@
<div v-if="card.executionLimitDays || card.executionLimitDays === 0" class="tag-name" :style="{ borderColor: card.purposeColor, color: card.purposeColor }">限时 {{ card.executionLimitDays }} 天</div>
+ <div class="status-title" :class="{ 'status-title-small': (card.name || '').length > 6 }">
{{ card.name }}
<div class="status-sub pending-sub" :style="{ color: card.purposeColor === '#FFFFFF' ? '#000' : '#fff' }">
@@ -880,6 +880,11 @@ linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
.status-title {
font-size: 16px;
line-height: 24px;
+
+ &.status-title-small {
+ font-size: 13px;
+ line-height: 18px;
+ }
}
.status-sub {