Animation.js
function CustomAnimation(init){
	let buildStyleInterpolator = init;
	return (LeftRightIn,UpDowmOut,Gestures,Base={springFriction:26,springTension:200,defaultTransitionVelocity:1.5})=>{
		return Object.assign({},
			NavigatorSceneConfigs.FadeAndroid,{
			animationInterpolators:{
				into:buildStyleInterpolator({
					...CheckParams(LeftRightIn)
				}),
				out:buildStyleInterpolator({
					...CheckParams(UpDowmOut)
				})
			},
			gestures:Gestures?Gestures:{
				pop:{
					...BaseLeftToRightGesture,
					direction:"left-to-right",
					fullDistance:Width
				}
			},
			...Base
			// springFriction:Base.springFriction,
			// springTension:Base.springTension,
			// defaultTransitionVelocity:Base.defaultTransitionVelocity,
		})
	}
}
function CustomAnimation(init){
	let buildStyleInterpolator = init;
	return (LeftRightIn,UpDowmOut,Gestures,Base={springFriction:26,springTension:200,defaultTransitionVelocity:1.5})=>{
		return Object.assign({},
			NavigatorSceneConfigs.FadeAndroid,{
			animationInterpolators:{
				into:buildStyleInterpolator({
					...CheckParams(LeftRightIn)
				}),
				out:buildStyleInterpolator({
					...CheckParams(UpDowmOut)
				})
			},
			gestures:Gestures?Gestures:{
				pop:{
					...BaseLeftToRightGesture,
					direction:"left-to-right",
					fullDistance:Width
				}
			},
			...Base
			// springFriction:Base.springFriction,
			// springTension:Base.springTension,
			// defaultTransitionVelocity:Base.defaultTransitionVelocity,
		})
	}
}
定制动画(是上/下,是左/右,是进/出,是否支持手势) 第一个参数必须是定义的进入动画,第二个必须是退出的动画