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_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=

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' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script> -->
<title>Spinz777</title>
<!-- <title>Winzz777</title> -->
<!-- <title>Spinz777</title> -->
<title>Winzz777</title>
<!--preload-links-->
<!--app-context-->
</head>

View File

@ -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" : [

View File

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

View File

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

View File

@ -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;

View File

@ -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": [
// {