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