dcc
2024-05-12 5211d68036c5dd6be38a517cf08e5446478395a9
src/page/user/recharge.vue
@@ -17,6 +17,18 @@
    </van-nav-bar>
    <main>
      <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">{{ $t("支持得支付渠道") }}</div>
        <van-cell
          is-link
@@ -33,22 +45,6 @@
        />
        <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="white-input">
            <input type="number" :value="value" @input="inputValue" />
            <span class="myr"> {{ rechargeAccountData.symbolCode }}</span>
          </div>
          <div class="main-title">{{ $t("收款卡號") }}</div>
          <div class="white-input">
            <span>{{ paymentSelectData.channelAccount }}</span>
@@ -73,7 +69,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">
@@ -201,6 +201,7 @@
          item.name = item.channelAccount;
        });
        this.paymentActions = res.data;
        console.log(this.paymentActions)
      }
      console.log(res);
    },