|
|
|
@ -429,7 +429,7 @@ |
|
|
|
<view class="row d-flex m-y-xs justify-between fn-14 p-t-xs"> |
|
|
|
<view class="w-50 fn-left"> |
|
|
|
<view class="label">{{ $t("option.b6") }}</view> |
|
|
|
<view class="color-light">{{item.unRealProfit}}</view> |
|
|
|
<view class="color-light" :class="item.unRealProfit>0?'increace':item.unRealProfit<0?'decreace':''">{{item.unRealProfit}}</view> |
|
|
|
</view> |
|
|
|
<view class="w-50 fn-center"> |
|
|
|
<view class="label">{{ $t("contract.g8") }}</view> |
|
|
|
@ -778,8 +778,9 @@ export default { |
|
|
|
{ label: this.$t("exchange.d6")+this.$t("contract.g5"), value: 0 } |
|
|
|
], |
|
|
|
shixian:[ |
|
|
|
{ label: this.$t("contract.d7"), value: 2 }, |
|
|
|
{ label: this.$t("contract.h8"), value: 1 }, |
|
|
|
{ label: this.$t("contract.d7"), value: 2 } |
|
|
|
|
|
|
|
], |
|
|
|
canvasShow:false, |
|
|
|
myCanvas:'', |
|
|
|
@ -1413,7 +1414,8 @@ export default { |
|
|
|
closePositionShow(item) { |
|
|
|
this.activeItem = item; |
|
|
|
this.pingActive=3 |
|
|
|
this.$set(this.activeItem, "closeType", 1); |
|
|
|
// this.$set(this.activeItem, "closeType", 1); |
|
|
|
this.$set(this.activeItem, "closeType", 2); |
|
|
|
this.pingAmount = Math.round((this.activeItem.avail_position * 100) / 100); |
|
|
|
this.showPing = true; |
|
|
|
}, |
|
|
|
@ -1768,4 +1770,10 @@ export default { |
|
|
|
.w-40{ |
|
|
|
width: 45%; |
|
|
|
} |
|
|
|
.increace{ |
|
|
|
color: #53b987; |
|
|
|
} |
|
|
|
.decreace{ |
|
|
|
color: #ff231f; |
|
|
|
} |
|
|
|
</style> |