|
@@ -99,11 +99,15 @@ defineExpose({
|
|
|
<slot name="top"></slot>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="flex-grow flex flex-col justify-center">
|
|
|
+ <div class="flex-grow flex flex-col">
|
|
|
<template v-if="!items?.length">
|
|
|
- <wd-status-tip :image="NetImages.NotContent" tip="暂无内容"></wd-status-tip>
|
|
|
+ <div class="flex-grow flex flex-col justify-center">
|
|
|
+ <wd-status-tip :image="NetImages.NotContent" tip="暂无内容"></wd-status-tip>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
- <slot :source="{ list: items }"></slot>
|
|
|
+ <div v-if="items.length" class="flex-grow flex flex-col">
|
|
|
+ <slot :source="{ list: items }"></slot>
|
|
|
+ </div>
|
|
|
<template v-if="nomore">
|
|
|
<div class="my-4"><wd-divider>没有更多了</wd-divider></div>
|
|
|
</template>
|