-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa3a6d6
commit a04fa9d
Showing
30 changed files
with
333 additions
and
510 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
<template> | ||
<div> | ||
<NavTop /> | ||
<Notifications /> | ||
<MainBody /> | ||
<NavBottom /> | ||
<NavTop /> | ||
<div class="container nav-margin px-2"> | ||
<Edit v-if="store.state.page == 'edit'" /> | ||
<Home v-else /> | ||
</div> | ||
<NavBottom /> | ||
</template> | ||
|
||
<script setup> | ||
import { onBeforeMount } from "vue"; | ||
import { useStore } from "vuex"; | ||
import { onMounted } from "vue"; | ||
import NavTop from "./components/NavTop/index.vue"; | ||
import MainBody from "./components/MainBody.vue"; | ||
import NavBottom from "./components/NavBottom/index.vue"; | ||
import Notifications from "./components/Notifications.vue"; | ||
import Home from "./views/Home.vue" | ||
import Edit from "./views/Edit.vue" | ||
const store = useStore(); | ||
onBeforeMount(() => { | ||
onMounted(() => { | ||
store.dispatch("initRadio"); | ||
}); | ||
</script> | ||
|
||
<style lang="scss" scoped></style> | ||
<style lang="scss" scoped> | ||
.nav-margin { | ||
margin-top: 1rem; | ||
margin-bottom: 6rem; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.