fix(music): 修复侧边栏音乐-音乐播放器配置方式启用参数进阶配置主页无法访问,#9

This commit is contained in:
nineya 2023-05-24 10:51:58 +08:00
parent 37cac2712a
commit e6938a0ca2

View File

@ -7,8 +7,8 @@
<div style="min-height: 90px;margin-top: -0.5rem;">
<meting-js th:if="${theme.config.sidebar.music_mode == 'playlist'}" list-folded="true" server="netease"
type="playlist" th:id="${theme.config.sidebar.netease_playlist_id}"></meting-js>
<meting-js th:if="${theme.config.sidebar.music_mode == 'config'}"
th:attr="${theme.config.sidebar.music_config}"></meting-js>
<th:block th:if="${theme.config.sidebar.music_mode == 'config'}"
th:utext="'<meting-js ' + ${theme.config.sidebar.music_config} + '></meting-js>'"></th:block>
</div>
<link rel="stylesheet" th:href="@{/assets/lib/aplayer@1.10.1/APlayer.min.css}">
<script defer th:src="@{/assets/lib/aplayer@1.10.1/APlayer.min.js}"></script>