diff --git a/pages/cart/index.vue b/pages/cart/index.vue index e889bdd..c1eb455 100644 --- a/pages/cart/index.vue +++ b/pages/cart/index.vue @@ -80,9 +80,9 @@ {{item.selling_point}} {{item.goods_name}} - + {{item.goods_price_min}} @@ -104,9 +104,9 @@ {{item.selling_point}} {{item.goods_name}} - + {{item.goods_price_min}} @@ -455,7 +455,13 @@ display: flex; align-items: center; margin-top: 14rpx; - + + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + -webkit-line-clamp: 2; + height: 90rpx; + line-height: 45rpx; .ziying { padding: 4rpx 10rpx; background: #FF4438; diff --git a/pages/goods/list.vue b/pages/goods/list.vue index b35256b..a6a48da 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -110,9 +110,9 @@ {{ item.goods_name }} - + {{item.selling_point}} {{item.goods_name}} - + {{item.selling_point}} {{item.goods_name}} - + {{item.goods_price_min}}