浏览代码

症状推送有内容显示状态

zhangxc 6 年之前
父节点
当前提交
bfdb2a4fb1
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/components/icss/SymptomPush.vue

+ 4 - 1
src/components/icss/SymptomPush.vue

@@ -34,7 +34,7 @@
       <ul v-for="(item, index) in rightTagsList" 
             :key="index"    
             class="symptomPushTagList symptomPushOperationPool"
-            :class="index === 1&&item.id ? 'symptomPushOperationPoolPush':'' "
+            :class="{symptomPushOperationPoolPush:index === 1,  hasSymptomPush: index === 1&&item.id} "
             :style="currentSelectIndex === index?styles:null"
             @click="SelectList(index)"
       >
@@ -301,6 +301,9 @@ export default {
     .symptomPushOperationPoolPush {
         border: 1px dashed @icssBorder;
     }
+    .hasSymptomPush {
+        background: #abcdef;
+    }
     .symptomPushTagItem {
         position: relative;
         line-height: 30px;