From 9b4bea4f507e564f5144f44028bee2c4e836a67b Mon Sep 17 00:00:00 2001 From: Eratosici Date: Tue, 18 May 2021 15:05:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=86=E7=B1=BB=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=8D=96=E7=82=B9=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mall4m/pages/category/category.wxss | 4 ++++ mall4uni/pages/category/category.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mall4m/pages/category/category.wxss b/mall4m/pages/category/category.wxss index 5e5bff3..317e009 100644 --- a/mall4m/pages/category/category.wxss +++ b/mall4m/pages/category/category.wxss @@ -201,6 +201,10 @@ page { font-size: 22rpx; color: #999; margin: 10rpx 0 20rpx 0; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; + overflow: hidden; } .rightcontent .cont-item .show-item .prod-text-right .prod-text.more { diff --git a/mall4uni/pages/category/category.css b/mall4uni/pages/category/category.css index e63f5c1..4944cfa 100644 --- a/mall4uni/pages/category/category.css +++ b/mall4uni/pages/category/category.css @@ -202,6 +202,10 @@ page { font-size: 22rpx; color: #999; margin: 10rpx 0 20rpx 0; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; + overflow: hidden; } .rightcontent .cont-item .show-item .prod-text-right .prod-text.more {