|
@@ -45,7 +45,7 @@ var V = {
|
|
$('.week-select').find('.btn-more').hide();
|
|
$('.week-select').find('.btn-more').hide();
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- this.initSwiper(_index, 2, initIndex, 12);
|
|
|
|
|
|
+ this.initSwiper(_index, 2.5, initIndex, 12);
|
|
mobileFlag = true;
|
|
mobileFlag = true;
|
|
if (btnLen > 4) {
|
|
if (btnLen > 4) {
|
|
$('.week-select').find('.btn-more').show();
|
|
$('.week-select').find('.btn-more').show();
|
|
@@ -70,7 +70,7 @@ var V = {
|
|
$('.page-stake .week-select .week-btn-wrap .btn').click(function() {
|
|
$('.page-stake .week-select .week-btn-wrap .btn').click(function() {
|
|
var $this = $(this),
|
|
var $this = $(this),
|
|
_index = $this.index(),
|
|
_index = $this.index(),
|
|
- slideLen = mobileFlag ? 2 : 4,
|
|
|
|
|
|
+ slideLen = mobileFlag ? 2.5 : 4,
|
|
ininIndex = Number($this.attr('data-week')) || 0,
|
|
ininIndex = Number($this.attr('data-week')) || 0,
|
|
space = mobileFlag ? 12 : 16;
|
|
space = mobileFlag ? 12 : 16;
|
|
$this.addClass('active').siblings().removeClass('active');
|
|
$this.addClass('active').siblings().removeClass('active');
|