昨天项目突然发现微信公众号网页 图片在iOS不显示,经过排查原来是css的问题
问题css (less)
.six_fill_only {
position:absolute;
z-index:1000;
right:80px;
bottom:120px;
display:flex;
flex-direction:column;
img{
width:120px;
height:120px;
}
.sf_icon {
font-size:60px;
}
span {
font-size:25px;
color:#666;
}
}
修改过后的代码:
.six_fill_only {
position:absolute;
z-index:1000;
right:80px;
bottom:120px;
display:flex;
flex-direction:column;
width:120px;
height:120px;
img{
width:100%;
height:100%;
}
.sf_icon {
font-size:60px;
}
span {
font-size:25px;
color:#666;
}
}
分享一下