<template>
    <div class="loadingBox" v-show="displayStatus" ref="alertMsg">
        <img class="contentImg" src="../assets/loading.gif" alt="">
    </div>
</template>
<script>
export default {
    name:"loading",
    props:{
        displayStatus: Boolean,
    }
}
</script>
<style scoped>
.loadingBox{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 375px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contentImg{
    z-index: 999;
    width: 60px;
    height: 60px;
}
</style>