|
|
|
@ -7,7 +7,7 @@ |
|
|
|
<div class="h3 mb-3">{{ detail.coin_name }}</div> |
|
|
|
<div class>{{ $t("purchase.sendPrice") }}</div> |
|
|
|
<div class="price fn-20 blue"> |
|
|
|
1 {{ detail.coin_name }} = {{issue_price}} |
|
|
|
1 {{ detail.coin_name }} = {{detail.issue_price}} |
|
|
|
<!-- {{ detail.issue_price }} --> |
|
|
|
USDT |
|
|
|
</div> |
|
|
|
@ -23,7 +23,8 @@ |
|
|
|
{{ $t("purchase.expected") }} |
|
|
|
</div> |
|
|
|
<div class="txt"> |
|
|
|
{{ parseTime(detail.expected_time_online) }} |
|
|
|
<!-- {{ parseTime(detail.expected_time_online) }} --> |
|
|
|
{{ detail.expected_time_online }} |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<li class="mt-3"> |
|
|
|
@ -31,7 +32,8 @@ |
|
|
|
{{ $t("purchase.startTime") }} |
|
|
|
</div> |
|
|
|
<div class="txt"> |
|
|
|
{{ parseTime(detail.start_subscription_time) }} |
|
|
|
<!-- {{ parseTime(detail.start_subscription_time) }} --> |
|
|
|
{{ detail.start_subscription_time }} |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<li class="mt-3"> |
|
|
|
@ -39,7 +41,8 @@ |
|
|
|
{{ $t("purchase.applyForPurchase") }} |
|
|
|
</div> |
|
|
|
<div class="txt"> |
|
|
|
{{ parseTime(detail.end_subscription_time) }} |
|
|
|
<!-- {{ parseTime(detail.end_subscription_time) }} --> |
|
|
|
{{ detail.end_subscription_time }} |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
@ -64,13 +67,14 @@ |
|
|
|
</el-dropdown-menu> |
|
|
|
</el-dropdown> |
|
|
|
</div> |
|
|
|
<!-- :data-message="$t('nav.b9',{num:10})" --> |
|
|
|
<input |
|
|
|
type="number" |
|
|
|
class="form-control" |
|
|
|
:placeholder="$t('purchase.enterNum')" |
|
|
|
min="0" |
|
|
|
step="0.0000000001" |
|
|
|
:data-message="$t('nav.b9',{num:10})" |
|
|
|
|
|
|
|
required |
|
|
|
aria-label="Username" |
|
|
|
v-model="num" |
|
|
|
@ -116,7 +120,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 进度 --> |
|
|
|
<div v-if="activityList[0].amount" class="container panel my-4 px-4 pt-4 pb-5 rounded shadow-sm bg-panel"> |
|
|
|
<div v-if="activityList[0]" class="container panel my-4 px-4 pt-4 pb-5 rounded shadow-sm bg-panel"> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-12"> |
|
|
|
<h5 class="border-bottom pb-3 mb-5"> |
|
|
|
@ -179,7 +183,8 @@ |
|
|
|
<td>{{ item.subscription_currency_amount }}</td> |
|
|
|
<td>{{ item.payment_amount }}</td> |
|
|
|
<td>{{ item.payment_currency }}</td> |
|
|
|
<td>{{ item.subscription_time|parseTime }}</td> |
|
|
|
<!-- <td>{{ item.subscription_time|parseTime }}</td> --> |
|
|
|
<td>{{ item.subscription_time }}</td> |
|
|
|
<td>{{(item.increase_ratio).toFixed(5)}}%</td> |
|
|
|
<td>{{(item.total_value).toFixed(5)}}</td> |
|
|
|
<!-- <td>{{ ( ((detail.issue_price-(item.payment_amount/item.subscription_currency_amount))/detail.issue_price)*100 ).toFixed(2) }}%</td> --> |
|
|
|
@ -210,17 +215,18 @@ |
|
|
|
<el-step |
|
|
|
:title="$t('purchase.startSubscription')" |
|
|
|
:icon="detail.status >= 2 ? 'el-icon-success' : undefined" |
|
|
|
:description="parseTime(detail.start_subscription_time)" |
|
|
|
:description="detail.start_subscription_time" |
|
|
|
></el-step> |
|
|
|
<!-- :description="parseTime(detail.start_subscription_time)" --> |
|
|
|
<el-step |
|
|
|
:title="$t('purchase.endOfSubscription')" |
|
|
|
:icon="detail.status >= 3 ? 'el-icon-success' : undefined" |
|
|
|
:description="parseTime(detail.end_subscription_time)" |
|
|
|
:description="detail.end_subscription_time" |
|
|
|
></el-step> |
|
|
|
<el-step |
|
|
|
:title="$t('purchase.announceResults')" |
|
|
|
:icon="detail.status >= 4 ? 'el-icon-success' : undefined" |
|
|
|
:description="parseTime(detail.announce_time)" |
|
|
|
:description="detail.announce_time" |
|
|
|
></el-step> |
|
|
|
</el-steps> |
|
|
|
</div> |
|
|
|
@ -375,6 +381,7 @@ export default { |
|
|
|
getInfo() { |
|
|
|
Subscride.subscribe().then((res) => { |
|
|
|
this.detail = res; |
|
|
|
console.log(this.detail.announce_time,'1111') |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
@ -460,6 +467,7 @@ export default { |
|
|
|
<style lang='scss' scoped> |
|
|
|
.table tr:hover{ |
|
|
|
background: #e9e9e9 !important; |
|
|
|
color: #000 !important; |
|
|
|
} |
|
|
|
::v-deep { |
|
|
|
.el-step__icon { |
|
|
|
|