This commit is contained in:
zmj 2024-03-29 16:18:25 +08:00
parent 5600b48d8e
commit d15cb6e327
28 changed files with 28 additions and 9 deletions

BIN
public/index/CWGL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
public/index/CWGLACT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
public/index/GCJL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
public/index/GCJLACT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
public/index/SGGL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
public/index/SGGLACT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
public/index/XMGL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/index/XMGLACT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
public/index/XMZX.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
public/index/XMZXACT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
public/index/XT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
public/index/XTACT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
public/index/ZJZX.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

BIN
public/index/ZJZXACT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -7,7 +7,8 @@
</div> -->
<div class="mr-5 cursor-pointer flex items-center flex-col transition-all duration-300 h-28 "
@click="menuClick(item.id)" v-for="(item, index) in menuList" v-show="item.paths != 'workbench'">
<el-image class="w-[35px] h-[35px] mb-[5px]" :src="getImgById(item.id)" />
<el-image class="w-[35px] h-[35px] mb-[5px]"
:src="menuName == item.name ? getImgById(item.id)?.actImg : getImgById(item.id)?.img" />
{{ item.name }}
</div>
</div>
@ -42,14 +43,32 @@ useWatchRoute((route) => {
})
const getImgById = (id: number) => {
if (id == 173) return '/src/assets/images/XT.png';
else if (id == 174) return '/src/assets/images/SGGL.png';
else if (id == 1046) return '/src/assets/images/ZJZX.png';
else if (id == 1117) return '/src/assets/images/GCJL.png';
else if (id == 1399) return '/src/assets/images/XMGL.png';
else if (id == 1436) return '/src/assets/images/XMZX.png';
else if (id == 1548) return '/src/assets/images/CWGL.png';
else return "/"
if (id == 173) {
return { img: '/index/XTACT.png', actImg: "/index/XT.png" }
}
else if (id == 174) {
return { img: '/index/SGGLACT.png', actImg: "/index/SGGL.png" }
}
else if (id == 1046) {
return { img: '/index/ZJZXACT.png', actImg: "/index/ZJZX.png" }
}
else if (id == 1117) {
return { img: '/index/GCJLACT.png', actImg: "/index/GCJL.png" }
}
else if (id == 1399) {
return { img: '/index/XMGLACT.png', actImg: "/index/XMGL.png" }
}
else if (id == 1436) {
return { img: '/index/XMZXACT.png', actImg: "/index/XMZX.png" }
}
else if (id == 1548) {
return { img: '/index/CWGLACT.png', actImg: "/index/CWGL.png" }
}
}