Skip to content
Snippets Groups Projects
Commit af5c8687 authored by 戴 冯洋's avatar 戴 冯洋
Browse files

fix:补充search界面选择高亮

parent 17de6d01
No related branches found
No related tags found
1 merge request!10fix:补充search界面选择高亮
......@@ -21,15 +21,12 @@ const handleTabClick = (tab) => {
class="tab-button"
:class="{ 'active': currentTab === 'songs' }"
@click="handleTabClick('songs')"
>💿歌曲</button>
>歌曲</button>
<button
class="tab-button"
:class="{ 'active': currentTab === 'playlists' }"
@click="handleTabClick('playlists')"
>📕歌单</button>
<button
class="tab-button"
>🙂用户</button>
>歌单</button>
</div>
<div class="search-results">
<ul v-if="currentTab === 'songs'">
......@@ -179,4 +176,8 @@ const handleTabClick = (tab) => {
margin: 0;
}
.active {
background-color: #fff;
color: #000;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment