李凌
2025-10-15 7fc6bfe900790ec7c92bce85d5b20a95fbc06e65
src/views/my/transfer.vue
@@ -1,30 +1,34 @@
<template>
    <div class="transfer">
  <div class="transfer flexY" style="height: 100%">
        <fx-header :title="$t('划转')">
            <template v-slot:title>
                <div>{{ $t('划转') }}</div>
            </template>
        </fx-header>
        <div style="position: relative;">
            <div class="card">
    <div class="card flex-centerY">
      <div style="position: relative;flex:1">
        <div class="card flex-centerY" style="padding:10px">
                <!-- <van-field v-model="startValue" :label="$t('从')" type="digit" @blur="getassets" /> -->
                <div>{{ $t('从') }}</div>
                <div class="mt-3">{{ swapValue ? $t('资金账户') : $t('交易账户') }}</div>
          <div style="color: #999">{{ $t('从') }}</div>
          <div style="margin-left: 20px">{{ swapValue ? $t('资金账户') : $t('交易账户') }}</div>
            </div>
            <div class="card mt-5">
        <div class="card flex-centerY" style="padding:10px">
                <!-- <van-field v-model="endValue" :label="$t('至')" type="digit" @blur="getassets" /> -->
                <div>{{ $t('至') }}</div>
                <div class="mt-3">{{ swapValue ? $t('交易账户') : $t('资金账户') }}</div>
          <div style="color: #999">{{ $t('至') }}</div>
          <div style="margin-left: 20px">{{ swapValue ? $t('交易账户') : $t('资金账户') }}</div>
            </div>
            <img src="@/assets/imgs/my/交换.png" class="swap" @click="onSwap">
      </div>
      <img src="@/assets/imgs/my/交换.png" class="swap" style="position: relative;margin-right: 15px" @click="onSwap">
        </div>
        <div class="mt-10 transfer_label">{{ $t('资产') }}</div>
        <div class="card mt-3">
            <span>USDT</span>
    <div class="flex-centerY card mt-3" style="padding:5px 10px">
      <img src="@/assets/img/img_6.png" style="width:25px;height: 25px;margin-right: 10px">
      <div style="font-size: 12px">
        <div>USDT</div>
        <div style="color: #999">USDT</div>
      </div>
        </div>
        <div class="mt-10 transfer_label">{{ $t('数量') }}</div>
@@ -42,10 +46,13 @@
            <span>{{ $t('最多可转') }}</span>
            {{ maxMoneyRevise }} USDT
        </div>
        <van-button type="primary" round color="#f7b600" @click="submit" size="large" :disabled="!submitThrough">
    <div style="position: absolute;bottom: 15px;width: 100%">
      <div style="width: 100%" class="flex-center">
        <van-button type="primary" style="width: 90%;margin-left: -20px" color="#111" @click="submit" size="large" :disabled="!submitThrough">
            {{ $t('确认') }}
        </van-button>
      </div>
    </div>
    </div>
</template>
@@ -137,10 +144,6 @@
    }
    .swap {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 4rem;
    }