| | |
| | | </slot> |
| | | |
| | | <div class="page-layout-scroll-view-wrapper" :style="{ height: scrollViewHeight }"> |
| | | <DevelopingLayout v-if="developing"></DevelopingLayout> |
| | | <template v-else> |
| | | <slot :scrollViewHeight="scrollViewHeight" v-if="isAuth"></slot> |
| | | <!-- <template v-if="isAuth"> |
| | | <slot v-if="useView" :scrollViewHeight="scrollViewHeight"></slot> |
| | |
| | | <slot :scrollViewHeight="scrollViewHeight"></slot> |
| | | </scroll-view> |
| | | </template> --> |
| | | </template> |
| | | </div> |
| | | <div v-if="!pageHeightWithTabBar" class="safe-area-bottom"></div> |
| | | </div> |
| | |
| | | import { useAuth } from '@/hooks'; |
| | | import { Portal } from 'senin-mini/components'; |
| | | import { usePickProps } from 'senin-mini/hooks'; |
| | | import { DevelopingLayout } from '@12333/components'; |
| | | |
| | | defineOptions({ |
| | | name: 'PageLayout', |
| | |
| | | type: Number, |
| | | default: 388, |
| | | }, |
| | | developing: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }); |
| | | |
| | | const _commonNavigationBarProps = usePickProps(props, commonNavigationBarProps); |