Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-www-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-www-pc
Commits
5c931375
提交
5c931375
authored
8月 09, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 新增职业认证
上级
0dc0d1c5
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
55 行增加
和
40 行删除
+55
-40
Head.vue
components/Head.vue
+55
-40
没有找到文件。
components/Head.vue
浏览文件 @
5c931375
...
...
@@ -38,36 +38,28 @@
<
template
v-for=
"(item, index) in navData"
>
<li
:key=
"index"
>
<div
:class=
"getNameActive(item)"
>
<template
v-if=
"!item.path"
>
<template
v-if=
"item.click"
>
<span
@
click=
"showEnroll"
v-html=
"item.name"
></span>
</
template
>
<
template
v-else
v-html=
"item.name"
>
</
template
>
</template>
<
template
v-else
>
<nuxt-link
:to=
"item.path"
>
<div
v-html=
"item.name"
></div></nuxt-link>
</
template
>
<AppLink
:to=
"item.path"
>
{{
item
.
name
}}
</AppLink>
</div>
<div
class=
"child-item"
v-if=
"item.child
er
n"
>
<div
class=
"child-item"
v-if=
"item.child
re
n"
>
<div
class=
"one-level"
>
<
template
v-for=
"(level2Item, level2Index) in item.child
er
n"
>
<template
v-for=
"(level2Item, level2Index) in item.child
re
n"
>
<div
:class=
"$route.path === level2Item.path || level2Item.isShow ? 'li active' : 'li'"
:key=
"level2Index + 'level2'"
@
mouseenter=
"levelShow(level2Item)"
@
mouseleave=
"levelShow(level2Item, 'out')"
>
<div
@
click=
"goPage(level2Item.path, level2Item.pathType)"
class=
"name"
:class=
"isEn === true ? 'name1' : ''"
v-html=
"level2Item.name"
></div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.child
er
n"
></div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.child
re
n"
></div>
</div>
</
template
>
</div>
<
template
v-for=
"(level2Item, level2Index) in item.child
er
n"
>
<
template
v-for=
"(level2Item, level2Index) in item.child
re
n"
>
<div
class=
"two-level"
:key=
"level2Index + 'two-level2'"
v-if=
"level2Item.isShow"
@
mouseenter=
"level3Show"
@
mouseleave=
"level3Show(level2Item, 'out')"
>
<div
@
click=
"goPage(level3Item.path, level3Item.pathType)"
:class=
"isEn === true ? 'name1' : 'name'"
v-for=
"(level3Item, level3Index) in level2Item.child
er
n"
v-for=
"(level3Item, level3Index) in level2Item.child
re
n"
:key=
"level3Index + level3Item"
>
{{
level3Item
.
name
}}
</div>
...
...
@@ -81,14 +73,17 @@
</div>
</template>
<
script
>
import
AppLink
from
'@/components/Link'
export
default
{
components
:
{
AppLink
},
data
()
{
return
{
navData
:
[
{
name
:
this
.
$t
(
'menu.about'
),
path
:
'/about/introduce'
,
child
er
n
:
[
child
re
n
:
[
{
name
:
this
.
$t
(
'menu.aboutChild.about'
),
isShow
:
false
,
...
...
@@ -120,11 +115,11 @@ export default {
{
name
:
'产教融合'
,
path
:
'/digital/yx_1'
,
child
er
n
:
[
child
re
n
:
[
{
name
:
'院校'
,
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
'IDE数字经济产业学院'
,
path
:
'/digital/yx_2'
...
...
@@ -146,7 +141,7 @@ export default {
{
name
:
'政府'
,
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
'数字技能公共实训基地'
,
path
:
'/digital/zf_1'
...
...
@@ -156,7 +151,7 @@ export default {
// {
// name: '企业',
// isShow: false,
// child
er
n: [
// child
re
n: [
// {
// name: '全球数字领导力学者博士项目',
// path: 'https://dld.ezijing.com',
...
...
@@ -178,7 +173,7 @@ export default {
// {
// name: this.$t('menu.base'),
// path: '/practice',
// child
er
n: [
// child
re
n: [
// {
// name: this.$t('menu.baseChild.industry'),
// path: '/practice/industry',
...
...
@@ -189,7 +184,7 @@ export default {
// path: '/practice/laboratory',
// isShow: false,
// isShowChild: false,
// child
er
n: [
// child
re
n: [
// {
// name: '商业数据分析实验室',
// path: '/practice/laboratory/analysis'
...
...
@@ -205,7 +200,7 @@ export default {
// path: '/practice/skill',
// isShow: false,
// isShowChild: false,
// child
er
n: [
// child
re
n: [
// {
// name: '1+X金融产品数字化营销职业技能等级证书',
// path: 'https://x.ezijing.com/index',
...
...
@@ -244,7 +239,7 @@ export default {
// {
// name: this.$t('menu.industrial'),
// path: '/services',
// child
er
n: [
// child
re
n: [
// {
// name: this.$t('menu.industrialChild.saas'),
// path: 'https://e-saas.ezijing.com/',
...
...
@@ -262,7 +257,7 @@ export default {
// isShow: false,
// isShowChild: false,
// child
er
n: [
// child
re
n: [
// {
// name: this.$t('menu.industrialCollegeChild.data'),
// path: '/practice/laboratory/analysis'
...
...
@@ -298,11 +293,11 @@ export default {
{
name
:
this
.
$t
(
'menu.degree'
),
path
:
'/internationalDegree'
,
child
er
n
:
[
child
re
n
:
[
{
name
:
this
.
$t
(
'menu.degreeChild.master'
),
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
this
.
$t
(
'menu.degreeChild.masterChild.msf'
),
path
:
'https://kelley.ezijing.com'
,
...
...
@@ -328,7 +323,7 @@ export default {
{
name
:
'EMBA'
,
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
'领航数字时代EMBA'
,
path
:
'http://marywood.ezijing.com/'
,
...
...
@@ -339,7 +334,7 @@ export default {
{
name
:
this
.
$t
(
'menu.degreeChild.mba'
),
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
this
.
$t
(
'menu.degreeChild.mbaChild.mba'
),
path
:
'http://marywood.ezijing.com/'
,
...
...
@@ -361,7 +356,7 @@ export default {
{
name
:
'工商管理博士DBA'
,
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
'全球科技创新管理学者项目'
,
path
:
'https://cbu-online.ezijing.com/'
,
...
...
@@ -372,7 +367,7 @@ export default {
{
name
:
'企业家学者DBA'
,
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
'数字领导力企业家学者(DBA)'
,
path
:
'https://dld.ezijing.com/'
,
...
...
@@ -385,11 +380,11 @@ export default {
{
name
:
this
.
$t
(
'menu.abroad'
),
path
:
'/studyAbroad'
,
child
er
n
:
[
child
re
n
:
[
{
name
:
this
.
$t
(
'menu.degreeChild.master'
),
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
this
.
$t
(
'menu.degreeChild.masterChild.sbu'
),
path
:
'https://sbu-plus.ezijing.com/'
,
...
...
@@ -415,7 +410,7 @@ export default {
{
name
:
this
.
$t
(
'menu.degreeChild.doctor'
),
isShow
:
false
,
child
er
n
:
[
child
re
n
:
[
{
name
:
this
.
$t
(
'menu.degreeChild.doctorChild.cbu_plus'
),
path
:
'https://cbu-plus.ezijing.com/'
,
...
...
@@ -430,6 +425,26 @@ export default {
}
]
},
{
name
:
'职业认证'
,
children
:
[
{
name
:
'1+X金融产品数字化营销'
,
path
:
'https://x.ezijing.com'
,
pathType
:
1
},
{
name
:
'私人财富风险管理(PRP)课程'
,
path
:
'https://prp.ezijing.com'
,
pathType
:
1
},
{
name
:
'金融保险(FI)系列课程'
,
path
:
'https://paa.ezijing.com'
,
pathType
:
1
}
]
},
{
name
:
this
.
$t
(
'menu.story'
),
path
:
'/alumnus/story'
,
...
...
@@ -445,9 +460,9 @@ export default {
this
.
$store
.
dispatch
(
'checkLogin'
)
if
(
this
.
isEn
)
{
this
.
navData
.
map
(
item
=>
{
item
?.
child
er
n
?.
map
(
it
=>
{
item
?.
child
re
n
?.
map
(
it
=>
{
if
(
it
.
isShowChild
===
false
)
{
it
.
child
er
n
=
''
it
.
child
re
n
=
''
}
return
it
})
...
...
@@ -481,7 +496,7 @@ export default {
}
},
levelShow
(
item
,
isOut
)
{
if
(
item
.
child
er
n
)
{
if
(
item
.
child
re
n
)
{
if
(
isOut
)
{
clearTimeout
(
this
.
time
)
this
.
time
=
setTimeout
(()
=>
{
...
...
@@ -504,8 +519,8 @@ export default {
},
navLeave
()
{
this
.
navData
.
map
(
item
=>
{
if
(
item
.
child
er
n
)
{
item
.
child
er
n
.
map
(
cItem
=>
{
if
(
item
.
child
re
n
)
{
item
.
child
re
n
.
map
(
cItem
=>
{
cItem
.
isShow
=
false
})
}
...
...
@@ -529,8 +544,8 @@ export default {
return
'name active'
}
else
{
let
className
=
'name'
if
(
item
.
child
er
n
)
{
item
.
child
er
n
.
map
(
cData
=>
{
if
(
item
.
child
re
n
)
{
item
.
child
re
n
.
map
(
cData
=>
{
cData
.
path
===
currentPath
&&
(
className
=
'name active'
)
})
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论