From e499960a4f186f1a526899ee985ce0b48ba69fac Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期二, 22 十月 2024 17:33:40 +0800
Subject: [PATCH] 完成运维考核-工单白名单-列表展示
---
src/views/screen/components/screen-wrapper/index.vue | 54 ++++++++++++++++++++++++++++++++++++------------------
1 files changed, 36 insertions(+), 18 deletions(-)
diff --git a/src/views/screen/components/screen-wrapper/index.vue b/src/views/screen/components/screen-wrapper/index.vue
index b2dac5e..e68695b 100644
--- a/src/views/screen/components/screen-wrapper/index.vue
+++ b/src/views/screen/components/screen-wrapper/index.vue
@@ -1,26 +1,27 @@
<template>
<div class="wrapper-container">
- <select-item></select-item>
+ <!-- <select-item></select-item>
<div class="return-button" @click="returnPath">
杩斿洖
</div>
- <div class="wrapper-content">
- <div class="left-container wrapper">
+ <div class="wrapper-content"> -->
+ <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-table class="enter-top" :class="{ 'animate-enter-y': isEnd }"></screen-table>
+ <screen-map-cover></screen-map-cover>
+ <screen-table class="enter-top" :class="{ 'animate-enter-y': isEnd }"></screen-table> -->
<!-- <screen-detection></screen-detection> -->
- </div>
+ <!-- </div>
<div class="right-container wrapper">
<screen-examine class="enter-right" :class="{ 'animate-enter-x': isEnd }"></screen-examine>
<screen-data class="enter-right animate-delay-1" :class="{ 'animate-enter-x': isEnd }"></screen-data>
</div>
- </div>
+ </div> -->
</div>
</template>
@@ -30,16 +31,19 @@
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';
import ScreenData from '../screen-data/index';
+
export default {
name: 'ScreenWrapper',
components: {
SelectItem,
ScreenExamine,
- ScreenMap,
ScreenTable,
+ ScreenMapCover,
+ ScreenMapThree,
ScreenFace,
ScreenVideo,
ScreenCar,
@@ -47,7 +51,7 @@
},
data() {
return {
- isEnd: false
+ isEnd: false,
}
},
methods: {
@@ -65,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);
}
@@ -86,11 +90,11 @@
}
.wrapper-container {
- width: 100%;
- height: 100%;
+ width: 46%;
+ height: 54%;
position: absolute;
- top: 0;
- left: 0;
+ top: 11%;
+ left: 27%;
z-index: 1;
.wrapper-content {
@@ -133,24 +137,30 @@
flex-direction: column;
justify-content: space-between;
}
+
.animate-enter-x {
animation: enter-x 0.4s ease forwards;
}
+
.animate-enter-y {
animation: enter-y 0.4s ease forwards;
}
+
.enter-left {
transform: translateX(-100px);
opacity: 0;
}
+
.enter-right {
transform: translateX(100px);
opacity: 0;
}
+
.enter-top {
transform: translateY(100px);
opacity: 0;
}
+
.animate-delay-1 {
animation-delay: 0.1s;
}
@@ -164,16 +174,24 @@
}
@keyframes enter-x {
- 100% {
+ from {
+ opacity: 0;
+ }
+
+ to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes enter-y {
- 100% {
+ from {
+ opacity: 0;
+ }
+
+ to {
opacity: 1;
transform: translateY(0);
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.8.0