小王 1 year ago
parent
commit
32617386e8
1 changed files with 8 additions and 4 deletions
  1. 8 4
      src/views/xndc/modules/center-top.vue

+ 8 - 4
src/views/xndc/modules/center-top.vue

@@ -16,12 +16,16 @@
             >
                 <el-table-column align="center" label="信息" prop="info">
                     <template slot-scope="scope">
-                        <div style="height: 25px">
-                            <img v-if="scope.row.state === 1" :height="20"
+                        <div v-if="scope.row.state === 1" style="height: 25px;opacity: 0.5">
+                            <img :height="20"
                                  :width="20"
                                  alt=""
-                                 src="../../../assets/images/warning1.png" style="position:absolute;top: 10px;">
-                            <img v-if="scope.row.state === 2" :height="20"
+                                 src="../../../assets/images/warning1.png"
+                                 style="position:absolute;top: 10px;opacity: 0.5">
+                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ scope.row.info }}
+                        </div>
+                        <div v-if="scope.row.state === 2" style="height: 25px">
+                            <img :height="20"
                                  :width="20"
                                  alt=""
                                  src="../../../assets/images/warning.png" style="position:absolute;top: 10px;">