|
@ -1,6 +1,6 @@ |
|
|
<script setup> |
|
|
<script setup> |
|
|
|
|
|
|
|
|
import { ref, onBeforeMount } from 'vue' |
|
|
|
|
|
|
|
|
import { ref, onBeforeMount,onMounted } from 'vue' |
|
|
import jiantou from '../assets/img/jiantou.png' |
|
|
import jiantou from '../assets/img/jiantou.png' |
|
|
|
|
|
|
|
|
const showPopup = ref(false); |
|
|
const showPopup = ref(false); |
|
@ -35,7 +35,7 @@ const buttons = ref([{ |
|
|
}]) |
|
|
}]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//修改一点 |
|
|
function startCallback() { |
|
|
function startCallback() { |
|
|
// 调用抽奖组件的play方法开始游戏 |
|
|
// 调用抽奖组件的play方法开始游戏 |
|
|
myLucky.value.play() |
|
|
myLucky.value.play() |
|
|