From 401ed176c9f1bdd97ccdf827d9454b11a3891f79 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期五, 08 八月 2025 23:10:50 +0800
Subject: [PATCH] 8.8 初始版本
---
src/layout/components/headerPage.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/layout/components/headerPage.vue b/src/layout/components/headerPage.vue
index 833b873..67a842e 100644
--- a/src/layout/components/headerPage.vue
+++ b/src/layout/components/headerPage.vue
@@ -2,7 +2,7 @@
<div class="pageHeader">
<div class="header-box">
<ul class="page-title">
- <img class="zylogo" src="../../assets/images/home/zylogo.png" alt="">
+ <img @click="goHome()" class="zylogo" src="../../assets/images/home/zylogo.png" alt="">
<li class="separator"></li>
<img class="sylogo" src="../../assets/images/home/sylogo.svg" alt="">
<li class="title-text">{{ t('message.logoTitle') }}</li>
@@ -40,6 +40,10 @@
},
});
+const goHome = () => {
+ router.push({ path: '/' });
+};
+
</script>
@@ -51,7 +55,7 @@
justify-content: center;
width: 100%;
background-color: #ecf9f6;
-
+ height: 78px;
}
.header-box {
@@ -71,6 +75,7 @@
.zylogo {
width: 21%;
+ cursor: pointer;
}
.separator {
@@ -120,6 +125,7 @@
}
.title-text {
+ width: 450px;
padding-left: 14px;
font-weight: bold;
font-size: 20px;
--
Gitblit v1.9.1