关于wx.createAnimation rotate旋转安卓机正常 苹果不行
![](https://image.wxopen.club/content_2d852a70-3dbb-11ea-af8c-a0999b08aadb.png)
wx.createAnimation, 连续rotate时,IOS运行效果不显示 在rotate旋转区域消失 动画时间过后 才显示图片
![](https://image.wxopen.club/content_2db92118-3dbb-11ea-af8c-a0999b08aadb.png)
安卓则正常运行旋转
- 预期表现
- 复现路径
wxml
<image class=‘bg6-img’ src=’/images/bg-colthe.png’></image>
wxss
.bg6-img {
width: 560rpx;
height: 210rpx;
position: absolute;
margin-left: 80rpx;
border: 2rpx solid rgb(0, 71, 157)
}
.active .bg6-img {
animation: bg6-img 2s
}
@keyframes bg6-img {
from {
transform: rotateY(180deg)
}
to {
transform: rotateY(0)
}
}
- 提供一个最简复现 Demo
3 回复