feat:抽奖

This commit is contained in:
2025-09-16 23:22:18 +08:00
parent 53c58cdf33
commit f86ae4a4b8
4 changed files with 7 additions and 7 deletions
@@ -9,6 +9,7 @@
left: highlightLeft,
transition: isRotating ? 'all 0.07s linear' : 'none'
}"></view>
<!-- 9个格子 -->
<view class="grid-item" v-for="(item, index) in 9" :key="index">
@@ -159,7 +160,7 @@ export default {
* 处理开始抽奖事件
*/
async handleStartLottery(num) {
if(this.currentUserData.contractStatus != 5){
if(this.currentUserData.contractStatus != 4){
uni.showToast({
title: `您当前尚未签署合同,请先签署合同再参与抽奖~`,
icon: 'none'
@@ -219,7 +220,7 @@ export default {
this.$emit('start', num, this.currentPrize)
// 开始抽奖动画(无论父组件做了什么处理)
this.startLotteryAnimation(start)
this.startLotteryAnimation()
},
/**
* 开始抽奖动画