Forráskód Böngészése

常用功能左对齐

hujunwei 2 éve
szülő
commit
8130aefed0

+ 1 - 1
src/pages/main/leader/leaderTag.vue

@@ -336,7 +336,7 @@ export default {
       overflow: hidden;
       text-overflow: ellipsis; /*超出部分省略号表示*/
       width: 110px;
-      text-align: center;
+      text-align: left;
     }
     .icon {
       float: left;

+ 3 - 3
src/pages/main/leader/numberHits.vue

@@ -17,8 +17,8 @@
         :header-cell-style="{ background: '#F2F2F2' }"
         :cell-style="{ background: '#FaFaFa' }"
       >
-        <el-table-column prop="module_name" label="标题" width="210">
-          <template slot-scope="scope" style="width:200px">
+        <el-table-column prop="module_name" label="标题">
+          <template slot-scope="scope">
             <span
               v-if="
                 scope.$index + 1 != 1 &&
@@ -253,7 +253,7 @@ export default {
       white-space: nowrap;
       overflow: hidden;
       text-overflow: ellipsis; /*超出部分省略号表示*/
-      width: 160px;
+      max-width: 150px;
       float: left;
     }
     svg {