修改转盘时间

This commit is contained in:
2024-12-09 10:49:37 +08:00
parent 4c6603de45
commit c63deab9f8

View File

@@ -30,6 +30,7 @@
</view> </view>
<!-- <button @click="showLingPop">showLingPop</button> --> <!-- <button @click="showLingPop">showLingPop</button> -->
<almost-lottery :lottery-size="lotteryConfig.lotterySize" :action-size="lotteryConfig.actionSize" <almost-lottery :lottery-size="lotteryConfig.lotterySize" :action-size="lotteryConfig.actionSize"
:selfTime="selfTime"
:ring-count="2" :duration="1" :self-rotaty="false" :img-circled="true" :canvasCached="true" :ring-count="2" :duration="1" :self-rotaty="false" :img-circled="true" :canvasCached="true"
:prize-list="prizeList" :prize-index="prizeIndex" :lotteryBg="lotteryBg" :actionBg="actionBg" :prize-list="prizeList" :prize-index="prizeIndex" :lotteryBg="lotteryBg" :actionBg="actionBg"
@reset-index="prizeIndex = -1" @draw-before="handleDrawBefore" @draw-start="handleDrawStart" @reset-index="prizeIndex = -1" @draw-before="handleDrawBefore" @draw-start="handleDrawStart"
@@ -108,7 +109,7 @@
// 抽奖按钮的尺寸单位rpx // 抽奖按钮的尺寸单位rpx
actionSize: 200 actionSize: 200
}, },
selfTime:2000,
// 以下是转盘 UI 配置 // 以下是转盘 UI 配置
// 转盘外环图,如有需要,请参考替换为自己的设计稿 // 转盘外环图,如有需要,请参考替换为自己的设计稿
lotteryBg: require('@/uni_modules/almost-lottery/static/almost-lottery/almost-lottery__bg2x.png'), lotteryBg: require('@/uni_modules/almost-lottery/static/almost-lottery/almost-lottery__bg2x.png'),