1
李凌
2025-10-09 045235121ba199cc885a8dd4f21b65fea8cdcc2a
src/views/cryptos/TrendDetails/index.vue
@@ -20,7 +20,7 @@
              <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>
@@ -228,6 +228,7 @@
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'
@@ -297,7 +298,7 @@
    ...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) {
@@ -377,7 +378,7 @@
      _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()