Browse Source

商品信息详情样式调整

marymelisa 4 năm trước cách đây
mục cha
commit
000c0da807

+ 12 - 3
src/views/information/goods/components/hedgingDetail/index.vue

@@ -67,9 +67,9 @@
         </a-row>
         <a-row :gutter="24"
                class="dialogRowTitle">
-          <a-col :span="5">
+          <a-col :span="5" class="nowrap">
             <span class="white">
-              20-12-03 09:40
+              2021-12-03 09:40:55
             </span>
           </a-col>
           <a-col :span="5">
@@ -82,7 +82,7 @@
               100%
             </span>
           </a-col>
-          <a-col :span="5">
+          <a-col :span="5" class="ellipse">
             <span class="white">
               统一修改
             </span>
@@ -194,6 +194,15 @@ export default defineComponent({
 
 <style lang="less">
 .hedgingDetail {
+  .ellipse {
+    white-space: nowrap;
+    overflow: hidden;
+    width: 20%;
+    text-overflow: ellipsis;
+  }
+  .nowrap {
+    white-space: nowrap;
+  }
 }
 </style
 >;