|
@@ -2,7 +2,8 @@
|
|
<div class="nft-page-wrapper" ref="pageWrapperDom" @scroll="pageScroll">
|
|
<div class="nft-page-wrapper" ref="pageWrapperDom" @scroll="pageScroll">
|
|
<div class="content" ref="pageListDom">
|
|
<div class="content" ref="pageListDom">
|
|
<div class="item" v-for="(item, index) in listData" :key="index" @click="clickNFT(item)">
|
|
<div class="item" v-for="(item, index) in listData" :key="index" @click="clickNFT(item)">
|
|
- <img :src="item.imagePath" class="img">
|
|
|
|
|
|
+ <img :src="item.imagePath" class="img" v-if="item.imagePath" />
|
|
|
|
+ <nft-card :item="item" :width="103" v-else></nft-card>
|
|
<div class="name">{{ item.nftItemName }}</div>
|
|
<div class="name">{{ item.nftItemName }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -20,6 +21,7 @@ import router from "@/router/popup.js";
|
|
|
|
|
|
import { nftListMine } from "@/http/nft.js";
|
|
import { nftListMine } from "@/http/nft.js";
|
|
|
|
|
|
|
|
+import nftCard from "@/view/components/nft-card.vue"
|
|
import joinGroupFinishDialog from "@/view/components/join-group-finish-dialog.vue";
|
|
import joinGroupFinishDialog from "@/view/components/join-group-finish-dialog.vue";
|
|
|
|
|
|
let listData = ref([]);
|
|
let listData = ref([]);
|