|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
<div class="center" v-if="result === null"> |
|
|
|
|
<RotateSquare2 style="width: 5rem; height: 5rem; margin-top: 3rem;"/> |
|
|
|
|
</div> |
|
|
|
|
<GetDomainBtn v-else-if="result.canBuy() && result.condition_fullfilled !== false" |
|
|
|
|
<GetDomainBtn v-else-if="result.canBuy() && result.condition_fullfilled !== false && result.buy_price > 0" |
|
|
|
|
:domain="domain" :price="result.buy_price" |
|
|
|
|
:collection_required="result.collection_required" |
|
|
|
|
@click="buy()"/> |
|
|
|
@ -10,12 +10,18 @@
|
|
|
|
|
<GetDomainBtn v-else-if="result.canAuction() && result.condition_fullfilled !== false" |
|
|
|
|
:domain="domain" :price="result.auction_price" |
|
|
|
|
@click="buy()"/> |
|
|
|
|
<div class="owned" v-else-if="result.canBuy() && result.condition_fullfilled === false" style="cursor:initial;"> |
|
|
|
|
<div class="owned" v-else-if="result.canBuy() && result.condition_fullfilled === false" style="cursor: initial;"> |
|
|
|
|
<p>To buy</p> |
|
|
|
|
<p><span class="domain">*.{{ zone }}</span></p> |
|
|
|
|
<p>you need to be a holder of the collection</p> |
|
|
|
|
<div class="collection">{{ result.collection_required.name }}</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="owned" v-else-if="result.canBuy() && result.buy_price === 0" style="cursor: initial;"> |
|
|
|
|
<p>The domain</p> |
|
|
|
|
<p class="domain">{{ domain }}</p> |
|
|
|
|
<p>is unavailable.</p> |
|
|
|
|
<p>Check the domain length or forbidden characters.</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else class="owned" @click="$router.push({name: 'Explore', params: {domain: domain}})"> |
|
|
|
|
<p class="domain">{{ domain }}</p> |
|
|
|
|
<p>is owned.</p> |
|
|
|
|