Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-www-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-www-pc
Commits
51e1c661
提交
51e1c661
authored
5月 19, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
b2b6b896
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
70 行增加
和
9 行删除
+70
-9
roadMap.js
assets/roadMap.js
+21
-2
index.vue
pages/roadmap/index.vue
+49
-7
没有找到文件。
assets/roadMap.js
浏览文件 @
51e1c661
...
@@ -63,7 +63,6 @@ export const roadMapList = [
...
@@ -63,7 +63,6 @@ export const roadMapList = [
},
},
{
{
project_name
:
'项目名称:'
,
project_name
:
'项目名称:'
,
position
:
'right-start'
,
position
:
'right-start'
,
isShow
:
false
,
isShow
:
false
,
icon
:
'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon3.png'
,
icon
:
'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon3.png'
,
...
@@ -83,6 +82,11 @@ export const roadMapList = [
...
@@ -83,6 +82,11 @@ export const roadMapList = [
tenant
:
'caas'
,
tenant
:
'caas'
,
name
:
'餐饮管理方向MBA'
,
name
:
'餐饮管理方向MBA'
,
href
:
'https://caas.ezijing.com'
href
:
'https://caas.ezijing.com'
},
{
tenant
:
'sofia'
,
name
:
'金融方向MBA'
,
href
:
'https://sofia.ezijing.com'
}
}
],
],
checkList
:
[
checkList
:
[
...
@@ -144,36 +148,47 @@ export const roadMapList = [
...
@@ -144,36 +148,47 @@ export const roadMapList = [
checkList
:
[]
checkList
:
[]
}
}
]
]
export
const
homeList
=
[
export
const
home
Map
List
=
[
{
{
project_name
:
'项目名称:'
,
position
:
'left'
,
position
:
'left'
,
icon
:
'https://webapp-pub.ezijing.com/www/pc/lifeLearning/home.png'
,
icon
:
'https://webapp-pub.ezijing.com/www/pc/lifeLearning/home.png'
,
isShow
:
false
,
isShow
:
false
,
title
:
'职业证书'
,
title
:
'职业证书'
,
itemList
:
[
itemList
:
[
{
{
tenant
:
'x1'
,
name
:
'1+X'
,
name
:
'1+X'
,
href
:
'https://x.ezijing.com/'
href
:
'https://x.ezijing.com/'
},
},
{
{
tenant
:
''
,
name
:
'私人财富风险管理顾问(PRP)'
,
name
:
'私人财富风险管理顾问(PRP)'
,
href
:
'https://prp.ezijing.com'
href
:
'https://prp.ezijing.com'
},
},
{
{
tenant
:
''
,
name
:
'高管培训-数字创新管理'
,
name
:
'高管培训-数字创新管理'
,
onClick
()
{
onClick
()
{
Message
(
'敬请期待'
)
Message
(
'敬请期待'
)
}
}
},
},
{
{
tenant
:
''
,
name
:
'互联网营销师'
,
name
:
'互联网营销师'
,
href
:
'https://vst.ezijing.com'
href
:
'https://vst.ezijing.com'
},
},
{
{
tenant
:
''
,
name
:
'工业机器人系统操作员'
,
name
:
'工业机器人系统操作员'
,
href
:
'https://vst.ezijing.com'
href
:
'https://vst.ezijing.com'
},
},
{
{
tenant
:
''
,
name
:
'大数据技术人员'
,
name
:
'大数据技术人员'
,
href
:
'https://vst.ezijing.com'
href
:
'https://vst.ezijing.com'
}
}
...
@@ -186,6 +201,8 @@ export const homeList = [
...
@@ -186,6 +201,8 @@ export const homeList = [
title
:
'实习就业'
,
title
:
'实习就业'
,
itemList
:
[
itemList
:
[
{
{
tenant
:
''
,
name
:
'敬请期待'
,
name
:
'敬请期待'
,
href
:
''
href
:
''
}
}
...
@@ -198,6 +215,8 @@ export const homeList = [
...
@@ -198,6 +215,8 @@ export const homeList = [
title
:
'企业培训'
,
title
:
'企业培训'
,
itemList
:
[
itemList
:
[
{
{
tenant
:
''
,
name
:
'敬请期待'
,
name
:
'敬请期待'
,
href
:
''
href
:
''
}
}
...
...
pages/roadmap/index.vue
浏览文件 @
51e1c661
...
@@ -33,8 +33,15 @@
...
@@ -33,8 +33,15 @@
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"banner_homeList"
>
<div
class=
"banner_homeList"
>
<div
v-for=
"(itemRoad, indexRoad) in homeList"
:key=
"indexRoad"
>
<div
v-for=
"(itemRoad, indexRoad) in homeListNew"
:key=
"indexRoad"
>
<el-popover
trigger=
"hover"
popper-class=
"popover"
:placement=
"itemRoad.position"
v-model=
"itemRoad.isShow"
>
<el-popover
trigger=
"hover"
popper-class=
"popover"
:placement=
"itemRoad.position"
v-model=
"itemRoad.isShow"
:title=
"itemRoad.project_name"
@
show=
"handleShow(itemRoad)"
>
<div>
<div>
<div
v-for=
"(it, indexItem) in itemRoad.itemList"
:key=
"indexItem"
class=
"project_name"
>
<div
v-for=
"(it, indexItem) in itemRoad.itemList"
:key=
"indexItem"
class=
"project_name"
>
<AppLink
:data=
"it"
>
<AppLink
:data=
"it"
>
...
@@ -57,12 +64,13 @@
...
@@ -57,12 +64,13 @@
baseUrl=
"/internationalDegree"
baseUrl=
"/internationalDegree"
></ProjectCard>
></ProjectCard>
<ProjectCard
title=
"留学中心"
:list=
"studyAbroadProjectList"
baseUrl=
"/studyAbroad"
></ProjectCard>
<ProjectCard
title=
"留学中心"
:list=
"studyAbroadProjectList"
baseUrl=
"/studyAbroad"
></ProjectCard>
{{ learningInfo }}
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
roadMapList
,
homeList
}
from
'@/assets/roadMap'
import
{
roadMapList
,
home
Map
List
}
from
'@/assets/roadMap'
import
ProjectCard
from
'@/components/ProjectCard.vue'
import
ProjectCard
from
'@/components/ProjectCard.vue'
import
AppLink
from
'@/components/Link.vue'
import
AppLink
from
'@/components/Link.vue'
...
@@ -130,12 +138,45 @@ export default {
...
@@ -130,12 +138,45 @@ export default {
}
else
{
}
else
{
return
this
.
roadList
return
this
.
roadList
}
}
},
homeListNew
()
{
if
(
this
.
learning
.
length
>
0
)
{
console
.
log
(
this
.
homeList
,
'0000'
)
this
.
homeList
.
map
(
item
=>
{
// 最新在读显示 弹框 显示我的项目
if
(
item
.
itemList
.
find
(
it
=>
it
.
tenant
===
this
.
learningInfo
[
0
].
tenant
))
{
item
.
isShow
=
true
item
.
project_name
=
'我的项目:'
}
else
if
(
!
this
.
otherInfo
.
find
(
item
=>
item
.
status
===
'1'
)
&&
this
.
otherInfo
.
find
(
item
=>
item
.
status
===
'0'
)
)
{
this
.
graduateInfo
[
0
].
isShow
=
true
this
.
graduateInfo
[
0
].
project_name
=
'我的项目:'
}
const
arr
=
[]
this
.
otherInfo
.
forEach
(
itL
=>
{
item
.
itemList
.
forEach
(
itP
=>
{
if
(
itL
.
tenant
===
itP
.
tenant
)
{
arr
.
push
(
itP
)
item
.
project_name
=
'我的项目:'
}
})
})
if
(
item
.
project_name
===
'我的项目:'
)
{
item
.
itemList
=
arr
}
})
return
this
.
homeList
}
else
{
return
this
.
homeList
}
}
}
},
},
data
()
{
data
()
{
return
{
return
{
roadList
:
roadMapList
,
roadList
:
roadMapList
,
homeList
:
homeList
,
homeList
:
home
Map
List
,
// 热门专业
// 热门专业
internationalDegreeProjectList
:
[
internationalDegreeProjectList
:
[
{
{
...
@@ -171,8 +212,9 @@ export default {
...
@@ -171,8 +212,9 @@ export default {
methods
:
{
methods
:
{
// 展示时触发 ,只显示一个
// 展示时触发 ,只显示一个
handleShow
(
val
)
{
handleShow
(
val
)
{
if
(
this
.
list
)
{
const
allList
=
[...
this
.
list
,
...
this
.
homeListNew
]
this
.
list
.
map
(
item
=>
{
if
(
allList
)
{
allList
.
map
(
item
=>
{
if
(
item
.
title
!==
val
.
title
)
{
if
(
item
.
title
!==
val
.
title
)
{
item
.
isShow
=
false
item
.
isShow
=
false
}
}
...
@@ -212,7 +254,7 @@ export default {
...
@@ -212,7 +254,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.project_name
:hover
{
.project_name
:hover
{
text-shadow
:
2px
2px
5px
rgb
(
143
,
141
,
141
)
;
text-shadow
:
2px
2px
5px
#aa1941
;
}
}
.line
{
.line
{
width
:
281px
;
width
:
281px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论