From 5a9761b741794020c730f21f0dff8e7dd5e21e9a Mon Sep 17 00:00:00 2001 From: "HISENSE\\liuyuxin6" Date: Tue, 21 Jun 2022 15:27:21 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E6=94=B9=E5=B7=A5=E4=BD=9C=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E5=88=97=E8=A1=A8=E9=A1=B5=E6=A0=B7=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/newHome/components/WorkDynList.vue | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/front/src/views/newHome/components/WorkDynList.vue b/front/src/views/newHome/components/WorkDynList.vue index 7017a313..59a6fbf6 100644 --- a/front/src/views/newHome/components/WorkDynList.vue +++ b/front/src/views/newHome/components/WorkDynList.vue @@ -125,7 +125,6 @@ .total-num-content { font-size: 14px; color: #212121; - margin: 18px 0 10px; border-bottom: 1px solid #dddee1; height: 35px; display: flex; @@ -141,16 +140,11 @@ } :deep(.ant-list-item) { width: 1300px; - padding: 16px 0; + padding: 30px 0; position: relative; border-bottom: #dddee1 solid 1px; - .ant-list-item-main { - height: 140px; - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 4; + .ant-list-item-meta { + margin: 0; } .ant-list-item-meta-title { white-space: nowrap; @@ -167,17 +161,18 @@ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; - -webkit-line-clamp: 4; + -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .pulish-time { position: absolute; left: 196px; - bottom: 50px; + bottom: 35px; color: #212121; } .ant-image-img { width: 180px; + min-height: 120px; } &:hover {