diff --git a/src/components/market/NftInfo.vue b/src/components/market/NftInfo.vue index 3e6a1d4..42cbcef 100644 --- a/src/components/market/NftInfo.vue +++ b/src/components/market/NftInfo.vue @@ -2,7 +2,7 @@
-
+
Level
@@ -41,7 +41,7 @@
-
+
Level
@@ -91,8 +91,8 @@
-
-
-- COMING SOON --
+
+
{{waitStr}}
@@ -114,6 +114,18 @@ import { INftData } from '@/types/Nft' export default class extends Vue { @Prop() private nftData: INftData + get waitStr() { + return this.needActivate ? '-- NEED ACTIVATION --' : '-- COMING SOON --' + } + + get needActivate() { + return (this.nftData?.id || '').length > 17 + } + + get hideAttr() { + return this.nftData.hideAttr || this.needActivate + } + attr(key: string) { return this.nftData.attrMap.get(key) }