|
@@ -2,10 +2,8 @@
|
|
|
<div v-if="subTitle" class="subTitle-wrapper">
|
|
|
{{ title }} -
|
|
|
<div v-for="(item, index) in subTitle" :key="index" class="item">
|
|
|
- <div v-if="isShowItem(item.copywriter)">
|
|
|
- {{ item.copywriter }}<div :class="{ red: isShowColor(item.copywriter, item.label) }"><span class="fontWeight">{{ item.label }}</span>
|
|
|
- <div v-if="isShow(item.copywriter)">%</div>
|
|
|
- </div><span v-if="item.copywriter !== '全量回滚率' && item.copywriter !== '裸奔上线率'">次</span>
|
|
|
+ <div v-if="isShowItem(item.copywriter)">{{ item.copywriter }}<div :class="{ red: isShowColor(item.copywriter, item.label) }"><span class="fontWeight">{{ item.label }}</span><span v-if="isShow(item.copywriter)" class="fontWeight">%</span><span v-if="item.copywriter !== '全量回滚率' && item.copywriter !== '裸奔上线率'">次</span>
|
|
|
+ </div>
|
|
|
<div v-if="index < subTitle.length - 1">{{ item.copywriter.search(/发布次数|全量回滚率/) > -1 ? ';' : isComma(item.copywriter) }}</div>
|
|
|
</div>
|
|
|
</div>
|