Commit aeb545dc by dhn

Merge branch 'developer' of http://47.99.244.21:9999/root/joshine into Branch_developer

parents 826687ba 91947fa2
......@@ -59,6 +59,11 @@ require(['jquery','banner'],function ($){
$('#left').css({'top':buttonTop,'line-height': 0});
$('#right').css({'top':buttonTop,'line-height': 0});
if (img_arr.length <= 1){
$('.banner1 .list').hide();
$('#left').hide();
$('#right').hide();
}
}
});
</script>
\ No newline at end of file
......@@ -150,6 +150,7 @@ define(['jquery'],function ($){
}
}
if (this._obj.autoPlay){
if (this._obj.img.length > 1){
this._obj.t=setInterval(()=>{
this._obj.rightClick();
},this._obj.delayTime);
......@@ -162,5 +163,6 @@ define(['jquery'],function ($){
})
}
}
}
});
\ No newline at end of file
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