| | |
| | | v-if="detail.id"> |
| | | <template #trade> |
| | | <div class="buy-item mt-40 w-full mainBackground c2cColor"> |
| | | <div class="buy-item-title flex justify-between font-28 py-34 border-b-1 border-light-grey c2cColor"> |
| | | <div class="flex-1 text-center" :class="{ 'text-grey': type === 'num' }" @click="typeSwitch('amount')"> |
| | | <div class="buy-item-title flex justify-between font-28 py-34 border-b-1 border-light-grey textColor"> |
| | | <div class="flex-1 text-center" :class="{ 'textColor1': type === 'num' }" @click="typeSwitch('amount')"> |
| | | {{ $t('按金额购买') }} |
| | | </div> |
| | | <div class="flex-1 text-center" :class="{ 'text-grey': type === 'amount' }" @click="typeSwitch('num')"> |
| | | <div class="flex-1 text-center" :class="{ 'textColor1': type === 'amount' }" @click="typeSwitch('num')"> |
| | | {{ $t('按数量购买') }} |
| | | </div> |
| | | </div> |