From 64dd0f238c76ae102a229fdee52f3a8a459021d7 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Tue, 26 May 2020 09:48:50 +0800 Subject: [PATCH] show aplayer --- theme/nexmoe2.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/theme/nexmoe2.html b/theme/nexmoe2.html index 36b121f..7555d4b 100644 --- a/theme/nexmoe2.html +++ b/theme/nexmoe2.html @@ -319,8 +319,8 @@ -
  • - +
  • + @@ -333,7 +333,7 @@
    - +
    @@ -393,15 +393,17 @@ var $$ = mdui.JQ; $$(function() { $$('.file .iframe').each(function() { $$(this).on('click', function() { + url=$$(this).attr('href'); + //url=url.substr(0,url.length-8); layer.open({ type: 2, - title: '"+'">'+ $$(this).find('span').text()+'(点击新窗口打开)', //jia, + title: ''+ $$(this).find('span').text()+'(点击新窗口打开)', //jia, //shadeClose: true, move: false, shade: false, maxmin: true, area: ['100%', '100%'], - content: $$(this).attr('href')+"" //le + content: url //le ,min: function(layero){ //zi; layero.css({top: '90%'}) @@ -439,7 +441,7 @@ TC.preview_audio = function(aud){ } TC.aplayerList.push({ name:n, - url:this.href, + url:this.href.substr(0,this.href.length-8), artist:" ", lrc:lrc });