| | |
| | | <template> |
| | | <scroll-view class="content-scroll-view-wrapper" :class="{ hasPaddingTop }" :scroll-y="true"> |
| | | <scroll-view |
| | | class="content-scroll-view-wrapper" |
| | | :class="{ hasPaddingTop, isNoWeb: !isWeb }" |
| | | :scroll-y="true" |
| | | > |
| | | <ContentView |
| | | :class="['content-scroll-view-wrapper-inner', props.allHeight ? 'all-height' : '']" |
| | | :paddingH="paddingH" |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import ContentView from './ContentView.vue'; |
| | | import { isWeb } from '@/utils/env'; |
| | | |
| | | defineOptions({ |
| | | name: 'ContentScrollView', |
| | |
| | | |
| | | .content-scroll-view-wrapper { |
| | | @include listScrollViewWithNoPadding; |
| | | background-color: $body-background-color; |
| | | |
| | | &.isNoWeb { |
| | | background-color: $body-background-color; |
| | | } |
| | | |
| | | &.hasPaddingTop { |
| | | padding-top: 20px; |