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

chore: 首页改版

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