| | |
| | | <van-nav-bar |
| | | :placeholder="true" |
| | | :safe-area-inset-top="true" |
| | | :title="$t('提款')" |
| | | :title="$t('hj177')" |
| | | left-arrow |
| | | @click-left="onClickLeft" |
| | | > |
| | |
| | | <div class="dz-title" v-if="rechargeAccountData.key !== undefined"> |
| | | <div>{{ $t("可用餘額") }}</div> |
| | | <div class="balance-text"> |
| | | {{ availableBalanceUSD | _toLocaleString }} {{ symbolCode }} |
| | | {{ availableBalanceUSD }} {{ symbolCode }} |
| | | <!-- {{ symbolCode }} --> |
| | | </div> |
| | | </div> |
| | |
| | | type="primary" |
| | | style="margin-top: 1.04rem; margin-bottom: 1.04rem" |
| | | @click="setOutMoney" |
| | | >{{ $t("提款") }}</van-button |
| | | :disabled="isclick" |
| | | >{{ $t("hj177") }}</van-button |
| | | > |
| | | </main> |
| | | </div> |
| | |
| | | <script> |
| | | import { ActionSheet, Notify } from "vant"; |
| | | import ClipboardJS from "clipboard"; |
| | | import _ from 'lodash'; |
| | | import { getBankCard, getMoney, outMoney } from "../../axios/api"; |
| | | |
| | | export default { |
| | |
| | | return { |
| | | value: 0, |
| | | |
| | | paymentSelectData: "IN", |
| | | |
| | | paymentSelectData: "JP", |
| | | isclick:false, |
| | | show: false, |
| | | yhkshow:false, |
| | | // 提款聚到 |
| | |
| | | rechargeAccountData: {}, |
| | | rechargeAccountActions: [ |
| | | { |
| | | name: this.$t("IN"), |
| | | key: "IN", |
| | | name: this.$t("日股"), |
| | | key: "JP", |
| | | }, |
| | | // { |
| | | // name: this.$t("MAS"), |
| | |
| | | }, |
| | | methods: { |
| | | async setOutMoney() { |
| | | if (this.isclick) return; |
| | | console.log('11111'); |
| | | const res = await outMoney({ |
| | | amt: this.value, |
| | | assetsType: this.accectType, |
| | | bankId:this.yhkid |
| | | }); |
| | | this.isclick = false; |
| | | if (res.status === 0) { |
| | | Notify({ type: "success", message: this.$t("hj182") }); |
| | | setTimeout(() => { |
| | | // setTimeout(() => { |
| | | this.$router.push("/cashlist"); |
| | | }, 500); |
| | | // }, 500); |
| | | } else { |
| | | Notify(res.msg); |
| | | } |
| | |
| | | .but { |
| | | width: 100%; |
| | | color: #ffffff; |
| | | background-color: #1989fa; |
| | | background-color: #185546; |
| | | border-radius: 8px; |
| | | height: 66px; |
| | | font-size: 22px; |