<template>
    <view class="page-module" :class="type">
      <slot></slot>
    </view>
</template>

<script>
export default {
  data() {
    return {
      type:'mobile'
    };
  },
  methods: {

  },
  mounted() {
    this.getSystemInfo(this,(type)=>{
      this.type = type
    })
  },
}
</script>

<style lang="scss">
.page-module {
  height: 100%;
  &.mobile {
    padding-top: $navBarHeight;
  }
  &.home-container.pc {
    padding-top: 100rpx;
  }
}
</style>
