From f56466c7f911da7bf71bb087fc4d395782f56f09 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Sat, 30 Mar 2024 17:56:33 +0800 Subject: [PATCH] add --- src/layout/default/components/header/menuLi.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/layout/default/components/header/menuLi.vue b/src/layout/default/components/header/menuLi.vue index 9f2b7f1..f506222 100644 --- a/src/layout/default/components/header/menuLi.vue +++ b/src/layout/default/components/header/menuLi.vue @@ -12,7 +12,7 @@
- {{ item.name }} + {{ item.name }} @@ -50,30 +50,30 @@ useWatchRoute((route) => { const getImgById = (id: number) => { if (id == 173) { - return { img: '/index/XTACT.png', actImg: "/index/XT.png" } + return { img: '/index/XTACT.png', actImg: "/index/XT.png", color: '#8FC814' } } else if (id == 174) { - return { img: '/index/SGGLACT.png', actImg: "/index/SGGL.png" } + return { img: '/index/SGGLACT.png', actImg: "/index/SGGL.png", color: '#4073FA' } } else if (id == 1046) { - return { img: '/index/ZJZXACT.png', actImg: "/index/ZJZX.png" } + return { img: '/index/ZJZXACT.png', actImg: "/index/ZJZX.png", color: '#F8BC23' } } else if (id == 1117) { - return { img: '/index/GCJLACT.png', actImg: "/index/GCJL.png" } + return { img: '/index/GCJLACT.png', actImg: "/index/GCJL.png", color: '#336DE8' } } else if (id == 1399) { - return { img: '/index/XMGLACT.png', actImg: "/index/XMGL.png" } + return { img: '/index/XMGLACT.png', actImg: "/index/XMGL.png", color: '#FF820C' } } else if (id == 1436) { - return { img: '/index/XMZXACT.png', actImg: "/index/XMZX.png" } + return { img: '/index/XMZXACT.png', actImg: "/index/XMZX.png", color: '#8FC814' } } else if (id == 1548) { - return { img: '/index/CWGLACT.png', actImg: "/index/CWGL.png" } + return { img: '/index/CWGLACT.png', actImg: "/index/CWGL.png", color: '#F7BB20' } } } \ No newline at end of file