feat(抽奖活动页): 图源更换
This commit is contained in:
parent
0a95ebd6bf
commit
01e13dbbb9
BIN
src/assets/images/Lottery/incomeBt.png
Normal file
BIN
src/assets/images/Lottery/incomeBt.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
BIN
src/assets/images/Lottery/incomeBtActive.png
Normal file
BIN
src/assets/images/Lottery/incomeBtActive.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 149 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 444 KiB After Width: | Height: | Size: 466 KiB |
@ -7,15 +7,15 @@
|
||||
<img :src="images.pageTitle" alt="" width="100%" style="display: block" />
|
||||
|
||||
<!-- 弹幕 -->
|
||||
<div></div>
|
||||
<!-- <Barrage></Barrage> -->
|
||||
|
||||
<!-- 模块切换按钮 -->
|
||||
<div style="display: flex; justify-content: space-around">
|
||||
<div style="width: 30%" @click="handleBt('Rank')">
|
||||
<img :src="rankShow ? images.rankingBtActive : images.rankingBt" alt="" width="100%" />
|
||||
</div>
|
||||
<div style="width: 30%" @click="handleBt('Cash')">
|
||||
<img :src="cashShow ? images.cashBtActive : images.cashBt" alt="" width="100%" />
|
||||
<div style="width: 30%" @click="handleBt('Income')">
|
||||
<img :src="incomeShow ? images.incomeBtActive : images.incomeBt" alt="" width="100%" />
|
||||
</div>
|
||||
<div style="width: 30%" @click="handleBt('Lottery')">
|
||||
<img :src="lotteryShow ? images.lotteryBtActive : images.lotteryBt" alt="" width="100%" />
|
||||
@ -73,7 +73,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 提现模块 -->
|
||||
<div v-if="cashShow" style="width: 100%; display: flex; flex-direction: column; gap: 3vw">
|
||||
<div v-if="incomeShow" style="width: 100%; display: flex; flex-direction: column; gap: 3vw">
|
||||
<!-- 个人信息 -->
|
||||
<div
|
||||
style="
|
||||
@ -624,6 +624,7 @@ import maskLayer from '@/components/MaskLayer.vue'
|
||||
import { useDebounce, useThrottle } from '@/utils/useDebounce'
|
||||
import { getMemberProfile } from '@/api/wallet'
|
||||
import { useRouter } from 'vue-router'
|
||||
// import Barrage from '@/components/Lottery/Barrage.vue'
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
@ -660,7 +661,7 @@ const resultShowIndex = ref(0)
|
||||
const isInAppEnvironment = ref(false) // 检测是否在APP环境中
|
||||
const maskLayerShow = ref(false)
|
||||
const rankShow = ref(true)
|
||||
const cashShow = ref(false)
|
||||
const incomeShow = ref(false)
|
||||
const lotteryShow = ref(false)
|
||||
|
||||
const selectedCoin = ref(null)
|
||||
@ -668,7 +669,7 @@ const selectedCoin = ref(null)
|
||||
// 点击展示主体内容
|
||||
const handleBt = (type) => {
|
||||
rankShow.value = type == 'Rank' ? true : false
|
||||
cashShow.value = type == 'Cash' ? true : false
|
||||
incomeShow.value = type == 'Income' ? true : false
|
||||
lotteryShow.value = type == 'Lottery' ? true : false
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user