Преглед на файлове

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP2.0_WEB

huangbin преди 4 години
родител
ревизия
a7e57c0da5
променени са 1 файла, в които са добавени 11 реда и са изтрити 2 реда
  1. 11 2
      src/views/information/goods/components/hedgingDetail/index.vue

+ 11 - 2
src/views/information/goods/components/hedgingDetail/index.vue

@@ -69,7 +69,7 @@
                class="dialogRowTitle"
                v-for="(item, index) in list"
                :key="index">
-          <a-col :span="5">
+          <a-col :span="5" class="nowrap">
             <span class="white">
               {{item.updatetime}}
             </span>
@@ -84,7 +84,7 @@
               {{item.aftervalue}}
             </span>
           </a-col>
-          <a-col :span="5">
+          <a-col :span="5" class="ellipse">
             <span class="white">
               {{item.logremark}}
             </span>
@@ -148,6 +148,15 @@ export default defineComponent({
 
 <style lang="less">
 .hedgingDetail {
+  .ellipse {
+    white-space: nowrap;
+    overflow: hidden;
+    width: 20%;
+    text-overflow: ellipsis;
+  }
+  .nowrap {
+    white-space: nowrap;
+  }
 }
 </style
 >;