点图标返回首页
This commit is contained in:
parent
f78f2f1292
commit
1e7aca42fd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue