mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-06-13 18:47:17 +00:00
130 lines
4.1 KiB
HTML
130 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="KEYWords" contect="网易云音乐,网易云音乐 api,网易云音乐 nodejs,网易云音乐 node.js">
|
|
<meta name="description" content="网易云音乐 NodeJS API Enhanced">
|
|
<title>网易云音乐 NodeJS API Enhanced</title>
|
|
<link rel="icon" href="netease.png">
|
|
<meta name="description" content="Description">
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<meta name="referrer" content="never">
|
|
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" id="theme-css">
|
|
<style>
|
|
.theme-toggle {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 24px;
|
|
z-index: 999;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
background: rgba(30,30,46,0.75);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
color: #fff;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 2px 12px rgba(0,0,0,0.15);
|
|
transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
|
|
outline: none;
|
|
padding: 0;
|
|
line-height: 1;
|
|
user-select: none;
|
|
}
|
|
.theme-toggle:hover {
|
|
transform: scale(1.12) rotate(12deg);
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.25);
|
|
}
|
|
.theme-toggle:active {
|
|
transform: scale(0.92);
|
|
}
|
|
.theme-toggle.light {
|
|
background: rgba(255,255,255,0.85);
|
|
color: #333;
|
|
border-color: rgba(0,0,0,0.08);
|
|
}
|
|
html, body, .sidebar, .content, .markdown-section,
|
|
.sidebar-nav, .search, .docsify-pagination-container {
|
|
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
</style>
|
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
<script>
|
|
(adsbygoogle = window.adsbygoogle || []).push({
|
|
google_ad_client: "ca-pub-5159844745975514",
|
|
enable_page_level_ads: true
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<button class="theme-toggle" id="themeToggle" aria-label="Toggle theme">🌙</button>
|
|
</body>
|
|
<script>
|
|
(function() {
|
|
var STORAGE_KEY = 'docsify-theme';
|
|
var link = document.getElementById('theme-css');
|
|
var btn = document.getElementById('themeToggle');
|
|
var LIGHT_URL = '//unpkg.com/docsify/lib/themes/vue.css';
|
|
var DARK_URL = '//unpkg.com/docsify/lib/themes/dark.css';
|
|
|
|
function setTheme(theme) {
|
|
link.href = theme === 'dark' ? DARK_URL : LIGHT_URL;
|
|
btn.textContent = theme === 'dark' ? '☀️' : '🌙';
|
|
btn.className = 'theme-toggle' + (theme === 'dark' ? '' : ' light');
|
|
localStorage.setItem(STORAGE_KEY, theme);
|
|
}
|
|
|
|
function toggleTheme() {
|
|
var isDark = link.href.includes('dark');
|
|
setTheme(isDark ? 'light' : 'dark');
|
|
}
|
|
|
|
var saved = localStorage.getItem(STORAGE_KEY);
|
|
if (saved) {
|
|
setTheme(saved);
|
|
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
setTheme('dark');
|
|
}
|
|
|
|
btn.addEventListener('click', toggleTheme);
|
|
|
|
try {
|
|
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', function(e) {
|
|
if (!localStorage.getItem(STORAGE_KEY)) {
|
|
setTheme(e.matches ? 'dark' : 'light');
|
|
}
|
|
});
|
|
} catch(e) {}
|
|
})();
|
|
</script>
|
|
<script>
|
|
window.$docsify = {
|
|
name: '网易云音乐 API Enhanced',
|
|
repo: 'https://github.com/neteasecloudmusicapienhanced/api-enhanced',
|
|
coverpage: true,
|
|
homepage: 'home.md',
|
|
}
|
|
</script>
|
|
<script src="https://unpkg.com/docsify@4.11.3/lib/docsify.min.js"></script>
|
|
<script>
|
|
if (typeof navigator.serviceWorker !== 'undefined') {
|
|
navigator.serviceWorker.register('sw.js')
|
|
}
|
|
</script>
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BPRGR23JEG"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag() { dataLayer.push(arguments); }
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-BPRGR23JEG');
|
|
</script>
|
|
</html>
|