- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. // 给视图设置动画 [self setupAnimation]; } - (void)setupAnimation { // 1. 创建一个动画(transform为key的动画) CABasicAnimation *basic = [CABasicAnimatio…
btnsAnime($('ul li')) function btnsAnime(pagesl) { var that = this $(pagesl).hide() let i = 0; function temp() { if (i > pagesl.length - 1) { clearInterval(id) console.log('终止') } else { $(pagesl[i]).show() $(pagesl[i]).addClass('添加你的样式或者动画'); i++; }…