弹窗广告尺寸修改
This commit is contained in:
@@ -66,6 +66,14 @@ const close = () => {
|
|||||||
height: 169px;
|
height: 169px;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
|
// 广告图多是 720×300(2.4),和容器 300:169 比例对不上,
|
||||||
|
// lazyImg 默认 object-fit: cover 会把左右各裁掉 13%。
|
||||||
|
// 同安卓 BoxFit.fill:拉伸铺满而不裁切,保证广告内容完整
|
||||||
|
:deep(.animationImg) {
|
||||||
|
img {
|
||||||
|
object-fit: fill !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.close {
|
.close {
|
||||||
height: 36px;
|
height: 36px;
|
||||||
|
|||||||
Reference in New Issue
Block a user