fix style
This commit is contained in:
parent
4af262a28e
commit
e1992cfd82
|
@ -1,4 +1,5 @@
|
|||
@page
|
||||
@using System.IO
|
||||
@model IndexModel
|
||||
@{
|
||||
ViewData["Title"] = $"webmusic on .NET {Environment.Version}";
|
||||
|
@ -38,7 +39,7 @@ else {
|
|||
@if (System.IO.File.Exists(lrcpath)) {
|
||||
<a class="action" href="?@Model.Path/@lrcfile" target="_blank">[LRC]</a>
|
||||
}
|
||||
else {
|
||||
else if(Directory.GetFiles(@Model.Fullpath, "*.lrc").Length != 0) {
|
||||
<a class="action">[---]</a>
|
||||
}
|
||||
<a href="#" onclick="playSong('@Html.Raw(jsfile)')"> @file</a>
|
||||
|
|
Loading…
Reference in a new issue