diff --git a/src/renderer/views/Search.vue b/src/renderer/views/Search.vue index 8b010fbc..2648e49f 100644 --- a/src/renderer/views/Search.vue +++ b/src/renderer/views/Search.vue @@ -29,7 +29,10 @@ td.break(style="width: 20%;") {{item.singer}} td.break(style="width: 25%;") {{item.albumName}} td(style="width: 15%;") - material-list-buttons(:index="index" :remove-btn="false" @btn-click="handleListBtnClick") + material-list-buttons(:index="index" :remove-btn="false" :class="$style.listBtn" + :play-btn="item.source == 'kw' || (!isAPITemp && item.source != 'tx' && item.source != 'wy')" + :download-btn="item.source == 'kw' || (!isAPITemp && item.source != 'tx' && item.source != 'wy')" + @btn-click="handleListBtnClick") td(style="width: 10%;") {{item.interval}} div(:class="$style.pagination") material-pagination(:count="listInfo.total" :limit="listInfo.limit" :page="page" @btn-click="handleTogglePage") @@ -37,7 +40,7 @@ p 搜我所想~~😉 material-download-modal(:show="isShowDownload" :musicInfo="musicInfo" @select="handleAddDownload" @close="isShowDownload = false") material-download-multiple-modal(:show="isShowDownloadMultiple" :list="selectdData" @select="handleAddDownloadMultiple" @close="isShowDownloadMultiple = false") - material-flow-btn(:show="isShowEditBtn" :remove-btn="false" @btn-click="handleFlowBtnClick") + material-flow-btn(:show="isShowEditBtn && (searchSourceId == 'kw' || searchSourceId == 'all' || !isAPITemp)" :remove-btn="false" @btn-click="handleFlowBtnClick") @@ -260,6 +270,9 @@ export default { } } } +.listBtn { + min-height: 24px; +} .pagination { text-align: center; padding: 15px 0;