From 67c311e859c789ddc8a208139e3f7d7dd6fddb99 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 14 八月 2025 17:05:13 +0800 Subject: [PATCH] fix: bug --- apps/cMiniApp/src/components/Layout/PageLayoutWithBg.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/cMiniApp/src/components/Layout/PageLayoutWithBg.vue b/apps/cMiniApp/src/components/Layout/PageLayoutWithBg.vue index 5456a67..99b4aaa 100644 --- a/apps/cMiniApp/src/components/Layout/PageLayoutWithBg.vue +++ b/apps/cMiniApp/src/components/Layout/PageLayoutWithBg.vue @@ -10,8 +10,8 @@ <template #bg> <img :src="OssAssets.common.CommonPageBg" class="common-page-bg" /> </template> - <template #default> - <slot /> + <template #default="{ scrollViewHeight }"> + <slot :scrollViewHeight="scrollViewHeight" /> </template> </PageLayout> </template> @@ -28,6 +28,7 @@ type Props = { title?: string; + developing?: boolean; }; const props = withDefaults(defineProps<Props>(), {}); @@ -42,7 +43,7 @@ top: 0; left: 0; width: 100%; - height: 516px; + height: 644px; object-fit: cover; } </style> -- Gitblit v1.9.1