feat(开斋节): 使用翻译按钮

This commit is contained in:
hzj 2026-03-19 22:25:59 +08:00
parent 001dbfd29a
commit 502c806dbc

View File

@ -70,14 +70,14 @@
<img <img
v-show="!rankShow" v-show="!rankShow"
v-smart-img v-smart-img
:src="imageUrl('rankBt')" :src="imageUrl(getImgName('rankBt'))"
alt="" alt=""
style="display: block; width: 100%" style="display: block; width: 100%"
/> />
<img <img
v-show="rankShow" v-show="rankShow"
v-smart-img v-smart-img
:src="imageUrl('rankBtActive')" :src="imageUrl(getImgName('rankBtActive'))"
alt="" alt=""
style="display: block; width: 100%" style="display: block; width: 100%"
/> />
@ -91,14 +91,14 @@
<img <img
v-show="!rechargeShow" v-show="!rechargeShow"
v-smart-img v-smart-img
:src="imageUrl('rechargeBt')" :src="imageUrl(getImgName('rechargeBt'))"
alt="" alt=""
style="display: block; width: 100%" style="display: block; width: 100%"
/> />
<img <img
v-show="rechargeShow" v-show="rechargeShow"
v-smart-img v-smart-img
:src="imageUrl('rechargeBtActive')" :src="imageUrl(getImgName('rechargeBtActive'))"
alt="" alt=""
style="display: block; width: 100%" style="display: block; width: 100%"
/> />
@ -112,14 +112,14 @@
<img <img
v-show="!lotteryShow" v-show="!lotteryShow"
v-smart-img v-smart-img
:src="imageUrl('lotteryBt')" :src="imageUrl(getImgName('lotteryBt'))"
alt="" alt=""
style="display: block; width: 100%" style="display: block; width: 100%"
/> />
<img <img
v-show="lotteryShow" v-show="lotteryShow"
v-smart-img v-smart-img
:src="imageUrl('lotteryBtActive')" :src="imageUrl(getImgName('lotteryBtActive'))"
alt="" alt=""
style="display: block; width: 100%" style="display: block; width: 100%"
/> />
@ -145,7 +145,7 @@
<div style="width: 30vw; min-width: 0" @click="changeModule('ranking')"> <div style="width: 30vw; min-width: 0" @click="changeModule('ranking')">
<img <img
v-smart-img v-smart-img
:src="imageUrl('rankingBt')" :src="imageUrl(getImgName('rankingBt'))"
alt="" alt=""
:class="{ :class="{
'grayscale-container': !rankingShow, 'grayscale-container': !rankingShow,
@ -158,7 +158,7 @@
<div style="width: 30vw; min-width: 0" @click="changeModule('rewards')"> <div style="width: 30vw; min-width: 0" @click="changeModule('rewards')">
<img <img
v-smart-img v-smart-img
:src="imageUrl('rewardsBt')" :src="imageUrl(getImgName('rewardsBt'))"
alt="" alt=""
:class="{ :class="{
'grayscale-container': !rewardsShow, 'grayscale-container': !rewardsShow,
@ -585,7 +585,7 @@
<div style="width: 30vw; min-width: 0" @click="changeModule('rechargeRank')"> <div style="width: 30vw; min-width: 0" @click="changeModule('rechargeRank')">
<img <img
v-smart-img v-smart-img
:src="imageUrl('rechargeRankBt')" :src="imageUrl(getImgName('rechargeRankBt'))"
alt="" alt=""
:class="{ :class="{
'grayscale-container': !rechargeRankShow, 'grayscale-container': !rechargeRankShow,
@ -598,7 +598,7 @@
<div style="width: 30vw; min-width: 0" @click="changeModule('rechargeRewards')"> <div style="width: 30vw; min-width: 0" @click="changeModule('rechargeRewards')">
<img <img
v-smart-img v-smart-img
:src="imageUrl('rewardsBt')" :src="imageUrl(getImgName('rewardsBt'))"
alt="" alt=""
:class="{ :class="{
'grayscale-container': !rechargeRewardsShow, 'grayscale-container': !rechargeRewardsShow,
@ -1066,14 +1066,14 @@
v-smart-img v-smart-img
v-if="rewardsTop.claimStatus == -1" v-if="rewardsTop.claimStatus == -1"
class="grayscale-container" class="grayscale-container"
:src="imageUrl('receiveBt')" :src="imageUrl(getImgName('receiveBt'))"
alt="" alt=""
style="width: 40vw; display: block; object-fit: cover" style="width: 40vw; display: block; object-fit: cover"
/> />
<img <img
v-smart-img v-smart-img
v-if="rewardsTop.claimStatus == 0" v-if="rewardsTop.claimStatus == 0"
:src="imageUrl('receiveBt')" :src="imageUrl(getImgName('receiveBt'))"
alt="" alt=""
style="width: 40vw; display: block; object-fit: cover" style="width: 40vw; display: block; object-fit: cover"
@click="receiveReward(rewardsTop)" @click="receiveReward(rewardsTop)"
@ -1081,7 +1081,7 @@
<img <img
v-smart-img v-smart-img
v-if="rewardsTop.claimStatus == 1" v-if="rewardsTop.claimStatus == 1"
:src="imageUrl('receivedBt')" :src="imageUrl(getImgName('receivedBt'))"
alt="" alt=""
style="width: 40vw; display: block; object-fit: cover" style="width: 40vw; display: block; object-fit: cover"
/> />
@ -1107,7 +1107,7 @@
<div style="width: 30vw; min-width: 0" @click="changeModule('task')"> <div style="width: 30vw; min-width: 0" @click="changeModule('task')">
<img <img
v-smart-img v-smart-img
:src="imageUrl('taskBt')" :src="imageUrl(getImgName('taskBt'))"
alt="" alt=""
:class="{ :class="{
'grayscale-container': !taskShow, 'grayscale-container': !taskShow,
@ -1120,7 +1120,7 @@
<div style="width: 30vw; min-width: 0" @click="changeModule('withdraw')"> <div style="width: 30vw; min-width: 0" @click="changeModule('withdraw')">
<img <img
v-smart-img v-smart-img
:src="imageUrl('withdrawBt')" :src="imageUrl(getImgName('withdrawBt'))"
alt="" alt=""
:class="{ :class="{
'grayscale-container': !withdrawShow, 'grayscale-container': !withdrawShow,
@ -3286,16 +3286,16 @@ const preloadCriticalImages = async () => {
imageUrl('timeBg'), // imageUrl('timeBg'), //
// //
imageUrl('rankBt'), imageUrl(getImgName('rankBt')),
imageUrl('rankBtActive'), imageUrl(getImgName('rankBtActive')),
imageUrl('rechargeBt'), imageUrl(getImgName('rechargeBt')),
imageUrl('rechargeBtActive'), imageUrl(getImgName('rechargeBtActive')),
imageUrl('lotteryBt'), imageUrl(getImgName('lotteryBt')),
imageUrl('lotteryBtActive'), imageUrl(getImgName('lotteryBtActive')),
// //
// //
imageUrl('rankingBt'), imageUrl(getImgName('rankingBt')),
imageUrl('rewardsBt'), imageUrl('rewardsBt'),
// //
@ -3323,7 +3323,7 @@ const preloadCriticalImages = async () => {
// //
// //
imageUrl('rechargeRankBt'), imageUrl(getImgName('rechargeRankBt')),
// //
// imageUrl('earningInfoBg'), // imageUrl('earningInfoBg'),
@ -3337,13 +3337,13 @@ const preloadCriticalImages = async () => {
// imageUrl('rechargeReward3000'), // imageUrl('rechargeReward3000'),
// imageUrl('rechargeReward5000'), // imageUrl('rechargeReward5000'),
// imageUrl('rechargeReward10000'), // imageUrl('rechargeReward10000'),
// imageUrl('receiveBt'), // imageUrl(getImgName('receiveBt')),
// imageUrl('receivedBt'), // imageUrl(getImgName('receivedBt')),
// //
// //
// imageUrl('taskBt'), // imageUrl(getImgName('taskBt')),
// imageUrl('withdrawBt'), // imageUrl(getImgName('withdrawBt')),
// //
// imageUrl('resultBt'), // imageUrl('resultBt'),