Просмотр исходного кода

Merge branch 'farmer' of http://www.sysuimars.cn:3000/feiniao/feiniao-farm-h5 into farmer

wangsisi 5 дней назад
Родитель
Сommit
3861bbcf1b

+ 7 - 2
src/views/old_mini/growth_report/index.vue

@@ -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 @@
                                             :offset="[80, -10]">
                                         </badge> -->
                                         <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">
+                                        <div class="status-title" :class="{ 'status-title-small': (card.name || '').length > 6 }">
                                             {{ card.name }}
                                         </div>
                                         <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 {

+ 1 - 1
src/views/old_mini/work_detail/index.vue

@@ -387,7 +387,7 @@ const handleTagType = (tagType) => {
         if (status === 0) {
             return "审核中";
         }
-        return "已完成";
+        return "已认证";
     }
     return "待触发"
 }