<template>
  <van-overlay :show="show" class="meta-loading-wrap">
    <van-loading
      type="spinner"
      size="24px"
      color="#1D2088"
      vertical
      class="loading"
      >加载中...</van-loading
    >
  </van-overlay>
</template>

<script>
export default {
  name: "MetaLoading",
  data() {
    return {};
  },
  props: {
    show: {
      default: false,
      type: Boolean,
    },
  },
};
</script>

<style lang="scss" scoped>
.meta-loading-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.4);
}
</style>
