Files
toolbox/popup.html
T
2025-12-23 00:23:26 +08:00

52 lines
1.4 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self';">
<title>Toolbox 工具箱</title>
<style>
* {
box-sizing: border-box;
}
html, body {
width: 1000px !important;
height: 700px !important;
margin: 0 !important;
padding: 0 !important;
overflow: auto !important;
min-width: 800px !important;
min-height: 600px !important;
}
#app {
width: 100% !important;
height: 100% !important;
min-width: 800px !important;
min-height: 600px !important;
}
/* 加载状态 */
.loading {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
background: #f8fafc;
color: #64748b;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
</style>
</head>
<body>
<div id="app">
<div class="loading">正在加载 Toolbox 工具箱...</div>
</div>
<script type="module" src="/src/popup.ts"></script>
</body>
</html>