Some UI changes
This commit is contained in:
parent
c546ed406c
commit
200a6fc1f8
11 changed files with 33 additions and 29 deletions
|
|
@ -30,12 +30,11 @@
|
|||
<small title="{date('M d, Y H:i:s e', $item->createTime)}">{date('M d, Y', $item->createTime)}</small>
|
||||
</p>
|
||||
{if !empty($item->challenges)}
|
||||
<p>{include '../components/themes/common/tags.latte', challenges: $item->challenges}</p>
|
||||
{include '../components/themes/common/tags.latte', challenges: $item->challenges}
|
||||
{/if}
|
||||
<div class="content">
|
||||
<p n:ifcontent>{render_desc($item->desc, $item->textExtra ?? [])|noescape}</p>
|
||||
<p>Song: {$item->music->title}</p>
|
||||
<audio controls preload="none" src="{url_stream($item->music->playUrl)}"></audio>
|
||||
{include '../components/themes/common/audio.latte', songTitle: $item->music->title, url: $item->music->playUrl}
|
||||
{include '../components/themes/common/stats.latte', playCount: $item->stats->playCount, diggCount: $item->stats->diggCount, commentCount: $item->stats->commentCount, shareCount: $item->stats->shareCount}
|
||||
<div class="has-text-centered">
|
||||
{include '../components/themes/common/share.latte', uniqueId: $info->detail->uniqueId, id: $item->id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue