source:[
{
anim: wx.createAnimation({
duration: 400,
timingFunction: ‘ease’
}).translateY(10).opacity(1).scaleX(1).step().export()
},{
anim: wx.createAnimation({
duration: 400,
timingFunction: ‘ease’
}).translateY(10).opacity(1).scaleX(1).step().export()
},{
anim: wx.createAnimation({
duration: 400,
timingFunction: ‘ease’
}).translateY(10).opacity(1).scaleX(1).step().export()
},{
anim: wx.createAnimation({
duration: 400,
timingFunction: ‘ease’
}).translateY(10).opacity(1).scaleX(1).step().export()
},
]
循环时,模板中引用的动画不会执行
网友回复:
邓***:
把 data="{{…teml}}"中的 teml 换成 anim 可以执行吗?
豆***:
额对不起 我问题中的代码有误
邓***:系统记录
纯***:
楼主你好,你的这个动画循环成功了吗?我现在写也遇到了问题,就是只会放一次,并不会循环多次,后楼主是怎么解决的呢,能不能把代码提交看一下,谢谢了
豆***:
没有解决,我觉得这是小程序的 bug 他在设计的时候没有按照 css3 动画来设计所以用的时候也不能按照 css3动画来 用
爱盈利(aiyingli.com)移动互联网具影响力的盈利指导网站。定位于服务移动互联网创业者,移动盈利指导。我们的目标是让盈利目标清晰可见!降低门槛,让缺乏经验、资金有限的个人和团队获得经验和机会,提高热情,激发产品。


