ZhangXianQiang
2024-03-29 c755b7c6e1d9dda26ac6c41a1c49896ebedd077d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<template>
  <div class="wrapper-container">
    <select-item></select-item>
    <div class="return-button">
      <el-button type="primary" @click="returnPath">管理系统</el-button>
    </div>
    <div class="wrapper-content">
      <div class="left-container wrapper">
        <screen-face class="animate-enter-x enter-left"></screen-face>
        <screen-car class="animate-enter-x enter-left animate-delay-1"></screen-car>
        <screen-video class="animate-enter-x enter-left animate-delay-2"></screen-video>
      </div>
      <div class="center-container center-wrapper">
        <!-- <screen-map></screen-map> -->
        <screen-map-cover></screen-map-cover>
        <screen-table class="animate-enter-y enter-top"></screen-table>
        <!-- <screen-detection></screen-detection> -->
 
      </div>
      <div class="right-container wrapper">
        <screen-examine class="animate-enter-x enter-right"></screen-examine>
      </div>
    </div>
  </div>
</template>
 
<script>
import SelectItem from '../select-item/index';
import ScreenFace from '../screen-face/index';
import ScreenExamine from '../screen-examine/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';
export default {
  name: 'ScreenWrapper',
  components: {
    SelectItem,
    ScreenFace,
    ScreenExamine,
    ScreenVideo,
    ScreenCar,
    ScreenMap,
    ScreenTable,
    ScreenMapCover
  },
  methods: {
    returnPath() {
      this.$router.push('/index');
    }
  }
}
</script>
 
<style lang="scss" scoped>
.return-button {
  position: absolute;
  right: 20px;
  top: 40px;
}
 
.wrapper-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
 
  .wrapper-content {
    width: 100%;
    height: calc(100% - 100px);
    margin-top: 100px;
    position: relative;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
 
.wrapper {
  width: 20%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
 
  &:first-of-type {
    padding-left: 0;
  }
 
  &:last-of-type {
    padding-right: 0;
  }
}
 
.center-wrapper {
  width: 60%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  display: flex;
  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;
}
 
.animate-delay-2 {
  animation-delay: 0.3s;
}
 
.animate-delay-3 {
  animation-delay: 0.5s;
}
 
@keyframes enter-x {
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
 
@keyframes enter-y {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
</style>