From 3892b0ed0595252d800b1993bb1aa493260291e4 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 2 Jul 2025 21:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0PluginDataDialog=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84show=5Fswitch=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialog/PluginDataDialog.vue | 5 +++++ src/layouts/components/DefaultLayout.vue | 2 +- src/layouts/components/QuickAccess.vue | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/dialog/PluginDataDialog.vue b/src/components/dialog/PluginDataDialog.vue index 8b6564f9..a72b910d 100644 --- a/src/components/dialog/PluginDataDialog.vue +++ b/src/components/dialog/PluginDataDialog.vue @@ -10,6 +10,10 @@ const props = defineProps({ plugin: { type: Object as PropType, }, + show_switch: { + type: Boolean, + default: true, + }, }) // 定义事件 @@ -130,6 +134,7 @@ onMounted(() => { { class="pull-indicator" :style="{ opacity: indicatorOpacity, - transform: `translate(-50%, ${Math.min((pullDistance - PULL_CONFIG.SHOW_INDICATOR) * 0.5, 40)}px)`, + transform: `translate(-50%, ${Math.min(20 + pullDistance - PULL_CONFIG.SHOW_INDICATOR, 50)}px)`, }" >
@@ -580,7 +581,6 @@ function handleBackdropClick(event: MouseEvent) { display: flex; align-items: center; gap: 12px; - margin-block: 0 16px; margin-inline: 0; .section-title { @@ -608,7 +608,7 @@ function handleBackdropClick(event: MouseEvent) { .all-plugins-grid { display: grid; - gap: 8px; + gap: 4px; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }