master
zhaoqiang 2024-07-17 22:22:23 +08:00
parent 85f02445c9
commit 4e6f0b34fb
1 changed files with 14 additions and 5 deletions

View File

@ -63,7 +63,7 @@
</div> -->
<div class="pic_box">
<div class="tuopubg"></div>
<div class="box" @click="handleEnter">
<div class="box" @click="handleEnter('2')">
<!-- <div class="boxbtn">
<div class="btnbox1 btnpos" @click="handleShowSvg('ying31')"></div>
<div class="btnbox2 btnpos" @click="handleShowSvg('ying41')"></div>
@ -513,7 +513,8 @@ let timer = ref<any>('')
// -------线
let handleClose = () => {
if (svgLevel.value === 2) {
handleEnter()
handleEnter('1')
// 1:
svgLevel.value = 1
} else {
clearInterval(timer.value)
@ -528,8 +529,16 @@ let svgImage = new URL('@/assets/images/svgImage/active.jpg', import.meta.url).h
// SVG
let svgLevel = ref<number>(1)
// svg svg
let handleEnter = () => {
loadingFlag.value = true
let handleEnter = (typeValue: string) => {
let time: number = 0
if (typeValue === '1') {
loadingFlag.value = false
time = 0
} else {
loadingFlag.value = true
time = 8000
}
dialogVisible.value = true
send3d_xuehua()
nextTick(() => {
@ -1150,7 +1159,7 @@ let handleEnter = () => {
}
})
})
}, 8000)
}, time)
}
// svg
const send3d_xuehua = () => {