You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
726 B
Vue
41 lines
726 B
Vue
|
8 months ago
|
<template>
|
||
|
|
<div class="empty-wrapper">
|
||
|
|
<image
|
||
|
|
class="empty-img"
|
||
|
|
src="https://yx-web-nosdn.netease.im/common/e0f58096f06c18cdd101f2614e6afb09/empty.png"
|
||
|
|
/>
|
||
|
|
<div class="empty-text">{{ text }}</div>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script lang="ts" setup>
|
||
|
|
import { ref, onMounted } from '../utils/transformVue'
|
||
|
|
defineProps({
|
||
|
|
text: {
|
||
|
|
type: String,
|
||
|
|
default: '',
|
||
|
|
},
|
||
|
|
})
|
||
|
|
</script>
|
||
|
|
<style lang="scss" scoped>
|
||
|
|
.empty-wrapper {
|
||
|
|
margin: 75px 10px;
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
|
||
|
|
.empty-img {
|
||
|
|
display: block;
|
||
|
|
width: 125px;
|
||
|
|
height: 100px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-text {
|
||
|
|
display: block;
|
||
|
|
color: #a6adb6;
|
||
|
|
margin: 10px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|