Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
5f44ba90
提交
5f44ba90
authored
7月 21, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 新增exed项目站
上级
44cf596f
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
49 行增加
和
110 行删除
+49
-110
home.vue
pages/home.vue
+0
-61
index.vue
pages/index.vue
+49
-49
没有找到文件。
pages/home.vue
deleted
100644 → 0
浏览文件 @
44cf596f
<
template
>
<div
class=
"container"
>
<!-- 轮播图 -->
<banner
/>
<!-- 项目特色 -->
<project-features
/>
<!-- 学校排名 -->
<school-ranking
/>
<!-- 最新动态 -->
<news
/>
<!-- 师生风采 -->
<presence
/>
<!-- 常见问题 -->
<common-problem
/>
<!-- 公开课 -->
<open-class
/>
<!-- 右侧功能栏 -->
<!--
<right-aside
/>
-->
</div>
</
template
>
<
script
>
import
banner
from
'../components/home/banner'
import
projectFeatures
from
'../components/home/projectFeatures'
import
schoolRanking
from
'../components/home/schoolRanking'
import
news
from
'../components/home/news'
import
presence
from
'../components/home/presence'
import
commonProblem
from
'../components/home/commonProblem'
import
openClass
from
'../components/home/openClass'
import
rightAside
from
'../components/rightAside'
export
default
{
layout
:
'normal'
,
components
:
{
banner
,
projectFeatures
,
schoolRanking
,
news
,
presence
,
commonProblem
,
openClass
,
rightAside
},
data
()
{
return
{
isScale
:
false
}
},
created
()
{},
mounted
()
{
if
(
document
.
documentElement
.
clientWidth
<
1400
)
{
// this.isScale = true
}
}
}
</
script
>
<
style
>
.container
{
width
:
100%
;
padding-bottom
:
50px
;
}
</
style
>
pages/index.vue
浏览文件 @
5f44ba90
<
template
>
<div
class=
"home"
:class=
"isMobile ? 'is-h5' : 'is-pc'"
>
<div
class=
"buttons"
>
<a
href=
"/home"
>
Apply for SHMS MBA
</a>
<a
href=
"https://certs.ezijing.com"
>
Degree Inquiry
</a>
</div>
<div
class=
"container"
>
<!-- 轮播图 -->
<banner
/>
<!-- 项目特色 -->
<project-features
/>
<!-- 学校排名 -->
<school-ranking
/>
<!-- 最新动态 -->
<news
/>
<!-- 师生风采 -->
<presence
/>
<!-- 常见问题 -->
<common-problem
/>
<!-- 公开课 -->
<open-class
/>
<!-- 右侧功能栏 -->
<!--
<right-aside
/>
-->
</div>
</
template
>
<
script
>
import
banner
from
'../components/home/banner'
import
projectFeatures
from
'../components/home/projectFeatures'
import
schoolRanking
from
'../components/home/schoolRanking'
import
news
from
'../components/home/news'
import
presence
from
'../components/home/presence'
import
commonProblem
from
'../components/home/commonProblem'
import
openClass
from
'../components/home/openClass'
import
rightAside
from
'../components/rightAside'
export
default
{
computed
:
{
isMobile
()
{
return
this
.
$store
.
state
.
isMobile
layout
:
'normal'
,
components
:
{
banner
,
projectFeatures
,
schoolRanking
,
news
,
presence
,
commonProblem
,
openClass
,
rightAside
},
data
()
{
return
{
isScale
:
false
}
}
}
</
script
>
<
style
lang=
"scss"
>
.home
{
position
:
relative
;
height
:
100vh
;
min-height
:
900px
;
background
:
url('~assets/images/home.png')
no-repeat
center
top
;
background-size
:
auto
100%
;
.buttons
{
position
:
absolute
;
left
:
50%
;
bottom
:
294px
;
transform
:
translateX
(
-50%
);
display
:
flex
;
flex-direction
:
column
;
row-gap
:
44px
;
}
a
{
width
:
452px
;
height
:
60px
;
font-family
:
Source
Han
Sans
CN
;
font-size
:
24px
;
text-align
:
center
;
line-height
:
60px
;
color
:
#ffffff
;
border-radius
:
66px
;
box-sizing
:
border-box
;
border
:
2px
solid
#d5b329
;
background
:
url('~assets/images/button_arrow.png')
no-repeat
center
right
20px
;
&
.is-active
,
&
:hover
{
color
:
#000
;
background
:
#d5b329
url('~assets/images/button_arrow_hover.png')
no-repeat
center
right
20px
;
},
created
()
{},
mounted
()
{
if
(
document
.
documentElement
.
clientWidth
<
1400
)
{
// this.isScale = true
}
}
}
.is-h5
{
&
.home
{
a
{
width
:
320px
;
}
}
</
script
>
<
style
>
.container
{
width
:
100%
;
padding-bottom
:
50px
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论