Browse Source

修改商品名称超长问题

yongzonghuang 3 years ago
parent
commit
e10d716f37
1 changed files with 4 additions and 0 deletions
  1. 4 0
      components/basics/categoryShow.vue

+ 4 - 0
components/basics/categoryShow.vue

@@ -222,6 +222,10 @@ name: "categoryShow",
           line-height: 40upx;
           line-height: 40upx;
           display: inline-block;
           display: inline-block;
           float: left;
           float: left;
+          max-width: 170rpx;
+          white-space: nowrap;
+          overflow:hidden;
+          text-overflow:ellipsis;
         }
         }
         .shop-logo{
         .shop-logo{
           border: 2upx solid #707070;
           border: 2upx solid #707070;