变更参数命名transitionDuration为duration