diff --git a/publish/changeLog.md b/publish/changeLog.md index 01063941..ae762557 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,6 +1,7 @@ ### 新增 - 新增搜索框搜索建议键盘上下方向键选择功能 +- 聚合搜索新增音源显示 ### 其他 diff --git a/src/renderer/views/Search.vue b/src/renderer/views/Search.vue index 71e3defc..0b531886 100644 --- a/src/renderer/views/Search.vue +++ b/src/renderer/views/Search.vue @@ -26,6 +26,7 @@ | {{item.name}} span.badge.badge-info(v-if="item._types['320k']") 高品质 span.badge.badge-success(v-if="item._types.ape || item._types.flac") 无损 + span(:class="$style.labelSource" v-if="searchSourceId == 'all'") {{item.source}} td.break(style="width: 20%;") {{item.singer}} td.break(style="width: 25%;") {{item.albumName}} td(style="width: 15%; padding-left: 0; padding-right: 0;") @@ -291,6 +292,13 @@ export default { .listBtn { min-height: 24px; } +.labelSource { + color: @color-theme; + padding: 5px; + font-size: .8em; + line-height: 1; + opacity: .75; +} .pagination { text-align: center; padding: 15px 0;