scale在真机上失效
在工具上一切正常,放到真机就没有任何动画了,不晓得哪里出了问题。。手动艾特一下官方,不弄完产品不放我走。。。😭
附上代码:
<view class=‘onPullDownRefreshEndState’>测试</view>
.onPullDownRefreshEndState {
width: 100%;
height: 70rpx;
font-size: 28rpx;
line-height: 70rpx;
background: #e2f0fe;
color: #2190ff;
text-align: center;
margin-top: 300px;
animation: onPullDownRefreshEndState 3s 0s ease both;
}
@keyframes onPullDownRefreshEndState {
0% {
scale: 1;
}
50%{
scale: .1;
}
100% {
scale: 1;
}
}