dcc
2024-05-15 ff3f0c6141fdbe0ab7832fb3d8d1695015cbbf06
src/page/user/recharge.vue
@@ -17,7 +17,19 @@
    </van-nav-bar>
    <main>
      <div>
        <div class="main-title">{{ $t("支持得支付渠道") }}</div>
        <template v-if="paymentSelectData.channelAccount !== undefined">
          <div class="main-title">{{ $t("請選擇充值賬戶") }}</div>
          <van-cell
            is-link
            :title="$t(rechargeAccountData.key) || $t('請選擇')"
          />
          <van-action-sheet
            v-model="rechargeAccountShow"
            :actions="rechargeAccountActions"
            :cancel-text="$t('qx')"
          />
        </template>
        <div class="main-title">IFSC</div>
        <van-cell
          is-link
          :title="paymentSelectData.channelAccount || $t('請選擇')"
@@ -33,30 +45,22 @@
        />
        <template v-if="paymentSelectData.channelAccount !== undefined">
          <div class="main-title">{{ $t("請選擇充值賬戶") }}</div>
          <van-cell
            is-link
            :title="$t(rechargeAccountData.key) || $t('請選擇')"
          />
          <van-action-sheet
            v-model="rechargeAccountShow"
            :actions="rechargeAccountActions"
            :cancel-text="$t('qx')"
          />
          <div class="main-title">{{ $t("請選擇充值金額") }}</div>
          <div class="main-title">{{ $t("银行帐号") }}</div>
          <div class="white-input">
            <input type="number" :value="value" @input="inputValue" />
            <span class="myr"> {{ rechargeAccountData.symbolCode }}</span>
            <span>{{ paymentSelectData.bankNumber }}</span>
            <i
              class="iconfont icon-fuzhi fuzhi"
              @click="(e) => copyText(e, paymentSelectData.bankNumber)"
            ></i>
          </div>
          <div class="main-title">{{ $t("收款卡號") }}</div>
<!--          <div class="main-title">{{ $t("收款卡號") }}</div>
          <div class="white-input">
            <span>{{ paymentSelectData.channelAccount }}</span>
            <i
              class="iconfont icon-fuzhi fuzhi"
              @click="(e) => copyText(e, channelAccount)"
              @click="(e) => copyText(e, paymentSelectData.channelAccount)"
            ></i>
          </div>
          </div>-->
          <div class="main-title">{{ $t("收款銀行") }}</div>
          <div class="white-input">
            <span>{{ paymentSelectData.channelDesc }}</span>
@@ -73,7 +77,11 @@
              @click="(e) => copyText(e, paymentSelectData.channelName)"
            ></i>
          </div>
          <div class="main-title">{{ $t("請選擇充值金額") }}</div>
          <div class="white-input">
            <input type="number" :value="value" @input="inputValue" />
            <span class="myr"> {{ rechargeAccountData.symbolCode }}</span>
          </div>
          <div class="bottom-text">
            <div class="balance" style="margin-top: 10px">
@@ -198,9 +206,10 @@
      const res = await siteGetPayInfo();
      if (res.status === 0) {
        res.data.map((item) => {
          item.name = item.channelAccount;
          item.name = item.channelType;
        });
        this.paymentActions = res.data;
        console.log(this.paymentActions)
      }
      console.log(res);
    },