From 872daddd00287cd44963483ba15f997d25a3da53 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Sat, 05 Jul 2025 11:54:34 +0800
Subject: [PATCH] stye

---
 src/components/Transform/trade-head/index.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/components/Transform/trade-head/index.vue b/src/components/Transform/trade-head/index.vue
index fddbef9..993e374 100644
--- a/src/components/Transform/trade-head/index.vue
+++ b/src/components/Transform/trade-head/index.vue
@@ -7,7 +7,7 @@
           <div class="flex items-center">
             <!-- 没有切换模式的 -->
 
-            <img v-if="isReturn" src="@/assets/image/icon_back_1.png" @click="backPath()" class="w-40 h-40 back mr-50"
+            <img v-if="isReturn" src="@/assets/image/icon_back.png" @click="backPath()" class="w-40 h-40 back mr-50"
               alt="">
             <template v-if="!isChange">
               <img src="../../../assets/theme/dark/image/black-convert.png" alt="convert-img" class="w-35 h-35"
@@ -16,7 +16,7 @@
             <!-- 在切换模式下 -->
             <template v-if="isChange">
               <template v-if="isNight">
-                <img src="../../../assets/image/icon_back_1.png" class="w-40 h-40 back mr-50" alt="" @click="backPath()">
+                <img src="../../../assets/image/icon_back.png" class="w-40 h-40 back mr-50" alt="" @click="backPath()">
                 <img src="./white-convert.png" alt="convert-img" class="w-35 h-35" @click="onSidebar" />
               </template>
               <template v-else>
@@ -290,17 +290,18 @@
       this.$emit('changeNight', !this.isNight)
     },
     backPath() {
-      if (this.$route.query?.from === 'trade') {
-        this.$router.push('/trade/index?tabActive=1')
-      } else if (this.$route.query.isOptional == 1) {
-        this.$router.push('/optional/index')
-      }
+      this.$router.go(-1)
+      // if (this.$route.query?.from === 'trade') {
+      //   this.$router.push('/trade/index?tabActive=1')
+      // } else if (this.$route.query.isOptional == 1) {
+      //   this.$router.push('/optional/index')
+      // }
       // else if (this.$route.query.isOptional == 2){
       //   this.$router.push('/optional/search')
       // }
-      else {
-        this.$router.push('/quotes/index?tabActive=1')
-      }
+      // else {
+      //   this.$router.push('/quotes/index?tabActive=1')
+      // }
     },
     //打开自选弹窗
     openCurrency() {

--
Gitblit v1.9.3