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 {