zhengyiming
3 天以前 e3d4c3426c86392e27df63300b601507b32f5c7e
apps/bMiniApp/src/components/Layout/PageLayout.vue
@@ -16,8 +16,10 @@
      </slot>
      <div class="page-layout-scroll-view-wrapper" :style="{ height: scrollViewHeight }">
        <slot :scrollViewHeight="scrollViewHeight" v-if="isAuth"></slot>
        <!-- <template v-if="isAuth">
        <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>
          <scroll-view
            v-else
@@ -28,6 +30,7 @@
            <slot :scrollViewHeight="scrollViewHeight"></slot>
          </scroll-view>
        </template> -->
        </template>
      </div>
      <div v-if="!pageHeightWithTabBar" class="safe-area-bottom"></div>
    </div>
@@ -45,6 +48,7 @@
import { useAuth } from '@/hooks';
import { Portal } from 'senin-mini/components';
import { usePickProps } from 'senin-mini/hooks';
import { DevelopingLayout } from '@12333/components';
defineOptions({
  name: 'PageLayout',
@@ -69,6 +73,10 @@
    type: Number,
    default: 388,
  },
  developing: {
    type: Boolean,
    default: false,
  },
});
const _commonNavigationBarProps = usePickProps(props, commonNavigationBarProps);