1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-15 08:13:16 +08:00

feat:【默认主题】增加[在线搜索]按钮 (#782)

This commit is contained in:
boluofan
2026-03-13 09:27:09 +08:00
committed by GitHub
parent 66b837bc56
commit 064238744a
2 changed files with 11 additions and 2 deletions

View File

@@ -128,6 +128,10 @@
<span class="material-icons" aria-hidden="true">settings</span>
<p>设置</p>
</div>
<div onclick="goOnlineSearch()" class="icon-item device-enable" role="button" aria-label="在线音乐搜索" tabindex="0">
<span class="material-icons" aria-hidden="true">music_note</span>
<p>在线搜索</p>
</div>
</div>
</div>
</div>
@@ -164,7 +168,7 @@
<!-- 播放链接组件 -->
<div class="component" id="playlink-component" role="dialog" aria-modal="true" aria-labelledby="playlink-title">
<h2 id="playlink-title">播放测试</h2>
<!-- 播放链接卡片 -->
<div class="card-section">
<h3 class="card-title">🔗 播放链接</h3>
@@ -239,6 +243,11 @@
<script src="./md.js?version=1771327223">
</script>
<script>
function goOnlineSearch() {
window.location.href = "/static/onlineSearch/index.html";
}
</script>
</body>
</html>

View File

@@ -712,7 +712,7 @@
<p>通过 MusicFree 音源插件搜索在线音乐</p>
<!-- 顶部居中按钮 -->
<div class="header-buttons">
<a href="/" class="header-btn">
<a onclick="location.href = '/static/default/index.html'" class="header-btn">
<span class="material-icons">home</span>
<span>返回首页</span>
</a>