From 6a1226557b346b328349369d3a58c55935f109bb Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 26 Jun 2026 10:11:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20/companies=20Hero=20=E5=B1=85?= =?UTF-8?q?=E4=B8=AD=E5=AF=B9=E9=BD=90=E5=B9=B6=E6=98=BE=E7=A4=BA=E5=AE=8C?= =?UTF-8?q?=E6=95=B4=E7=AE=80=E4=BB=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - hero-inner align-items 改 center, logo 与文字垂直居中 - 去掉 hero-desc 4 行截断与 max-height, 公司简介完整显示 - logo 图片去掉 padding, 纯 contain 居中 Co-Authored-By: Claude --- offer_frontend/src/views/portal/CompanyListView.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/offer_frontend/src/views/portal/CompanyListView.vue b/offer_frontend/src/views/portal/CompanyListView.vue index c092fa1..ea15d28 100644 --- a/offer_frontend/src/views/portal/CompanyListView.vue +++ b/offer_frontend/src/views/portal/CompanyListView.vue @@ -171,7 +171,7 @@ onMounted(async () => { padding: 0 24px; display: flex; gap: 36px; - align-items: flex-start; + align-items: center; } .hero-logo { flex-shrink: 0; @@ -182,7 +182,7 @@ onMounted(async () => { border: 1px solid var(--border); background: var(--bg-page); } -.hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; } +.hero-logo img { width: 100%; height: 100%; object-fit: contain; } .logo-placeholder { width: 100%; height: 100%; @@ -226,11 +226,6 @@ onMounted(async () => { font-size: 13px; line-height: 1.9; color: var(--text-muted); - max-height: 120px; - overflow: hidden; - display: -webkit-box; - -webkit-line-clamp: 4; - -webkit-box-orient: vertical; margin-bottom: 20px; } .hero-btn {