BlueUU commited on
Commit
5fc5068
·
verified ·
1 Parent(s): 975aefa

Upload deepseek_html_20250708_70c827.html

Browse files
Files changed (1) hide show
  1. deepseek_html_20250708_70c827.html +942 -0
deepseek_html_20250708_70c827.html ADDED
@@ -0,0 +1,942 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>船用替代燃料安全评估平台</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
9
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
10
+ <style>
11
+ :root {
12
+ --primary-dark: #0a1929;
13
+ --primary-medium: #1e3a5f;
14
+ --primary-light: #2a4b7c;
15
+ --accent-safe: #4CAF50;
16
+ --accent-warning: #FF9800;
17
+ --accent-danger: #F44336;
18
+ --text-primary: #FFFFFF;
19
+ --text-secondary: #B0BEC5;
20
+ --card-bg: rgba(30, 58, 95, 0.6);
21
+ --progress-bar: #2e7d32;
22
+ --sidebar-width: 280px;
23
+ }
24
+
25
+ * {
26
+ margin: 0;
27
+ padding: 0;
28
+ box-sizing: border-box;
29
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
30
+ }
31
+
32
+ body {
33
+ background: linear-gradient(135deg, var(--primary-dark) 0%, #0d1b2a 100%);
34
+ color: var(--text-primary);
35
+ height: 100vh;
36
+ display: flex;
37
+ flex-direction: column;
38
+ overflow: hidden;
39
+ }
40
+
41
+ /* 顶部导航 */
42
+ .header {
43
+ background: linear-gradient(to right, var(--primary-medium), var(--primary-light));
44
+ padding: 0 20px;
45
+ display: flex;
46
+ justify-content: space-between;
47
+ align-items: center;
48
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
49
+ z-index: 100;
50
+ height: 70px;
51
+ }
52
+
53
+ .logo {
54
+ display: flex;
55
+ align-items: center;
56
+ gap: 15px;
57
+ }
58
+
59
+ .logo-icon {
60
+ font-size: 1.8rem;
61
+ color: var(--accent-safe);
62
+ }
63
+
64
+ .logo-text {
65
+ font-size: 1.4rem;
66
+ font-weight: 600;
67
+ }
68
+
69
+ .system-mode {
70
+ display: flex;
71
+ gap: 10px;
72
+ }
73
+
74
+ .mode-btn {
75
+ background: rgba(255, 255, 255, 0.1);
76
+ border: none;
77
+ border-radius: 4px;
78
+ color: white;
79
+ padding: 8px 15px;
80
+ cursor: pointer;
81
+ font-size: 0.9rem;
82
+ }
83
+
84
+ .mode-btn.active {
85
+ background: linear-gradient(145deg, #2E7D32, #1B5E20);
86
+ }
87
+
88
+ .user-controls {
89
+ display: flex;
90
+ align-items: center;
91
+ gap: 20px;
92
+ }
93
+
94
+ .user-info {
95
+ display: flex;
96
+ align-items: center;
97
+ gap: 10px;
98
+ }
99
+
100
+ .avatar {
101
+ width: 40px;
102
+ height: 40px;
103
+ border-radius: 50%;
104
+ background-color: var(--primary-light);
105
+ display: flex;
106
+ align-items: center;
107
+ justify-content: center;
108
+ font-weight: bold;
109
+ }
110
+
111
+ /* 主布局 */
112
+ .main-layout {
113
+ display: flex;
114
+ flex: 1;
115
+ overflow: hidden;
116
+ }
117
+
118
+ /* 侧边栏 */
119
+ .sidebar {
120
+ width: var(--sidebar-width);
121
+ background: linear-gradient(to bottom, var(--primary-medium), var(--primary-dark));
122
+ display: flex;
123
+ flex-direction: column;
124
+ padding: 20px 0;
125
+ box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
126
+ z-index: 10;
127
+ }
128
+
129
+ .nav-title {
130
+ padding: 15px 25px;
131
+ color: var(--text-secondary);
132
+ font-size: 0.9rem;
133
+ text-transform: uppercase;
134
+ letter-spacing: 1px;
135
+ }
136
+
137
+ .nav-item {
138
+ display: flex;
139
+ align-items: center;
140
+ padding: 15px 25px;
141
+ color: var(--text-primary);
142
+ text-decoration: none;
143
+ gap: 15px;
144
+ transition: all 0.3s;
145
+ border-left: 4px solid transparent;
146
+ }
147
+
148
+ .nav-item i {
149
+ width: 24px;
150
+ text-align: center;
151
+ font-size: 1.2rem;
152
+ }
153
+
154
+ .nav-item:hover {
155
+ background-color: rgba(255, 255, 255, 0.1);
156
+ }
157
+
158
+ .nav-item.active {
159
+ background-color: rgba(76, 175, 80, 0.15);
160
+ border-left-color: var(--accent-safe);
161
+ }
162
+
163
+ .nav-divider {
164
+ height: 1px;
165
+ background-color: rgba(255, 255, 255, 0.1);
166
+ margin: 15px 25px;
167
+ }
168
+
169
+ /* 主内容区 */
170
+ .main-content {
171
+ flex: 1;
172
+ display: flex;
173
+ flex-direction: column;
174
+ overflow: hidden;
175
+ }
176
+
177
+ .module-header {
178
+ padding: 15px 25px;
179
+ background-color: rgba(0, 0, 0, 0.2);
180
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
181
+ }
182
+
183
+ .module-title {
184
+ font-size: 1.5rem;
185
+ display: flex;
186
+ align-items: center;
187
+ gap: 15px;
188
+ }
189
+
190
+ .module-subtitle {
191
+ color: var(--text-secondary);
192
+ margin-top: 5px;
193
+ }
194
+
195
+ .module-container {
196
+ flex: 1;
197
+ display: flex;
198
+ overflow: hidden;
199
+ padding: 20px;
200
+ gap: 20px;
201
+ }
202
+
203
+ /* 评估流程区 */
204
+ .assessment-flow {
205
+ width: 380px;
206
+ background-color: var(--card-bg);
207
+ border-radius: 12px;
208
+ padding: 25px;
209
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
210
+ display: flex;
211
+ flex-direction: column;
212
+ gap: 25px;
213
+ overflow-y: auto;
214
+ }
215
+
216
+ .step-title {
217
+ font-size: 1.2rem;
218
+ margin-bottom: 15px;
219
+ display: flex;
220
+ align-items: center;
221
+ gap: 10px;
222
+ color: var(--accent-safe);
223
+ }
224
+
225
+ .step-title i {
226
+ font-size: 1.4rem;
227
+ }
228
+
229
+ /* 结果区 */
230
+ .results-container {
231
+ flex: 1;
232
+ display: flex;
233
+ flex-direction: column;
234
+ gap: 20px;
235
+ overflow-y: auto;
236
+ }
237
+
238
+ /* 通用卡片样式 */
239
+ .card {
240
+ background-color: var(--card-bg);
241
+ border-radius: 12px;
242
+ padding: 20px;
243
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
244
+ }
245
+
246
+ .card-header {
247
+ font-size: 1.2rem;
248
+ margin-bottom: 15px;
249
+ display: flex;
250
+ align-items: center;
251
+ gap: 10px;
252
+ color: var(--accent-safe);
253
+ }
254
+
255
+ /* 船舶状态面板 */
256
+ .status-panel {
257
+ display: grid;
258
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
259
+ gap: 15px;
260
+ }
261
+
262
+ .status-card {
263
+ background: linear-gradient(145deg, #1a2a4c, #0d1b2a);
264
+ border-radius: 10px;
265
+ padding: 20px;
266
+ display: flex;
267
+ flex-direction: column;
268
+ }
269
+
270
+ .status-title {
271
+ display: flex;
272
+ align-items: center;
273
+ gap: 10px;
274
+ color: var(--text-secondary);
275
+ margin-bottom: 15px;
276
+ }
277
+
278
+ .status-value {
279
+ font-size: 1.8rem;
280
+ font-weight: bold;
281
+ text-align: center;
282
+ }
283
+
284
+ .status-info {
285
+ display: flex;
286
+ justify-content: space-between;
287
+ margin-top: 10px;
288
+ color: var(--text-secondary);
289
+ font-size: 0.9rem;
290
+ }
291
+
292
+ /* 图表容器 */
293
+ .chart-container {
294
+ height: 300px;
295
+ margin-top: 15px;
296
+ }
297
+
298
+ /* 3D可视化容器 */
299
+ .visualization-container {
300
+ height: 400px;
301
+ background-color: rgba(0, 0, 0, 0.2);
302
+ border-radius: 10px;
303
+ position: relative;
304
+ overflow: hidden;
305
+ }
306
+
307
+ #simulation-canvas {
308
+ position: absolute;
309
+ top: 0;
310
+ left: 0;
311
+ width: 100%;
312
+ height: 100%;
313
+ }
314
+
315
+ /* 底部状态栏 */
316
+ .footer {
317
+ padding: 10px 20px;
318
+ background-color: var(--primary-medium);
319
+ display: flex;
320
+ justify-content: space-between;
321
+ align-items: center;
322
+ font-size: 0.9rem;
323
+ color: var(--text-secondary);
324
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
325
+ }
326
+
327
+ .status-indicators {
328
+ display: flex;
329
+ gap: 20px;
330
+ }
331
+
332
+ .indicator {
333
+ display: flex;
334
+ align-items: center;
335
+ gap: 5px;
336
+ }
337
+
338
+ .indicator-dot {
339
+ width: 10px;
340
+ height: 10px;
341
+ border-radius: 50%;
342
+ background-color: var(--accent-safe);
343
+ }
344
+
345
+ .indicator-warning .indicator-dot {
346
+ background-color: var(--accent-warning);
347
+ }
348
+
349
+ .indicator-danger .indicator-dot {
350
+ background-color: var(--accent-danger);
351
+ }
352
+
353
+ /* 响应式设计 */
354
+ @media (max-width: 1200px) {
355
+ .sidebar {
356
+ width: 80px;
357
+ }
358
+
359
+ .nav-item span {
360
+ display: none;
361
+ }
362
+
363
+ .nav-title {
364
+ display: none;
365
+ }
366
+
367
+ .nav-divider {
368
+ margin: 15px 10px;
369
+ }
370
+ }
371
+ </style>
372
+ </head>
373
+ <body>
374
+ <!-- 顶部导航 -->
375
+ <div class="header">
376
+ <div class="logo">
377
+ <div class="logo-icon">
378
+ <i class="fas fa-ship"></i>
379
+ </div>
380
+ <div class="logo-text">船用替代燃料安全评估平台</div>
381
+ </div>
382
+
383
+ <div class="system-mode">
384
+ <button class="mode-btn active">设计模式</button>
385
+ <button class="mode-btn">实时监控</button>
386
+ <button class="mode-btn">应急响应</button>
387
+ </div>
388
+
389
+ <div class="user-controls">
390
+ <div class="user-info">
391
+ <div class="avatar">JD</div>
392
+ <div>船长: 张伟</div>
393
+ </div>
394
+ <div>
395
+ <button class="mode-btn"><i class="fas fa-cog"></i> 设置</button>
396
+ </div>
397
+ </div>
398
+ </div>
399
+
400
+ <!-- 主布局 -->
401
+ <div class="main-layout">
402
+ <!-- 侧边栏 -->
403
+ <div class="sidebar">
404
+ <div class="nav-title">主要功能</div>
405
+ <a href="#" class="nav-item active">
406
+ <i class="fas fa-fire"></i>
407
+ <span>风险仿真评估</span>
408
+ </a>
409
+ <a href="#" class="nav-item">
410
+ <i class="fas fa-database"></i>
411
+ <span>燃料物性数据库</span>
412
+ </a>
413
+ <a href="#" class="nav-item">
414
+ <i class="fas fa-book"></i>
415
+ <span>法规适配分析</span>
416
+ </a>
417
+ <a href="#" class="nav-item">
418
+ <i class="fas fa-file-alt"></i>
419
+ <span>评估报告生成</span>
420
+ </a>
421
+
422
+ <div class="nav-divider"></div>
423
+
424
+ <div class="nav-title">船端应用</div>
425
+ <a href="#" class="nav-item">
426
+ <i class="fas fa-tachometer-alt"></i>
427
+ <span>实时安全监控</span>
428
+ </a>
429
+ <a href="#" class="nav-item">
430
+ <i class="fas fa-history"></i>
431
+ <span>历史记录分析</span>
432
+ </a>
433
+ <a href="#" class="nav-item">
434
+ <i class="fas fa-exclamation-triangle"></i>
435
+ <span>应急响应程序</span>
436
+ </a>
437
+ <a href="#" class="nav-item">
438
+ <i class="fas fa-cogs"></i>
439
+ <span>系统设置</span>
440
+ </a>
441
+ </div>
442
+
443
+ <!-- 主内容区 -->
444
+ <div class="main-content">
445
+ <div class="module-header">
446
+ <div class="module-title">
447
+ <i class="fas fa-fire"></i>
448
+ <span>替代燃料泄漏风险评估</span>
449
+ </div>
450
+ <div class="module-subtitle">基于CFD仿真的安全评估工具,支持设计阶段模拟与船端实时应用</div>
451
+ </div>
452
+
453
+ <div class="module-container">
454
+ <!-- 评估流程区 -->
455
+ <div class="assessment-flow">
456
+ <div class="step-title">
457
+ <i class="fas fa-gas-pump"></i>
458
+ <span>步骤1: 选择燃料类型</span>
459
+ </div>
460
+
461
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 15px;">
462
+ <div style="background: linear-gradient(145deg, #1a2a4c, #0d1b2a); border-radius: 8px; padding: 20px; text-align: center; cursor: pointer; border: 2px solid var(--accent-safe);">
463
+ <div style="font-size: 2rem; margin-bottom: 10px;"><i class="fas fa-skull-crossbones"></i></div>
464
+ <div style="font-size: 1.1rem;">氨</div>
465
+ </div>
466
+ <div style="background: linear-gradient(145deg, #1a2a4c, #0d1b2a); border-radius: 8px; padding: 20px; text-align: center; cursor: pointer;">
467
+ <div style="font-size: 2rem; margin-bottom: 10px;"><i class="fas fa-fire"></i></div>
468
+ <div style="font-size: 1.1rem;">甲醇</div>
469
+ </div>
470
+ <div style="background: linear-gradient(145deg, #1a2a4c, #0d1b2a); border-radius: 8px; padding: 20px; text-align: center; cursor: pointer;">
471
+ <div style="font-size: 2rem; margin-bottom: 10px;"><i class="fas fa-bolt"></i></div>
472
+ <div style="font-size: 1.1rem;">氢</div>
473
+ </div>
474
+ <div style="background: linear-gradient(145deg, #1a2a4c, #0d1b2a); border-radius: 8px; padding: 20px; text-align: center; cursor: pointer;">
475
+ <div style="font-size: 2rem; margin-bottom: 10px;"><i class="fas fa-flask"></i></div>
476
+ <div style="font-size: 1.1rem;">LNG</div>
477
+ </div>
478
+ </div>
479
+
480
+ <div class="step-title">
481
+ <i class="fas fa-map-marker-alt"></i>
482
+ <span>步骤2: 选择评估场景</span>
483
+ </div>
484
+
485
+ <div style="display: flex; flex-direction: column; gap: 12px;">
486
+ <div style="background-color: rgba(0, 0, 0, 0.2); border-radius: 6px; padding: 15px; cursor: pointer; border-left: 4px solid var(--primary-light);">
487
+ <div style="font-weight: 500; margin-bottom: 5px;">燃料舱(舱外,垂直释放)</div>
488
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">燃料储存舱外部泄漏,垂直方向释放</div>
489
+ </div>
490
+ <div style="background-color: rgba(76, 175, 80, 0.1); border-radius: 6px; padding: 15px; cursor: pointer; border-left: 4px solid var(--accent-safe);">
491
+ <div style="font-weight: 500; margin-bottom: 5px;">透气桅(舱外,垂直释放)</div>
492
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">透气系统桅杆处泄漏,垂直向上释放</div>
493
+ </div>
494
+ <div style="background-color: rgba(0, 0, 0, 0.2); border-radius: 6px; padding: 15px; cursor: pointer; border-left: 4px solid var(--primary-light);">
495
+ <div style="font-weight: 500; margin-bottom: 5px;">加注站(舱外,水平法兰)</div>
496
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">燃料加注站法兰连接处水平泄漏</div>
497
+ </div>
498
+ <div style="background-color: rgba(0, 0, 0, 0.2); border-radius: 6px; padding: 15px; cursor: pointer; border-left: 4px solid var(--primary-light);">
499
+ <div style="font-weight: 500; margin-bottom: 5px;">燃料准备间(舱内,法兰泄漏)</div>
500
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">燃料处理室内部法兰连接处泄漏</div>
501
+ </div>
502
+ </div>
503
+
504
+ <div class="step-title">
505
+ <i class="fas fa-user"></i>
506
+ <span>步骤3: 确认人员暴露点</span>
507
+ </div>
508
+
509
+ <div style="display: flex; flex-direction: column; gap: 15px;">
510
+ <div style="display: flex; align-items: center; gap: 12px; padding: 12px; background-color: rgba(0, 0, 0, 0.2); border-radius: 6px;">
511
+ <div style="width: 40px; height: 40px; border-radius: 50%; background-color: var(--primary-medium); display: flex; align-items: center; justify-content: center;">
512
+ <i class="fas fa-anchor"></i>
513
+ </div>
514
+ <div style="flex: 1;">
515
+ <div style="font-weight: 500;">锚泊操作点</div>
516
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">透气桅附近区域</div>
517
+ </div>
518
+ <div>
519
+ <i class="fas fa-edit"></i>
520
+ </div>
521
+ </div>
522
+ <div style="display: flex; align-items: center; gap: 12px; padding: 12px; background-color: rgba(0, 0, 0, 0.2); border-radius: 6px;">
523
+ <div style="width: 40px; height: 40px; border-radius: 50%; background-color: var(--primary-medium); display: flex; align-items: center; justify-content: center;">
524
+ <i class="fas fa-life-ring"></i>
525
+ </div>
526
+ <div style="flex: 1;">
527
+ <div style="font-weight: 500;">救生艇集合站</div>
528
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">加注站附近区域</div>
529
+ </div>
530
+ <div>
531
+ <i class="fas fa-edit"></i>
532
+ </div>
533
+ </div>
534
+ <div style="display: flex; align-items: center; gap: 12px; padding: 12px; background-color: rgba(0, 0, 0, 0.2); border-radius: 6px;">
535
+ <div style="width: 40px; height: 40px; border-radius: 50%; background-color: var(--primary-medium); display: flex; align-items: center; justify-content: center;">
536
+ <i class="fas fa-tachometer-alt"></i>
537
+ </div>
538
+ <div style="flex: 1;">
539
+ <div style="font-weight: 500;">驾驶室</div>
540
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">燃料准备间上方区域</div>
541
+ </div>
542
+ <div>
543
+ <i class="fas fa-edit"></i>
544
+ </div>
545
+ </div>
546
+ </div>
547
+
548
+ <div class="step-title">
549
+ <i class="fas fa-sliders-h"></i>
550
+ <span>步骤4: 输入参数</span>
551
+ </div>
552
+
553
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 15px;">
554
+ <div>
555
+ <div style="margin-bottom: 8px; font-size: 0.95rem; color: var(--text-secondary);">泄漏压力 (bar)</div>
556
+ <input type="number" value="8" min="0" step="0.1" style="width: 100%; padding: 10px; background-color: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; color: white; font-size: 0.95rem;">
557
+ </div>
558
+ <div>
559
+ <div style="margin-bottom: 8px; font-size: 0.95rem; color: var(--text-secondary);">泄漏温度 (°C)</div>
560
+ <input type="number" value="-33" step="1" style="width: 100%; padding: 10px; background-color: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; color: white; font-size: 0.95rem;">
561
+ </div>
562
+ <div>
563
+ <div style="margin-bottom: 8px; font-size: 0.95rem; color: var(--text-secondary);">泄漏速率 (kg/s)</div>
564
+ <input type="number" value="1.2" min="0" step="0.1" style="width: 100%; padding: 10px; background-color: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; color: white; font-size: 0.95rem;">
565
+ </div>
566
+ <div>
567
+ <div style="margin-bottom: 8px; font-size: 0.95rem; color: var(--text-secondary);">泄放方向</div>
568
+ <select style="width: 100%; padding: 10px; background-color: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; color: white; font-size: 0.95rem;">
569
+ <option>水平</option>
570
+ <option selected>垂直</option>
571
+ <option>任意</option>
572
+ </select>
573
+ </div>
574
+ <div>
575
+ <div style="margin-bottom: 8px; font-size: 0.95rem; color: var(--text-secondary);">风速 (m/s)</div>
576
+ <input type="number" value="2.5" min="0" step="0.1" style="width: 100%; padding: 10px; background-color: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; color: white; font-size: 0.95rem;">
577
+ </div>
578
+ <div>
579
+ <div style="margin-bottom: 8px; font-size: 0.95rem; color: var(--text-secondary);">风向角 (°)</div>
580
+ <input type="number" value="90" min="0" max="360" step="1" style="width: 100%; padding: 10px; background-color: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; color: white; font-size: 0.95rem;">
581
+ </div>
582
+ </div>
583
+
584
+ <div class="step-title">
585
+ <i class="fas fa-cogs"></i>
586
+ <span>步骤5: 选择模拟类型</span>
587
+ </div>
588
+
589
+ <div style="display: flex; gap: 15px;">
590
+ <div style="flex: 1; background: linear-gradient(145deg, #1a2a4c, #0d1b2a); border-radius: 8px; padding: 20px; text-align: center; cursor: pointer;">
591
+ <div style="font-size: 2rem; margin-bottom: 10px; color: var(--accent-safe);"><i class="fas fa-bolt"></i></div>
592
+ <div style="font-weight: 500; margin-bottom: 5px;">快速估算</div>
593
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">历史数据库插值,适合初判</div>
594
+ </div>
595
+ <div style="flex: 1; background: linear-gradient(145deg, #1a2a4c, #0d1b2a); border-radius: 8px; padding: 20px; text-align: center; cursor: pointer; border: 2px solid var(--accent-safe);">
596
+ <div style="font-size: 2rem; margin-bottom: 10px; color: var(--accent-safe);"><i class="fas fa-cogs"></i></div>
597
+ <div style="font-weight: 500; margin-bottom: 5px;">精细仿真</div>
598
+ <div style="font-size: 0.9rem; color: var(--text-secondary);">调用CFD模块,高精度分析</div>
599
+ </div>
600
+ </div>
601
+
602
+ <div style="display: flex; justify-content: space-between; margin-top: auto;">
603
+ <button style="background: linear-gradient(145deg, var(--primary-medium), var(--primary-light)); border: none; border-radius: 6px; color: white; padding: 12px 25px; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; gap: 8px;">
604
+ <i class="fas fa-arrow-left"></i> 上一步
605
+ </button>
606
+ <button style="background: linear-gradient(145deg, #2E7D32, #1B5E20); border: none; border-radius: 6px; color: white; padding: 12px 25px; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; gap: 8px;">
607
+ 运行评估 <i class="fas fa-play"></i>
608
+ </button>
609
+ </div>
610
+ </div>
611
+
612
+ <!-- 结果区 -->
613
+ <div class="results-container">
614
+ <!-- 船舶状态面板 -->
615
+ <div class="card">
616
+ <div class="card-header">
617
+ <i class="fas fa-ship"></i>
618
+ <span>船舶燃料系统状态</span>
619
+ </div>
620
+ <div class="status-panel">
621
+ <div class="status-card">
622
+ <div class="status-title">
623
+ <i class="fas fa-temperature-low"></i>
624
+ <span>燃料舱温度</span>
625
+ </div>
626
+ <div class="status-value">-162.3°C</div>
627
+ <div class="status-info">
628
+ <span>正常范围</span>
629
+ <span>-165°C ~ -160°C</span>
630
+ </div>
631
+ </div>
632
+ <div class="status-card">
633
+ <div class="status-title">
634
+ <i class="fas fa-tachometer-alt"></i>
635
+ <span>燃料舱压力</span>
636
+ </div>
637
+ <div class="status-value">115.2 kPa</div>
638
+ <div class="status-info">
639
+ <span>正常范围</span>
640
+ <span>100~120 kPa</span>
641
+ </div>
642
+ </div>
643
+ <div class="status-card">
644
+ <div class="status-title">
645
+ <i class="fas fa-wind"></i>
646
+ <span>通风系统</span>
647
+ </div>
648
+ <div class="status-value">运行中</div>
649
+ <div class="status-info">
650
+ <span>状态</span>
651
+ <span>正常</span>
652
+ </div>
653
+ </div>
654
+ <div class="status-card">
655
+ <div class="status-title">
656
+ <i class="fas fa-skull-crossbones"></i>
657
+ <span>气体浓度</span>
658
+ </div>
659
+ <div class="status-value">8.5% LEL</div>
660
+ <div class="status-info">
661
+ <span>报警阈值</span>
662
+ <span>20% LEL</span>
663
+ </div>
664
+ </div>
665
+ </div>
666
+ </div>
667
+
668
+ <!-- 3D可视化 -->
669
+ <div class="card">
670
+ <div class="card-header">
671
+ <i class="fas fa-globe-americas"></i>
672
+ <span>泄漏扩散三维可视化</span>
673
+ </div>
674
+ <div class="visualization-container">
675
+ <canvas id="simulation-canvas"></canvas>
676
+ <div style="position: absolute; top: 15px; left: 15px; background-color: rgba(10, 25, 41, 0.8); border-radius: 6px; padding: 12px; max-width: 300px;">
677
+ <div style="font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px;">
678
+ <i class="fas fa-skull-crossbones"></i>
679
+ <span>氨燃料泄漏模拟</span>
680
+ </div>
681
+ <div>泄漏位置: <span>透气桅</span></div>
682
+ <div>泄漏孔径: <span>25 mm</span></div>
683
+ <div>风速: <span>2.5 m/s</span></div>
684
+ </div>
685
+ <div style="position: absolute; bottom: 15px; right: 15px; display: flex; gap: 10px;">
686
+ <button style="background: rgba(30, 58, 95, 0.8); border: none; border-radius: 4px; color: white; padding: 10px 15px; cursor: pointer; display: flex; align-items: center; gap: 6px;">
687
+ <i class="fas fa-play"></i> 播放
688
+ </button>
689
+ <button style="background: rgba(30, 58, 95, 0.8); border: none; border-radius: 4px; color: white; padding: 10px 15px; cursor: pointer; display: flex; align-items: center; gap: 6px;">
690
+ <i class="fas fa-sync-alt"></i> 重置
691
+ </button>
692
+ </div>
693
+ </div>
694
+ </div>
695
+
696
+ <!-- 结果图表 -->
697
+ <div class="card">
698
+ <div class="card-header">
699
+ <i class="fas fa-chart-line"></i>
700
+ <span>暴露点浓度-时间曲线</span>
701
+ </div>
702
+ <div class="chart-container">
703
+ <canvas id="exposure-chart"></canvas>
704
+ </div>
705
+ <div style="margin-top: 20px; padding: 15px; background-color: rgba(0, 0, 0, 0.2); border-radius: 8px; font-style: italic; border-left: 4px solid var(--accent-safe);">
706
+ 加注站操作点浓度在17秒时首次超过IDLH(300 ppm),并维持在高于该阈值状态约35秒,提示当前布置下留给人员逃生的时间极短。
707
+ </div>
708
+ </div>
709
+ </div>
710
+ </div>
711
+ </div>
712
+ </div>
713
+
714
+ <!-- 底部状态栏 -->
715
+ <div class="footer">
716
+ <div>船舶名称: MV Green Voyager | 当前位置: 北纬 35.12°, 东经 139.46° | 航速: 15.2节</div>
717
+ <div class="status-indicators">
718
+ <div class="indicator">
719
+ <div class="indicator-dot"></div>
720
+ <span>系统状态: 正常</span>
721
+ </div>
722
+ <div class="indicator">
723
+ <div class="indicator-dot"></div>
724
+ <span>风险评估: 低风险</span>
725
+ </div>
726
+ <div class="indicator">
727
+ <div class="indicator-dot"></div>
728
+ <span>数据库连接: 正常</span>
729
+ </div>
730
+ </div>
731
+ </div>
732
+
733
+ <script>
734
+ // 初始化Three.js场景
735
+ function initThreeJS() {
736
+ // 创建场景
737
+ const scene = new THREE.Scene();
738
+ scene.background = new THREE.Color(0x0a1929);
739
+ scene.fog = new THREE.Fog(0x0a1929, 20, 100);
740
+
741
+ // 创建相机
742
+ const camera = new THREE.PerspectiveCamera(60,
743
+ document.getElementById('simulation-canvas').clientWidth /
744
+ document.getElementById('simulation-canvas').clientHeight,
745
+ 0.1, 1000);
746
+ camera.position.set(0, 15, 30);
747
+
748
+ // 创建渲染器
749
+ const canvas = document.getElementById('simulation-canvas');
750
+ const renderer = new THREE.WebGLRenderer({ canvas, antialias: true });
751
+ renderer.setSize(canvas.clientWidth, canvas.clientHeight);
752
+ renderer.shadowMap.enabled = true;
753
+
754
+ // 添加光源
755
+ const ambientLight = new THREE.AmbientLight(0x404040);
756
+ scene.add(ambientLight);
757
+
758
+ const directionalLight = new THREE.DirectionalLight(0xffffff, 1);
759
+ directionalLight.position.set(10, 20, 15);
760
+ directionalLight.castShadow = true;
761
+ scene.add(directionalLight);
762
+
763
+ // 添加船体模型
764
+ const shipGroup = new THREE.Group();
765
+
766
+ // 船体
767
+ const hullGeometry = new THREE.BoxGeometry(40, 8, 12);
768
+ const hullMaterial = new THREE.MeshPhongMaterial({
769
+ color: 0x1e3a5f,
770
+ shininess: 30
771
+ });
772
+ const hull = new THREE.Mesh(hullGeometry, hullMaterial);
773
+ hull.position.y = 4;
774
+ shipGroup.add(hull);
775
+
776
+ // 甲板
777
+ const deckGeometry = new THREE.BoxGeometry(42, 0.5, 14);
778
+ const deckMaterial = new THREE.MeshPhongMaterial({
779
+ color: 0x2a4b7c,
780
+ shininess: 20
781
+ });
782
+ const deck = new THREE.Mesh(deckGeometry, deckMaterial);
783
+ deck.position.y = 8.25;
784
+ shipGroup.add(deck);
785
+
786
+ // 上层建筑
787
+ const superstructureGeometry = new THREE.BoxGeometry(15, 10, 10);
788
+ const superstructureMaterial = new THREE.MeshPhongMaterial({
789
+ color: 0x2a4b7c,
790
+ shininess: 30
791
+ });
792
+ const superstructure = new THREE.Mesh(superstructureGeometry, superstructureMaterial);
793
+ superstructure.position.set(0, 10, 0);
794
+ shipGroup.add(superstructure);
795
+
796
+ // 燃料罐
797
+ const tankGeometry = new THREE.CylinderGeometry(3, 3, 8, 32);
798
+ const tankMaterial = new THREE.MeshPhongMaterial({
799
+ color: 0x4caf50,
800
+ shininess: 50
801
+ });
802
+ const tank1 = new THREE.Mesh(tankGeometry, tankMaterial);
803
+ tank1.position.set(-10, 8, 0);
804
+ tank1.rotation.x = Math.PI / 2;
805
+ shipGroup.add(tank1);
806
+
807
+ const tank2 = tank1.clone();
808
+ tank2.position.set(-15, 8, 0);
809
+ shipGroup.add(tank2);
810
+
811
+ // 透气桅
812
+ const mastGeometry = new THREE.CylinderGeometry(0.5, 0.5, 12, 16);
813
+ const mastMaterial = new THREE.MeshPhongMaterial({ color: 0xcccccc });
814
+ const mast = new THREE.Mesh(mastGeometry, mastMaterial);
815
+ mast.position.set(10, 14, 0);
816
+ shipGroup.add(mast);
817
+
818
+ // 泄漏指示器
819
+ const leakGeometry = new THREE.SphereGeometry(0.8, 16, 16);
820
+ const leakMaterial = new THREE.MeshBasicMaterial({
821
+ color: 0xff0000,
822
+ transparent: true,
823
+ opacity: 0.7
824
+ });
825
+ const leakIndicator = new THREE.Mesh(leakGeometry, leakMaterial);
826
+ leakIndicator.position.set(10, 14, 0);
827
+ shipGroup.add(leakIndicator);
828
+
829
+ scene.add(shipGroup);
830
+
831
+ // 添加轨道控制
832
+ const controls = new THREE.OrbitControls(camera, renderer.domElement);
833
+ controls.enableDamping = true;
834
+ controls.dampingFactor = 0.05;
835
+
836
+ // 渲染循环
837
+ function animate() {
838
+ requestAnimationFrame(animate);
839
+ controls.update();
840
+ renderer.render(scene, camera);
841
+ }
842
+
843
+ animate();
844
+
845
+ // 窗口大小调整
846
+ window.addEventListener('resize', () => {
847
+ camera.aspect = canvas.clientWidth / canvas.clientHeight;
848
+ camera.updateProjectionMatrix();
849
+ renderer.setSize(canvas.clientWidth, canvas.clientHeight);
850
+ });
851
+ }
852
+
853
+ // 初始化图表
854
+ function initChart() {
855
+ const ctx = document.getElementById('exposure-chart').getContext('2d');
856
+ const chart = new Chart(ctx, {
857
+ type: 'line',
858
+ data: {
859
+ labels: ['0', '10', '20', '30', '40', '50', '60', '70', '80', '90', '100'],
860
+ datasets: [
861
+ {
862
+ label: 'IDLH阈值 (300ppm)',
863
+ data: [300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300],
864
+ borderColor: '#f44336',
865
+ backgroundColor: 'rgba(244, 67, 54, 0.1)',
866
+ borderWidth: 2,
867
+ borderDash: [5, 5],
868
+ fill: false,
869
+ pointRadius: 0
870
+ },
871
+ {
872
+ label: 'AEGL-2阈值 (220ppm)',
873
+ data: [220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220],
874
+ borderColor: '#FF9800',
875
+ backgroundColor: 'rgba(255, 152, 0, 0.1)',
876
+ borderWidth: 2,
877
+ borderDash: [5, 5],
878
+ fill: false,
879
+ pointRadius: 0
880
+ },
881
+ {
882
+ label: '暴露点浓度',
883
+ data: [0, 20, 90, 180, 320, 450, 380, 310, 260, 200, 150],
884
+ borderColor: '#2196F3',
885
+ backgroundColor: 'rgba(33, 150, 243, 0.1)',
886
+ borderWidth: 3,
887
+ tension: 0.4,
888
+ fill: true
889
+ }
890
+ ]
891
+ },
892
+ options: {
893
+ responsive: true,
894
+ maintainAspectRatio: false,
895
+ scales: {
896
+ y: {
897
+ beginAtZero: true,
898
+ title: {
899
+ display: true,
900
+ text: '浓度 (ppm)',
901
+ color: '#B0BEC5'
902
+ },
903
+ grid: {
904
+ color: 'rgba(255, 255, 255, 0.1)'
905
+ },
906
+ ticks: {
907
+ color: '#B0BEC5'
908
+ }
909
+ },
910
+ x: {
911
+ title: {
912
+ display: true,
913
+ text: '时间 (秒)',
914
+ color: '#B0BEC5'
915
+ },
916
+ grid: {
917
+ color: 'rgba(255, 255, 255, 0.1)'
918
+ },
919
+ ticks: {
920
+ color: '#B0BEC5'
921
+ }
922
+ }
923
+ },
924
+ plugins: {
925
+ legend: {
926
+ labels: {
927
+ color: '#FFFFFF'
928
+ }
929
+ }
930
+ }
931
+ }
932
+ });
933
+ }
934
+
935
+ // 初始化页面
936
+ window.addEventListener('load', function() {
937
+ initThreeJS();
938
+ initChart();
939
+ });
940
+ </script>
941
+ </body>
942
+ </html>