Skip to content

Commit

Permalink
fix: 调整mv入口icon的大小,删除搜索页部分无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
sl1673495 committed Aug 23, 2019
1 parent 24e3323 commit 7637814
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/components/song-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default {
onClick={onGoMv}
type="mv"
color="theme"
size={24}
size={18}
/>
) : null}
</div>
Expand Down
16 changes: 2 additions & 14 deletions src/page/search/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
ref="header"
>
<span class="keywords">{{keywords}}</span>
<span class="found">找到{{count}}个{{searchTypeTitle}}</span>
<span class="found">找到{{count}}个结果</span>
</div>
<div class="tabs-wrap">
<Tabs
Expand Down Expand Up @@ -48,25 +48,13 @@ export default {
},
data() {
return {
count: 0,
activeTabIndex: 0
count: 0
}
},
methods: {
onUpdateCount(count) {
this.count = count
}
},
computed: {
currentTab() {
return tabs[this.activeTabIndex]
},
searchComponent() {
return this.currentTab.component
},
searchTypeTitle() {
return this.currentTab.title
}
}
}
</script>
Expand Down

0 comments on commit 7637814

Please sign in to comment.