main
parent
81f8d80886
commit
8f4f73c360
|
|
@ -1336,7 +1336,7 @@
|
|||
|
||||
// 启动自动播放
|
||||
function startAutoPlay() {
|
||||
if(!settings.autoPlay)
|
||||
if(settings.autoPlay)
|
||||
autoPlayInterval = setInterval(() => {
|
||||
currentIndex = (currentIndex + 1) % $tabHead.length; // 循环切换
|
||||
switchTab(currentIndex);
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ $(function () {
|
|||
tabHead: ".index-card-nav li",
|
||||
tabCont: ".index-card-body .index-item",
|
||||
cur: "cur",
|
||||
autoPlay: true, // Enable auto-play
|
||||
autoPlay: false, // Enable auto-play
|
||||
interval: 5000
|
||||
});
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ $(function () {
|
|||
tabHead: ".index-card-nav li",
|
||||
tabCont: ".index-card-body .index-item",
|
||||
cur: "cur",
|
||||
autoPlay: false, // Enable auto-play
|
||||
autoPlay: true, // Enable auto-play
|
||||
interval: 5000
|
||||
});
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
|
@ -27,7 +27,7 @@ $(function () {
|
|||
tabHead: ".index-card-nav li",
|
||||
tabCont: ".index-card-body .index-item",
|
||||
cur: "cur",
|
||||
autoPlay: true, // Enable auto-play
|
||||
autoPlay: false, // Enable auto-play
|
||||
interval: 5000
|
||||
});
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ $(function () {
|
|||
tabHead: ".index-card-nav li",
|
||||
tabCont: ".index-card-body .index-item",
|
||||
cur: "cur",
|
||||
autoPlay: false, // Enable auto-play
|
||||
autoPlay: true, // Enable auto-play
|
||||
interval: 5000
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue