提交 bfd800ea authored 作者: matian's avatar matian

新增终身学习

上级 3e6fc956
...@@ -36,7 +36,9 @@ ...@@ -36,7 +36,9 @@
<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">
<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">
{{ it.name }} <AppLink :data="it">
{{ it.name }}
</AppLink>
</div> </div>
</div> </div>
<div slot="reference" class="banner_homeList_con"> <div slot="reference" class="banner_homeList_con">
...@@ -75,7 +77,7 @@ export default { ...@@ -75,7 +77,7 @@ export default {
this.roadList.forEach(item => { this.roadList.forEach(item => {
if (item.projectList.find(it => it.tenant === this.learning[0].tenant)) { if (item.projectList.find(it => it.tenant === this.learning[0].tenant)) {
item.isShow = true item.isShow = true
item.project_name = '我的项目' item.project_name = '我的项目:'
item.projectList = item.projectList.filter(it => it.tenant === this.learning[0].tenant) item.projectList = item.projectList.filter(it => it.tenant === this.learning[0].tenant)
} }
}) })
......
import Vue from 'vue'
import { Message } from 'element-ui'
//挂载到Vue全局对象上
Vue.prototype.$message = Message
export const roadMapList = [ export const roadMapList = [
{ {
project_name: '项目名称', project_name: '项目名称:',
isShow: false, isShow: false,
position: 'top', position: 'top',
icon: 'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon1.png', icon: 'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon1.png',
title: '职业教育', title: '职业教育',
projectList: [ projectList: [
{ {
tenant: 'x1', tenant: '',
name: '紫荆数字经济产业学院', name: '紫荆数字经济产业学院',
href: 'https://www.baidu.com/' href: 'https://www.baidu.com/'
} }
...@@ -24,21 +30,22 @@ export const roadMapList = [ ...@@ -24,21 +30,22 @@ export const roadMapList = [
] ]
}, },
{ {
project_name: '项目名称', project_name: '项目名称:',
isShow: false, isShow: false,
position: 'left-end', position: 'left-end',
icon: 'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon2.png', icon: 'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon2.png',
title: '本科', title: '本科',
projectList: [ projectList: [
{ {
tenant: '',
name: '紫荆数字经济产业学院', name: '紫荆数字经济产业学院',
href: '' href: ''
}, },
{ {
tenant: '',
name: '国际大一(1+3)即将推出', name: '国际大一(1+3)即将推出',
onClick() { onClick() {
alert('即将推出') Message('即将推出')
} }
} }
], ],
...@@ -54,11 +61,10 @@ export const roadMapList = [ ...@@ -54,11 +61,10 @@ 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',
title: '在线国际学位', title: '在线国际学位',
projectList: [ projectList: [
...@@ -87,8 +93,7 @@ export const roadMapList = [ ...@@ -87,8 +93,7 @@ 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/icon4.png', icon: 'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon4.png',
...@@ -123,11 +128,10 @@ export const roadMapList = [ ...@@ -123,11 +128,10 @@ export const roadMapList = [
] ]
}, },
{ {
project_name: '项目名称', project_name: '项目名称:',
position: 'bottom-start', position: 'bottom-start',
isShow: false, isShow: false,
icon: 'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon5.png', icon: 'https://webapp-pub.ezijing.com/www/pc/lifeLearning/icon5.png',
title: '博士', title: '博士',
projectList: [ projectList: [
...@@ -154,27 +158,29 @@ export const homeList = [ ...@@ -154,27 +158,29 @@ export const homeList = [
itemList: [ itemList: [
{ {
name: '1+X', name: '1+X',
href: '' href: 'https://x.ezijing.com/'
}, },
{ {
name: '私人财富风险管理顾问(PRP)', name: '私人财富风险管理顾问(PRP)',
href: '' href: 'https://prp.ezijing.com'
}, },
{ {
name: '高管培训-数字创新管理', name: '高管培训-数字创新管理',
href: '' onClick() {
Message('敬请期待')
}
}, },
{ {
name: '互联网营销师', name: '互联网营销师',
href: '' href: 'https://vst.ezijing.com'
}, },
{ {
name: '工业机器人系统操作员', name: '工业机器人系统操作员',
href: '' href: 'https://vst.ezijing.com'
}, },
{ {
name: '大数据技术人员', name: '大数据技术人员',
href: '' href: 'https://vst.ezijing.com'
} }
] ]
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论