|
|
|
@ -126,14 +126,14 @@ |
|
|
|
<i class="iconfont fn-13"></i> |
|
|
|
</v-picker> --> |
|
|
|
<v-dropdwon v-if="lever_rage.length>0" |
|
|
|
class="w-40 m-r-xs posi bg-form-panel-3 p-y-xxs border_1" :contract="contract" |
|
|
|
class="w-40 m-r-xs posi bg-form-panel-3 border_1" :contract="contract" |
|
|
|
:list="lever_rage" @onClick="openNum" :leverShow="leverShow"> |
|
|
|
</v-dropdwon> |
|
|
|
</view> |
|
|
|
<view class="m-b-ms"> |
|
|
|
<!-- <view class="label fn-sm m-b-xs">{{ $t("contract.d1") }}</view> --> |
|
|
|
<!-- 限价 --> |
|
|
|
<van-stepper |
|
|
|
<!-- <van-stepper |
|
|
|
class="d-flex justify-between" |
|
|
|
:min="0" |
|
|
|
input-width="61%" |
|
|
|
@ -141,9 +141,19 @@ |
|
|
|
:value="form.entrust_price" |
|
|
|
@change="form.entrust_price=$event.detail" |
|
|
|
v-if="form.type == 0" |
|
|
|
/> |
|
|
|
/> --> |
|
|
|
<view class="" style="display: flex;"> |
|
|
|
<view class="" style="border: 1px solid #1B1B1B;width: 100px;padding-left: 5px;font-size: 20rpx;"> |
|
|
|
{{$t('exchange.d2')}}(USDT) |
|
|
|
<input type="text" v-model="form.entrust_price" :placeholder="$t('exchange.c5')"> |
|
|
|
</view> |
|
|
|
<view class="m-l-xs col-fff" style="border: 1px solid #1B1B1B;line-height: 40px;width: 55px;text-align: center;overflow: hidden;"> |
|
|
|
{{$t("base.g5")}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 市价 --> |
|
|
|
<v-input |
|
|
|
<v-input |
|
|
|
v-if="form.type == 1" |
|
|
|
disabled |
|
|
|
:value='$t("first.a4")' |
|
|
|
@ -166,11 +176,12 @@ |
|
|
|
<v-input |
|
|
|
v-model="margin" |
|
|
|
@input="sliderActive=-1" |
|
|
|
:placeholder="$t('contract.d2')" style="border: 1px solid #202020;"> |
|
|
|
:placeholder="$t('exchange.c5')" style="border: 1px solid #202020;"> |
|
|
|
<template #right> |
|
|
|
<view class="color-light fn-bold" style="margin-right: 10px;"> |
|
|
|
<!-- {{ $t("contract.d8") }} --> |
|
|
|
USDT</view> |
|
|
|
BTC<i class="iconfont m-l-xs fn-sm"></i> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</v-input> |
|
|
|
</view> |
|
|
|
@ -292,7 +303,7 @@ |
|
|
|
</v-button> |
|
|
|
<view class="fn-sm m-t-xs d-flex"> |
|
|
|
<view class=""> |
|
|
|
可买 |
|
|
|
{{$t("base.g3")}} |
|
|
|
</view> |
|
|
|
<view class="" style="margin-left: 10px;"> |
|
|
|
{{amount}} BTC |
|
|
|
@ -344,7 +355,7 @@ |
|
|
|
</v-button> |
|
|
|
<view class="fn-sm m-t-xs d-flex"> |
|
|
|
<view class=""> |
|
|
|
可卖 |
|
|
|
{{$t("base.g4")}} |
|
|
|
</view> |
|
|
|
<view class="" style="margin-left: 10px;"> |
|
|
|
{{amount}} BTC |
|
|
|
@ -429,7 +440,7 @@ |
|
|
|
:max="6" |
|
|
|
:contract="1" |
|
|
|
> |
|
|
|
<view class="fn-lg color-buy">{{ newPrice.price }}</view> |
|
|
|
<view class="fn-lg color-buy" style="color: #C83F64;font-size: 20px;">{{ newPrice.price }}</view> |
|
|
|
</sell-and-buy> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|