From b7205c31a1d4754e575a9ec7eeefa487a4e6f51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=AE=87=E5=AE=81?= Date: Thu, 17 Sep 2026 22:54:13 +0700 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A=E5=B0=BA?= =?UTF-8?q?=E5=AF=B8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomePopupAdv/index.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/HomePopupAdv/index.vue b/src/components/HomePopupAdv/index.vue index a64e9dc..70dd39e 100644 --- a/src/components/HomePopupAdv/index.vue +++ b/src/components/HomePopupAdv/index.vue @@ -66,6 +66,14 @@ const close = () => { height: 169px; width: 300px; margin-bottom: 6px; + // 广告图多是 720×300(2.4),和容器 300:169 比例对不上, + // lazyImg 默认 object-fit: cover 会把左右各裁掉 13%。 + // 同安卓 BoxFit.fill:拉伸铺满而不裁切,保证广告内容完整 + :deep(.animationImg) { + img { + object-fit: fill !important; + } + } } .close { height: 36px;