只需一步,快速开始
12
34
78
初级会员
使用道具 举报
28
128
181
0
1
3
新手上路
1831
821
高级会员
大雁子 发表于 2016-11-23 13:48 可以针对用户的不同操作给btnRepeat定义不同的样式,比如在touchstart或者touchend事件中修改按钮样式 ...
6163
2095
金牌会员
wugamp 发表于 2016-11-23 14:33 我就是在 touchStart 中执行这句: this.comp('btnRepeat').set({'background-color':'red'});
半导体 发表于 2016-11-23 18:40 不能用.set方法添加样式吧 attr试试呢
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|X3技术论坛|Justep Inc.
GMT+8, 2025-6-22 06:32 , Processed in 0.107972 second(s), 24 queries .
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.