| | |
| | | <p>{{ $t('买入') }}</p> |
| | | <p class="flex justify-between font-22"> |
| | | <span style="margin-right: -10px;">{{ $t('价格') }}{{ queryType == 'cryptos' ? '(USDT)' : '(USD)' |
| | | }}</span> |
| | | }}</span> |
| | | <span class="buy-title">{{ $t('数量') }}({{ symbolData.toUpperCase() }})</span> |
| | | </p> |
| | | </li> |
| | |
| | | <span class="flex-1">{{ $t('方向') }}</span> |
| | | <span class="flex-1">{{ $t('价格') }}{{ queryType == 'cryptos' ? '(USDT)' : '(USD)' }}</span> |
| | | <span class="flex-1 flex justify-center buy-title">{{ $t('数量') }}({{ symbolData.toUpperCase() |
| | | }})</span> |
| | | }})</span> |
| | | </li> |
| | | <li v-for="(item, index) in deals" :key="item.ts + item.price + item.amount || index" |
| | | class="flex justify-between mt-30"> |
| | |
| | | import { mapGetters } from 'vuex'; |
| | | import { fixDate } from "@/utils"; |
| | | import { WS_URL } from '@/config'; |
| | | import { strToArr } from "@/utils/utis"; |
| | | import PopupDelivery from "@/components/Transform/popup-delivery/index.vue"; |
| | | import PopupConfirmOrder from '@/components/Transform/popup-confirm-order/index.vue' |
| | | import deepChart from '@/components/Transform/deepChart/index.vue' |
| | |
| | | _getHomeList(this.symbol).then(data => { |
| | | // console.log(data[0]) |
| | | this.quote = data[0] |
| | | this.symbolData = data[0].symbol_data |
| | | this.symbolData = strToArr(data[0].name, '/')[0] |
| | | this.$nextTick(() => { |
| | | if (!this.sockets.quote && this.symbol) { |
| | | this.startQuoteScoket() |