深海所安全管理信息化平台
zhouwx
2026-02-26 5b0ccbf346e6e4fb322bc3312e031c2d8d6516c3
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<template>
  <div class="login-panel">
    <div class="container">
      <header class="header">
        <h1>中国科学院深海科学与工程研究所安全管理信息化平台</h1>
      </header>
      <div class="boxes-container">
        <div class="box" @click="openExam">
<!--          <i class="fas fa-shield-alt"></i>-->
          <h2>安全教育考试系统</h2>
          <p>Safety Education Exam System</p>
          <div class="arrow">
            <i class="fas fa-arrow-right"></i>
          </div>
        </div>
 
        <div class="box" @click="openCheck">
<!--          <i class="fas fa-database"></i>-->
          <h2>安全检查整改系统</h2>
          <p>Safety Inspection & Rectification System</p>
          <div class="arrow">
            <i class="fas fa-arrow-right"></i>
          </div>
        </div>
      </div>
 
    </div>
    <div class="videoContainer">
      <video class="fullscreenVideo" id="bgVid" playsinline="" autoplay="" muted="" loop="">
        <source src="../assets/back.mp4"></source>
      </video>
    </div>
  </div>
 
</template>
<script setup>
import { ref } from 'vue'
defineProps({
  msg: String,
})
const openExam = () => {
  window.open('http://10.10.1.145:8015/nanoweb/foreground/','_blank')
}
const openCheck = () => {
  window.open('http://10.10.1.145:8010/','_blank')
}
 
 
 
const count = ref(0)
</script>
 
 
<style scoped>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', 'Microsoft YaHei', sans-serif;
}
.login-panel{
  width: 100%;
  height: 100%;
  //background: url("../assets/bg2.jpg") no-repeat center;
  background-image: url("../assets/back.mp4");
  background-size: cover;
  justify-content: center;
  align-items: center;
 
}
 
 
 
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
}
 
.header {
  text-align: center;
  padding-top: 70px;
  position: relative;
}
 
.header h1 {
  color: #e0f7ff;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(100, 220, 255, 0.8);
  animation: glow 2s infinite alternate;
}
 
.header::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #4df8ff;
  margin: 20px auto;
  border-radius: 2px;
}
 
.boxes-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 12%;
 
}
 
.box {
  width: 45%;
  min-width: 300px;
  height: 300px;
  background: rgba(1, 58, 115, 0.6); /* 深海蓝半透明背景 */
  border-radius: 10px;
  border: 1px solid rgba(100, 220, 255, 0.4); /* 发光蓝色边框 */
  box-shadow: 0 0 25px rgba(70, 180, 255, 0.3); /* 蓝色光晕 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  cursor: pointer;
  transition: all 0.5s ease;
  overflow: hidden;
  position: relative;
}
 
.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(70, 200, 255, 0.5);
  border-color: rgba(100, 240, 255, 0.8);
  background: rgba(0, 60, 90, 0.7); /* 悬浮时更亮的蓝 */
}
 
.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.1), transparent);
  transition: 0.5s;
}
 
.box:hover::before {
  left: 100%;
}
 
.box i {
  font-family: "Font Awesome 6 Free", "Segoe UI Emoji" !important;
  font-weight: 900 !important;
}
 
.box h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  color: #b7f0ff; /* 亮青色标题 */
}
 
.box:hover h2 {
  text-shadow: 0 0 10px rgba(0, 195, 255, 0.7);
}
 
.box p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(200, 240, 255, 0.9); /* 浅蓝灰文字 */
}
 
.box .arrow {
  position: absolute;
  bottom: 20px;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  color: #4df8ff;
}
 
.box:hover .arrow {
  opacity: 1;
  transform: translateY(0);
}
 
@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.5);
  }
  to {
    text-shadow: 0 0 15px rgba(0, 195, 255, 0.9), 0 0 20px rgba(0, 195, 255, 0.5);
  }
}
 
.desc-icon {
  font-size: 1.8rem;
  color: rgba(77, 248, 255, 0.7);
  margin: 10px 0;
  filter: drop-shadow(0 0 3px rgba(77, 248, 255, 0.5));
  transition: all 0.3s ease;
  cursor: pointer;
}
 
.desc-icon:hover {
  color: #4df8ff;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 6px rgba(77, 248, 255, 0.8));
}
 
@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(200px);
    opacity: 0;
  }
}
 
/* 响应式设计 */
@media (max-width: 768px) {
  .boxes-container {
    flex-direction: column;
    align-items: center;
  }
  .box {
    width: 80%;
  }
  .header h1 {
    font-size: 2rem;
  }
}
.videoContainer{
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -100;
  top: 0;
}
.videoContainer :before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
  top: 0;
  left: 0;
  background: rgba(25,29,34,.65);
}
</style>