上传文件至 /

This commit is contained in:
2025-12-29 14:00:46 +08:00
commit ec7f6d5d2e
5 changed files with 1482 additions and 0 deletions

48
popup.html Normal file
View File

@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>报销单数据提取</title>
<style>
body {
width: 300px;
height: 200px;
padding: 10px;
font-family: Arial, sans-serif;
}
button {
width: 100%;
padding: 10px;
margin: 10px 0;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
.status {
margin-top: 10px;
padding: 10px;
border-radius: 4px;
}
.success {
background-color: #d4edda;
color: #155724;
}
.error {
background-color: #f8d7da;
color: #721c24;
}
</style>
</head>
<body>
<h2>报销单数据提取</h2>
<button id="extractBtn">提取数据并生成PDF</button>
<div id="status" class="status"></div>
<script type="module" src="src/popup.js"></script>
</body>
</html>