From 3a8d7ebd8475106965081c1dde022ea3642e9d93 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 14 Apr 2025 17:56:28 +0800
Subject: [PATCH] feat: 当前任务和历史任务分页传参改成地址后传参

---
 src/views/Home/HomeLeft/OverviewNext.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/views/Home/HomeLeft/OverviewNext.vue b/src/views/Home/HomeLeft/OverviewNext.vue
index 31f7ad9..916fc74 100644
--- a/src/views/Home/HomeLeft/OverviewNext.vue
+++ b/src/views/Home/HomeLeft/OverviewNext.vue
@@ -18,15 +18,14 @@
 			>
 				<div
 					class="table-item"
-					:class="[index % 2 == 1 ? '' : 'table-item-odd']"
+					:class="[index % 2 === 1 ? '' : 'table-item-odd']"
 					v-for="(item, index) in tableList"
 					:key="index"
 					@click="signMachineNestClick(item)"
-					@mouseover="changeIndex(index)"
-					@mouseout="changeIndexBack(index)"
+
 				>
 					<div class="name">
-						<img class="imageicon" src="/src/assets/images/home/homeLeft/overviewnext-way.png" alt="" />
+						<img class="imageicon" :src="overviewnextWay" alt="" />
 						<!-- <img class="yjzx-img" width="10" height="10" src="@/assets/images/home/homeLeft/table-zx.png" alt="" /> -->
 						<img width="13" height="15" src="../../../assets/images/home/homeLeft/table-icon.png" alt="" />
 						{{ item.nickname }}
@@ -55,6 +54,8 @@
 import MachineNestTotal from './components/MachineNestTotal.vue'
 import { selectDevicePage } from '@/api/home/machineNest.js'
 import { useStore } from 'vuex'
+
+import overviewnextWay from '@/assets/images/home/homeLeft/overviewnext-way.png'
 
 const store = useStore()
 
@@ -148,7 +149,7 @@
 			line-height: 33px;
 			margin-bottom: 13px;
 			.name {
-				margin-left: 60px;
+				margin-left: 46px;
 			}
 		}
 		.table-body {
@@ -204,12 +205,12 @@
 				cursor: pointer;
 			}
 			.active {
-				color: #8effac;
+				color: #ffa768;
 				background: linear-gradient(90deg, rgba(12, 45, 92, 1) 0%, #154671 50%, rgba(12, 45, 92, 1) 100%),
 					linear-gradient(90deg, rgba(12, 45, 92, 1) 0%, rgba(12, 45, 92, 1) 50%, rgba(12, 45, 92, 1) 100%);
 			}
 			.idle-active {
-				color: #ffa768;
+				color: #8effac;
 			}
 			.imageicon {
 				object-fit: cover;

--
Gitblit v1.9.3