update
parent
85f02445c9
commit
4e6f0b34fb
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in New Issue