diff --git a/.env b/.env index 7292e75..f9e1aaf 100644 --- a/.env +++ b/.env @@ -1,16 +1,16 @@ VITE_APP_H5_NO=1 VITE_CHANNEL_ID="" -VITE_APP_NAME=Spinz777 -# VITE_APP_NAME=Winzz777 +# VITE_APP_NAME=Spinz777 +VITE_APP_NAME=Winzz777 VITE_APP_THEME=red -VITE_APP_ID=101 -# VITE_APP_ID=103 -VITE_APP_DOWNLOAD_URL="https://www.777spinz.com/spinz777_101_1.0.0.apk" -# VITE_APP_DOWNLOAD_URL="https://www.777spinz.com/Winzz777_103_100.apk" +# VITE_APP_ID=101 +VITE_APP_ID=103 +# VITE_APP_DOWNLOAD_URL="https://www.777spinz.com/spinz777_101_1.0.0.apk" +VITE_APP_DOWNLOAD_URL="https://www.777spinz.com/Winzz777_103_100.apk" VITE_APP_LOCALE=en VITE_APP_IMAGE_URL="https://img1.sp77.in/frontimg" VITE_WALLET_URL="https://inrchain.in/#/?inviteCode=m5ncrxv0" -VITE_NAME_UPPER=SPINZ777 -# VITE_NAME_UPPER=WINZZ777 +# VITE_NAME_UPPER=SPINZ777 +VITE_NAME_UPPER=WINZZ777 VITE_CURRENCY=INR VITE_CURRENCY_SYMBOL=₹ \ No newline at end of file diff --git a/index.html b/index.html index 34f485c..caa5bb1 100644 --- a/index.html +++ b/index.html @@ -17,8 +17,8 @@ '') --> - Spinz777 - + + Winzz777 diff --git a/src/manifest.json b/src/manifest.json index e3061bd..ef572a1 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,10 +1,10 @@ { /* Spinz777 */// - // "name" : "Winzz777", - "name" : "Spinz777", + "name" : "Winzz777", + // "name" : "Spinz777", "appid" : "__UNI__FECBD22", - // "description" : "Winzz777", - "description" : "Spinz777", + "description" : "Winzz777", + // "description" : "Spinz777", "versionName" : "1.2.2", "versionCode" : 122, "channel_list" : [ diff --git a/src/pages.json b/src/pages.json index 430d123..52a5a06 100644 --- a/src/pages.json +++ b/src/pages.json @@ -362,8 +362,8 @@ "globalStyle": { "navigationStyle": "custom", "navigationBarTextStyle": "white", - "navigationBarTitleText": "Spinz777", - // "navigationBarTitleText": "Winzz777", + // "navigationBarTitleText": "Spinz777", + "navigationBarTitleText": "Winzz777", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#FFFFFF", "app-plus": { diff --git a/src/pages/home/Home.vue b/src/pages/home/Home.vue index 25588e4..405a7c3 100644 --- a/src/pages/home/Home.vue +++ b/src/pages/home/Home.vue @@ -11,11 +11,11 @@ + backgroundColor: '#fff', + selectedBackgroundColor: themeStore.theme.swiper.dot, + selectedBorder: 'none', + bottom: 6, + }"> + " /> @@ -122,9 +122,9 @@ + width: singleItemWidth + 'rpx', + height: singleItemWidth + 'rpx', + }" class="icon-slide-menu" mode="aspectFit" /> {{ item.count }} @@ -737,22 +737,28 @@ const getUserBankrupt = async () => { if (state === 1) { const arr = details.sort((a, b) => a.recharge - b.recharge); bankruptArr.value = [arr[0], arr[2], arr[1]]; - popupArr.value.push(greatPopRef.value); - - let dot = getDot("bankrupt_doted"); - if (dot === "") { - dot = true; + const popIndex = popupArr.value.findIndex(item => item === greatPopRef.value); + if (popIndex < 0) { + popupArr.value.push(greatPopRef.value); + showPopQueue() + } + const slideIndex = slideItems.value.findIndex(item => item.dotName === 'bankrupt_doted'); + if (slideIndex < 0) { + let dot = getDot("bankrupt_doted"); + if (dot === "") { + dot = true; + } + slideItems.value.push({ + el: greatPopRef.value, + path: "", + icon: "@/static/pop_icons/animation_bx.gif", + doted: dot, + dotName: "bankrupt_doted", + count: 1 + }); + + return; } - slideItems.value.push({ - el: greatPopRef.value, - path: "", - icon: "@/static/pop_icons/animation_bx.gif", - doted: dot, - dotName: "bankrupt_doted", - count: 1 - }); - showPopQueue() - return; } if (state === 2) { const idx = slideItems.value.findIndex((item) => item.dotName === 'bankrupt_doted'); diff --git a/src/pages/redeposit/ReDeposit.vue b/src/pages/redeposit/ReDeposit.vue index 2e5bbf5..baf9065 100644 --- a/src/pages/redeposit/ReDeposit.vue +++ b/src/pages/redeposit/ReDeposit.vue @@ -348,6 +348,9 @@ const startAutoRotate = () => { if (isAutoRotating.value || isSpinning.value || !wheelsDrawnComplete.value) return; isAutoRotating.value = true; const animate = () => { + if(isAutoRotating.value === false) { + return; + } // 增加旋转角度 autoRotation.value += autoRotateSpeed; // 确保角度在0-2π之间循环 @@ -514,8 +517,9 @@ const onClose = async () => { await getRedepositAct() // drawWheel() isSpinning.value = false; - wheelsDrawnComplete.value = false; - // startAutoRotate(); + wheelsDrawnComplete.value = true; + isAutoRotating.value = false; + startAutoRotate(); // setTimeout(() => { // isSpinning.value = false; // wheelsDrawnComplete.value = false; diff --git a/src/store/useAppStore.js b/src/store/useAppStore.js index c5b245d..9e0ad6f 100644 --- a/src/store/useAppStore.js +++ b/src/store/useAppStore.js @@ -136,9 +136,9 @@ export const useAppStore = defineStore({ updateText: '', updateType: 0 }, - packageName: 'uni.UNIFECBD22',//101 Spinz777 + // packageName: 'uni.UNIFECBD22',//101 Spinz777 // packageName: 'uni.UNIFECBD22', //102 - // packageName: 'com.kllksgqoCasw3d.game',//103 Winzz777 + packageName: 'com.kllksgqoCasw3d.game',//103 Winzz777 }), // "dependencies": [ // {