diff --git a/src/assets/images/USER_NO.webp b/src/assets/images/USER_NO.webp
index 80bc427..7ba6938 100644
Binary files a/src/assets/images/USER_NO.webp and b/src/assets/images/USER_NO.webp differ
diff --git a/src/components/Lottery.vue b/src/components/Lottery.vue
index c7cd309..5bd08c1 100644
--- a/src/components/Lottery.vue
+++ b/src/components/Lottery.vue
@@ -13,7 +13,7 @@
{{ activePrizeData.name }}
@@ -110,7 +110,7 @@ watch(() => props.show, async (newVal) => {
let lottteryResult = null
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()
@@ -130,16 +130,16 @@ watch(() => props.show, async (newVal) => {
// const lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
// TODO: 测试数据
- lottteryResult = {
- res: { status: 200 },
- json: {
- id: 0,
- code: "LZ_ZQ_DZJ",
- prize_code: 'LZ_ZQ_DZJ',
- coupon_type: "scene",
- name: "泸州老窖的一瓶酒"
- }
- }
+ // lottteryResult = {
+ // res: { status: 200 },
+ // json: {
+ // id: 0,
+ // code: "xxx",
+ // prize_code: 'xxx',
+ // coupon_type: "scene",
+ // name: "泸州老窖的一瓶酒"
+ // }
+ // }
loading.hide()
@@ -239,6 +239,8 @@ onUnmounted(() => {
}
.lottery-image.USER_NO {
+ background-size: 60% auto;
+ background-position: center center;
background-image: url("../assets/images/USER_NO.webp");
}
@@ -327,7 +329,7 @@ onUnmounted(() => {
bottom: -24vw;
width: 100%;
display: flex;
- justify-content: space-between;
+ justify-content: space-evenly;
}
.btn-more {