cover-image组件使用动画过渡,在真机上没有过渡,直接跳到最终形态,在开发工具上正常。
示例代码:
<cover-image animation="{{animationData}" style="" class="qiqiu" src="../assets/qiqiu.png" alt="" />
var animation = wx.createAnimation({
duration: 5000,
timingFunction: "ease",
delay: 0
})
animation.scale(2,2).step()
this.setData({
animationData:animation.export()
})
你好,麻烦提供相关的代码片段( https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html )