| | |
| | | type="primary" |
| | | @click="onMax" |
| | | > |
| | | {{ $t("全部") }} |
| | | {{ $t("hj160") }} |
| | | </van-button> |
| | | </template> |
| | | </van-field> |
| | |
| | | showPopover: false, |
| | | showPopover1: false, |
| | | actions: [ |
| | | { text: this.$t("日本"), value: "JP", currency: "JPY" }, |
| | | { text: this.$t("美国"), value: "US", currency: "USD" }, |
| | | { text: this.$t("hk1"), value: "HK", currency: "HKD" }, |
| | | { text: this.$t("tw"), value: "TW", currency: "TWD" }, |
| | | { text: this.$t("id1"), value: "IN", currency: "INR" } |
| | | // { text: this.$t("hk1"), value: "HK", currency: "HKD" }, |
| | | // { text: this.$t("tw"), value: "TW", currency: "TWD" }, |
| | | ], |
| | | cValue: {}, |
| | | dValue: {}, |
| | | usM: {}, // 账户金额 us |
| | | twM: {}, // 账户金额 tw |
| | | inM: {}, // 账户金额 in |
| | | hkM: {}, // 账户金额 hk |
| | | jpM: {}, // 账户金额 in |
| | | arrRate: [], // 汇率 |
| | | sxf: 0.01 // 手续费比例 |
| | | }; |
| | |
| | | case "USD": |
| | | this.moneyRevise = this.usM.availableBalance; |
| | | break; |
| | | case "HKD": |
| | | this.moneyRevise = this.hkM.availableBalance; |
| | | break; |
| | | case "TWD": |
| | | this.moneyRevise = this.twM.availableBalance; |
| | | break; |
| | | case "INR": |
| | | this.moneyRevise = this.inM.availableBalance; |
| | | case "JPY": |
| | | this.moneyRevise = this.jpM.availableBalance; |
| | | break; |
| | | default: |
| | | break; |
| | |
| | | if (data.status === 0) { |
| | | data.data.forEach(item => { |
| | | if (item.accectType == "US") this.usM = item; |
| | | else if (item.accectType == "TW") this.twM = item; |
| | | else if (item.accectType == "IN") this.inM = item; |
| | | else if (item.accectType == "HK") this.hkM = item; |
| | | else if (item.accectType == "JP") this.jpM = item; |
| | | }); |
| | | } |
| | | }, |
| | |
| | | if (data.status === 0) { |
| | | Toast.success(this.$t(data.msg)); |
| | | this.getMoney(); |
| | | }else{ |
| | | Toast.fail(this.$t(data.msg)); |
| | | } |
| | | } |
| | | } |
| | |
| | | /deep/ .van-nav-bar__content { |
| | | height: 65px; |
| | | } |
| | | /deep/ .van-cell{ |
| | | background: none; |
| | | } |
| | | |
| | | /deep/ .van-nav-bar__title { |
| | | font-family: "DINPro"; |