浏览代码

修改标记过的颜色

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

+ 4 - 1
src/components/recordInput/RecordList.vue

@@ -43,7 +43,7 @@
                         label="是否标注"
                         label="是否标注"
                         width="">
                         width="">
                     <template slot-scope="scope">
                     <template slot-scope="scope">
-                        <span style="margin:0 3px;">{{scope.row.isTag ? "是":"否"}}</span>
+                        <span style="margin:0 3px;" :class="scope.row.isTag?'colorBlue':''">{{scope.row.isTag ? "是":"否"}}</span>
                     </template>
                     </template>
                 </el-table-column>
                 </el-table-column>
                 <el-table-column
                 <el-table-column
@@ -240,6 +240,9 @@
     .delete:hover {
     .delete:hover {
         color: red;
         color: red;
     }
     }
+    .colorBlue{
+      color:blue;
+    }
     .review{
     .review{
         color: #22ccc8;
         color: #22ccc8;
     }
     }