| | |
| | | </div> --> |
| | | <div v-if="available.length > 0" class="labelColor"> |
| | | {{ $t('可用数量') }}: |
| | | <span>{{ available }}</span> |
| | | <span class="zi">{{ available }}</span> |
| | | </div> |
| | | </div> |
| | | <div style="box-sizing: border-box" class="w-full rounded mt-22 flex items-center box-border py-3 inputBackground"> |
| | | <div style="box-sizing: border-box" class="w-full rounded mt-22 flex items-center box-border py-3"> |
| | | <div class="flex border-r-gray border-white items-center" @click="onShowActionSheet"> |
| | | <img :src="`${HOST_URL}/symbol/${type == 1 ? iconImg1 : iconImg2}.png`" alt="logo" |
| | | class="rounded-full mr-5 currency-icon" /> |
| | |
| | | <img src="./icon-arrow.png" alt="logo" class="w-12 h-8 icon-arrow" /> |
| | | </div> |
| | | <div class="input-wrap flex justify-between flex-1 items-center ml-10"> |
| | | <input placeholder="" v-if="type == 1" type="number" class="h-40 pl-10 border-none inputBackground textColor" |
| | | <input placeholder="" v-if="type == 1" type="number" class="h-40 pl-10 border-none textColor zi" |
| | | v-model="oneValue" @input="onInput" :disabled="disabled" /> |
| | | <input placeholder="" v-if="type == 2" type="number" class="h-40 pl-10 border-none inputBackground textColor" |
| | | :value="value" @input="onInput" :disabled="disabled" /> |
| | | <input placeholder="" v-if="type == 2" type="number" class="h-40 pl-10 border-none textColor zi" :value="value" |
| | | @input="onInput" :disabled="disabled" /> |
| | | </div> |
| | | <!-- <div v-if="showMax" class="pr-20" @click="onMax">{{ $t('最大') }}</div> --> |
| | | </div> |
| | | <div class="flex justify-end" v-if="showMax"> |
| | | <van-button type="default" round size="small" @click="onMax">{{ $t('最大') }}</van-button> |
| | | <van-button type="default" round size="small" color="#383665" style="color: #6D5FDA;" @click="onMax">{{ $t('最大') }}</van-button> |
| | | </div> |
| | | <div class="flex justify-between font-22 mt-15 text-grey"> |
| | | <p v-for="(tip, index) in tips" :key="index">{{ tip }}</p> |
| | |
| | | @import "@/assets/init.scss"; |
| | | |
| | | #cryptos { |
| | | |
| | | font-size: 30px; |
| | | |
| | | .zi { |
| | | color: #6D5FDA; |
| | | font-weight: 600; |
| | | } |
| | | |
| | | .input-wrap { |
| | | // border-left: 1px solid #3E4968; |
| | | padding-left: 30px; |
| | | |
| | | input { |
| | | background: transparent; |
| | | } |
| | | } |
| | | |
| | | .van-action-sheet__item { |