From 5cd618c9523ad30dccf858a00ff6d99a28de4187 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 11 九月 2025 10:24:35 +0800
Subject: [PATCH] feat: 公告
---
apps/taro/src/components/Layout/ContentScrollView.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/apps/taro/src/components/Layout/ContentScrollView.vue b/apps/taro/src/components/Layout/ContentScrollView.vue
index 7e7cc84..775f10b 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>
@@ -45,7 +47,7 @@
}
&.hasPaddingTop {
- padding-top: 20px;
+ padding-top: 32px;
}
.content-scroll-view-wrapper-inner {
--
Gitblit v1.9.1