mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-07-24 18:40:05 +00:00
move links back to localhost
This commit is contained in:
parent
9006566c67
commit
b3dac9ee23
@ -57,6 +57,8 @@ const props = defineProps({
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
background-size: 1.5rem;
|
background-size: 1.5rem;
|
||||||
top: $small;
|
top: $small;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 200ms;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $gray2;
|
background-color: $gray2;
|
||||||
@ -67,6 +69,10 @@ const props = defineProps({
|
|||||||
right: $small;
|
right: $small;
|
||||||
background-image: url("../../assets/icons/right-arrow.svg");
|
background-image: url("../../assets/icons/right-arrow.svg");
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
br {
|
br {
|
||||||
|
@ -25,11 +25,7 @@
|
|||||||
<div class="label ellip">{{ option.label }}</div>
|
<div class="label ellip">{{ option.label }}</div>
|
||||||
<div class="more image" v-if="option.children"></div>
|
<div class="more image" v-if="option.children"></div>
|
||||||
<div class="children rounded shadow-sm" v-if="option.children">
|
<div class="children rounded shadow-sm" v-if="option.children">
|
||||||
<div
|
<div class="context-item" v-for="child in option.children" :key="child">
|
||||||
class="context-item"
|
|
||||||
v-for="child in option.children"
|
|
||||||
:key="child"
|
|
||||||
>
|
|
||||||
<div class="label ellip" @click="child.action()">
|
<div class="label ellip" @click="child.action()">
|
||||||
{{ child.label }}
|
{{ child.label }}
|
||||||
</div>
|
</div>
|
||||||
@ -46,8 +42,6 @@ const context = useContextStore();
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
|
|
||||||
.context-menu {
|
.context-menu {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -135,6 +129,10 @@ const context = useContextStore();
|
|||||||
background-image: url("../assets/icons/add_to_queue.svg");
|
background-image: url("../assets/icons/add_to_queue.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.heart {
|
||||||
|
background-image: url("../assets/icons/heart.svg");
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: #234ece;
|
background: #234ece;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
let base_uri = "http://10.5.8.182:9876/";
|
let base_uri = "http://127.0.0.1:9876/";
|
||||||
|
|
||||||
const getTracksAndDirs = async (path) => {
|
const getTracksAndDirs = async (path) => {
|
||||||
let url;
|
let url;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
const url = "http://10.5.8.182:9876/search/loadmore";
|
const url = "http://127.0.0.1:9876/search/loadmore";
|
||||||
|
|
||||||
async function loadMoreTracks(start) {
|
async function loadMoreTracks(start) {
|
||||||
const response = await axios.get(url, {
|
const response = await axios.get(url, {
|
||||||
|
@ -9,7 +9,7 @@ const current = ref(state.current);
|
|||||||
const next = ref({
|
const next = ref({
|
||||||
title: "The next song",
|
title: "The next song",
|
||||||
artists: ["... blah blah blah"],
|
artists: ["... blah blah blah"],
|
||||||
image: "http://10.5.8.182:8900/images/defaults/4.webp",
|
image: "http://127.0.0.1:8900/images/defaults/4.webp",
|
||||||
_id: {
|
_id: {
|
||||||
$oid: "",
|
$oid: "",
|
||||||
},
|
},
|
||||||
|
@ -11,7 +11,7 @@ const current_time = ref(0);
|
|||||||
|
|
||||||
const playing = ref(state.is_playing);
|
const playing = ref(state.is_playing);
|
||||||
|
|
||||||
const url = "http://10.5.8.182:9876//file/";
|
const url = "http://127.0.0.1:9876//file/";
|
||||||
|
|
||||||
const playAudio = (trackid) => {
|
const playAudio = (trackid) => {
|
||||||
const elem = document.getElementById('progress');
|
const elem = document.getElementById('progress');
|
||||||
|
@ -8,7 +8,7 @@ const queue = ref(
|
|||||||
Array<i.Track>({
|
Array<i.Track>({
|
||||||
title: "Nothing played yet",
|
title: "Nothing played yet",
|
||||||
artists: ["... blah blah blah"],
|
artists: ["... blah blah blah"],
|
||||||
image: "http://10.5.8.182:8900/images/thumbnails/4.webp",
|
image: "http://127.0.0.1:8900/images/thumbnails/4.webp",
|
||||||
trackid: "",
|
trackid: "",
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
@ -19,14 +19,14 @@ const folder_list = ref([]);
|
|||||||
const current = ref(<i.Track>{
|
const current = ref(<i.Track>{
|
||||||
title: "Nothing played yet",
|
title: "Nothing played yet",
|
||||||
artists: ["... blah blah blah"],
|
artists: ["... blah blah blah"],
|
||||||
image: "http://10.5.8.182:8900/images/thumbnails/4.webp",
|
image: "http://127.0.0.1:8900/images/thumbnails/4.webp",
|
||||||
trackid: "",
|
trackid: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
const prev = ref(<i.Track>{
|
const prev = ref(<i.Track>{
|
||||||
title: "Nothing played yet",
|
title: "Nothing played yet",
|
||||||
artists: ["... blah blah blah"],
|
artists: ["... blah blah blah"],
|
||||||
image: "http://10.5.8.182:8900/images/thumbnails/4.webp",
|
image: "http://127.0.0.1:8900/images/thumbnails/4.webp",
|
||||||
trackid: "",
|
trackid: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ const album = reactive({
|
|||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
const is_playing = ref(false);
|
const is_playing = ref(false);
|
||||||
const settings = reactive({
|
const settings = reactive({
|
||||||
uri: "http://10.5.8.182:9876",
|
uri: "http://127.0.0.1:9876",
|
||||||
});
|
});
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user