| | |
| | | <!-- 合约金额=保证金--> |
| | | <div class="submit-info-item"> |
| | | <div>{{ $t("message.home.heyuejine") }}:</div> |
| | | <div>{{ getMargin }} {{ unit }}</div> |
| | | <div>{{ (getMargin * parseInt(current_lever_rate)).toFixed(2) }} {{ unit }}</div> |
| | | </div> |
| | | <!-- 保证金 --> |
| | | <div class="submit-info-item"> |
| | | <div>{{ $t("message.home.baozhengjin") }}:</div> |
| | | <div>{{ getMargin }} {{ unit }}</div> |
| | | <!-- <div>{{ (getMargin/parseInt(current_lever_rate)).toFixed(2) }} {{ unit }}</div> --> |
| | | </div> |
| | | <!-- 手续费 --> |
| | | <div class="submit-info-item"> |
| | |
| | | this.sessionObj.amount |
| | | ) { |
| | | if (this.lever_rate.length > 0) { |
| | | data = this.sessionObj.amount * amount * this.current_lever_rate_num; |
| | | data = this.sessionObj.amount * amount * 1; |
| | | } else if (this.lever_rate.length == 0) { |
| | | data = this.sessionObj.amount * amount * 1; |
| | | } |
| | |
| | | return 0; |
| | | } else { |
| | | if (this.lever_rate.length > 0) { |
| | | return parseInt(amount / this.current_lever_rate_num); |
| | | // return parseInt(amount / this.current_lever_rate_num); |
| | | return parseInt(amount * 1); |
| | | } else if (this.lever_rate.length == 0) { |
| | | return parseInt(amount / 1); |
| | | return parseInt(amount * 1); |
| | | } |
| | | } |
| | | }, |