| | |
| | | getMargin: function () { |
| | | const amount = this.inputAmount; |
| | | let data = "0.00"; |
| | | console.log( |
| | | "getMargin", |
| | | this.isActive, |
| | | amount, |
| | | this.lever_rate, |
| | | this.sessionObj.amount, |
| | | this.current_lever_rate_num |
| | | ); |
| | | if ( |
| | | this.isActive === 0 && |
| | | amount != undefined && |
| | | this.lever_rate.length != undefined && |
| | | amount !== undefined && |
| | | this.lever_rate.length !== undefined && |
| | | this.sessionObj.amount |
| | | ) { |
| | | if (this.lever_rate.length > 0) { |
| | |
| | | color: #fff; |
| | | } |
| | | .noLogin div:nth-child(1) { |
| | | background: #1d91ff; |
| | | background: #f7b328; |
| | | } |
| | | .noLogin div:nth-child(2) { |
| | | background: #484d56; |