提交 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="service-content max-width-center">
<div :class="isMobile ? 'is-h5' : 'is-pc'">
<card :title="$t('home.project.title')" v-if="!isMobile">
<!-- <ul class="nav-content">
<li v-for="(item, index) in data" :key="index">
<img :src="item.icon" class="icon" />
<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 class="max-width-center">
<card :title="$t('home.project.title')">
<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> -->
<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>
</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 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>
</card>
</div>
</template>
<script>
import Card from '@/components/Card'
import AppLink from '@/components/Link'
export default {
name: 'projectFeatures',
components: {
AppLink,
Card
},
components: { AppLink, Card },
data() {
return {
listData: [
{
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/pc-index-project-intro-01.png?v=4',
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/feature_1.png',
item_desc_tit: '全美四大理工之一',
item_desc_con: '与麻省理工、加州理工等并称为<br/>全美四大理工学院'
},
{
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/pc-index-project-intro-02.png?v=4',
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/feature_3.png',
item_desc_tit: '专业全美TOP10',
item_desc_con: 'STEM学科排名前5<br/>全美在线工程管理硕士排名第9<br/>全美大学最高薪酬排名第7'
},
{
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/pc-index-project-intro-06.png?v=4',
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/feature_2.png',
item_desc_tit: '师资雄厚',
item_desc_con: '2位诺贝尔奖得主<br/>科学管理之父泰勒'
},
{
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/pc-index-project-intro-04.png?v=4',
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/feature_4.png',
item_desc_tit: '校方直录',
item_desc_con: '点对点直录<br/>硕士学分国内提前修'
},
{
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/pc-index-project-intro-05.png?v=4',
item_desc_tit: '推免入学',
item_desc_con: '校方语言及科研课程<br/> 免试托福/GRE'
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/feature_5.png',
item_desc_tit: '免标准化考试',
item_desc_con: '校方考试替代托福、GRE'
},
{
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/pc-index-project-intro-03.png?v=4',
web_img_uri: 'https://webapp-pub.ezijing.com/project/sit-plus/feature_6.png',
item_desc_tit: '精英辈出',
item_desc_con:
'美国通用汽车公司联合创始人Charles Stewart Mott<br/>厄瓜多尔总统Leon Febres Cordero<br/>Email访问协议发明者Mark Crispin<br/>LG显示器执行总裁Sang-Beom Han等'
}
// {
// web_img_uri: 'https://webapp-pub.ezijing.com/project/sbu-plus/pc-index-project-intro-06.png?v=4',
// item_desc_tit: '全额退款、安心无忧',
// item_desc_con:
// '就读期间,因个人原因中途放弃或因外部不可抗力因素(如签证不通过等)无法出国学习,个人缴纳的第1学年费用全额退还。'
// }
],
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')
'美国通用汽车公司联合创始人<br/>Charles Stewart Mott<br/>厄瓜多尔总统Leon Febres Cordero<br/>Email访问协议发明者Mark Crispin<br/>LG显示器执行总裁Sang-Beom Han等'
}
]
}
},
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>
<style lang="scss" scoped>
.is-pc {
.swiperOptions {
width: 1200px;
position: relative;
margin-top: 17px;
.swiper-wrapper {
width: 100%;
display: flex;
.swiper-slide {
width: 285px;
height: 380px;
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.6);
}
}
.item_desc {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
padding: 20px;
// background-color: #ededed;
opacity: 1;
display: flex;
flex-direction: column;
.item_desc_tit {
font-size: 20px;
font-weight: 500;
color: #fff;
line-height: 36px;
width: 100%;
text-align: center;
transform: translateY(100px);
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;
}
}
}
.swiper-slide:hover {
.item_media {
img {
transform: scale(1.1);
}
}
.item_desc {
// background-color: #fff;
.item_desc_tit {
border-bottom: 1px solid #f3f4f4;
text-align: left;
transform: translateY(0);
}
.item_desc_con {
transform: translateY(0);
}
}
}
}
}
.card-list {
width: 1200px;
position: relative;
margin-top: 17px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
.card-item:nth-child(1) {
.item_desc_tit {
width: 170px;
}
}
.card-item:nth-child(2) {
.item_desc_tit {
width: 150px;
}
}
.card-item:nth-child(3) {
.item_desc_tit {
width: 84px;
}
}
.card-item:nth-child(4) {
.item_desc_tit {
width: 84px;
}
}
.card-item:nth-child(5) {
.item_desc_tit {
width: 130px;
}
}
.card-item:nth-child(6) {
.item_desc_tit {
width: 84px;
}
}
margin-top: 26px;
display: grid;
grid-template-columns: repeat(3, 1fr);
row-gap: 30px;
column-gap: 30px;
.card-item {
width: 380px;
height: 380px;
margin-bottom: 20px;
overflow: hidden;
height: 280px;
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.6);
}
}
.item_desc {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
padding: 28px;
// background-color: #ededed;
opacity: 1;
display: flex;
flex-direction: column;
.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;
}
}
}
.card-item {
.item_media {
img {
transform: scale(1.1);
}
top: 70px;
right: 35px;
text-align: right;
}
.item_desc {
.item_desc_tit {
border-bottom: 1px solid #f3f4f4;
text-align: left;
transform: translateY(100px);
}
.item_desc_con {
transform: translateY(90px);
}
.item_desc_tit {
display: inline-block;
padding-bottom: 10px;
font-size: 20px;
font-weight: 500;
color: #aa1941;
line-height: 1;
border-bottom: 1px solid #aa1941;
}
.item_desc_con {
margin-top: 20px;
font-size: 16px;
font-weight: 400;
color: #424242;
line-height: 32px;
}
}
}
.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 {
width: 1212px;
margin: 0 auto;
width: 1200px;
margin: 64px auto 0;
}
}
.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;
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 {
width: 12rem;
overflow-x: auto;
position: relative;
margin-top: 17px;
display: flex;
justify-content: space-around;
.card-item:nth-child(6) {
.item_desc {
top: 0;
}
}
.card-item:not(:nth-child(6)) {
.item_desc {
top: 1.1rem;
}
}
// justify-content: space-around;
.card-item {
width: 1.93rem;
margin-right: 10px;
flex: 0 0 1.93rem;
height: 2.75rem;
overflow: hidden;
position: relative;
float: left;
.item_media {
width: 100%;
height: 100%;
......@@ -565,12 +147,14 @@ export default {
background: rgba(0, 0, 0, 0.6);
}
}
.item_desc {
position: absolute;
left: 0;
top: 1.1rem;
width: 100%;
height: 2rem;
// background-color: #ededed;
opacity: 1;
display: flex;
justify-content: flex-start;
......@@ -584,8 +168,8 @@ export default {
color: #fff;
line-height: 0.3rem;
width: 100%;
text-align: left;
word-space: nowrap;
text-align: center;
white-space: nowrap;
}
.item_desc_con {
font-size: 0.12rem;
......@@ -594,44 +178,10 @@ export default {
margin-top: 0.2rem;
line-height: 0.24rem;
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>
<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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论