<template>
  <view class="page-loading">
    <u-loading-page :loading="loading" />
    <template v-if="!loading">
      <slot />
    </template>
  </view>
</template>

<script>
export default {
  name: 'PageLoading',
  props: {
    loading: {
      type: Boolean,
      default: true
    }
  },
  data() {
    return {}
  },
  computed: {},
  methods: {}
}
</script>

<style lang="scss" scoped>
.page-loading {

}
</style>
