修改转盘时间
This commit is contained in:
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user