| | |
| | | <van-icon name="add-o" @click="$router.push('/cryptos/exchangePage')" class="font-30 add-icon" /> |
| | | <!-- <img @click="$router.push('/exchange/exchangePage')" src="@/assets/image/public/switch.png" class="w-24 h-24" /> --> |
| | | </div> |
| | | <div style="border-radius: 3.5rem;" |
| | | <div style="border-radius: 6px;" |
| | | class="w-full h-90 lh-90 flex justify-center text-white text-center rounded buyandSell mt-70" |
| | | :class="currentType === 'open' ? 'bg-green' : 'bg-red'" @click="order()"> |
| | | {{ currentType == 'open' ? $t('买入') : $t('卖出') }} |
| | |
| | | } |
| | | |
| | | .open { |
| | | background: #06CDA5; |
| | | background: #24c18d; |
| | | } |
| | | |
| | | .close { |
| | | background: #f43368; |
| | | background: #f14b3f; |
| | | } |
| | | } |
| | | |