first commit
This commit is contained in:
47
index.html
Normal file
47
index.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<!doctype html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>功能插件</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 10px 15px;
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>功能插件</h1>
|
||||
|
||||
<button onclick="openCalculator()">电费计算器</button>
|
||||
<button onclick="openNumber()">程序员计算器</button>
|
||||
<button onclick="openColorPick()">颜色选择器</button>
|
||||
<button onclick="openOtherFunction()">其他功能</button>
|
||||
<!-- 可以添加更多按钮 -->
|
||||
|
||||
<script>
|
||||
function openCalculator() {
|
||||
window.open("electricity_calculator.html", "_blank");
|
||||
}
|
||||
|
||||
function openNumber() {
|
||||
window.open("number.html", "_blank");
|
||||
}
|
||||
|
||||
function openColorPick() {
|
||||
window.open("color_pick.html", "_blank");
|
||||
}
|
||||
|
||||
function openOtherFunction() {
|
||||
window.open("other_function.html", "_blank");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user