|
|
|
@ -49,9 +49,11 @@
|
|
|
|
|
@click="updateCurrentTab('playlists')"
|
|
|
|
|
>
|
|
|
|
|
<span class="text">{{
|
|
|
|
|
{ all: '全部歌单', mine: '创建的歌单', liked: '收藏的歌单' }[
|
|
|
|
|
playlistFilter
|
|
|
|
|
]
|
|
|
|
|
{
|
|
|
|
|
all: $t('contextMenu.allPlaylists'),
|
|
|
|
|
mine: $t('contextMenu.minePlaylists'),
|
|
|
|
|
liked: $t('contextMenu.likedPlaylists'),
|
|
|
|
|
}[playlistFilter]
|
|
|
|
|
}}</span>
|
|
|
|
|
<span class="icon" @click.stop="openPlaylistTabMenu"
|
|
|
|
|
><svg-icon icon-class="dropdown"
|
|
|
|
@ -122,10 +124,16 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<ContextMenu ref="playlistTabMenu">
|
|
|
|
|
<div class="item" @click="changePlaylistFilter('all')">全部歌单</div>
|
|
|
|
|
<div class="item" @click="changePlaylistFilter('all')">{{
|
|
|
|
|
$t('contextMenu.allPlaylists')
|
|
|
|
|
}}</div>
|
|
|
|
|
<hr />
|
|
|
|
|
<div class="item" @click="changePlaylistFilter('mine')">创建的歌单</div>
|
|
|
|
|
<div class="item" @click="changePlaylistFilter('liked')">收藏的歌单</div>
|
|
|
|
|
<div class="item" @click="changePlaylistFilter('mine')">{{
|
|
|
|
|
$t('contextMenu.minePlaylists')
|
|
|
|
|
}}</div>
|
|
|
|
|
<div class="item" @click="changePlaylistFilter('liked')">{{
|
|
|
|
|
$t('contextMenu.likedPlaylists')
|
|
|
|
|
}}</div>
|
|
|
|
|
</ContextMenu>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|