2020-04-16 19:26:00 +00:00
|
|
|
<template>
|
2020-04-17 19:16:59 +00:00
|
|
|
<div id="search_tab" class="main_tabcontent">
|
2020-04-16 19:26:00 +00:00
|
|
|
<div class="tab">
|
|
|
|
<button
|
2020-04-17 19:16:59 +00:00
|
|
|
id="search_all_tab"
|
2020-04-16 19:26:00 +00:00
|
|
|
class="search_tablinks"
|
|
|
|
onclick="changeTab(event, 'search', 'main_search')"
|
|
|
|
>All</button>
|
|
|
|
<button
|
2020-04-17 19:16:59 +00:00
|
|
|
id="search_track_tab"
|
2020-04-16 19:26:00 +00:00
|
|
|
class="search_tablinks"
|
|
|
|
onclick="changeTab(event, 'search', 'track_search')"
|
|
|
|
>Tracks</button>
|
|
|
|
<button
|
2020-04-17 19:16:59 +00:00
|
|
|
id="search_album_tab"
|
2020-04-16 19:26:00 +00:00
|
|
|
class="search_tablinks"
|
|
|
|
onclick="changeTab(event, 'search', 'album_search')"
|
|
|
|
>Album</button>
|
|
|
|
<button
|
2020-04-17 19:16:59 +00:00
|
|
|
id="search_artist_tab"
|
2020-04-16 19:26:00 +00:00
|
|
|
class="search_tablinks"
|
|
|
|
onclick="changeTab(event, 'search', 'artist_search')"
|
|
|
|
>Artist</button>
|
|
|
|
<button
|
2020-04-17 19:16:59 +00:00
|
|
|
id="search_playlist_tab"
|
2020-04-16 19:26:00 +00:00
|
|
|
class="search_tablinks"
|
|
|
|
onclick="changeTab(event, 'search', 'playlist_search')"
|
|
|
|
>Playlist</button>
|
|
|
|
</div>
|
|
|
|
<div id="search_tab_content">
|
2020-04-17 19:16:59 +00:00
|
|
|
<the-main-search></the-main-search>
|
|
|
|
<the-track-search></the-track-search>
|
|
|
|
<the-album-search></the-album-search>
|
|
|
|
<the-artist-search></the-artist-search>
|
|
|
|
<the-playlist-search></the-playlist-search>
|
2020-04-16 19:26:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
const TheMainSearch = httpVueLoader('./search-tab/TheMainSearch.vue')
|
2020-04-17 19:16:59 +00:00
|
|
|
const TheTrackSearch = httpVueLoader('./search-tab/TheTrackSearch.vue')
|
|
|
|
const TheAlbumSearch = httpVueLoader('./search-tab/TheAlbumSearch.vue')
|
|
|
|
const TheArtistSearch = httpVueLoader('./search-tab/TheArtistSearch.vue')
|
|
|
|
const ThePlaylistSearch = httpVueLoader('./search-tab/ThePlaylistSearch.vue')
|
2020-04-16 19:26:00 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
components: {
|
2020-04-17 19:16:59 +00:00
|
|
|
TheMainSearch,
|
|
|
|
TheTrackSearch,
|
|
|
|
TheAlbumSearch,
|
|
|
|
TheArtistSearch,
|
|
|
|
ThePlaylistSearch
|
2020-04-16 19:26:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
</style>
|