| | |
| | | <template> |
| | | <scroll-view |
| | | class="content-scroll-view-wrapper" |
| | | :class="{ hasPaddingTop, isNoWeb: !isWeb }" |
| | | :class="{ hasPaddingTop, isNoWeb: !isWeb || showBgColor }" |
| | | :scroll-y="true" |
| | | > |
| | | <ContentView |
| | |
| | | hasPaddingTop?: boolean; |
| | | allHeight?: boolean; |
| | | paddingH?: boolean; |
| | | showBgColor?: boolean; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), { |
| | | hasPaddingTop: false, |
| | | allHeight: false, |
| | | paddingH: true, |
| | | showBgColor: true, |
| | | }); |
| | | </script> |
| | | |
| | |
| | | } |
| | | |
| | | &.hasPaddingTop { |
| | | padding-top: 20px; |
| | | padding-top: 32px; |
| | | } |
| | | |
| | | .content-scroll-view-wrapper-inner { |