<template>
    <div class="hc-no-data-box" :class="ui">
        <div class="no-data-c">
            <img :src="src?src:notableform" alt=""/>
            <div class="desc">{{tip}}</div>
        </div>
    </div>
</template>

<script setup>
import notableform from '~src/assets/view/notableform.svg';
const props = defineProps({
    ui: {
        type: String,
        default: ''
    },
    src: {
        type: [String,Number],
        default: ''
    },
    tip: {
        type: [String,Number],
        default: '暂无数据'
    },
})
</script>

<style lang="scss" scoped>
.hc-no-data-box {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    .no-data-c {
        position: relative;
        width: 160px;
        img {
            width: 100%;
            height: 100%;
        }
        .desc {
            text-align: center;
            font-size: 12px;
            color: #9cbdf7;
        }
    }
}
</style>
