123321
This commit is contained in:
26
cdTMP/src/components/Empty/index.vue
Normal file
26
cdTMP/src/components/Empty/index.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<div class="empty-container">
|
||||
<icon-empty :size="60" />
|
||||
<p>{{ text }}</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from "vue"
|
||||
const text = ref("暂无数据")
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.empty-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
color: #aaa;
|
||||
p {
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user