Commit 229702f3 authored by hbcui1984's avatar hbcui1984

iOS平台窗口切换动画默认修改为200毫秒

parent 7b37a527
/*! /*!
* ===================================================== * =====================================================
* Mui v0.5.0 (https://github.com/dcloudio/mui) * Mui v0.5.1 (https://github.com/dcloudio/mui)
* ===================================================== * =====================================================
*/ */
......
This diff is collapsed.
/*! /*!
* ===================================================== * =====================================================
* Mui v0.5.0 (https://github.com/dcloudio/mui) * Mui v0.5.1 (https://github.com/dcloudio/mui)
* ===================================================== * =====================================================
*/ */
/** /**
...@@ -950,9 +950,13 @@ window.mui = mui; ...@@ -950,9 +950,13 @@ window.mui = mui;
* 窗口显示配置 * 窗口显示配置
*/ */
$.showOptions = function(options) { $.showOptions = function(options) {
var duration = 100;
if($.os.ios){
duration = 200;
}
return $.extend({ return $.extend({
aniShow: 'slide-in-right', aniShow: 'slide-in-right',
duration: 100 duration: duration
}, options); }, options);
}; };
/** /**
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment