Explorar o código

修改标记过的颜色

zhangxc %!s(int64=5) %!d(string=hai) anos
pai
achega
e2d63d1524
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/components/recordInput/RecordList.vue

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

@@ -43,7 +43,7 @@
                         label="是否标注"
                         width="">
                     <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>
                 </el-table-column>
                 <el-table-column
@@ -240,6 +240,9 @@
     .delete:hover {
         color: red;
     }
+    .colorBlue{
+      color:blue;
+    }
     .review{
         color: #22ccc8;
     }