Browse Source

器件选型页面,给类目等名称加长度限制

yangc 8 years ago
parent
commit
b28258bf16
1 changed files with 4 additions and 0 deletions
  1. 4 0
      components/product/ComponentGoods.vue

+ 4 - 0
components/product/ComponentGoods.vue

@@ -234,6 +234,10 @@
   }
   .product-list td a{
     color: #337ab7;
+    max-width: 160px;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    display: block;
   }
   .product-list td a:hover {
     color: #23527c;