广告添加

This commit is contained in:
谢宇宁
2026-10-29 20:45:09 +07:00
parent e9882465a8
commit d8f4a132af
29 changed files with 588 additions and 255 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; }