wupengfei
7 天以前 14368e8a09c4b5793d0975f85e36a4c1d410ca36
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>