提交 6d5bc022 authored 作者: pengxiaohui's avatar pengxiaohui

项目介绍和校友风采静态页

上级 06fef23b
......@@ -63,22 +63,22 @@
navData: [
{
name: '项目介绍',
path: '/about/introduce',
path: '/project-intro/bg',
childern: [
{
name: '项目背景',
isShow: false,
path: '/about/introduce'
path: '/project-intro/bg'
},
{
name: '项目特色',
isShow: false,
path: '/about/culture'
path: '/project-intro/charac'
},
{
name: '证书授予',
isShow: false,
path: '/about/news'
path: '/project-intro/certificate'
}
]
},
......@@ -137,11 +137,13 @@
childern: [
{
name: '杰出校友',
isShow: false
isShow: false,
path: '/alumni/outstanding'
},
{
name: '校友分享',
isShow: false
isShow: false,
path: '/alumni/sharing'
}
]
}
......
......@@ -29,8 +29,15 @@ export default {
methods: {
goDetail(item) {
if (item.source === '') {
const path = this.$route.path
let routePath = ''
if (path.indexOf('alumni') > -1) {
routePath = '/alumni/detail'
} else {
routePath = this.$route.path.indexOf('hot') === -1 ? '/news/interview-detail' : '/news/hot-detail'
}
this.$router.push({
path: this.$route.path.indexOf('hot') === -1 ? '/news/interview-detail' : '/news/hot-detail',
path: routePath,
query: {
id: item.id
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论