增加阿里盘导航

This commit is contained in:
uzVideo
2024-11-08 22:26:10 +08:00
parent 002def27ce
commit 90096c5aab

View File

@@ -1,97 +1,100 @@
<!DOCTYPE html>
<html lang="en">
<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;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
color: #333;
text-align: center;
}
.links, .custom-link {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}
a {
text-decoration: none;
color: #007bff;
font-size: 18px;
padding: 10px;
border: 1px solid #007bff;
border-radius: 5px;
text-align: center;
transition: background-color 0.3s, color 0.3s;
}
a:hover {
background-color: #007bff;
color: white;
}
.custom-link {
margin-top: 20px;
}
input[type="text"] {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #007bff;
border-radius: 5px;
font-size: 18px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<h1>网盘导航</h1>
<div class="links">
<a href="https://drive.uc.cn/">UC 网盘</a>
<a href="https://pan.quark.cn">夸克网盘</a>
</div>
<div class="custom-link">
<input type="text" id="customUrl" placeholder="输入自定义网址">
<button onclick="goToCustomUrl()">跳转</button>
</div>
</div>
<script>
function goToCustomUrl() {
const customUrl = document.getElementById('customUrl').value.trim();
if (customUrl) {
window.location.href = customUrl.startsWith('http') ? customUrl : 'https://' + customUrl;
<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;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
}
</script>
</body>
.container {
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #333;
text-align: center;
}
.links,
.custom-link {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}
a {
text-decoration: none;
color: #007bff;
font-size: 18px;
padding: 10px;
border: 1px solid #007bff;
border-radius: 5px;
text-align: center;
transition: background-color 0.3s, color 0.3s;
}
a:hover {
background-color: #007bff;
color: white;
}
.custom-link {
margin-top: 20px;
}
input[type='text'] {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #007bff;
border-radius: 5px;
font-size: 18px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<h1>网盘导航</h1>
<div class="links">
<a href="https://drive.uc.cn/">UC 网盘,登录后点击右上角绑定</a>
<a href="https://pan.quark.cn">夸克网盘,登录后点击右上角绑定</a>
<a href="https://al.omii.top">阿里 32 位 token,需要手动复制</a>
<a href="https://alist.nn.ci/tool/aliyundrive/request.html">阿里 280 位 token,需要手动复制</a>
</div>
<div class="custom-link">
<input type="text" id="customUrl" placeholder="输入自定义网址" />
<button onclick="goToCustomUrl()">跳转</button>
</div>
</div>
<script>
function goToCustomUrl() {
const customUrl = document.getElementById('customUrl').value.trim()
if (customUrl) {
window.location.href = customUrl.startsWith('http') ? customUrl : 'https://' + customUrl
}
}
</script>
</body>
</html>