update
parent
a040a82fd8
commit
16f4689ab3
|
@ -133,7 +133,7 @@ function handleCreateSuccess() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="dataList.length > 0" class="grid grid-cols-3 gap-2">
|
<div class="grid grid-cols-3 gap-2">
|
||||||
<div v-if="communityTag === 'myCreate'" class="bg-black rounded-lg flex flex-col justify-center items-center p-4 hover:shadow-[0_4px_14px_0_rgba(0,0,0,0.1)] transition-all duration-300 cursor-pointer" @click="showCreateModal">
|
<div v-if="communityTag === 'myCreate'" class="bg-black rounded-lg flex flex-col justify-center items-center p-4 hover:shadow-[0_4px_14px_0_rgba(0,0,0,0.1)] transition-all duration-300 cursor-pointer" @click="showCreateModal">
|
||||||
<div class="text-white text-xl">
|
<div class="text-white text-xl">
|
||||||
魔创星球
|
魔创星球
|
||||||
|
@ -145,9 +145,11 @@ function handleCreateSuccess() {
|
||||||
创建星球
|
创建星球
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<PlanetItem v-for="(item, index) in dataList" :key="index" :item="item" :type="communityTag" @refresh="refresh" />
|
<template v-if="dataList.length > 0">
|
||||||
|
<PlanetItem v-for="(item, index) in dataList" :key="index" :item="item" :type="communityTag" @refresh="refresh" />
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="dataList.length === 0 && listFinish" class="flex flex-col items-center justify-center py-12">
|
<div v-if="dataList.length === 0 && listFinish && communityTag === 'myJoin'" class="flex flex-col items-center justify-center py-12">
|
||||||
<div class="w-48 h-48 mb-4 flex items-center justify-center">
|
<div class="w-48 h-48 mb-4 flex items-center justify-center">
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<div class="w-32 h-32 rounded-full border-4 border-gray-200" />
|
<div class="w-32 h-32 rounded-full border-4 border-gray-200" />
|
||||||
|
|
Loading…
Reference in New Issue