From c8c2f28f9008989f8035da5e78c262b326707065 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 22 五月 2025 17:04:39 +0800
Subject: [PATCH] Merge branch 'dev-ui' of http://120.26.58.240:8888/r/LifePaymentFront into dev-ui

---
 apps/h5/src/components/Layout/ContentScrollView.vue |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/apps/h5/src/components/Layout/ContentScrollView.vue b/apps/h5/src/components/Layout/ContentScrollView.vue
new file mode 100644
index 0000000..3036812
--- /dev/null
+++ b/apps/h5/src/components/Layout/ContentScrollView.vue
@@ -0,0 +1,34 @@
+<template>
+  <div :class="['content-scroll-view', { hasPaddingTop }]">
+    <slot />
+  </div>
+</template>
+
+<script setup lang="ts">
+defineOptions({
+  name: 'ContentScrollView',
+});
+
+type Props = {
+  hasPaddingTop?: boolean;
+  allHeight?: boolean;
+  paddingH?: boolean;
+};
+
+const props = withDefaults(defineProps<Props>(), {
+  hasPaddingTop: false,
+  allHeight: false,
+  paddingH: true,
+});
+</script>
+
+<style lang="scss" scoped>
+@use '@/style/common.scss' as *;
+
+.content-scroll-view {
+  overflow-y: auto;
+  padding: 10px 14px 0;
+  flex: 1;
+  min-height: 0;
+}
+</style>

--
Gitblit v1.9.1