diff --git a/buyer/src/assets/styles/goodsList.scss b/buyer/src/assets/styles/goodsList.scss index dc3df752..767c58b6 100644 --- a/buyer/src/assets/styles/goodsList.scss +++ b/buyer/src/assets/styles/goodsList.scss @@ -30,8 +30,14 @@ margin-top: 6px; } .goods-show-detail { + height: 36px; font-size: 12px; margin: 6px 0px; + overflow:hidden; + text-overflow: ellipsis; + display:-webkit-box; + -webkit-line-clamp:2; + -webkit-box-orient:vertical; } .goods-show-num { font-size: 12px; diff --git a/buyer/src/pages/GoodsList.vue b/buyer/src/pages/GoodsList.vue index 55fbb20c..85959d4a 100644 --- a/buyer/src/pages/GoodsList.vue +++ b/buyer/src/pages/GoodsList.vue @@ -69,7 +69,7 @@ >人评价