mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
feat: 在多个视图中添加 scrim 属性以改善对话框显示效果
This commit is contained in:
@@ -44,6 +44,7 @@ const searchShares = () => {
|
|||||||
v-model="filterSubscribeDialog"
|
v-model="filterSubscribeDialog"
|
||||||
width="20rem"
|
width="20rem"
|
||||||
:close-on-content-click="false"
|
:close-on-content-click="false"
|
||||||
|
scrim
|
||||||
>
|
>
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<VBtn
|
<VBtn
|
||||||
@@ -73,6 +74,7 @@ const searchShares = () => {
|
|||||||
v-model="searchShareDialog"
|
v-model="searchShareDialog"
|
||||||
width="25rem"
|
width="25rem"
|
||||||
:close-on-content-click="false"
|
:close-on-content-click="false"
|
||||||
|
scrim
|
||||||
>
|
>
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<VBtn
|
<VBtn
|
||||||
|
|||||||
@@ -8,13 +8,10 @@ html.v-overlay-scroll-blocked {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
|
||||||
--v-body-scroll-y: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (width <= 768px){
|
@media (width <= 768px){
|
||||||
html.v-overlay-scroll-blocked {
|
html.v-overlay-scroll-blocked {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
--v-body-scroll-y: 0px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -456,6 +456,7 @@ onMounted(async () => {
|
|||||||
v-model="filterInstalledPluginDialog"
|
v-model="filterInstalledPluginDialog"
|
||||||
width="20rem"
|
width="20rem"
|
||||||
:close-on-content-click="false"
|
:close-on-content-click="false"
|
||||||
|
scrim
|
||||||
>
|
>
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<VBtn
|
<VBtn
|
||||||
@@ -491,6 +492,7 @@ onMounted(async () => {
|
|||||||
v-model="filterMarketPluginDialog"
|
v-model="filterMarketPluginDialog"
|
||||||
width="25rem"
|
width="25rem"
|
||||||
:close-on-content-click="false"
|
:close-on-content-click="false"
|
||||||
|
scrim
|
||||||
>
|
>
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<VBtn
|
<VBtn
|
||||||
@@ -625,7 +627,10 @@ onMounted(async () => {
|
|||||||
<template #loading />
|
<template #loading />
|
||||||
<template #empty />
|
<template #empty />
|
||||||
<div class="grid gap-4 grid-plugin-card">
|
<div class="grid gap-4 grid-plugin-card">
|
||||||
<template v-for="(data, index) in displayUninstalledList" :key="`${data.id}_v${data.plugin_version}_${index}`">
|
<template
|
||||||
|
v-for="(data, index) in displayUninstalledList"
|
||||||
|
:key="`${data.id}_v${data.plugin_version}_${index}`"
|
||||||
|
>
|
||||||
<PluginAppCard :plugin="data" :count="PluginStatistics[data.id || '0']" @install="pluginInstalled" />
|
<PluginAppCard :plugin="data" :count="PluginStatistics[data.id || '0']" @install="pluginInstalled" />
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -426,7 +426,7 @@ function loadMore({ done }: { done: any }) {
|
|||||||
<VChip v-if="filterForm[key].length > 0" size="small" color="primary" class="ms-1" variant="elevated">
|
<VChip v-if="filterForm[key].length > 0" size="small" color="primary" class="ms-1" variant="elevated">
|
||||||
{{ filterForm[key].length }}
|
{{ filterForm[key].length }}
|
||||||
</VChip>
|
</VChip>
|
||||||
<VMenu activator="parent" :close-on-content-click="false">
|
<VMenu activator="parent" :close-on-content-click="false" scrim>
|
||||||
<VCard max-width="25rem">
|
<VCard max-width="25rem">
|
||||||
<VCardText class="filter-menu-content">
|
<VCardText class="filter-menu-content">
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
|
|||||||
@@ -400,7 +400,7 @@ onMounted(() => {
|
|||||||
<VChip v-if="filterForm[key].length > 0" size="small" color="primary" class="ms-1" variant="elevated">
|
<VChip v-if="filterForm[key].length > 0" size="small" color="primary" class="ms-1" variant="elevated">
|
||||||
{{ filterForm[key].length }}
|
{{ filterForm[key].length }}
|
||||||
</VChip>
|
</VChip>
|
||||||
<VMenu activator="parent" :close-on-content-click="false">
|
<VMenu activator="parent" :close-on-content-click="false" scrim>
|
||||||
<VCard max-width="20rem">
|
<VCard max-width="20rem">
|
||||||
<VCardText class="filter-menu-content">
|
<VCardText class="filter-menu-content">
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
|
|||||||
Reference in New Issue
Block a user