This commit is contained in:
Eudemon 2025-03-13 19:22:49 +08:00
parent f904c8205c
commit f2ef51b939
7 changed files with 58 additions and 48 deletions

16
.env
View File

@ -1,16 +1,16 @@
VITE_APP_H5_NO=1 VITE_APP_H5_NO=1
VITE_CHANNEL_ID="" VITE_CHANNEL_ID=""
VITE_APP_NAME=Spinz777 # VITE_APP_NAME=Spinz777
# VITE_APP_NAME=Winzz777 VITE_APP_NAME=Winzz777
VITE_APP_THEME=red VITE_APP_THEME=red
VITE_APP_ID=101 # VITE_APP_ID=101
# VITE_APP_ID=103 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/spinz777_101_1.0.0.apk"
# VITE_APP_DOWNLOAD_URL="https://www.777spinz.com/Winzz777_103_100.apk" VITE_APP_DOWNLOAD_URL="https://www.777spinz.com/Winzz777_103_100.apk"
VITE_APP_LOCALE=en VITE_APP_LOCALE=en
VITE_APP_IMAGE_URL="https://img1.sp77.in/frontimg" VITE_APP_IMAGE_URL="https://img1.sp77.in/frontimg"
VITE_WALLET_URL="https://inrchain.in/#/?inviteCode=m5ncrxv0" VITE_WALLET_URL="https://inrchain.in/#/?inviteCode=m5ncrxv0"
VITE_NAME_UPPER=SPINZ777 # VITE_NAME_UPPER=SPINZ777
# VITE_NAME_UPPER=WINZZ777 VITE_NAME_UPPER=WINZZ777
VITE_CURRENCY=INR VITE_CURRENCY=INR
VITE_CURRENCY_SYMBOL= VITE_CURRENCY_SYMBOL=

View File

@ -17,8 +17,8 @@
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />') (coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script> --> </script> -->
<title>Spinz777</title> <!-- <title>Spinz777</title> -->
<!-- <title>Winzz777</title> --> <title>Winzz777</title>
<!--preload-links--> <!--preload-links-->
<!--app-context--> <!--app-context-->
</head> </head>

View File

@ -1,10 +1,10 @@
{ {
/* Spinz777 */// /* Spinz777 *///
// "name" : "Winzz777", "name" : "Winzz777",
"name" : "Spinz777", // "name" : "Spinz777",
"appid" : "__UNI__FECBD22", "appid" : "__UNI__FECBD22",
// "description" : "Winzz777", "description" : "Winzz777",
"description" : "Spinz777", // "description" : "Spinz777",
"versionName" : "1.2.2", "versionName" : "1.2.2",
"versionCode" : 122, "versionCode" : 122,
"channel_list" : [ "channel_list" : [

View File

@ -362,8 +362,8 @@
"globalStyle": { "globalStyle": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
"navigationBarTitleText": "Spinz777", // "navigationBarTitleText": "Spinz777",
// "navigationBarTitleText": "Winzz777", "navigationBarTitleText": "Winzz777",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"app-plus": { "app-plus": {

View File

@ -11,11 +11,11 @@
<view class="plr30"> <view class="plr30">
<uni-swiper-dot :info="pageData.bannerList" :current="pageData.currentIndex" field="content" <uni-swiper-dot :info="pageData.bannerList" :current="pageData.currentIndex" field="content"
mode="round" :dotsStyles="{ mode="round" :dotsStyles="{
backgroundColor: '#fff', backgroundColor: '#fff',
selectedBackgroundColor: themeStore.theme.swiper.dot, selectedBackgroundColor: themeStore.theme.swiper.dot,
selectedBorder: 'none', selectedBorder: 'none',
bottom: 6, bottom: 6,
}"> }">
<swiper class="swiper-view" :circular="true" :duration="500" :autoplay="true" <swiper class="swiper-view" :circular="true" :duration="500" :autoplay="true"
:indicator-dots="false" :interval="3000" @change="handleSwipeChange"> :indicator-dots="false" :interval="3000" @change="handleSwipeChange">
<swiper-item v-for="(item, index) in pageData.bannerList" :key="index" <swiper-item v-for="(item, index) in pageData.bannerList" :key="index"
@ -35,15 +35,15 @@
<view class="plr30"> <view class="plr30">
<view class="home-tabs-view" :style="{ 'border-color': themeStore.theme.seplineColor }"> <view class="home-tabs-view" :style="{ 'border-color': themeStore.theme.seplineColor }">
<SegmentControl :listData="[ <SegmentControl :listData="[
{ title: $t('home.allgames') }, { title: $t('home.allgames') },
{ title: $t('home.recent') }, { title: $t('home.recent') },
{ title: $t('home.favorite') }, { title: $t('home.favorite') },
]" @change="({ index }) => { ]" @change="({ index }) => {
gameStore.getRecentGames(); gameStore.getRecentGames();
gameStore.getFavoriteGames(); gameStore.getFavoriteGames();
pageData.active = index; pageData.active = index;
} }
" /> " />
</view> </view>
</view> </view>
<view v-show="pageData.active === 0"> <view v-show="pageData.active === 0">
@ -122,9 +122,9 @@
<view class="slide-item relative" v-for="(item, index) in slideItems" :key="index" <view class="slide-item relative" v-for="(item, index) in slideItems" :key="index"
@click.stop="openPromo(item)"> @click.stop="openPromo(item)">
<theme-image :src="item.icon" :style="{ <theme-image :src="item.icon" :style="{
width: singleItemWidth + 'rpx', width: singleItemWidth + 'rpx',
height: singleItemWidth + 'rpx', height: singleItemWidth + 'rpx',
}" class="icon-slide-menu" mode="aspectFit" /> }" class="icon-slide-menu" mode="aspectFit" />
<view class="red-dot flex-center" v-if="item.doted"> <view class="red-dot flex-center" v-if="item.doted">
<text :style="{ color: themeStore.theme.depositWheel.quaternary }">{{ item.count }}</text> <text :style="{ color: themeStore.theme.depositWheel.quaternary }">{{ item.count }}</text>
</view> </view>
@ -737,22 +737,28 @@ const getUserBankrupt = async () => {
if (state === 1) { if (state === 1) {
const arr = details.sort((a, b) => a.recharge - b.recharge); const arr = details.sort((a, b) => a.recharge - b.recharge);
bankruptArr.value = [arr[0], arr[2], arr[1]]; bankruptArr.value = [arr[0], arr[2], arr[1]];
popupArr.value.push(greatPopRef.value); const popIndex = popupArr.value.findIndex(item => item === greatPopRef.value);
if (popIndex < 0) {
let dot = getDot("bankrupt_doted"); popupArr.value.push(greatPopRef.value);
if (dot === "") { showPopQueue()
dot = true; }
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) { if (state === 2) {
const idx = slideItems.value.findIndex((item) => item.dotName === 'bankrupt_doted'); const idx = slideItems.value.findIndex((item) => item.dotName === 'bankrupt_doted');

View File

@ -348,6 +348,9 @@ const startAutoRotate = () => {
if (isAutoRotating.value || isSpinning.value || !wheelsDrawnComplete.value) return; if (isAutoRotating.value || isSpinning.value || !wheelsDrawnComplete.value) return;
isAutoRotating.value = true; isAutoRotating.value = true;
const animate = () => { const animate = () => {
if(isAutoRotating.value === false) {
return;
}
// //
autoRotation.value += autoRotateSpeed; autoRotation.value += autoRotateSpeed;
// 0-2π // 0-2π
@ -514,8 +517,9 @@ const onClose = async () => {
await getRedepositAct() await getRedepositAct()
// drawWheel() // drawWheel()
isSpinning.value = false; isSpinning.value = false;
wheelsDrawnComplete.value = false; wheelsDrawnComplete.value = true;
// startAutoRotate(); isAutoRotating.value = false;
startAutoRotate();
// setTimeout(() => { // setTimeout(() => {
// isSpinning.value = false; // isSpinning.value = false;
// wheelsDrawnComplete.value = false; // wheelsDrawnComplete.value = false;

View File

@ -136,9 +136,9 @@ export const useAppStore = defineStore({
updateText: '', updateText: '',
updateType: 0 updateType: 0
}, },
packageName: 'uni.UNIFECBD22',//101 Spinz777 // packageName: 'uni.UNIFECBD22',//101 Spinz777
// packageName: 'uni.UNIFECBD22', //102 // packageName: 'uni.UNIFECBD22', //102
// packageName: 'com.kllksgqoCasw3d.game',//103 Winzz777 packageName: 'com.kllksgqoCasw3d.game',//103 Winzz777
}), }),
// "dependencies": [ // "dependencies": [
// { // {