diff --git a/src/components/Table/CardTable/index.vue b/src/components/Table/CardTable/index.vue index 578eda185..9915141b7 100644 --- a/src/components/Table/CardTable/index.vue +++ b/src/components/Table/CardTable/index.vue @@ -6,11 +6,11 @@ :table-url="tableUrl" v-bind="headerActions" /> - - + + - + .the-row { - flex-wrap: wrap; - width: 100%; margin-top: 15px; max-width: 1600px; text-align: center; @@ -249,13 +247,12 @@ export default { ::v-deep .el-card__body { height: 100%; - padding: unset !important; .el-row { display: flex; flex-wrap: nowrap; margin-top: 0; - height: 190px; + height: 100%; .image { display: flex; @@ -278,7 +275,6 @@ export default { display: flex; flex-direction: column; align-items: flex-start; - padding: 10px; .one-line { display: flex; @@ -300,14 +296,15 @@ export default { .comment { display: -webkit-box; + height: 120px; font-size: 12px; padding: 10px 0; - line-height: 13px; cursor: pointer; overflow: hidden; - text-overflow: ellipsis; - -webkit-line-clamp: 2; + -webkit-line-clamp: 4; + -webkit-box-flex: 1; -webkit-box-orient: vertical; + text-align: left; } .tag-zone { @@ -315,7 +312,6 @@ export default { height: 30%; align-items: center; cursor: pointer; - margin-top: 70px; } } }