From b76fd2fa93c2036d66e5142654cf66cf1e371531 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 30 四月 2024 17:12:34 +0800 Subject: [PATCH] 改为连表查询 --- src/views/screen/components/screen-wrapper/index.vue | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/screen/components/screen-wrapper/index.vue b/src/views/screen/components/screen-wrapper/index.vue index e401f5a..b80e0e0 100644 --- a/src/views/screen/components/screen-wrapper/index.vue +++ b/src/views/screen/components/screen-wrapper/index.vue @@ -5,14 +5,14 @@ 杩斿洖 </div> <div class="wrapper-content"> - <screen-map-three></screen-map-three> + <screen-map-three :loadEnd="isEnd"></screen-map-three> <div class="left-container wrapper"> <screen-face class="enter-left" :class="{ 'animate-enter-x': isEnd }"></screen-face> <screen-car class="enter-left animate-delay-1" :class="{ 'animate-enter-x': isEnd }"></screen-car> <screen-video class="enter-left animate-delay-2" :class="{ 'animate-enter-x': isEnd }"></screen-video> </div> <div class="center-container center-wrapper"> - <screen-map></screen-map> + <screen-map-cover></screen-map-cover> <screen-table class="enter-top" :class="{ 'animate-enter-y': isEnd }"></screen-table> <!-- <screen-detection></screen-detection> --> @@ -31,17 +31,16 @@ import ScreenFace from '../screen-face/index'; import ScreenVideo from '../screen-video/index'; import ScreenCar from '../screen-car/index'; -import ScreenMap from '../screen-map/index'; import ScreenMapCover from '../screen-map-cover/index'; import ScreenTable from '../screen-table/index'; -import ScreenMapThree from '../screen-map-three/index.vue'; +import ScreenMapThree from '../screen-map-three/index'; +import ScreenData from '../screen-data/index'; export default { name: 'ScreenWrapper', components: { SelectItem, ScreenExamine, - ScreenMap, ScreenTable, ScreenMapCover, ScreenMapThree, @@ -52,7 +51,7 @@ }, data() { return { - isEnd: false + isEnd: false, } }, methods: { @@ -70,7 +69,7 @@ const container = document.querySelector('.screen-wrapper'); container.addEventListener('transitionend', this.checkAnimationEnd); }, - destroyed() { + beforDestroy() { const container = document.querySelector('.screen-wrapper'); container.removeEventListener('transitionend', this.checkAnimationEnd); } -- Gitblit v1.8.0