diff --git a/src/components/AppBar.vue b/src/components/AppBar.vue index bbb6573..c0b3cac 100644 --- a/src/components/AppBar.vue +++ b/src/components/AppBar.vue @@ -24,7 +24,7 @@

فری مووی

- موتورجستجوی فیلم و سریال + دانلود و تماشای فیلم و سریال
صفحه اصلی diff --git a/src/components/Movie.vue b/src/components/Movie.vue index b33108d..9e99855 100644 --- a/src/components/Movie.vue +++ b/src/components/Movie.vue @@ -13,15 +13,29 @@ import { VList, VListItem, VListSubheader, + VAppBar, + VAppBarTitle, + VAppBarNavIcon, VIcon } from "vuetify/components"; - import AppBar from "@/components/AppBar.vue"; import {ref} from "vue"; import LoadingList from "@/components/LoadingList.vue"; +import router from "@/router"; const downloadDlg = ref(false) + const watchDlg = ref(false) + const watchUrl = ref("") const movie = localStorage.movie !== undefined ? JSON.parse(localStorage.movie) : null + function downloadBtn(url) { + location.assign(url) + } + + function watchBtn(url) { + watchUrl.value = url + watchDlg.value = true + } + const loaded = ref(true) const seasons = ref([]); if (movie.type === "movie") { @@ -54,6 +68,9 @@ import LoadingList from "@/components/LoadingList.vue";