From a799c9234ee811586b25c69eecfc3e68447a1c61 Mon Sep 17 00:00:00 2001 From: birt <2499248221@qq.com> Date: 星期一, 14 四月 2025 15:13:23 +0800 Subject: [PATCH] 123 --- zhitan-vue/src/views/index.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/zhitan-vue/src/views/index.vue b/zhitan-vue/src/views/index.vue index 95f164a..0805090 100644 --- a/zhitan-vue/src/views/index.vue +++ b/zhitan-vue/src/views/index.vue @@ -911,17 +911,19 @@ margin-top: 14px; display: flex; width: 100%; - flex-wrap: wrap; + flex-wrap: nowrap; justify-content: space-between; gap: 15px; &:after { content: ""; - flex: auto; + flex: 0 0 0; } - + .card-list-item { - width: 320px; + width: 0; + flex: 1 1 320px; + max-width: 320px; height: 127px; background: rgba(242, 246, 250, 0.1); box-sizing: border-box; @@ -937,7 +939,7 @@ &:hover { background: rgba(242, 246, 250, 0.15); } - + .item-left { margin-right: 16px; @@ -1094,17 +1096,19 @@ margin-top: 14px; display: flex; width: 100%; - flex-wrap: wrap; + flex-wrap: nowrap; justify-content: space-between; gap: 15px; &:after { content: ""; - flex: auto; + flex: 0 0 0; } - + .card-list-item { - width: 320px; + width: 0; + flex: 1 1 320px; + max-width: 320px; height: 127px; background: #fff; box-sizing: border-box; -- Gitblit v1.9.3