uniapp rpx 自适应超过960px时失效
小于 960px 时
大于960px时 失效
只能自己再配置了,我用的是媒体查询
小于960px时
大于960px时
@media screen and (min-width: 960px) {
.content {
margin: auto;
display: flex;
flex-flow: column;
justify-content: center;
width: 80%;
background-color: pink;
}
.flex{
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
}