提交 ccbf9076 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 首页改版

上级 d1ed931b
......@@ -22,7 +22,7 @@ body {
'Hiragino Sans GB', 'Wenquanyi Micro Hei', sans-serif;
padding: 0;
margin: 0;
background: #eee;
background: #f9f8f8;
}
p {
margin: 0;
......
<template>
<div :class="isMobile ? 'is-h5' : 'is-pc'">
<div class="banner-content">
<img class="img" src="https://webapp-pub.ezijing.com/project/sit-plus/pc-index-banner.png" />
<div class="content_desc">
<a href="/my">
<img class="img" src="https://webapp-pub.ezijing.com/project/sit-plus/banner.png" />
</a>
<!-- <div class="content_desc">
<div class="desc_cn">斯蒂文斯理工学院工程管理硕士保研项目</div>
<div class="desc_en">Stevens Institute of Technology Master of Engineering in Engineering Management</div>
</div>
<div class="banner_navList">
</div> -->
<div class="banner_navList" v-if="false">
<div class="banner_nav" v-for="(item, index) in navList" :key="index" @click="navClick(item)">
<div class="nav_top">
<img class="nav_img" :src="item.img" v-if="!isMobile" />
......@@ -94,6 +96,8 @@ export default {
.img {
width: 100%;
height: 100%;
min-height: 650px;
object-fit: cover;
z-index: 1000;
}
.content_desc {
......
......@@ -106,7 +106,7 @@ export default {
.news-content-box {
width: 1200px;
margin: 0 auto;
padding-top: 65px;
padding-top: 100px;
.content-box {
display: flex;
justify-content: space-between;
......@@ -191,7 +191,7 @@ export default {
}
.is-h5 {
.news-content-box {
padding: 0.2rem 0.3rem 0.2rem 0.3rem;
padding: 0.2rem 0.15rem;
.banner {
display: flex;
justify-content: space-between;
......
<template>
<div :class="isMobile ? 'is-h5' : 'is-pc'">
<div class="service-content max-width-center">
<card title="项目简介" v-if="!isMobile">
<div class="desc">
<p>
该保研项目是斯蒂文斯理工学院工程管理硕士项目的特别录取通道。项目通过对学生的全面个性化评估和科研主题课程训练,鼓励学生以增强科研能力替代应试,减少研究生入学考试对学生学习和科研的干扰。
</p>
<br />
<div class="service-content max-width-center">
<card title="项目简介">
<div class="desc">
<p>
该保研项目是斯蒂文斯理工学院工程管理硕士项目的特别录取通道。项目通过对学生的全面个性化评估和科研主题课程训练,鼓励学生以增强科研能力替代应试,减少研究生入学考试对学生学习和科研的干扰。
</p>
<br />
<p>
该项目由斯蒂文斯理工学院工程管理硕士保研项目中国招生与教学中心(紫荆教育)全权负责运营,详情请见斯蒂文斯理工学院官网项目说明:<a
href="https://www.stevens.edu/page-basic/zijing-partnership"
style="color:#aa1941"
>https://www.stevens.edu/page-basic/zijing-partnership</a
>
</p>
</div>
</card>
<div v-else>
<div class="tit">项目简介</div>
<div class="desc">
<p>
该保研项目是斯蒂文斯理工学院工程管理硕士项目的特别录取通道。项目通过对学生的全面个性化评估和科研主题课程训练,鼓励学生以增强科研能力替代应试,减少研究生入学考试对学生学习和科研的干扰。
</p>
<p>
该项目由斯蒂文斯理工学院工程管理硕士保研项目中国招生与教学中心(紫荆教育)全权负责运营,详情请见斯蒂文斯理工学院官网项目说明:<a
href="https://www.stevens.edu/page-basic/zijing-partnership"
style="color:#aa1941"
>https://www.stevens.edu/page-basic/zijing-partnership</a
>
</p>
</div>
<p>
该项目由斯蒂文斯理工学院工程管理硕士保研项目中国招生与教学中心(紫荆教育)全权负责运营,详情请见斯蒂文斯理工学院官网项目说明:<a
href="https://www.stevens.edu/page-basic/zijing-partnership"
target="_blank"
>https://www.stevens.edu/page-basic/zijing-partnership</a
>
</p>
</div>
</div>
</card>
</div>
</template>
<script>
......@@ -41,65 +23,9 @@ import Card from '@/components/Card'
import AppLink from '@/components/Link'
export default {
name: 'projectFeatures',
components: {
AppLink,
Card
},
components: { AppLink, Card },
data() {
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
}
return {}
}
}
</script>
......@@ -107,43 +33,51 @@ export default {
<style lang="scss" scoped>
.is-pc {
.max-width-center {
width: 1212px;
width: 1200px;
margin: 0 auto;
padding-top: 68px;
.desc {
text-align: justify;
// white-space: pre-line;
font-size: 20px;
line-height: 30px;
font-weight: 400;
padding: 28px 30px 0 30px;
p {
// text-indent: 2em;
line-height: 36px;
color: #666666;
}
padding-top: 65px;
}
.desc-img {
float: right;
margin-left: 40px;
margin-top: -60px;
}
.desc {
text-align: justify;
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 {
.max-width-center {
// margin: 0.39rem auto;
padding: 0.2rem 0.3rem 0.2rem 0.3rem;
}
.tit {
font-size: 0.14rem;
font-weight: bold;
line-height: 0.28rem;
color: #424242;
.desc-img {
max-width: 100%;
margin-bottom: 20px;
}
.desc {
white-space: pre-line;
text-align: justify;
font-size: 0.12rem;
font-weight: 400;
line-height: 0.2rem;
p {
color: #666666;
}
color: #666666;
}
.remark {
text-align: left;
font-size: 0.12rem;
font-weight: 400;
line-height: 0.2rem;
color: #666666;
}
}
</style>
<template>
<div :class="isMobile ? 'is-h5' : 'is-pc'">
<div class="service-content max-width-center">
<card title="学校简介" v-if="!isMobile">
<div class="desc">
<p>
斯蒂文斯理工学院创办于1870年,和麻省理工、加州理工、伦斯勒理工学院并称为美国四大理工学院,是美国历史最为悠久的理工学院之一。学校坐落于纽约大都会区新泽西州霍博肯市(Hoboken, New Jersey),与曼哈顿岛隔河相望,是世界上地理位置最佳的学校之一。
</p>
<br/>
<p>
斯蒂文斯理工学院是一所在美国的教育和研究领域中位居前沿的理工类大学,长年位列U.S. News & World Report全美Top100。该校的教授和学者在自然科学及管理科学领域享有盛誉,培养了诺贝尔物理学奖得主费瑞得瑞恩(Frederick Reines)、诺贝尔化学奖得主欧文朗缪尔(Irving Langmuir)、现代管理学之父弗雷德里克泰勒(Frederick Winslow Taylor)以及甘特图的发明者亨利甘特(Henry Laurence Gantt)等杰出人才。该校毕业生享有极高声誉,在NACE全美大学最高薪酬排行中位列第7位,在二十年投资回报比中位列第三位,USA Today将其评选为全美最佳七所工程学院之一。
</p>
</div>
</card>
<div v-else>
<div class="tit">学校简介</div>
<div class="desc">
<p>
斯蒂文斯理工学院创办于1870年,和麻省理工、加州理工、伦斯勒理工学院并称为美国四大理工学院,是美国历史最为悠久的理工学院之一。学校坐落于纽约大都会区新泽西州霍博肯市(Hoboken, New Jersey),与曼哈顿岛隔河相望,是世界上地理位置最佳的学校之一。
</p>
<p>
斯蒂文斯理工学院是一所在美国的教育和研究领域中位居前沿的理工类大学,长年位列U.S. News & World Report全美Top100。该校的教授和学者在自然科学及管理科学领域享有盛誉,培养了诺贝尔物理学奖得主费瑞得瑞恩(Frederick Reines)、诺贝尔化学奖得主欧文朗缪尔(Irving Langmuir)、现代管理学之父弗雷德里克泰勒(Frederick Winslow Taylor)以及甘特图的发明者亨利甘特(Henry Laurence Gantt)等杰出人才。该校毕业生享有极高声誉,在NACE全美大学最高薪酬排行中位列第7位,在二十年投资回报比中位列第三位,USA Today将其评选为全美最佳七所工程学院之一。
</p>
</div>
<div class="service-content max-width-center">
<card title="学校简介">
<div class="desc">
<img src="https://webapp-pub.ezijing.com/project/sit-plus/school_desc.png" class="desc-img" />
<p>
斯蒂文斯理工学院创办于1870年,和麻省理工、加州理工、伦斯勒理工学院并称为美国四大理工学院,是美国历史最为悠久的理工学院之一。学校坐落于纽约大都会区新泽西州霍博肯市(Hoboken,
New Jersey),与曼哈顿岛隔河相望,是世界上地理位置最佳的学校之一。
</p>
<br />
<p>
斯蒂文斯理工学院是一所在美国的教育和研究领域中位居前沿的理工类大学,长年位列U.S. News & World
Report全美Top100。该校的教授和学者在自然科学及管理科学领域享有盛誉,培养了诺贝尔物理学奖得主费瑞得瑞恩(Frederick
Reines)、诺贝尔化学奖得主欧文朗缪尔(Irving Langmuir)、现代管理学之父弗雷德里克泰勒(Frederick Winslow
Taylor)以及甘特图的发明者亨利甘特(Henry Laurence
Gantt)等杰出人才。该校毕业生享有极高声誉,在NACE全美大学最高薪酬排行中位列第7位,在二十年投资回报比中位列第三位,USA
Today将其评选为全美最佳七所工程学院之一。
</p>
</div>
</div>
</card>
</div>
</template>
<script>
......@@ -32,65 +25,9 @@ import Card from '@/components/Card'
import AppLink from '@/components/Link'
export default {
name: 'projectFeatures',
components: {
AppLink,
Card
},
components: { AppLink, Card },
data() {
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
}
return {}
}
}
</script>
......@@ -98,45 +35,51 @@ export default {
<style lang="scss" scoped>
.is-pc {
.max-width-center {
width: 1212px;
width: 1200px;
margin: 0 auto;
padding-top: 168px;
.desc {
text-align: justify;
// white-space: pre-line;
font-size: 20px;
line-height: 30px;
font-weight: 400;
padding: 28px 30px 0 30px;
p {
// text-indent: 2em;
line-height: 36px;
color: #666666;
}
padding-top: 120px;
}
.desc-img {
float: right;
margin-left: 40px;
margin-top: -60px;
}
.desc {
text-align: justify;
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 {
.max-width-center {
// margin: 0.39rem auto;
padding: 0.2rem 0.3rem 0.2rem 0.3rem;
}
.tit {
font-size: 0.14rem;
font-weight: bold;
line-height: 0.28rem;
color: #424242;
.desc-img {
max-width: 100%;
margin-bottom: 20px;
}
.desc {
text-align: justify;
white-space: pre-line;
font-size: 0.12rem;
font-weight: 400;
line-height: 0.2rem;
p {
text-indent: 2em;
color: #666666;
}
color: #666666;
}
.remark {
text-align: left;
font-size: 0.12rem;
font-weight: 400;
line-height: 0.2rem;
color: #666666;
}
}
</style>
......@@ -101,7 +101,6 @@ li {
// width: 1200px;
// margin: 0 auto;
border: 1px solid #ebebeb;
padding: 23px 0 22px;
.max-width-content {
display: flex;
align-items: center;
......@@ -184,8 +183,6 @@ li {
}
.head-nav-content {
height: 72px;
display: flex;
align-items: center;
}
}
</style>
......@@ -178,11 +178,10 @@ export default {
</script>
<style lang="scss" scoped>
.nav-item-box {
padding-left: 11px;
display: flex;
justify-content: space-between;
li {
position: relative;
margin-right: 40px;
.name {
line-height: 72px;
font-size: 22px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论