优化账单。优化塔罗交互流程

This commit is contained in:
Dragon
2023-11-04 17:03:41 +08:00
parent bf24a6f964
commit 41a21aa088
7 changed files with 11 additions and 9 deletions

View File

@@ -356,10 +356,12 @@ function kineticEffect (arr, bool, data) {
$('.cardBoxBut').hide();
$('.tarotBox .butAgain').attr('src', prodIdActive == 1 ? './images/butAgain1.png' : prodIdActive == 2 ? './images/butAgain2.png' : './images/butAgain3.png')
$('.butAgain').show();
lock = true;
}, 1000)
}
// 檔位tab切換按鈕
$('.tarotBox .tabBox div').click(function () {
if(lock){
var i = $(this).index() + 1;
// 切換tab樣式
$('.tarotBox .tabBox div').removeClass('active1').removeClass('active2').removeClass('active3');
@@ -381,7 +383,7 @@ $('.tarotBox .tabBox div').click(function () {
// $('.tarotBox .gradeText b').text(gearPosition * 10);
// }
// 清空默認樣式
initialStytle();
initialStytle();}
})
// 選擇初級卡片按鈕
$('.tarotBox .card1').click(function () {