feat: 细节优化

This commit is contained in:
cgd_mac 2022-02-25 19:33:47 +08:00
parent db6cb837f4
commit 94fd5ba1e0
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<a-card :bordered="false" :loading="loading">
<a-row :gutter="16">
<a-row v-if="dataList && dataList.length>0" :gutter="16">
<a-col :span="6" :md="4" :sm="6" v-for="(item, index) in dataList" :key="index">
<a-card @click="handlerItem(item)" hoverable style="width: 100%; margin-bottom: 15px;">
<img slot="cover" alt="example" :src="item.coverImage" />
@ -14,6 +14,7 @@
</a-card>
</a-col>
</a-row>
<a-empty v-else></a-empty>
</a-card>
</template>