点图标返回首页

This commit is contained in:
a0049873 2022-08-12 16:34:13 +08:00
parent f78f2f1292
commit 1e7aca42fd
1 changed files with 8 additions and 1 deletions

View File

@ -6,7 +6,7 @@
props.showView === 'algorithm-details' ? 'blue' : '',
]"
>
<div class="name">
<div class="name" @click="goToHome">
<div class="name-bg" v-if="!whoShow1.itShowXiHaiAn"></div>
<div class="name-bg-xihaian" v-else></div>
<div class="name-content">
@ -178,6 +178,12 @@
}
}
}
//
const goToHome = () => {
router.push({
path: '/home',
})
}
//
const jumpPage = (item) => {
// console.log(item)
@ -355,6 +361,7 @@
font-size: 0.16rem;
}
.name {
cursor: pointer;
font-size: 0.22rem;
font-family: header-typeface;
margin-right: 0.2rem;