Mr.Shi
2023-08-21 3d1a4b4bf3d37e29a3d3345e00f9f84c0d7959a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<template>
    <div class="not">
        <img src="@/assets/icon/notfound.png" alt="" />
        <span>{{props.info}}</span>
    </div>
</template>
 
<script setup lang="ts">
    const props = defineProps({
        info: {
            type: String,
            required: false,
            default: '暂无数据'
        }
    })
</script>
 
<style lang="scss" scoped>
.not {
    margin-top: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    span {
        font-size: 24px;
        color: $nav-stateColor6;
    }
    img {
        width: 80%;
    }
}
</style>