1
李凌
2025-12-22 6cd1d790d0a55b8f763de8d1d129cca2772393e4
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()
@@ -549,8 +550,8 @@
}
:deep(.van-tabs__nav) {
  // background-color: $night !important;
  background-color: $inp-b !important;
  background-color: $night !important;
  // background-color: $inp-b !important;
}
@keyframes animate1 {