<!--
 * @Description: 页面级别的loading
 -->
<template>
  <view class="cu-load load-modal" v-if="loadModal">
    <i class="iconfont loading-icon">&#xe699;</i>
    <view class="gray-text">{{loadingTex}}</view>
  </view>
</template>
<script>
export default {
  name: 'page-loading',
  props: {
    loadModal: { // 是否显示该loading框
      type: Boolean,
      default: false
    },
    loadingTex: { // loading框的文本
      type: String,
      default: '加载中...'
    }
  }
}
</script>
<style lang="scss">
.cu-load.load-modal{
  .loading-icon{
    color: $apb-main-color;
    font-size: 50rpx;
  }
}
</style>
