ui库和web端产品库合并版本(还需修复细节)

This commit is contained in:
2022-11-29 18:27:14 +08:00
parent 5e4bd93238
commit 8bf6c57668
151 changed files with 28267 additions and 49 deletions

View File

@@ -0,0 +1,34 @@
<template>
<div class="ai-empty">
<div class="ai-empty__bg"></div>
<template v-if="!isHasTitleSlot">暂无数据</template>
<slot v-else></slot>
</div>
</template>
<script>
export default {
name: 'AiEmpty',
computed: {
isHasTitleSlot () {
return this.$slots.default
}
}
}
</script>
<style lang="scss">
.ai-empty {
margin-bottom: 10px;
text-align: center;
color: #acaaad;
.ai-empty__bg {
background: url("https://cdn.cunwuyun.cn/dvcp/empty.svg") no-repeat center;
background-size: 120px 120px;
height: 120px;
margin: 48px auto 0;
}
}
</style>