抽奖修改
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 34 KiB |
@@ -13,7 +13,7 @@
|
|||||||
<div class="lottery-name" v-show="activePrizeData.prize_code !== 'NO'">{{ activePrizeData.name }}</div>
|
<div class="lottery-name" v-show="activePrizeData.prize_code !== 'NO'">{{ activePrizeData.name }}</div>
|
||||||
<div class="lottery-btngroup" v-show="btngroupShow">
|
<div class="lottery-btngroup" v-show="btngroupShow">
|
||||||
<div class="btn-more" @click="handleBtnMore"></div>
|
<div class="btn-more" @click="handleBtnMore"></div>
|
||||||
<div class="btn-kaixin" @click="handleLotteryAction"></div>
|
<div class="btn-kaixin" @click="handleLotteryAction" v-if="activePrizeData.prize_code !== 'NO'"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -110,7 +110,7 @@ watch(() => props.show, async (newVal) => {
|
|||||||
let lottteryResult = null
|
let lottteryResult = null
|
||||||
|
|
||||||
if (props.type === 'draw') {
|
if (props.type === 'draw') {
|
||||||
// lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
|
lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
|
||||||
}
|
}
|
||||||
// const userPicture = await getUserPicture()
|
// const userPicture = await getUserPicture()
|
||||||
|
|
||||||
@@ -130,16 +130,16 @@ watch(() => props.show, async (newVal) => {
|
|||||||
|
|
||||||
// const lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
|
// const lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
|
||||||
// TODO: 测试数据
|
// TODO: 测试数据
|
||||||
lottteryResult = {
|
// lottteryResult = {
|
||||||
res: { status: 200 },
|
// res: { status: 200 },
|
||||||
json: {
|
// json: {
|
||||||
id: 0,
|
// id: 0,
|
||||||
code: "LZ_ZQ_DZJ",
|
// code: "xxx",
|
||||||
prize_code: 'LZ_ZQ_DZJ',
|
// prize_code: 'xxx',
|
||||||
coupon_type: "scene",
|
// coupon_type: "scene",
|
||||||
name: "泸州老窖的一瓶酒"
|
// name: "泸州老窖的一瓶酒"
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
loading.hide()
|
loading.hide()
|
||||||
|
|
||||||
@@ -239,6 +239,8 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.lottery-image.USER_NO {
|
.lottery-image.USER_NO {
|
||||||
|
background-size: 60% auto;
|
||||||
|
background-position: center center;
|
||||||
background-image: url("../assets/images/USER_NO.webp");
|
background-image: url("../assets/images/USER_NO.webp");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -327,7 +329,7 @@ onUnmounted(() => {
|
|||||||
bottom: -24vw;
|
bottom: -24vw;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-evenly;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-more {
|
.btn-more {
|
||||||
|
|||||||
Reference in New Issue
Block a user