新增对接追剧数据
This commit is contained in:
26
components/emprty-card/emprty-card.vue
Normal file
26
components/emprty-card/emprty-card.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<up-empty :icon="props.icon" :text="props.text"></up-empty>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
icon: {
|
||||
type: String,
|
||||
default: '/static/default/none.png'
|
||||
},
|
||||
text: {
|
||||
type: String,
|
||||
default: '空空如也~'
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user