Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-www-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-www-pc
Commits
8cb92c9d
提交
8cb92c9d
authored
3月 03, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 新首页
上级
13906fdd
全部展开
显示空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
149 行增加
和
209 行删除
+149
-209
AppCard.vue
components/AppCard.vue
+5
-1
Head.vue
components/Head.vue
+7
-11
abroadStudy.vue
components/home/abroadStudy.vue
+48
-69
alumniStories.vue
components/home/alumniStories.vue
+5
-17
homeMenu.vue
components/home/homeMenu.vue
+3
-4
industrialCollege.vue
components/home/industrialCollege.vue
+3
-6
internationalDegree.vue
components/home/internationalDegree.vue
+52
-68
openClass.vue
components/home/openClass.vue
+1
-1
projectNotice.vue
components/home/projectNotice.vue
+5
-15
rightAside.vue
components/rightAside.vue
+13
-10
zh-CN.js
langs/zh-CN.js
+7
-7
package-lock.json
package-lock.json
+0
-0
package.json
package.json
+0
-0
index.vue
pages/index.vue
+0
-0
没有找到文件。
components/AppCard.vue
浏览文件 @
8cb92c9d
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
{
title
:
String
},
props
:
{
title
:
String
,
titleAlign
:
{
type
:
String
,
default
:
'left'
}
},
computed
:
{
computed
:
{
isMobile
()
{
isMobile
()
{
return
this
.
$store
.
state
.
isMobile
return
this
.
$store
.
state
.
isMobile
...
@@ -24,6 +24,7 @@ export default {
...
@@ -24,6 +24,7 @@ export default {
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.is-pc
{
.is-pc
{
.card-hd
{
.card-hd
{
position
:
relative
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
@@ -36,11 +37,14 @@ export default {
...
@@ -36,11 +37,14 @@ export default {
font-size
:
32px
;
font-size
:
32px
;
font-weight
:
bold
;
font-weight
:
bold
;
line-height
:
1
;
line-height
:
1
;
text-align
:
v-bind
(
titleAlign
);
a
:hover
{
a
:hover
{
color
:
var
(
--
main-color
);
color
:
var
(
--
main-color
);
}
}
}
}
.card-hd__aside
{
.card-hd__aside
{
position
:
absolute
;
right
:
0
;
font-size
:
16px
;
font-size
:
16px
;
color
:
#9b9b9b
;
color
:
#9b9b9b
;
cursor
:
pointer
;
cursor
:
pointer
;
...
...
components/Head.vue
浏览文件 @
8cb92c9d
<
template
>
<
template
>
<div
class=
"head-m
ia
n"
>
<div
class=
"head-m
ai
n"
>
<div
class=
"color-bar"
></div>
<div
class=
"color-bar"
></div>
<div
class=
"head-top-content"
>
<div
class=
"head-top-content"
>
<div
class=
"max-width-content"
>
<div
class=
"max-width-content"
>
...
@@ -95,7 +95,6 @@
...
@@ -95,7 +95,6 @@
</li>
</li>
</template>
</template>
</ul>
</ul>
<div
class=
"search-box"
></div>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -502,19 +501,15 @@ li {
...
@@ -502,19 +501,15 @@ li {
padding
:
0
;
padding
:
0
;
list-style
:
none
;
list-style
:
none
;
}
}
.head-mian
{
.head-main
{
width
:
100%
;
min-width
:
1200px
;
background
:
#fff
;
background
:
#fff
;
.color-bar
{
.color-bar
{
height
:
10px
;
height
:
10px
;
background
:
#aa1941
;
background
:
#aa1941
;
}
}
.head-top-content
{
.head-top-content
{
// width: 1200px;
border-bottom
:
1px
solid
#ebebeb
;
// margin: 0 auto;
padding
:
22px
0
;
border
:
1px
solid
#ebebeb
;
padding
:
23px
0
22px
;
.max-width-content
{
.max-width-content
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -581,11 +576,12 @@ li {
...
@@ -581,11 +576,12 @@ li {
display
:
flex
;
display
:
flex
;
// align-items: center;
// align-items: center;
.nav-item-box
{
.nav-item-box
{
padding-left
:
11px
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
li
{
li
{
position
:
relative
;
position
:
relative
;
margin-right
:
50px
;
//
margin-right: 50px;
.name1
{
.name1
{
line-height
:
1
.5
;
line-height
:
1
.5
;
}
}
...
...
components/home/abroadStudy.vue
浏览文件 @
8cb92c9d
<
template
>
<
template
>
<AppCard
:title=
"$t('home.abroad.title')
"
>
<AppCard
title=
"$t('home.degree.title')"
titleAlign=
"center
"
>
<template
#
title
>
<template
#
title
>
<nuxt-link
to=
"/
studyAbroad"
>
{{
$t
(
'home.abroad
.title'
)
}}
</nuxt-link>
<nuxt-link
to=
"/
internationalDegree"
>
{{
$t
(
'home.degree
.title'
)
}}
</nuxt-link>
</
template
>
</
template
>
<div
class=
"box-row"
>
<div
class=
"content_con"
>
<div
class=
"box-col"
v-for=
"(col, index) in abroadList"
:key=
"index"
>
<div
class=
"con_left con_left1"
v-for=
"(item, index) in abroadList"
:key=
"index"
>
<div
class=
"box-col__title"
>
{{ col.title }}
</div>
<div
class=
"left_tit"
>
{{ item.title }}
</div>
<ul
class=
"box-wrap"
>
<div
class=
"left_content"
>
<li
v-for=
"(item, index) in col.children"
:key=
"index"
>
<ul
class=
"left_con1"
>
<AppLink
:data=
"item"
>
<li
v-for=
"(it, index) in item.children"
:key=
"index"
>
<div
class=
"box-inner"
>
<AppLink
:data=
"it"
>
<img
:src=
"item.img"
class=
"box-pic"
/>
<div
class=
"con"
>
<div
class=
"box-desc"
v-html=
"item.desc"
></div>
<img
:src=
"it.img"
alt=
""
class=
"con_img"
/>
<div
class=
"con_desc"
v-html=
"it.desc"
></div>
</div>
</div>
</AppLink>
</AppLink>
</li>
</li>
</ul>
</ul>
<div
class=
"line1"
v-if=
"item.isLine"
></div>
</div>
</div>
</div>
</div>
</div>
</AppCard>
</AppCard>
...
@@ -34,7 +30,6 @@ export default {
...
@@ -34,7 +30,6 @@ export default {
abroadList
:
[
abroadList
:
[
{
{
title
:
this
.
$t
(
'home.degree.tabBtn1'
),
title
:
this
.
$t
(
'home.degree.tabBtn1'
),
isLine
:
true
,
children
:
[
children
:
[
{
{
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/abroad1.png'
,
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/abroad1.png'
,
...
@@ -50,7 +45,6 @@ export default {
...
@@ -50,7 +45,6 @@ export default {
},
},
{
{
title
:
this
.
$t
(
'home.abroad.tabBtn2'
),
title
:
this
.
$t
(
'home.abroad.tabBtn2'
),
isLine
:
false
,
children
:
[
children
:
[
// {
// {
// img: 'https://webapp-pub.ezijing.com/www/pc/home/personal/abroad3.png',
// img: 'https://webapp-pub.ezijing.com/www/pc/home/personal/abroad3.png',
...
@@ -71,68 +65,53 @@ export default {
...
@@ -71,68 +65,53 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.
content_con
{
.
box-row
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
2
,
1fr
);
grid-template-columns
:
repeat
(
2
,
1fr
);
row-gap
:
20px
;
row-gap
:
20px
;
padding
:
40px
32px
;
column-gap
:
100px
;
background
:
#ffffff
;
}
.box-col
{
.con_left
{
position
:
relative
;
.left_tit
{
}
font-size
:
16px
;
.box-col
:nth-child
(
even
)
{
color
:
#000000
;
&
:
:
before
{
text-align
:
center
;
position
:
absolute
;
top
:
42px
;
bottom
:
0
;
left
:
-50px
;
content
:
''
;
width
:
0
;
border
:
1px
dashed
#c4c4c4
;
}
}
.left_content
{
}
display
:
flex
;
.box-col__title
{
margin-top
:
20px
;
padding-left
:
10px
;
margin-bottom
:
26px
;
.left_con1
{
font-size
:
16px
;
display
:
flex
;
line-height
:
1
;
border-left
:
1px
solid
var
(
--
main-color
);
li
{
}
width
:
260px
;
.box-wrap
{
height
:
120px
;
display
:
grid
;
background
:
#f9f8f8
;
grid-template-columns
:
repeat
(
2
,
1fr
);
box-sizing
:
border-box
;
gap
:
20px
;
.con
{
}
width
:
260px
;
.box-inner
{
height
:
120px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding
:
10px
;
padding
:
10px
;
}
&
:hover
{
&
:hover
{
background
:
#aa1940
;
color
:
#fff
;
.con_desc
{
background-color
:
var
(
--
main-color
);
color
:
#f9f8f8
;
}
}
.con_img
{
width
:
128px
;
height
:
90px
;
}
.con_desc
{
margin-left
:
4px
;
text-align
:
left
;
width
:
95px
;
font-size
:
14px
;
line-height
:
18px
;
color
:
#333333
;
// white-space: nowrap;
}
}
li
:nth-child
(
2
)
{
margin-left
:
20px
;
}
}
.line1
{
width
:
0px
;
border
:
1px
dashed
#c4c4c4
;
margin
:
0
30px
;
}
}
.box-pic
{
width
:
120px
;
height
:
80px
;
}
}
.box-desc
{
flex
:
1
;
text-align
:
center
;
}
}
}
}
</
style
>
</
style
>
components/home/alumniStories.vue
浏览文件 @
8cb92c9d
<
template
>
<
template
>
<AppCard
:title=
"$t('menu.story')"
class=
"home-alumni"
>
<AppCard
:title=
"$t('menu.story')"
class=
"home-alumni"
titleAlign=
"center"
>
<template
#
title
<template
#
title
><nuxt-link
to=
"/alumnus/story"
>
{{
><nuxt-link
to=
"/alumnus/story"
>
{{
$t
(
'menu.story'
)
}}
</nuxt-link></
template
$t
(
'menu.story'
)
}}
</nuxt-link></
template
>
>
<
template
#
header-aside
<
template
#
header-aside
><nuxt-link
to=
"/alumnus/story"
>
{{
$t
(
'viewMore'
)
}}
</nuxt-link></
template
><nuxt-link
to=
"/alumnus/story"
>
{{
$t
(
'viewMore'
)
}}
</nuxt-link></
template
>
>
<app-link
<app-link
v-if=
"listData.length > 0"
:data=
"listData[0]"
:to=
"`/alumnus/story/${listData[0].id}`"
>
v-if=
"listData.length > 0"
:data=
"listData[0]"
:to=
"`/alumnus/story/${listData[0].id}`"
>
<div
class=
"alumni_content"
>
<div
class=
"alumni_content"
>
<img
<img
class=
"content_img"
:src=
"listData[0].web_img_uri"
loading=
"lazy"
/>
class=
"content_img"
:src=
"listData[0].web_img_uri"
loading=
"lazy"
/>
<div
class=
"content_desc"
>
<div
class=
"content_desc"
>
<div
class=
"desc_tit"
>
<div
class=
"desc_tit"
>
{{ listData[0].title }}
{{ listData[0].title }}
...
@@ -46,9 +36,7 @@ export default {
...
@@ -46,9 +36,7 @@ export default {
project_id
:
process
.
env
.
projectId
,
project_id
:
process
.
env
.
projectId
,
type_tag
:
'article_alumni'
type_tag
:
'article_alumni'
}
}
this
.
listData
=
await
this
.
$axios
this
.
listData
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
{
.
get
(
'/api/cms/api/v1/articles'
,
{
params
})
.
then
((
res
)
=>
{
return
res
.
data
.
data
return
res
.
data
.
data
})
})
}
}
...
...
components/home/homeMenu.vue
浏览文件 @
8cb92c9d
<
template
>
<
template
>
<div>
<div
style=
"background-color: #fff;overflow: hidden;"
>
<AppCard
v-for=
"(row, index) in rows"
:key=
"index"
>
<AppCard
titleAlign=
"center"
v-for=
"(row, index) in rows"
:key=
"index"
>
<template
#
title
>
<template
#
title
>
<nuxt-link
:to=
"row.to"
>
{{
row
.
title
}}
</nuxt-link>
<nuxt-link
:to=
"row.to"
>
{{
row
.
title
}}
</nuxt-link>
</
template
>
</
template
>
...
@@ -85,8 +85,7 @@ export default {
...
@@ -85,8 +85,7 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
background
:
#ffffff
;
background
:
#ffffff
;
padding
:
63px
40px
;
margin-top
:
72px
;
margin-top
:
21px
;
li
{
li
{
width
:
156px
;
width
:
156px
;
height
:
186px
;
height
:
186px
;
...
...
components/home/industrialCollege.vue
浏览文件 @
8cb92c9d
<
template
>
<
template
>
<AppCard
:title=
"$t('home.industrial.tit')"
>
<AppCard
:title=
"$t('home.industrial.tit')"
titleAlign=
"center"
>
<template
#
title
>
<template
#
title
>
<nuxt-link
to=
"/services"
>
{{
$t
(
'home.industrial.tit'
)
}}
</nuxt-link>
<nuxt-link
to=
"/services"
>
{{
$t
(
'home.industrial.tit'
)
}}
</nuxt-link>
</
template
>
</
template
>
...
@@ -87,19 +87,16 @@ export default {
...
@@ -87,19 +87,16 @@ export default {
.nav-content
{
.nav-content
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
background
:
#ffffff
;
margin-top
:
72px
;
padding
:
78px
58px
70px
56px
;
margin-top
:
20px
;
li
{
li
{
width
:
105px
;
width
:
105px
;
background
:
#ffffff
;
margin-right
:
20px
;
margin-right
:
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
.img_box
{
.img_box
{
width
:
100px
;
width
:
100px
;
height
:
100px
;
height
:
100px
;
background
:
#f
6f5f5
;
background
:
#f
ff
;
border-radius
:
50%
;
border-radius
:
50%
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
...
components/home/internationalDegree.vue
浏览文件 @
8cb92c9d
<
template
>
<
template
>
<AppCard
title=
"$t('home.degree.title')"
>
<div
style=
"background-color: #fff;overflow: hidden;"
>
<AppCard
title=
"$t('home.degree.title')"
titleAlign=
"center"
>
<template
#
title
>
<template
#
title
>
<nuxt-link
to=
"/internationalDegree"
>
{{
$t
(
'home.degree.title'
)
}}
</nuxt-link>
<nuxt-link
to=
"/internationalDegree"
>
{{
$t
(
'home.degree.title'
)
}}
</nuxt-link>
</
template
>
</
template
>
<div
class=
"content_con
"
>
<div
class=
"box-row
"
>
<div
class=
"con_left"
v-for=
"(item
, index) in degreeList"
:key=
"index"
>
<div
class=
"box-col"
v-for=
"(col
, index) in degreeList"
:key=
"index"
>
<div
class=
"left_tit"
>
{{ item
.title }}
</div>
<div
class=
"box-col__title"
>
{{ col
.title }}
</div>
<div
class=
"left_content
"
>
<ul
class=
"box-wrap
"
>
<div
class=
"line"
v-if=
"item.isLine"
></div
>
<li
v-for=
"(item, index) in col.children"
:key=
"index"
>
<ul
class=
"left_con
"
>
<AppLink
:data=
"item
"
>
<li
v-for=
"(it, index) in item.children"
:key=
"index
"
>
<div
class=
"box-inner
"
>
<AppLink
:data=
"it"
>
<img
:src=
"item.img"
class=
"box-pic"
/
>
<img
:src=
"it.img"
alt=
""
class=
"con_img"
/
>
<div
class=
"box-desc"
v-html=
"item.desc"
></div
>
<
div
class=
"con_desc"
v-html=
"it.desc"
><
/div>
</div>
</AppLink>
</AppLink>
</li>
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
</div>
</AppCard>
</AppCard>
</div>
</template>
</template>
<
script
>
<
script
>
import
AppLink
from
'@/components/Link'
import
AppLink
from
'@/components/Link'
...
@@ -30,7 +31,6 @@ export default {
...
@@ -30,7 +31,6 @@ export default {
degreeList
:
[
degreeList
:
[
{
{
title
:
this
.
$t
(
'home.degree.tabBtn1'
),
title
:
this
.
$t
(
'home.degree.tabBtn1'
),
isLine
:
false
,
children
:
[
children
:
[
{
{
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/master_med1.png'
,
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/master_med1.png'
,
...
@@ -56,7 +56,6 @@ export default {
...
@@ -56,7 +56,6 @@ export default {
},
},
{
{
title
:
this
.
$t
(
'home.degree.tabBtn2'
),
title
:
this
.
$t
(
'home.degree.tabBtn2'
),
isLine
:
true
,
children
:
[
children
:
[
{
{
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/mba1.png'
,
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/mba1.png'
,
...
@@ -76,8 +75,7 @@ export default {
...
@@ -76,8 +75,7 @@ export default {
]
]
},
},
{
{
title
:
'— 博士 —'
,
title
:
'博士'
,
isLine
:
false
,
children
:
[
children
:
[
{
{
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/cbu-online.png'
,
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/cbu-online.png'
,
...
@@ -87,8 +85,7 @@ export default {
...
@@ -87,8 +85,7 @@ export default {
]
]
},
},
{
{
title
:
'— 企业家学者DBA —'
,
title
:
'企业家学者DBA'
,
isLine
:
true
,
children
:
[
children
:
[
{
{
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/cbu-enterprise.png'
,
img
:
'https://webapp-pub.ezijing.com/www/pc/home/personal/cbu-enterprise.png'
,
...
@@ -104,66 +101,53 @@ export default {
...
@@ -104,66 +101,53 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.
content_con
{
.
box-row
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
2
,
1fr
);
grid-template-columns
:
repeat
(
2
,
1fr
);
row-gap
:
20px
;
row-gap
:
20px
;
padding
:
40px
32px
;
column-gap
:
100px
;
background
:
#ffffff
;
}
.box-col
{
.con_left
{
position
:
relative
;
height
:
192px
;
}
.left_tit
{
.box-col
:nth-child
(
even
)
{
font-size
:
16px
;
&
:
:
before
{
color
:
#000000
;
position
:
absolute
;
text-align
:
center
;
top
:
42px
;
bottom
:
0
;
left
:
-50px
;
content
:
''
;
width
:
0
;
border
:
1px
dashed
#c4c4c4
;
}
}
.left_content
{
}
display
:
flex
;
.box-col__title
{
margin-top
:
20px
;
padding-left
:
10px
;
.left_con
{
margin-bottom
:
26px
;
display
:
flex
;
font-size
:
16px
;
justify-content
:
space-around
;
line-height
:
1
;
li
{
border-left
:
1px
solid
var
(
--
main-color
);
width
:
148px
;
}
.box-wrap
{
display
:
grid
;
grid-template-columns
:
repeat
(
2
,
1fr
);
gap
:
20px
;
}
.box-inner
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
cursor
:
pointer
;
padding
:
10px
;
&
:hover
{
&
:hover
{
background
:
#aa1940
;
color
:
#fff
;
padding-top
:
10px
;
background-color
:
var
(
--
main-color
);
padding-bottom
:
14px
;
margin-top
:
-10px
;
box-sizing
:
border-box
;
.con_desc
{
color
:
#f9f8f8
;
}
}
}
.con_img
{
.box-pic
{
width
:
128
px
;
width
:
120
px
;
height
:
9
0px
;
height
:
8
0px
;
}
}
.con_
desc
{
.box-
desc
{
width
:
128px
;
flex
:
1
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
10px
;
font-size
:
14px
;
line-height
:
18px
;
color
:
#333333
;
}
}
li
:not
(
:last-child
)
{
margin-right
:
10px
;
}
}
.line
{
width
:
0px
;
border
:
1px
dashed
#c4c4c4
;
margin
:
0
30px
;
}
}
}
}
}
}
</
style
>
</
style
>
components/home/openClass.vue
浏览文件 @
8cb92c9d
<
template
>
<
template
>
<AppCard
:title=
"$t('home.openLesson.title')"
class=
"home-class"
>
<AppCard
:title=
"$t('home.openLesson.title')"
class=
"home-class"
titleAlign=
"center"
>
<template
#
title
>
<template
#
title
>
<nuxt-link
to=
"/about/lesson"
>
{{
$t
(
'home.openLesson.title'
)
}}
</nuxt-link>
<nuxt-link
to=
"/about/lesson"
>
{{
$t
(
'home.openLesson.title'
)
}}
</nuxt-link>
</
template
>
</
template
>
...
...
components/home/projectNotice.vue
浏览文件 @
8cb92c9d
<
template
>
<
template
>
<AppCard
:title=
"$t('menu.notice')"
>
<AppCard
:title=
"$t('menu.notice')"
titleAlign=
"center"
>
<template
#
title
>
<template
#
title
>
<nuxt-link
to=
"/about/news"
>
{{
$t
(
'menu.notice'
)
}}
</nuxt-link>
<nuxt-link
to=
"/about/news"
>
{{
$t
(
'menu.notice'
)
}}
</nuxt-link>
</
template
>
</
template
>
...
@@ -9,17 +9,9 @@
...
@@ -9,17 +9,9 @@
<div
class=
"news-content"
>
<div
class=
"news-content"
>
<div
class=
"left-content"
>
<div
class=
"left-content"
>
<div
class=
"list"
>
<div
class=
"list"
>
<div
<div
v-swiper:mySwiper=
"swiperOption"
ref=
"mySwiper"
class=
"swiper-no-swiping"
>
v-swiper:mySwiper=
"swiperOption"
ref=
"mySwiper"
class=
"swiper-no-swiping"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-wrapper"
>
<div
<div
class=
"swiper-slide"
v-for=
"(item, index) in activityList"
:key=
"index"
>
class=
"swiper-slide"
v-for=
"(item, index) in activityList"
:key=
"index"
>
<div
class=
"li"
>
<div
class=
"li"
>
<div
class=
"time-block"
>
<div
class=
"time-block"
>
<div
class=
"m-time"
>
{{ formatMD(item.abstract) }}
</div>
<div
class=
"m-time"
>
{{ formatMD(item.abstract) }}
</div>
...
@@ -87,9 +79,7 @@ export default {
...
@@ -87,9 +79,7 @@ export default {
page
:
1
,
page
:
1
,
limit
:
3
limit
:
3
}
}
this
.
listData
=
await
this
.
$axios
this
.
listData
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
.
get
(
'/api/cms/api/v1/articles'
,
{
params
})
.
then
((
res
)
=>
res
.
data
.
data
)
},
},
mounted
()
{
mounted
()
{
this
.
getActivity
()
this
.
getActivity
()
...
@@ -110,7 +100,7 @@ export default {
...
@@ -110,7 +100,7 @@ export default {
project_id
:
process
.
env
.
projectId
,
project_id
:
process
.
env
.
projectId
,
type_tag
:
'www_activity'
type_tag
:
'www_activity'
}
}
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
(
res
)
=>
{
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
{
this
.
activityList
=
res
.
data
.
data
this
.
activityList
=
res
.
data
.
data
})
})
}
}
...
...
components/rightAside.vue
浏览文件 @
8cb92c9d
...
@@ -31,10 +31,10 @@
...
@@ -31,10 +31,10 @@
<div
class=
"enroll_cont"
id=
"show-enroll-content"
v-show=
"tabBtnTarget === 'enroll'"
>
<div
class=
"enroll_cont"
id=
"show-enroll-content"
v-show=
"tabBtnTarget === 'enroll'"
>
<h5>
{{
$t
(
'aside.apply'
)
}}
</h5>
<h5>
{{
$t
(
'aside.apply'
)
}}
</h5>
<div
class=
"p"
>
<div
class=
"p"
>
<el-input
v-model=
"formInfo.name"
:placeholder=
"$t('aside.name')"
size=
"small"
></el-input>
<el-input
v-model=
"formInfo.name"
:placeholder=
"$t('aside.name')"
></el-input>
</div>
</div>
<div
class=
"p"
>
<div
class=
"p"
>
<el-input
v-model=
"formInfo.phone"
:placeholder=
"$t('aside.phone')"
size=
"small"
></el-input>
<el-input
v-model=
"formInfo.phone"
:placeholder=
"$t('aside.phone')"
></el-input>
</div>
</div>
<div
class=
"p"
>
<div
class=
"p"
>
<select
name=
""
id=
""
v-model=
"formInfo.projectId"
>
<select
name=
""
id=
""
v-model=
"formInfo.projectId"
>
...
@@ -43,10 +43,13 @@
...
@@ -43,10 +43,13 @@
<span
class=
"icon el-icon-arrow-down"
></span>
<span
class=
"icon el-icon-arrow-down"
></span>
</div>
</div>
<div
class=
"p sendcode"
>
<div
class=
"p sendcode"
>
<el-input
v-model=
"sendCode"
:placeholder=
"$t('aside.code')"
size=
"small"
></el-input
<el-input
v-model=
"sendCode"
:placeholder=
"$t('aside.code')"
>
><el-button
class=
"btn"
:disabled=
"isBtnDisabled"
id=
"checkedCode"
@
click=
"getSendCode"
>
{{
<template
#
append
>
<el-button
class=
"btn"
:disabled=
"isBtnDisabled"
id=
"checkedCode"
@
click=
"getSendCode"
>
{{
$t
(
'aside.codeBtn'
)
$t
(
'aside.codeBtn'
)
}}
</el-button>
}}
</el-button>
</
template
>
</el-input>
</div>
</div>
<div
class=
"p"
>
<div
class=
"p"
>
<el-button
style=
"width: 100%"
@
click=
"submitEnroll"
>
{{ $t('aside.formBtn') }}
</el-button>
<el-button
style=
"width: 100%"
@
click=
"submitEnroll"
>
{{ $t('aside.formBtn') }}
</el-button>
...
@@ -323,12 +326,12 @@ export default {
...
@@ -323,12 +326,12 @@ export default {
.p
{
.p
{
margin-bottom
:
15px
;
margin-bottom
:
15px
;
position
:
relative
;
position
:
relative
;
::v-deep
.el-input__inner
{
::v-deep
(
.el-input__inner
)
{
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
line-height
:
44px
;
line-height
:
44px
;
height
:
44px
;
height
:
44px
;
}
}
::v-deep
.el-select
{
::v-deep
(
.el-select
)
{
width
:
100%
;
width
:
100%
;
}
}
select
{
select
{
...
@@ -354,7 +357,7 @@ export default {
...
@@ -354,7 +357,7 @@ export default {
right
:
10px
;
right
:
10px
;
color
:
#606266
;
color
:
#606266
;
}
}
::v-deep
.el-button
{
::v-deep
(
.el-button
)
{
background-color
:
#ff8e1a
;
background-color
:
#ff8e1a
;
border
:
#ff8e1a
1px
solid
;
border
:
#ff8e1a
1px
solid
;
color
:
rgba
(
255
,
255
,
255
,
0
.9
);
color
:
rgba
(
255
,
255
,
255
,
0
.9
);
...
@@ -363,10 +366,10 @@ export default {
...
@@ -363,10 +366,10 @@ export default {
.sendcode
{
.sendcode
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
::v-deep
.el-input
{
::v-deep
(
.el-input
)
{
width
:
170px
;
width
:
170px
;
}
}
::v-deep
.el-button
{
::v-deep
(
.el-button
)
{
white-space
:
break-spaces
;
white-space
:
break-spaces
;
width
:
94px
;
width
:
94px
;
margin-right
:
2px
;
margin-right
:
2px
;
...
@@ -377,7 +380,7 @@ export default {
...
@@ -377,7 +380,7 @@ export default {
height
:
45px
;
height
:
45px
;
justify-content
:
center
;
justify-content
:
center
;
}
}
::v-deep
.is-disabled
{
::v-deep
(
.is-disabled
)
{
color
:
#c0c4cc
;
color
:
#c0c4cc
;
cursor
:
not
-
allowed
;
cursor
:
not
-
allowed
;
background-image
:
none
;
background-image
:
none
;
...
...
langs/zh-CN.js
浏览文件 @
8cb92c9d
...
@@ -160,15 +160,15 @@ export default {
...
@@ -160,15 +160,15 @@ export default {
},
},
degree
:
{
degree
:
{
title
:
'国际学位'
,
title
:
'国际学位'
,
tabBtn1
:
'
— 硕士 —
'
,
tabBtn1
:
'
硕士
'
,
tabBtn2
:
'
— MBA —
'
,
tabBtn2
:
'
MBA
'
,
tabBtn3
:
'MBA'
,
tabBtn3
:
'MBA'
,
tabBtn4
:
'博士'
,
tabBtn4
:
'博士'
,
shms
:
'海外留学<br />SHMS<br />(即将推出)'
,
shms
:
'海外留学<br />SHMS<br />(即将推出)'
,
msf
:
'金融硕士<br />MSF'
,
msf
:
'金融硕士<br />MSF'
,
med
:
'教育学硕士
(儿童)
<br />MED'
,
med
:
'教育学硕士
(儿童)
<br />MED'
,
map
:
'应用心理学硕士<br />MAP'
,
map
:
'应用心理学硕士<br />MAP'
,
cuw
:
'教育学硕士
(家庭)
<br />MED'
,
cuw
:
'教育学硕士
(家庭)
<br />MED'
,
// plan: '未来金融<br />领袖计划',
// plan: '未来金融<br />领袖计划',
mba
:
'数字领导力方向<br/>MBA'
,
mba
:
'数字领导力方向<br/>MBA'
,
finance
:
'金融方向<br/>MBA'
,
finance
:
'金融方向<br/>MBA'
,
...
@@ -181,9 +181,9 @@ export default {
...
@@ -181,9 +181,9 @@ export default {
},
},
abroad
:
{
abroad
:
{
title
:
'国际留学'
,
title
:
'国际留学'
,
tabBtn1
:
'
— 硕士 —
'
,
tabBtn1
:
'
硕士
'
,
tabBtn2
:
'
— 博士 —
'
,
tabBtn2
:
'
博士
'
,
sbu
:
'纽约州立大学<br/>石溪分校<br/>金融学硕士<br/>保研项目
N
SF'
,
sbu
:
'纽约州立大学<br/>石溪分校<br/>金融学硕士<br/>保研项目
M
SF'
,
sit
:
'斯蒂文斯理工学院<br/>工程管理硕士<br/>保研项目MEM'
,
sit
:
'斯蒂文斯理工学院<br/>工程管理硕士<br/>保研项目MEM'
,
cbu_plus
:
'加州浸会大学<br/>全日制工商管理<br/>博士项目DBA'
,
cbu_plus
:
'加州浸会大学<br/>全日制工商管理<br/>博士项目DBA'
,
cbu_online
:
'加州浸会大学<br/>在线工商管理<br/>博士项目DBA'
cbu_online
:
'加州浸会大学<br/>在线工商管理<br/>博士项目DBA'
...
...
package-lock.json
浏览文件 @
8cb92c9d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
package.json
浏览文件 @
8cb92c9d
差异被折叠。
点击展开。
pages/index.vue
浏览文件 @
8cb92c9d
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论