zhengyiming
2 天以前 e662aa7d894a0b259dc1816e79514c1f0d38da9f
apps/taro/src/components/Layout/layout.ts
@@ -1,4 +1,5 @@
import { PropType } from 'vue';
import { commonNavigationBarProps } from '../NavigationBar/commonNavigationBar';
export const loadingLayoutProps = {
  loading: {
@@ -17,3 +18,27 @@
    type: String,
  },
};
export const pageLayoutProps = {
  ...commonNavigationBarProps,
  needAuth: {
    type: Boolean,
    default: true,
  },
  useView: {
    type: Boolean,
    default: false,
  },
  hasLinearBg: {
    type: Boolean,
    default: false,
  },
  linearBgHeight: {
    type: Number,
    default: 388,
  },
  hasBgColor: {
    type: Boolean,
    default: false,
  },
};