增加阿里盘导航
This commit is contained in:
@@ -18,13 +18,14 @@
|
||||
background-color: white;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
h1 {
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
.links, .custom-link {
|
||||
.links,
|
||||
.custom-link {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
@@ -47,7 +48,7 @@
|
||||
.custom-link {
|
||||
margin-top: 20px;
|
||||
}
|
||||
input[type="text"] {
|
||||
input[type='text'] {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
@@ -76,20 +77,22 @@
|
||||
<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://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="输入自定义网址">
|
||||
<input type="text" id="customUrl" placeholder="输入自定义网址" />
|
||||
<button onclick="goToCustomUrl()">跳转</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function goToCustomUrl() {
|
||||
const customUrl = document.getElementById('customUrl').value.trim();
|
||||
const customUrl = document.getElementById('customUrl').value.trim()
|
||||
if (customUrl) {
|
||||
window.location.href = customUrl.startsWith('http') ? customUrl : 'https://' + customUrl;
|
||||
window.location.href = customUrl.startsWith('http') ? customUrl : 'https://' + customUrl
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user