-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathindex.html
More file actions
92 lines (86 loc) · 2.88 KB
/
Copy pathindex.html
File metadata and controls
92 lines (86 loc) · 2.88 KB
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="description" content="工业铸字识别系统 - 基于深度学习的工业字符识别解决方案" />
<meta name="theme-color" content="#121212" />
<title>工业铸字识别系统</title>
<!-- 预加载工业字体 -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<div id="app"></div>
<!-- 应用加载指示器 -->
<div id="loading-indicator" class="app-loading">
<div class="loading-logo">
<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="120" height="120" rx="16" fill="#121212"/>
<path d="M30 30H90V42H78V90H42V42H30V30Z" fill="#2A5CAA"/>
<rect x="48" y="48" width="24" height="6" fill="#FF6B35"/>
<rect x="48" y="60" width="24" height="6" fill="#FF6B35"/>
<rect x="48" y="72" width="24" height="6" fill="#FF6B35"/>
</svg>
</div>
<div class="loading-text">系统加载中</div>
<div class="loading-progress">
<div class="loading-progress-bar"></div>
</div>
</div>
<script type="module" src="/src/main.js"></script>
<style>
.app-loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #121212;
z-index: 9999;
transition: opacity 0.5s ease;
}
.loading-logo {
margin-bottom: 24px;
animation: pulse 2s infinite;
}
.loading-text {
font-family: 'Roboto', sans-serif;
font-size: 24px;
font-weight: 500;
color: #fff;
margin-bottom: 16px;
}
.loading-progress {
width: 240px;
height: 8px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 4px;
overflow: hidden;
}
.loading-progress-bar {
height: 100%;
width: 30%;
background-color: #2A5CAA;
border-radius: 4px;
animation: progress 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
@keyframes progress {
0% { width: 0%; }
50% { width: 70%; }
100% { width: 100%; }
}
</style>
</body>
</html>