var scale = '';
var speed = 500;
var pause = 5;
$(function () {
$('.banner>ul').bxSlider({
mode: 'fade', /*滚动方式 fade、vertical、horizontal */
auto: true, /*自动滚动*/
autoControls: false, /*自动滚动按钮*/
infiniteLoop: true, /*循环滚动*/
hideControlOnEnd: true, /*无效按钮隐藏*/
adaptiveHeight: true, /*图片是否实际缩放比高度显示控制,图片比例不一样高度变化*/
minSlides: 1,
maxSlides: 2,
scale: scale,
speed: speed,
pause: pause * 1000
});
});