feat(斋月活动页): 补充弹窗完整

This commit is contained in:
hzj 2026-02-10 10:40:06 +08:00
parent 83abdf7db0
commit 4cf65bb119

View File

@ -101,6 +101,15 @@
:imgUrl="imageUrl('overallRankingBg')"
:contentStyle="`inset: 15vw 4vw 5vw;flex-direction: column;`"
>
<!-- 前三规则按钮 -->
<img
v-smart-img
:src="imageUrl('historyBt')"
alt=""
style="width: 6vw; position: absolute; z-index: 2; top: 4vw; right: 2vw"
@click="openPopup('top3Help')"
/>
<!-- 第一 -->
<div style="display: flex; justify-content: center">
<TopUser
@ -242,6 +251,15 @@
</div>
</div>
<!-- 排行榜规则按钮 -->
<img
v-smart-img
:src="imageUrl('historyBt')"
alt=""
style="width: 6vw; position: absolute; z-index: 2; top: 19vw; right: 7vw"
@click="openPopup('rankingHelp')"
/>
<!-- 排行榜前10名(带奖励) -->
<div
v-for="(listItem, index) in RankingHasTop10"
@ -1047,7 +1065,7 @@
src="/src/assets/icon/helpWhite.png"
alt=""
class="ruleBt"
@click="openPopup('help')"
@click="openPopup('withdrawalHelp')"
/>
<!-- 名称 -->
<div
@ -1716,20 +1734,45 @@
</itemCenter>
</div>
<!-- help弹窗 -->
<div v-show="helpShow" @click.stop>
<!-- 排行榜帮助弹窗 -->
<div v-show="rankingHelpShow" @click.stop>
<itemCenter
:imgUrl="imageUrl('helpBg_ar')"
:imgUrl="imageUrl('rankingHelpBg_ar')"
:contentStyle="`inset: 26vw 6vw 13vw;overflow-y: auto;display:block;`"
>
<img
v-smart-img
:src="imageUrl(getImgName('helpInfo'))"
:src="imageUrl(getImgName('rankingHelpInfo'))"
alt=""
style="display: block; width: 100%; object-fit: cover; margin-bottom: 6vw"
/>
</itemCenter>
</div>
<!-- 总榜前三规则弹窗 -->
<div v-show="top3HelpShow" @click.stop>
<itemCenter
:imgUrl="imageUrl('top3HelpBg_ar')"
:contentStyle="`inset: 26vw 6vw 13vw;overflow-y: auto;display:block;`"
>
<img
v-smart-img
:src="imageUrl(getImgName('top3HelpInfo'))"
alt=""
style="display: block; width: 100%; object-fit: cover; margin-bottom: 6vw"
/>
</itemCenter>
</div>
<!-- 兑换规则弹窗 -->
<div v-show="withdrawalHelpShow" @click.stop>
<img
v-smart-img
:src="imageUrl(getImgName('withdrawalHelp'))"
alt=""
style="display: block; width: 100%; object-fit: cover; margin-bottom: 6vw"
/>
</div>
</div>
</maskLayer>
</div>
@ -1813,12 +1856,22 @@ const Second = ref(0)
let timer = null
//
const helpShow = ref(false) //
const rankingHelpShow = ref(false) //
const top3HelpShow = ref(false) //
const withdrawalHelpShow = ref(false) //
const resultShow = ref(false) //
const historyShow = ref(false) //
const topRewardShow = ref(false) //
const maskLayerShow = computed(() => {
return helpShow.value || resultShow.value || historyShow.value || topRewardShow.value
return (
rankingHelpShow.value ||
top3HelpShow.value ||
withdrawalHelpShow.value ||
resultShow.value ||
historyShow.value ||
topRewardShow.value
)
})
//
@ -2127,12 +2180,18 @@ const exchangeCoinBt = async () => {
const openPopup = (type) => {
closedPopup(false) //
switch (type) {
case 'rankingHelp':
rankingHelpShow.value = true
break
case 'top3Help':
top3HelpShow.value = true
break
case 'withdrawalHelp':
withdrawalHelpShow.value = true
break
case 'result':
resultShow.value = true
break
case 'help':
helpShow.value = true
break
case 'history':
historyShow.value = true
break
@ -2146,8 +2205,10 @@ const openPopup = (type) => {
//
const closedPopup = (clear = true) => {
rankingHelpShow.value = false
top3HelpShow.value = false
withdrawalHelpShow.value = false
resultShow.value = false
helpShow.value = false
historyShow.value = false
topRewardShow.value = false
if (clear) {