Commit a8f001bb authored by salitedfish's avatar salitedfish

更改图片NFT显示详情

parent f892d1d5
...@@ -4,4 +4,4 @@ module.exports = { ...@@ -4,4 +4,4 @@ module.exports = {
tailwindcss: {}, tailwindcss: {},
autoprefixer: {}, autoprefixer: {},
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
纪念版NFT只能进行转让,不能进行交易。最终解释权归平台所有。 纪念版NFT只能进行转让,不能进行交易。最终解释权归平台所有。
</div> </div>
</div> </div>
<div v-else-if="nftData.isCommemorate == 1">
<div v-else-if="nftData.isCommemorate == 1 || nftData.category == '图片'">
<div class="h-80 flex items-center"> <div class="h-80 flex items-center">
<!-- <img class=" max-h-72 mx-auto" src="@/assets/img/NFTCover.png" alt="" /> --> <!-- <img class=" max-h-72 mx-auto" src="@/assets/img/NFTCover.png" alt="" /> -->
<img class=" max-h-72 mx-auto" :src="nftData.cover?nftData.cover:'@/assets/img/NFTCover.png'" alt="" /> <img class=" max-h-72 mx-auto" :src="nftData.cover?nftData.cover:'@/assets/img/NFTCover.png'" alt="" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment