mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 03:09:41 +08:00
1.2.1.2 瞬间 音频 附件类型增加默认封面图
This commit is contained in:
parent
306f1c58ff
commit
9b58c857ff
BIN
templates/assets/img/music.webp
Normal file
BIN
templates/assets/img/music.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
4
templates/assets/js/common.min.js
vendored
4
templates/assets/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
@ -30,7 +30,11 @@
|
|||||||
<mew-video th:if="${momentItem.type.name == 'VIDEO'}" th:src="${momentItem.url}"></mew-video>
|
<mew-video th:if="${momentItem.type.name == 'VIDEO'}" th:src="${momentItem.url}"></mew-video>
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:if="${!#lists.isEmpty(moment.spec.content.medium)}" th:each="momentItem : ${moment.spec.content.medium}">
|
<th:block th:if="${!#lists.isEmpty(moment.spec.content.medium)}" th:each="momentItem : ${moment.spec.content.medium}">
|
||||||
<mew-music th:if="${momentItem.type.name == 'AUDIO'}" th:url="${momentItem.url}" th:with="list = ${#strings.listSplit(momentItem.url,'/')}, size = ${#lists.size(list)}" th:name="${size >= 0 ? list[size - 1] : momentItem.url}"></mew-music>
|
<mew-music th:if="${momentItem.type.name == 'AUDIO'}" th:url="${momentItem.url}"
|
||||||
|
th:with="list = ${#strings.listSplit(momentItem.url,'/')}, size = ${#lists.size(list)}"
|
||||||
|
th:name="${size >= 0 ? list[size - 1] : momentItem.url}"
|
||||||
|
th:cover="${#theme.assets('/img/music.webp')}"
|
||||||
|
></mew-music>
|
||||||
</th:block>
|
</th:block>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user