Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
7d0fec8d
提交
7d0fec8d
authored
3月 21, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 首页改版
上级
fc6013e7
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
102 行增加
和
545 行删除
+102
-545
base.css
assets/css/base.css
+1
-1
banners.vue
components/home/banners.vue
+6
-2
projectFeatures.vue
components/home/projectFeatures.vue
+51
-445
projectPosition.vue
components/home/projectPosition.vue
+43
-93
Head.vue
components/layout/pc/Head.vue
+0
-2
Menu.vue
components/layout/pc/Menu.vue
+1
-2
没有找到文件。
assets/css/base.css
浏览文件 @
7d0fec8d
...
@@ -22,7 +22,7 @@ body {
...
@@ -22,7 +22,7 @@ body {
'Hiragino Sans GB'
,
'Wenquanyi Micro Hei'
,
sans-serif
;
'Hiragino Sans GB'
,
'Wenquanyi Micro Hei'
,
sans-serif
;
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
background
:
#
eee
;
background
:
#
f9f8f8
;
}
}
p
{
p
{
margin
:
0
;
margin
:
0
;
...
...
components/home/banners.vue
浏览文件 @
7d0fec8d
<
template
>
<
template
>
<div
:class=
"isMobile ? 'is-h5' : 'is-pc'"
>
<div
:class=
"isMobile ? 'is-h5' : 'is-pc'"
>
<div
class=
"banner-content"
>
<div
class=
"banner-content"
>
<img
class=
"img"
src=
"https://webapp-pub.ezijing.com/project/cbu-online/banner.png?v=4"
/>
<a
href=
"/my"
>
<div
class=
"banner_navList"
>
<img
class=
"img"
src=
"https://webapp-pub.ezijing.com/project/cbu-online/banner.png"
/>
</a>
<div
class=
"banner_navList"
v-if=
"false"
>
<div
class=
"banner_nav"
v-for=
"(item, index) in navList"
:key=
"index"
@
click=
"navClick(item)"
>
<div
class=
"banner_nav"
v-for=
"(item, index) in navList"
:key=
"index"
@
click=
"navClick(item)"
>
<div
class=
"nav_top"
>
<div
class=
"nav_top"
>
<img
class=
"nav_img"
:src=
"item.img"
v-if=
"!isMobile"
/>
<img
class=
"nav_img"
:src=
"item.img"
v-if=
"!isMobile"
/>
...
@@ -88,6 +90,8 @@ export default {
...
@@ -88,6 +90,8 @@ export default {
.img
{
.img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
min-height
:
650px
;
object-fit
:
cover
;
z-index
:
1000
;
z-index
:
1000
;
}
}
.banner_navList
{
.banner_navList
{
...
...
components/home/projectFeatures.vue
浏览文件 @
7d0fec8d
<
template
>
<
template
>
<div
class=
"service-content max-width-center"
>
<div
class=
"max-width-center"
>
<div
:class=
"isMobile ? 'is-h5' : 'is-pc'"
>
<card
:title=
"$t('home.project.title')"
>
<card
:title=
"$t('home.project.title')"
v-if=
"!isMobile"
>
<div
class=
"card-list"
>
<!--
<ul
class=
"nav-content"
>
<div
class=
"card-item"
v-for=
"(item, index) in listData"
:key=
"index"
>
<li
v-for=
"(item, index) in data"
:key=
"index"
>
<div
class=
"item_media"
>
<img
:src=
"item.icon"
class=
"icon"
/>
<img
:src=
"item.web_img_uri"
/>
<img
v-if=
"!isMobile"
:src=
"item.iconActive"
class=
"icon-active"
/>
<div
class=
"text"
v-html=
"item.text"
></div>
</li>
</ul>
-->
<!--
<div
class=
"swiperOptions"
@
mouseenter=
"swiperStop"
@
mouseleave=
"swiperStart"
>
<div
v-swiper:mySwiper=
"swiperOption"
ref=
"mySwiper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
v-for=
"(item, index) in listData"
:key=
"index"
>
<div
class=
"item_media"
>
<img
:src=
"item.web_img_uri"
/>
</div>
<div
class=
"item_desc"
>
<div
class=
"item_desc_tit"
>
{{
item
.
item_desc_tit
}}
</div>
<div
class=
"item_desc_con"
>
{{
item
.
item_desc_con
}}
</div>
</div>
</div>
</div>
<div
class=
"prev-button"
v-if=
"!isMobile"
></div>
<div
class=
"next-button"
v-if=
"!isMobile"
></div>
</div>
</div>
</div>
-->
<div
class=
"item_desc"
>
<div
class=
"card-list"
>
<div
class=
"item_desc_tit"
>
{{
item
.
item_desc_tit
}}
</div>
<div
class=
"card-item"
v-for=
"(item, index) in listData"
:key=
"index"
>
<div
class=
"item_desc_con"
v-html=
"item.item_desc_con"
></div>
<div
class=
"item_media"
>
<img
:src=
"item.web_img_uri"
/>
</div>
<div
class=
"item_desc"
>
<div
class=
"item_desc_tit"
>
{{
item
.
item_desc_tit
}}
</div>
<div
class=
"item_desc_con"
v-html=
"item.item_desc_con"
></div>
</div>
</div>
</div>
</card>
<div
v-else
>
<div
class=
"tit"
v-if=
"isMobile"
>
项目价值
</div>
<!--
<div
class=
"swiperOptions"
@
mouseenter=
"swiperStop"
@
mouseleave=
"swiperStart"
>
<div
v-swiper:mySwiper=
"swiperOption"
ref=
"mySwiper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
v-for=
"(item, index) in listData"
:key=
"index"
>
<img
:src=
"item.web_img_uri"
/>
<div
class=
"item_desc"
>
<div
class=
"item_desc_tit"
>
{{
item
.
item_desc_tit
}}
</div>
<div
class=
"item_desc_con"
>
{{
item
.
item_desc_con
}}
</div>
</div>
</div>
</div>
<div
class=
"prev-button"
v-if=
"!isMobile"
></div>
<div
class=
"next-button"
v-if=
"!isMobile"
></div>
</div>
</div>
-->
<div
class=
"card-list-outer"
>
<div
class=
"card-list"
>
<div
class=
"card-item"
v-for=
"(item, index) in listData"
:key=
"index"
>
<div
class=
"item_media"
>
<img
:src=
"item.web_img_uri"
/>
</div>
<div
class=
"item_desc"
>
<div
class=
"item_desc_tit"
>
{{
item
.
item_desc_tit
}}
</div>
<div
class=
"item_desc_con"
v-html=
"item.item_desc_con"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
div
>
</
card
>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Card
from
'@/components/Card'
import
Card
from
'@/components/Card'
import
AppLink
from
'@/components/Link'
import
AppLink
from
'@/components/Link'
export
default
{
export
default
{
name
:
'projectFeatures'
,
name
:
'projectFeatures'
,
components
:
{
components
:
{
AppLink
,
Card
},
AppLink
,
Card
},
data
()
{
data
()
{
return
{
return
{
listData
:
[
listData
:
[
{
{
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
pc-index-project-intro-01.png?v=4
'
,
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
feature_1.png
'
,
item_desc_tit
:
'学术领先'
,
item_desc_tit
:
'学术领先'
,
item_desc_con
:
'工商管理学位项目加州排名TOP3<br/>ACBSP认证商学院'
item_desc_con
:
'工商管理学位项目加州排名TOP3<br/>ACBSP认证商学院'
},
},
{
{
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
pc-index-project-intro-02.png?v=4
'
,
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
feature_2.png
'
,
item_desc_tit
:
'全球视野'
,
item_desc_tit
:
'全球视野'
,
item_desc_con
:
'全球视野的课程设计<br/>国际和国内一流师资<br/>全球深度访学'
item_desc_con
:
'全球视野的课程设计<br/>国际和国内一流师资<br/>全球深度访学'
},
},
{
{
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
pc-index-project-intro-03.png?v=4
'
,
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
feature_3.png
'
,
item_desc_tit
:
'学者思维'
,
item_desc_tit
:
'学者思维'
,
item_desc_con
:
'深度研究问题的严谨思维训练<br/>理论与实践的循环论证'
item_desc_con
:
'深度研究问题的严谨思维训练<br/>理论与实践的循环论证'
},
},
{
{
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
pc-index-project-intro-04.png?v=4
'
,
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
feature_4.png
'
,
item_desc_tit
:
'学术成就'
,
item_desc_tit
:
'学术成就'
,
item_desc_con
:
'成为某个方向和领域最权威的专家学者<br/>获得加州浸会大学工商管理博士学位'
item_desc_con
:
'成为某个方向和领域最权威的专家学者<br/>获得加州浸会大学工商管理博士学位'
},
},
{
{
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
pc-index-project-intro-05.png?v=4
'
,
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
feature_5.png
'
,
item_desc_tit
:
'创新实践'
,
item_desc_tit
:
'创新实践'
,
item_desc_con
:
item_desc_con
:
'硅谷最前沿的管理思想和创新实践分享<br/>中国发展中面临的最实际问题研究<br/>数字经济和数字化管理专题研究实践'
'硅谷最前沿的管理思想和创新实践分享<br/>中国发展中面临的最实际问题研究<br/>数字经济和数字化管理专题研究实践'
},
},
{
{
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
pc-index-project-intro-06.png?v=4
'
,
web_img_uri
:
'https://webapp-pub.ezijing.com/project/cbu-online/
feature_6.png
'
,
item_desc_tit
:
'共同发展'
,
item_desc_tit
:
'共同发展'
,
item_desc_con
:
'全球最新产业发展趋势与中国产业政策分享与研究<br/>全球校友网络助力共同发展'
item_desc_con
:
'全球最新产业发展趋势与中国产业政策分享与研究<br/>全球校友网络助力共同发展'
}
}
],
swiperOption
:
{
observer
:
true
,
observeParents
:
true
,
speed
:
400
,
autoplay
:
true
,
delay
:
3000
,
loop
:
true
,
slidesPerView
:
'auto'
,
centeredSlides
:
true
,
spaceBetween
:
20
,
navigation
:
{
nextEl
:
'.next-button'
,
prevEl
:
'.prev-button'
}
},
titleParams
:
{
name
:
this
.
$t
(
'home.project.title'
)
},
data
:
[
{
icon
:
'https://webapp-pub.ezijing.com/project/marywood/img12.png'
,
iconActive
:
'https://webapp-pub.ezijing.com/project/marywood/img11.png'
,
text
:
this
.
$store
.
state
.
isMobile
?
this
.
$t
(
'home.project.h5.itemT5'
)
:
this
.
$t
(
'home.project.pc.itemT5'
)
},
{
icon
:
'https://webapp-pub.ezijing.com/project/marywood/img22.png'
,
iconActive
:
'https://webapp-pub.ezijing.com/project/marywood/img21.png'
,
text
:
this
.
$store
.
state
.
isMobile
?
this
.
$t
(
'home.project.h5.itemT6'
)
:
this
.
$t
(
'home.project.pc.itemT6'
)
},
{
icon
:
'https://webapp-pub.ezijing.com/project/marywood/img32.png'
,
iconActive
:
'https://webapp-pub.ezijing.com/project/marywood/img31.png'
,
text
:
this
.
$store
.
state
.
isMobile
?
this
.
$t
(
'home.project.h5.itemT7'
)
:
this
.
$t
(
'home.project.pc.itemT7'
)
},
{
icon
:
'https://webapp-pub.ezijing.com/project/marywood/img42.png'
,
iconActive
:
'https://webapp-pub.ezijing.com/project/marywood/img411.png'
,
text
:
this
.
$store
.
state
.
isMobile
?
this
.
$t
(
'home.project.h5.itemT8'
)
:
this
.
$t
(
'home.project.pc.itemT8'
)
},
{
icon
:
'https://webapp-pub.ezijing.com/project/marywood/img52.png'
,
iconActive
:
'https://webapp-pub.ezijing.com/project/marywood/img51.png'
,
text
:
this
.
$store
.
state
.
isMobile
?
this
.
$t
(
'home.project.h5.itemT9'
)
:
this
.
$t
(
'home.project.pc.itemT9'
)
}
]
]
}
}
},
methods
:
{
goPage
(
path
)
{
if
(
path
===
''
)
{
// this.$message('暂未开通,尽请期待。')
return
}
window
.
open
(
path
)
}
},
mounted
()
{
// console.log(this.isMobile)
},
computed
:
{
isMobile
()
{
return
this
.
$store
.
state
.
isMobile
},
swiper
()
{
return
this
.
$refs
.
mySwiper
.
swiper
}
},
methods
:
{
swiperStop
()
{
this
.
swiper
.
autoplay
.
stop
()
},
swiperStart
()
{
this
.
swiper
.
autoplay
.
start
()
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.is-pc
{
.is-pc
{
.swiperOptions
{
width
:
1200px
;
position
:
relative
;
margin-top
:
17px
;
.swiper-wrapper
{
width
:
100%
;
display
:
flex
;
.swiper-slide
{
width
:
250px
;
height
:
569px
;
overflow
:
hidden
;
position
:
relative
;
.item_media
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
img
{
transition
:
0
.3s
;
width
:
100%
;
height
:
100%
;
}
&
:after
{
content
:
''
;
display
:
block
;
width
:
100%
;
height
:
100%
;
position
:
absolute
;
top
:
0
;
left
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
.7
);
}
}
.item_desc
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
250px
;
height
:
349px
;
// background-color: #ededed;
opacity
:
1
;
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
flex-direction
:
column
;
padding
:
34px
37px
53px
33px
;
// transform-origin: bottom;
transform
:
translateY
(
450px
);
transition
:
0
.3s
;
.item_desc_tit
{
font-size
:
20px
;
font-weight
:
400
;
color
:
#fff
;
margin-top
:
34px
;
}
.item_desc_con
{
font-size
:
16px
;
font-weight
:
300
;
color
:
#fff
;
margin-top
:
34px
;
line-height
:
32px
;
}
}
}
.swiper-slide
:hover
{
.item_media
{
img
{
transform
:
scale
(
1
.1
);
}
}
.item_desc
{
// background-color: #fff;
transform
:
translateY
(
160px
);
.item_desc_tit
{
border-bottom
:
1px
solid
#f3f4f4
;
}
}
}
}
}
.card-list
{
.card-list
{
width
:
1200px
;
width
:
1200px
;
position
:
relative
;
position
:
relative
;
margin-top
:
17
px
;
margin-top
:
26
px
;
display
:
flex
;
display
:
grid
;
flex-wrap
:
wrap
;
grid-template-columns
:
repeat
(
3
,
1fr
)
;
justify-content
:
space-around
;
row-gap
:
30px
;
column-gap
:
30px
;
.card-item
{
.card-item
{
width
:
380px
;
height
:
280px
;
height
:
380px
;
margin-bottom
:
20px
;
overflow
:
hidden
;
position
:
relative
;
position
:
relative
;
.item_media
{
.item_media
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
img
{
img
{
transition
:
0
.3s
;
transition
:
0
.3s
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
&
:after
{
content
:
''
;
display
:
block
;
width
:
100%
;
height
:
100%
;
position
:
absolute
;
top
:
0
;
left
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
}
}
}
.item_desc
{
.item_desc
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
top
:
70px
;
top
:
0
;
right
:
35px
;
right
:
0
;
text-align
:
right
;
bottom
:
0
;
padding
:
28px
;
opacity
:
1
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
flex-start
;
.item_desc_tit
{
font-size
:
21px
;
font-weight
:
600
;
color
:
#fff
;
line-height
:
36px
;
text-align
:
left
;
transform
:
translateY
(
150px
);
transition
:
0
.3s
;
white-space
:
nowrap
;
}
.item_desc_con
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#fff
;
margin-top
:
34px
;
line-height
:
32px
;
transform
:
translateY
(
290px
);
transition
:
0
.3s
;
}
}
}
}
.item_desc_tit
{
// .card-item:hover {
display
:
inline-block
;
.card-item
{
padding-bottom
:
10px
;
.item_media
{
font-size
:
20px
;
img
{
font-weight
:
500
;
transform
:
scale
(
1
.1
);
color
:
#aa1941
;
}
line-height
:
1
;
border-bottom
:
1px
solid
#aa1941
;
}
}
.item_desc
{
.item_desc_con
{
.item_desc_tit
{
margin-top
:
20px
;
border-bottom
:
1px
solid
#f3f4f4
;
font-size
:
16px
;
transform
:
translateY
(
110px
);
font-weight
:
400
;
}
color
:
#424242
;
.item_desc_con
{
line-height
:
32px
;
transform
:
translateY
(
80px
);
}
}
}
}
}
}
}
.service-content
{
padding-top
:
64px
;
.nav-content
{
display
:
flex
;
justify-content
:
flex-start
;
padding-top
:
15px
;
li
{
width
:
224px
;
height
:
230px
;
padding-top
:
53px
;
margin-right
:
20px
;
box-sizing
:
border-box
;
background
:
#f9f8f8
;
// background: #fff;
// box-shadow: 0px 4px 38px rgba(142, 30, 34, 0.41);
cursor
:
pointer
;
transition
:
all
0
.3s
;
img
{
width
:
80px
;
height
:
80px
;
display
:
block
;
margin
:
0
auto
;
}
.icon-active
{
display
:
none
;
}
&
:hover
{
background
:
#aa1941
;
box-shadow
:
0px
4px
20px
rgba
(
142
,
30
,
34
,
0
.41
);
.text
{
color
:
#fff
;
}
.icon
{
display
:
none
;
}
.icon-active
{
display
:
block
;
}
}
.text
{
font-size
:
18px
;
color
:
#666666
;
margin-top
:
20px
;
text-align
:
center
;
font-weight
:
400
;
}
}
}
}
.max-width-center
{
.max-width-center
{
width
:
12
12
px
;
width
:
12
00
px
;
margin
:
34px
auto
;
margin
:
64px
auto
0
;
}
}
}
}
.is-h5
{
.is-h5
{
.tit
{
font-size
:
0
.14rem
;
font-weight
:
bold
;
line-height
:
0
.28rem
;
color
:
#424242
;
}
.swiperOptions
{
position
:
relative
;
margin-top
:
0
.08rem
;
.swiper-wrapper
{
width
:
100%
;
display
:
flex
;
.swiper-slide
{
width
:
1
.93rem
;
height
:
4rem
;
img
{
width
:
1
.93rem
;
}
.item_desc
{
width
:
1
.93rem
;
height
:
2
.73rem
;
background-color
:
#ededed
;
opacity
:
1
;
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
flex-direction
:
column
;
padding
:
0
.17rem
0
.18rem
0
0
.17rem
;
.item_desc_tit
{
font-size
:
0
.1rem
;
font-weight
:
400
;
color
:
#333333
;
white-space
:
nowrap
;
margin-top
:
0
.17rem
;
}
.item_desc_con
{
font-size
:
0
.08rem
;
font-weight
:
300
;
color
:
#666666
;
margin-top
:
0
.17rem
;
line-height
:
0
.16rem
;
}
}
.item_desc
:hover
{
background-color
:
#fff
;
.item_desc_tit
{
border-bottom
:
1px
solid
#434343
;
}
}
}
}
}
.card-list-outer
{
overflow-x
:
auto
;
}
.card-list
{
.card-list
{
width
:
12
.6rem
;
overflow-x
:
auto
;
position
:
relative
;
position
:
relative
;
margin-top
:
17px
;
margin-top
:
17px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-around
;
//
justify-content: space-around;
.card-item
{
.card-item
{
width
:
2rem
;
margin-right
:
10px
;
flex
:
0
0
1
.93rem
;
height
:
2
.75rem
;
height
:
2
.75rem
;
overflow
:
hidden
;
overflow
:
hidden
;
position
:
relative
;
position
:
relative
;
float
:
left
;
.item_media
{
.item_media
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -512,7 +150,8 @@ export default {
...
@@ -512,7 +150,8 @@ export default {
.item_desc
{
.item_desc
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
.6rem
;
top
:
1
.1rem
;
width
:
100%
;
width
:
100%
;
height
:
2rem
;
height
:
2rem
;
// background-color: #ededed;
// background-color: #ededed;
...
@@ -530,6 +169,7 @@ export default {
...
@@ -530,6 +169,7 @@ export default {
line-height
:
0
.3rem
;
line-height
:
0
.3rem
;
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
white-space
:
nowrap
;
}
}
.item_desc_con
{
.item_desc_con
{
font-size
:
0
.12rem
;
font-size
:
0
.12rem
;
...
@@ -538,44 +178,10 @@ export default {
...
@@ -538,44 +178,10 @@ export default {
margin-top
:
0
.2rem
;
margin-top
:
0
.2rem
;
line-height
:
0
.24rem
;
line-height
:
0
.24rem
;
text-align
:
justify
;
text-align
:
justify
;
margin
:
auto
;
}
}
}
}
}
}
}
}
.service-content
{
padding-left
:
0
.32rem
;
padding-right
:
0
.32rem
;
.tit
{
font-size
:
0
.14rem
;
font-weight
:
bold
;
line-height
:
0
.28rem
;
color
:
#424242
;
}
ul
{
display
:
flex
;
overflow-x
:
scroll
;
-webkit-overflow-scrolling
:
touch
;
}
li
{
min-width
:
1
.15rem
;
background
:
#ffffff
;
margin-right
:
0
.1rem
;
padding-top
:
0
.11rem
;
img
{
width
:
0
.4rem
;
height
:
0
.4rem
;
display
:
block
;
margin
:
0
auto
;
}
.text
{
font-size
:
0
.1rem
;
line-height
:
0
.16rem
;
color
:
#666666
;
padding-top
:
0
.05rem
;
text-align
:
center
;
padding-bottom
:
0
.1rem
;
}
}
}
}
}
</
style
>
</
style
>
components/home/projectPosition.vue
浏览文件 @
7d0fec8d
<
template
>
<
template
>
<div
:class=
"isMobile ? 'is-h5' : 'is-pc'"
>
<div
class=
"service-content max-width-center"
>
<div
class=
"service-content max-width-center"
>
<card
title=
"项目简介"
>
<card
title=
"项目简介"
v-if=
"!isMobile"
>
<div
class=
"desc"
>
<div
class=
"desc"
>
<img
src=
"https://webapp-pub.ezijing.com/project/cbu-online/school_desc.png"
class=
"desc-img"
/>
<p>
<p>
加州浸会大学工商管理博士DBA项目是经过美国教育监管机构WASC、BPPE、DOE等批准的正规博士项目。该项目强调课程学习与论文写作结合,以培养将管理实践和理论研究深度融合的商业领袖和学者为目标。清控紫荆教育是加州浸会大学工商管理博士项目中国唯一合作伙伴,双方共同致力于为学生提供高质量的学习体验和服务,以更好地融合中国实践。
加州浸会大学工商管理博士DBA项目是经过美国教育监管机构WASC、BPPE、DOE等批准的正规博士项目。该项目强调课程学习与论文写作结合,以培养将管理实践和理论研究深度融合的商业领袖和学者为目标。清控紫荆教育是加州浸会大学工商管理博士项目中国唯一合作伙伴,双方共同致力于为学生提供高质量的学习体验和服务,以更好地融合中国实践。
</p>
</p>
</div>
</card>
<div
v-else
>
<div
class=
"tit"
>
项目简介
</div>
<div
class=
"desc"
>
<p>
加州浸会大学工商管理博士DBA项目是经过美国教育监管机构WASC、BPPE、DOE等批准的正规博士项目。该项目强调课程学习与论文写作结合,以培养将管理实践和理论研究深度融合的商业领袖和学者为目标。清控紫荆教育是加州浸会大学工商管理博士项目中国唯一合作伙伴,双方共同致力于为学生提供高质量的学习体验和服务,以更好地融合中国实践。
</p>
</div>
</div>
</div>
</
div
>
</
card
>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -29,60 +20,7 @@ export default {
...
@@ -29,60 +20,7 @@ export default {
Card
Card
},
},
data
()
{
data
()
{
return
{
return
{}
titleParams
:
{
name
:
this
.
$t
(
'home.project.title'
)
}
// data: [
// {
// icon: 'https://webapp-pub.ezijing.com/project/marywood/img12.png',
// iconActive: 'https://webapp-pub.ezijing.com/project/marywood/img11.png',
// text: this.$store.state.isMobile ? this.$t('home.project.h5.itemT1') : this.$t('home.project.pc.itemT5')
// },
// {
// icon: 'https://webapp-pub.ezijing.com/project/marywood/img22.png',
// iconActive: 'https://webapp-pub.ezijing.com/project/marywood/img21.png',
// text: this.$store.state.isMobile ? this.$t('home.project.h5.itemT1') : this.$t('home.project.pc.itemT6')
// },
// {
// icon: 'https://webapp-pub.ezijing.com/project/marywood/img32.png',
// iconActive: 'https://webapp-pub.ezijing.com/project/marywood/img31.png',
// text: this.$store.state.isMobile ? this.$t('home.project.h5.itemT1') : this.$t('home.project.pc.itemT7')
// },
// {
// icon: 'https://webapp-pub.ezijing.com/project/marywood/img42.png',
// iconActive: 'https://webapp-pub.ezijing.com/project/marywood/img411.png',
// text: this.$store.state.isMobile ? this.$t('home.project.h5.itemT2') : this.$t('home.project.pc.itemT8')
// },
// {
// icon: 'https://webapp-pub.ezijing.com/project/marywood/img52.png',
// iconActive: 'https://webapp-pub.ezijing.com/project/marywood/img51.png',
// text: this.$store.state.isMobile ? this.$t('home.project.h5.itemT3') : this.$t('home.project.pc.itemT9')
// }
// ]
}
},
computed
:
{
isMobile
()
{
return
this
.
$store
.
state
.
isMobile
}
},
methods
:
{
goPage
(
path
)
{
if
(
path
===
''
)
{
// this.$message('暂未开通,尽请期待。')
return
}
window
.
open
(
path
)
}
},
mounted
()
{
console
.
log
(
this
.
isMobile
)
},
computed
:
{
isMobile
()
{
return
this
.
$store
.
state
.
isMobile
}
}
}
}
}
</
script
>
</
script
>
...
@@ -90,36 +28,48 @@ export default {
...
@@ -90,36 +28,48 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.is-pc
{
.is-pc
{
.max-width-center
{
.max-width-center
{
width
:
1212px
;
width
:
1200px
;
min-height
:
460px
;
margin
:
0
auto
;
margin
:
0
auto
;
padding-top
:
168px
;
padding-top
:
65px
;
.desc
{
}
padding
:
28px
30px
0
30px
;
.desc-img
{
p
{
float
:
right
;
text-align
:
justify
;
margin-left
:
40px
;
padding-top
:
20px
;
margin-top
:
-60px
;
font-size
:
20px
;
}
line-height
:
30px
;
.desc
{
font-weight
:
400
;
text-align
:
justify
;
color
:
#666666
;
padding
:
28px
0
;
}
p
{
font-size
:
18px
;
color
:
#666
;
line-height
:
36px
;
}
}
}
}
.remark
{
text-align
:
left
;
font-size
:
20px
;
line-height
:
30px
;
color
:
#666666
;
padding
:
28px
30px
0
30px
;
font-weight
:
400
;
}
}
}
.is-h5
{
.is-h5
{
.max-width-center
{
.desc-img
{
// margin: 0.39rem auto;
max-width
:
100%
;
padding
:
0
.2rem
0
.3rem
0
.2rem
0
.3rem
;
margin-bottom
:
20px
;
}
.tit
{
font-size
:
0
.14rem
;
font-weight
:
bold
;
line-height
:
0
.28rem
;
color
:
#424242
;
}
}
.desc
{
.desc
{
text-align
:
justify
;
text-align
:
justify
;
white-space
:
pre-line
;
font-size
:
0
.12rem
;
font-weight
:
400
;
line-height
:
0
.2rem
;
color
:
#666666
;
}
.remark
{
text-align
:
left
;
font-size
:
0
.12rem
;
font-size
:
0
.12rem
;
font-weight
:
400
;
font-weight
:
400
;
line-height
:
0
.2rem
;
line-height
:
0
.2rem
;
...
...
components/layout/pc/Head.vue
浏览文件 @
7d0fec8d
...
@@ -184,8 +184,6 @@ li {
...
@@ -184,8 +184,6 @@ li {
}
}
.head-nav-content
{
.head-nav-content
{
height
:
72px
;
height
:
72px
;
display
:
flex
;
align-items
:
center
;
}
}
}
}
</
style
>
</
style
>
components/layout/pc/Menu.vue
浏览文件 @
7d0fec8d
...
@@ -181,11 +181,10 @@ export default {
...
@@ -181,11 +181,10 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.nav-item-box
{
.nav-item-box
{
padding-left
:
11px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
li
{
li
{
position
:
relative
;
position
:
relative
;
margin-right
:
40px
;
.name
{
.name
{
line-height
:
72px
;
line-height
:
72px
;
font-size
:
22px
;
font-size
:
22px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论