|
|
|
@ -118,7 +118,8 @@ |
|
|
|
<!-- <div>{{ $t("contract.e3") }}:</div> --> |
|
|
|
<div>{{ $t("contract.e1") }}:</div> |
|
|
|
|
|
|
|
<div>{{ amount }} {{$t("contract.e2")}}</div> |
|
|
|
<div>{{ amount }} </div> |
|
|
|
<!-- {{$t("contract.e2")}} --> |
|
|
|
<!-- <div>{{ margin }} USDT</div> --> |
|
|
|
</div> |
|
|
|
<div class="d-flex justify-content-between mb-4"> |
|
|
|
@ -154,7 +155,8 @@ |
|
|
|
<span class="fn-12"> ({{ $t("contract.e6") }}) </span> |
|
|
|
</button> |
|
|
|
<div class="text-center"> |
|
|
|
{{ $t("contract.e7") }} {{ maxNum }} {{ $t("contract.e2") }} |
|
|
|
{{ $t("contract.e7") }} {{ maxNum }} |
|
|
|
<!-- {{ $t("contract.e2") }} --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="px-2 flex-fill"> |
|
|
|
@ -167,7 +169,8 @@ |
|
|
|
<span class="fn-12"> ({{ $t("contract.e8") }}) </span> |
|
|
|
</button> |
|
|
|
<div class="text-center"> |
|
|
|
{{ $t("contract.e7") }} {{ maxNum }} {{ $t("contract.e2") }} |
|
|
|
{{ $t("contract.e7") }} {{ maxNum }} |
|
|
|
<!-- {{ $t("contract.e2") }} --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -383,7 +386,7 @@ export default { |
|
|
|
}, |
|
|
|
// 设置数量 |
|
|
|
sliderChange($ev) { |
|
|
|
|
|
|
|
console.info(this.maxNum) |
|
|
|
this.form.amount = Math.round((this.maxNum * $ev) / 100)||0; |
|
|
|
this.margin=this.form.amount/this.form.lever_rate |
|
|
|
}, |
|
|
|
|