广告修改

This commit is contained in:
谢宇宁
2026-10-28 17:27:22 +07:00
parent 4e98b85fd8
commit 3879f5a71c
23 changed files with 393 additions and 254 deletions
+5 -4
View File
@@ -737,13 +737,13 @@
width: 100%;
}
/* Figma: 1431×178 banner frame — stretch, 178px, radius 12, image cover-crop */
/* 详情横幅:按素材 720×150 等比展示,避免裁切 */
.content-ad-stack a {
display: block;
position: relative;
align-self: stretch;
width: 100%;
height: 178px;
aspect-ratio: 720 / 150;
overflow: hidden;
border-radius: 12px;
}
@@ -865,7 +865,6 @@
.content-ad-stack { gap: calc(12px * var(--detail-s)); }
.content-ad-stack a {
height: calc(166px * var(--detail-s));
border-radius: calc(12px * var(--detail-s));
}
@@ -1001,9 +1000,11 @@
.detail-h5-top-actions,
.square-promo--pc-only,
.content-official-info,
.content-ad-stack,
.content-column-divider { display: none !important; }
.content-ad-stack { gap: 10px; }
.content-ad-stack a { border-radius: 8px; }
.detail-layout,
.detail-main,
.detail-sidebar { display: contents; }