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