Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-www-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-www-pc
Commits
d04301ee
提交
d04301ee
authored
6月 17, 2024
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
a78d9caa
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
74 行增加
和
85 行删除
+74
-85
FormSubmit.vue
components/FormSubmit.vue
+2
-2
Head.vue
components/Head.vue
+51
-62
nuxt.config.js
nuxt.config.js
+9
-9
index.vue
pages/studyAbroad/index.vue
+12
-12
没有找到文件。
components/FormSubmit.vue
浏览文件 @
d04301ee
...
...
@@ -152,8 +152,8 @@ export default {
{
label
:
'纽约州立大学石溪分校金融学硕士项目'
,
value
:
'1018'
},
{
label
:
'德保罗大学金融学硕士项目'
,
value
:
'1025'
},
{
label
:
'斯蒂文斯理工学院工程管理硕士项目'
,
value
:
'1020'
},
{
label
:
'加州浸会大学全日制工商管理博士项目'
,
value
:
'1017'
},
{
label
:
'加州浸会大学全球科技创新管理学者DBA项目'
,
value
:
'1023'
}
//
{ label: '加州浸会大学全日制工商管理博士项目', value: '1017' },
//
{ label: '加州浸会大学全球科技创新管理学者DBA项目', value: '1023' }
]
}
}
...
...
components/Head.vue
浏览文件 @
d04301ee
...
...
@@ -10,8 +10,7 @@
? 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/logo/en-logo.png'
: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/logo/us-logo.png'
"
@
click=
"goPage('/')"
/>
@
click=
"goPage('/')"
/>
</div>
<template
v-if=
"$route.path === '/roadmap'"
>
<client-only>
...
...
@@ -53,14 +52,12 @@
:class=
"$route.path === level2Item.path || level2Item.isShow ? 'li active' : 'li'"
:key=
"level2Index + 'level2'"
@
mouseenter=
"levelShow(level2Item)"
@
mouseleave=
"levelShow(level2Item, 'out')"
>
@
mouseleave=
"levelShow(level2Item, 'out')"
>
<div
@
click=
"goPage(level2Item.path, level2Item.pathType)"
class=
"name"
:class=
"isEn === true ? 'name1' : ''"
v-html=
"level2Item.name"
></div>
v-html=
"level2Item.name"
></div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.children"
></div>
</div>
</
template
>
...
...
@@ -72,14 +69,12 @@
:key=
"level2Index + 'two-level2'"
v-if=
"level2Item.isShow"
@
mouseenter=
"level3Show"
@
mouseleave=
"level3Show(level2Item, 'out')"
>
@
mouseleave=
"level3Show(level2Item, 'out')"
>
<div
@
click=
"goPage(level3Item.path, level3Item.pathType)"
:class=
"isEn === true ? 'name1' : 'name'"
v-for=
"(level3Item, level3Index) in level2Item.children"
:key=
"level3Index + level3Item"
>
:key=
"level3Index + level3Item"
>
{{
level3Item
.
name
}}
</div>
</div>
...
...
@@ -388,29 +383,29 @@ export default {
pathType
:
1
}
]
// },
// },
// {
// name: '工商管理博士DBA',
// isShow: false,
// children: [
// {
// name: '全球科技创新管理学者项目',
// path: 'https://cbu-online.ezijing.com/',
// pathType: 1
// }
// ]
// },
// {
// name: '企业家学者DBA',
// isShow: false,
// children: [
// {
// name: '数字领导力企业家学者(DBA)',
// path: 'https://dld.ezijing.com/',
// pathType: 1
// }
// ]
// {
// name: '工商管理博士DBA',
// isShow: false,
// children: [
// {
// name: '全球科技创新管理学者项目',
// path: 'https://cbu-online.ezijing.com/',
// pathType: 1
// }
// ]
// },
// {
// name: '企业家学者DBA',
// isShow: false,
// children: [
// {
// name: '数字领导力企业家学者(DBA)',
// path: 'https://dld.ezijing.com/',
// pathType: 1
// }
// ]
}
]
},
...
...
@@ -449,23 +444,23 @@ export default {
// pathType: 1
// }
]
},
{
name
:
this
.
$t
(
'menu.degreeChild.doctor'
),
isShow
:
false
,
children
:
[
{
name
:
this
.
$t
(
'menu.degreeChild.doctorChild.cbu_plus'
),
path
:
'https://cbu-plus.ezijing.com/'
,
pathType
:
1
}
// {
// name: this.$t('menu.degreeChild.doctorChild.cbu_online'),
// path: 'https://cbu-online.ezijing.com/',
// pathType: 1
// }
]
}
// {
// name: this.$t('menu.degreeChild.doctor'),
// isShow: false,
// children: [
// {
// name: this.$t('menu.degreeChild.doctorChild.cbu_plus'),
// path: 'https://cbu-plus.ezijing.com/',
// pathType: 1
// }
// // {
// // name: this.$t('menu.degreeChild.doctorChild.cbu_online'),
// // path: 'https://cbu-online.ezijing.com/',
// // pathType: 1
// // }
// ]
// }
]
},
{
...
...
@@ -502,8 +497,8 @@ export default {
this
.
isEn
=
this
.
$cookies
.
get
(
'lang'
)
===
'en-US'
this
.
$store
.
dispatch
(
'checkLogin'
)
if
(
this
.
isEn
)
{
this
.
navData
.
map
(
item
=>
{
item
?.
children
?.
map
(
it
=>
{
this
.
navData
.
map
(
(
item
)
=>
{
item
?.
children
?.
map
(
(
it
)
=>
{
if
(
it
.
isShowChild
===
false
)
{
it
.
children
=
''
}
...
...
@@ -561,9 +556,9 @@ export default {
}
},
navLeave
()
{
this
.
navData
.
map
(
item
=>
{
this
.
navData
.
map
(
(
item
)
=>
{
if
(
item
.
children
)
{
item
.
children
.
map
(
cItem
=>
{
item
.
children
.
map
(
(
cItem
)
=>
{
cItem
.
isShow
=
false
})
}
...
...
@@ -581,14 +576,14 @@ export default {
},
computed
:
{
getNameActive
()
{
return
item
=>
{
return
(
item
)
=>
{
const
currentPath
=
this
.
$route
.
path
if
(
currentPath
.
includes
(
item
.
path
))
{
return
'name active'
}
else
{
let
className
=
'name'
if
(
item
.
children
)
{
item
.
children
.
map
(
cData
=>
{
item
.
children
.
map
(
(
cData
)
=>
{
cData
.
path
===
currentPath
&&
(
className
=
'name active'
)
})
}
...
...
@@ -600,16 +595,10 @@ export default {
return
this
.
$store
.
state
.
user
||
{}
},
loginURL
()
{
return
process
.
client
?
`
${
process
.
env
.
loginURL
}
/login/index?redirect_uri=
${
encodeURIComponent
(
location
.
origin
+
this
.
$route
.
fullPath
)}
`
:
''
return
process
.
client
?
`
${
process
.
env
.
loginURL
}
/login/index?redirect_uri=
${
encodeURIComponent
(
location
.
origin
+
this
.
$route
.
fullPath
)}
`
:
''
},
registerURL
()
{
return
process
.
client
?
`
${
process
.
env
.
loginURL
}
/register?redirect_uri=
${
encodeURIComponent
(
location
.
origin
+
this
.
$route
.
fullPath
)}
`
:
''
return
process
.
client
?
`
${
process
.
env
.
loginURL
}
/register?redirect_uri=
${
encodeURIComponent
(
location
.
origin
+
this
.
$route
.
fullPath
)}
`
:
''
}
}
}
...
...
nuxt.config.js
浏览文件 @
d04301ee
...
...
@@ -4,15 +4,15 @@ import fs from 'fs'
export
default
{
env
:
process
.
env
,
server
:
{
port
:
2048
,
host
:
'0.0.0.0'
},
...(
process
.
env
.
NODE_ENV
===
'development'
&&
{
server
:
{
host
:
'dev.ezijing.com'
,
https
:
{
key
:
fs
.
readFileSync
(
path
.
resolve
(
__dirname
,
'dev.ezijing.com.key'
)),
cert
:
fs
.
readFileSync
(
path
.
resolve
(
__dirname
,
'dev.ezijing.com.pem'
))
}
}
}),
//
...(process.env.NODE_ENV === 'development' && {
//
server: {
//
host: 'dev.ezijing.com',
//
https: {
//
key: fs.readFileSync(path.resolve(__dirname, 'dev.ezijing.com.key')),
//
cert: fs.readFileSync(path.resolve(__dirname, 'dev.ezijing.com.pem'))
//
}
//
}
//
}),
// Global page headers: https://go.nuxtjs.dev/config-head
head
:
{
title
:
'紫荆教育-在线学位,国际留学,数字经济产业学院'
,
...
...
pages/studyAbroad/index.vue
浏览文件 @
d04301ee
...
...
@@ -180,18 +180,18 @@ export default {
// href: 'https://marywood-plus.ezijing.com/'
// },
{
project_id
:
'1017'
,
imgUrl
:
'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_cbu_plus.png'
,
imgUrlEn
:
'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_cbu_plus_en.png'
,
href
:
'https://cbu-plus.ezijing.com/'
},
{
project_id
:
'1023'
,
imgUrl
:
'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_cbu_online.png'
,
imgUrlEn
:
'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_cbu_online_en.png'
,
href
:
'https://cbu-online.ezijing.com/'
},
//
{
//
project_id: '1017',
//
imgUrl: 'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_cbu_plus.png',
//
imgUrlEn: 'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_cbu_plus_en.png',
//
href: 'https://cbu-plus.ezijing.com/'
//
},
//
{
//
project_id: '1023',
//
imgUrl: 'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_cbu_online.png',
//
imgUrlEn: 'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_cbu_online_en.png',
//
href: 'https://cbu-online.ezijing.com/'
//
},
{
project_id
:
'1025'
,
imgUrl
:
'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_depaul_plus.png'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论