广告修改

This commit is contained in:
谢宇宁
2026-10-28 17:40:27 +07:00
parent 41a45c8975
commit 9c0695b305
22 changed files with 516 additions and 186 deletions
+4 -6
View File
@@ -1,6 +1,5 @@
/* 公共广告位统一规范
* PC:双列,固定高 169
* H5:单列两行,宽度 100%(占满所属内容容器),比例 343/98
/* 公共广告位统一规范(详情横幅,素材 720×150)
* PC:双列;H5:单列。均按 720:150 等比展示,避免裁切
*/
.promo-rail {
@@ -22,7 +21,7 @@
width: 100%;
max-width: 100%;
min-width: 0;
height: 169px;
aspect-ratio: 720 / 150;
border-radius: var(--radius-md);
background: #232328;
box-sizing: border-box;
@@ -86,8 +85,7 @@
width: 100%;
max-width: 100%;
height: auto;
min-height: 98px;
aspect-ratio: 343 / 98;
aspect-ratio: 720 / 150;
border-radius: var(--radius-md);
border: 1px solid var(--line-soft);
}