| | |
| | | <view class="tc mt20 f28" style="color: #A62A2A;">每次抽奖消耗 {{ points }} {{ points_name() }},今日剩余{{ times }}次</view> |
| | | </view> |
| | | <view class="lottery-title"> |
| | | <almost-lottery |
| | | :prizeList="prizeList" |
| | | :prizeIndex="prizeIndex" |
| | | :lotteryBg="'/uni_modules/almost-lottery/static/almost-lottery/almost-lottery__bg.png'" |
| | | :actionBg="'/uni_modules/almost-lottery/static/almost-lottery/almost-lottery__action.png'" |
| | | @reset-index="prizeIndex = -1" |
| | | @draw-start="handleDrawStart" |
| | | @draw-end="handleDrawEnd" |
| | | @finish="handleDrawFinish" |
| | | v-if="prizeList.length" |
| | | /> |
| | | <!-- 组件暂不可用 --> |
| | | <view class="tc p40" v-if="prizeList.length"> |
| | | <text class="gray9">抽奖组件暂不可用</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="ww100 mt30"><button class="btn-red record" @click="getRecord()">中奖记录</button></view> |
| | |
| | | |
| | | <script> |
| | | import popup from '@/components/uni-popup.vue'; |
| | | import AlmostLottery from '@/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.vue'; |
| | | import uniLoadMore from "@/components/uni-load-more.vue"; |
| | | export default { |
| | | components: { |
| | | AlmostLottery, |
| | | popup, |
| | | uniLoadMore |
| | | }, |