mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-10 23:13:20 +08:00
插件搜索弹出框小屏下全屏
This commit is contained in:
@@ -6,6 +6,10 @@ import NoDataFound from '@/components/NoDataFound.vue'
|
|||||||
import PluginAppCard from '@/components/cards/PluginAppCard.vue'
|
import PluginAppCard from '@/components/cards/PluginAppCard.vue'
|
||||||
import PluginCard from '@/components/cards/PluginCard.vue'
|
import PluginCard from '@/components/cards/PluginCard.vue'
|
||||||
import noImage from '@images/logos/plugin.png'
|
import noImage from '@images/logos/plugin.png'
|
||||||
|
import { useDisplay } from 'vuetify'
|
||||||
|
|
||||||
|
// 显示器宽度
|
||||||
|
const displayWidth = useDisplay().width
|
||||||
|
|
||||||
// 已安装插件列表
|
// 已安装插件列表
|
||||||
const dataList = ref<Plugin[]>([])
|
const dataList = ref<Plugin[]>([])
|
||||||
@@ -320,6 +324,7 @@ onBeforeMount(() => {
|
|||||||
:z-index="1010"
|
:z-index="1010"
|
||||||
max-width="40rem"
|
max-width="40rem"
|
||||||
max-height="85vh"
|
max-height="85vh"
|
||||||
|
:fullscreen="displayWidth < 40 * 16"
|
||||||
>
|
>
|
||||||
<VCard
|
<VCard
|
||||||
class="mx-auto"
|
class="mx-auto"
|
||||||
|
|||||||
Reference in New Issue
Block a user