-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpopup.html
More file actions
42 lines (42 loc) · 934 Bytes
/
popup.html
File metadata and controls
42 lines (42 loc) · 934 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>DeepSeek Translator</title>
<style>
body {
font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
margin: 0;
padding: 10px;
min-width: 300px;
min-height: 200px;
}
h3 {
margin-top: 0;
}
input {
width: 100%;
padding: 8px;
margin-bottom: 10px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<h3>设置API Key</h3>
<input type="text" id="api-key" placeholder="输入DeepSeek API Key">
<button id="save-key">保存</button>
<script src="popup.js"></script>
</body>
</html>