You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
741 B

<%
5 years ago
var needDisplay = true;
if (page.music && page.music.autoplay) {
needDisplay = false;
}
5 years ago
if (page.widget && page.widget.music == false) {
needDisplay = false;
}
%>
5 years ago
<% if (theme.music && theme.music.enable == true && needDisplay == true) { %>
5 years ago
<section class='widget <%- item.widget %>'>
6 years ago
<%- partial('header', {item: item, defIcon: '', defTitle: ''}) %>
<div class='content <%= theme.style %>'>
<%- partial('../_third-party/aplayer',
{aplayer_theme: item.color, aplayer_mini: false, aplayer_mode: item.mode,
aplayer_server: item.server, aplayer_type: item.type, aplayer_id: item.id,
aplayer_volume: item.volume, aplayer_autoplay: item.autoplay?item.autoplay:false }) %>
</div>
</section>
<% } %>