From 34f5733bc1f126c572580fa849b9403dfcddd84b Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 03 二月 2026 10:29:41 +0800
Subject: [PATCH] 通知列表

---
 src/views/main/components/ReturnBtn.vue |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/views/main/components/ReturnBtn.vue b/src/views/main/components/ReturnBtn.vue
index e20ef6e..ba3526b 100644
--- a/src/views/main/components/ReturnBtn.vue
+++ b/src/views/main/components/ReturnBtn.vue
@@ -1,16 +1,20 @@
 <template>
-  <el-button text class="pl-0 pr-2 my-1" @click="goBack">
-    <el-row align="middle">
-      <Icon icon="mingcute:home-6-line" width="16" height="16" style="color: var(--el-color-primary)" />
-      <el-text class="ml-1" style="color: var(--el-color-primary);">杩斿洖棣栭〉</el-text>
-    </el-row>
-  </el-button>
+  <el-row align="middle" class="pl-0 pr-2 py-2 cursor-p" @click="goBack">
+    <Icon icon="mingcute:home-6-line" width="16" height="16" :style="{color: this.color}" />
+    <el-text class="ml-1" :style="{color: this.color}">杩斿洖棣栭〉</el-text>
+  </el-row>
 </template>
 <script>
 export default {
+  props: {
+    color: {
+      type: String,
+      default: 'white'
+    }
+  },
   methods: {
     goBack() {
-      this.$router.replace('/main/home')
+      this.$router.go('-1')
     }
   }
 }

--
Gitblit v1.8.0