area代码优化，animation onframe 传入frameTime