|
@@ -63,7 +63,7 @@
|
|
|
:duration="1"
|
|
|
:options="options"
|
|
|
/>
|
|
|
- <text class="text-24rpx font-400 pt-20rpx">BHCoin</text>
|
|
|
+ <text class="text-24rpx font-400 pt-20rpx">BH Coin</text>
|
|
|
</view>
|
|
|
<view
|
|
|
id="lottieContainer"
|
|
@@ -79,7 +79,7 @@
|
|
|
class="absolute right-50rpx bottom-100rpx libao-scale flex flex-col items-center z-10"
|
|
|
>
|
|
|
<image src="@/static/images/production/maozhuao.png" class="w-100rpx h-100rpx"></image>
|
|
|
- <text class="text-28rpx font-700 text-white">game</text>
|
|
|
+ <text class="text-28rpx font-700 text-white">{{ $t('production.game') }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="w-650rpx flex items-center justify-between mt-20rpx">
|
|
@@ -101,7 +101,7 @@
|
|
|
<image src="@/static/images/production/btn.png" class="w-310rpx h-80rpx absolute"></image>
|
|
|
<image src="@/static/images/production/liwu.png" class="w-36rpx h-36rpx mr-10rpx"></image>
|
|
|
<text class="text-white text-28rpx font-700" :class="{ 'libao-scale': isAnimating }">
|
|
|
- Play
|
|
|
+ {{ $t('index.Play') }}
|
|
|
</text>
|
|
|
</view>
|
|
|
<view
|
|
@@ -113,7 +113,7 @@
|
|
|
src="@/static/images/production/shengji.png"
|
|
|
class="w-36rpx h-36rpx mr-10rpx"
|
|
|
></image>
|
|
|
- <text class="text-white text-28rpx font-700">Boots</text>
|
|
|
+ <text class="text-white text-28rpx font-700">{{ $t('index.Boosts') }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="w-650rpx flex items-center mt-20rpx relative">
|
|
@@ -168,14 +168,14 @@
|
|
|
:height="uprule.status !== 1 ? '672rpx' : '400rpx'"
|
|
|
>
|
|
|
<view class="w-full flex flex-col items-center" v-if="uprule.status !== 1">
|
|
|
- <text class="text-white mt-90rpx text-36rpx font-700">Speed up the process!</text>
|
|
|
+ <text class="text-white mt-90rpx text-36rpx font-700">{{ $t('index.Speed') }}</text>
|
|
|
<view
|
|
|
class="w-650rpx h-150rpx flex bg-cards rounded-20rpx items-center justify-between mt-30rpx"
|
|
|
>
|
|
|
<view class="flex flex-col text-primary ml-20rpx">
|
|
|
<text class="text-42rpx font-700 h-63rpx">BH {{ uprule.list[0].level }}</text>
|
|
|
<text class="font-400 text-24rpx mt-10rpx">
|
|
|
- {{ uprule.list[0].numericalValueHour }} HB Coin/H
|
|
|
+ {{ uprule.list[0].numericalValueHour }} BH Coin/H
|
|
|
</text>
|
|
|
</view>
|
|
|
<image
|
|
@@ -189,7 +189,7 @@
|
|
|
<view class="flex items-center justify-between text-white w-full">
|
|
|
<text class="text-42rpx font-700 ml-20rpx">BH {{ uprule.list[1].level }}</text>
|
|
|
<text class="text-24rpx font-400 mr-20rpx">
|
|
|
- {{ uprule.list[1].numericalValueHour }} HB Coin/H
|
|
|
+ {{ uprule.list[1].numericalValueHour }} BH Coin/H
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="w-full flex items-center justify-around">
|
|
@@ -201,7 +201,7 @@
|
|
|
<text class="text-24rpx font-400 text-white">{{ uprule.list[1].realMoney }}</text>
|
|
|
</view>
|
|
|
<view class="w-245rpx h-60rpx bg-gray rounded-20rpx flex items-center justify-center">
|
|
|
- <text class="text-26rpx font-700 text-textc">Upgrade</text>
|
|
|
+ <text class="text-26rpx font-700 text-textc">{{ $t('index.Upgrade') }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view
|
|
@@ -220,14 +220,14 @@
|
|
|
@click="upRules('coin')"
|
|
|
class="w-245rpx h-60rpx bg-primary rounded-20rpx flex items-center justify-center"
|
|
|
>
|
|
|
- <text class="text-26rpx font-700 text-textc">Upgrade</text>
|
|
|
+ <text class="text-26rpx font-700 text-textc">{{ $t('index.Upgrade') }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-else class="w-full flex flex-col items-center justify-center">
|
|
|
- <text class="text-white mt-90rpx text-36rpx font-700">level is top!</text>
|
|
|
+ <text class="text-white mt-90rpx text-36rpx font-700">{{ $t('production.top') }}</text>
|
|
|
<view
|
|
|
class="w-650rpx h-200rpx flex bg-cards rounded-20rpx items-center justify-between mt-30rpx"
|
|
|
>
|
|
@@ -247,9 +247,9 @@
|
|
|
<Dialog v-model:show-value="tishiShow" width="690rpx" height="577rpx">
|
|
|
<view class="w-full flex flex-col items-center">
|
|
|
<image src="@/static/images/production/time.png" class="w-90rpx h-90rpx mt-90rpx"></image>
|
|
|
- <view class="w-630rpx flex items-center">
|
|
|
+ <view class="w-630rpx flex items-center justify-center">
|
|
|
<text class="text-white font-700 text-36rpx text-center mt-30rpx">
|
|
|
- You can collect BH coins every 12 hours
|
|
|
+ {{ $t('index.collect') }}
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="w-630rpx flex items-center justify-center mt-30rpx">
|
|
@@ -259,16 +259,16 @@
|
|
|
@click="tishiShow = false"
|
|
|
class="w-630rpx bg-primary h-100rpx flex items-center justify-center rounded-20rpx mt-30rpx"
|
|
|
>
|
|
|
- <text class="text-28rpx font-700 text-textc">Got it</text>
|
|
|
+ <text class="text-28rpx font-700 text-textc">{{ $t('index.Got') }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</Dialog>
|
|
|
<Dialog v-model:show-value="lingquShow" width="690rpx" height="577rpx">
|
|
|
<view class="w-full flex flex-col items-center">
|
|
|
<image src="@/static/images/trophy/jinbi.png" class="w-90rpx h-90rpx mt-90rpx"></image>
|
|
|
- <view class="w-630rpx flex items-center">
|
|
|
- <text class="text-white font-700 text-36rpx text-center mt-30rpx">
|
|
|
- The result of the last automatic collection
|
|
|
+ <view class="w-630rpx flex items-center justify-center">
|
|
|
+ <text class="text-white font-700 text-36rpx text-center mt-30rpx w-full">
|
|
|
+ {{ $t('index.collection') }}
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="w-630rpx flex items-center justify-center mt-30rpx">
|
|
@@ -280,23 +280,7 @@
|
|
|
@click="lingqu"
|
|
|
class="w-630rpx bg-primary h-100rpx flex items-center justify-center rounded-20rpx mt-30rpx"
|
|
|
>
|
|
|
- <text class="text-28rpx font-700 text-textc">Got it</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="w-full flex flex-col items-center">
|
|
|
- <image src="@/static/images/production/time.png" class="w-90rpx h-90rpx mt-90rpx"></image>
|
|
|
- <view class="w-630rpx flex items-center">
|
|
|
- <text class="text-white font-700 text-36rpx text-center mt-30rpx">
|
|
|
- You can collect BH coins every 12 hours
|
|
|
- </text>
|
|
|
- </view>
|
|
|
- <view class="w-630rpx flex items-center justify-center mt-30rpx">
|
|
|
- <text class="text-26rpx font-400 text-primary text-center">10h 13m 26s</text>
|
|
|
- </view>
|
|
|
- <view
|
|
|
- class="w-630rpx bg-primary h-100rpx flex items-center justify-center rounded-20rpx mt-30rpx"
|
|
|
- >
|
|
|
- <text class="text-28rpx font-700 text-textc">Got it</text>
|
|
|
+ <text class="text-28rpx font-700 text-textc">{{ $t('index.Got') }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</Dialog>
|
|
@@ -420,6 +404,7 @@ onShow(async () => {
|
|
|
await refreshGameState()
|
|
|
nextTick(() => {
|
|
|
initLott()
|
|
|
+ value1.value = uni.getStorageSync('lang') ?? 'en'
|
|
|
})
|
|
|
})
|
|
|
onHide(() => {
|
|
@@ -453,7 +438,6 @@ const changeLocale = async (item) => {
|
|
|
uni.setStorageSync('lang', item.value)
|
|
|
value1.value = item.value
|
|
|
show.value = false
|
|
|
- // await postCheckLang(item.value)
|
|
|
}
|
|
|
const show = ref(false)
|
|
|
const shengjiShow = ref(false)
|