From 074b4c463c4be9bf5df11fa08779a523fdb983b1 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 01 四月 2025 17:11:01 +0800 Subject: [PATCH] fix: 四期需求 --- apps/taro/src/components/Layout/ContentScrollView.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/apps/taro/src/components/Layout/ContentScrollView.vue b/apps/taro/src/components/Layout/ContentScrollView.vue index 7e7cc84..170176a 100644 --- a/apps/taro/src/components/Layout/ContentScrollView.vue +++ b/apps/taro/src/components/Layout/ContentScrollView.vue @@ -1,7 +1,7 @@ <template> <scroll-view class="content-scroll-view-wrapper" - :class="{ hasPaddingTop, isNoWeb: !isWeb }" + :class="{ hasPaddingTop, isNoWeb: !isWeb || showBgColor }" :scroll-y="true" > <ContentView @@ -25,12 +25,14 @@ hasPaddingTop?: boolean; allHeight?: boolean; paddingH?: boolean; + showBgColor?: boolean; }; const props = withDefaults(defineProps<Props>(), { hasPaddingTop: false, allHeight: false, paddingH: true, + showBgColor: true, }); </script> -- Gitblit v1.9.1