| | |
| | | <p class="font-70 font-600" :class="quote.change_ratio > 0 ? 'text-green' : 'text-red'"> |
| | | {{ quote.close || '--' }}</p> |
| | | <p class="font-22 mt-10">≈ {{ currency.currency_symbol }}{{ quote.close ? (quote.close * |
| | | currency.rate).toFixed(2) : '--' }} |
| | | currency.rate).toFixed(6) : '--' }} |
| | | <span :class="quote.change_ratio > 0 ? 'text-green' : 'text-red'">{{ quote.change_ratio |
| | | || |
| | | '--' }}%</span> |
| | |
| | | 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' |
| | |
| | | ...mapGetters({ currency: 'home/currency', userInfo: 'user/userInfo' }) |
| | | }, |
| | | mounted() { |
| | | console.log('sss') |
| | | console.log('sss', this.$route.query) |
| | | //this.continueOrder() |
| | | this.kineType = this.$route.query.kineType |
| | | if (this.$route.query.type) { |
| | |
| | | _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() |
| | |
| | | } |
| | | |
| | | :deep(.van-tabs__nav) { |
| | | // background-color: $night !important; |
| | | background-color: $inp-b !important; |
| | | background-color: $night !important; |
| | | // background-color: $inp-b !important; |
| | | } |
| | | |
| | | @keyframes animate1 { |