|
@@ -36,7 +36,7 @@ var V = {
|
|
|
var winWidth = $(window).width(),
|
|
|
btnLen = $('.week-btn-wrap').find('.btn').length,
|
|
|
_index = $('.week-btn-wrap .btn.active').index(),
|
|
|
- initIndex = Number($('.week-btn-wrap .btn.active').attr('data-week')) || 0;
|
|
|
+ initIndex = Number($('[data-current]').attr('data-current')) || 0;
|
|
|
if(winWidth > 750) {
|
|
|
this.initSwiper(_index, 4, initIndex, 16);
|
|
|
if (btnLen > 9) {
|