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

chore: 适配移动端

上级 0e6a1f2e
......@@ -114,28 +114,28 @@ export default {
}
.is-h5 {
.video-list {
margin: 0 20px;
display: grid;
grid-template-columns: repeat(1, 1fr);
column-gap: 58px;
row-gap: 20px;
display: flex;
column-gap: 0.12rem;
overflow-x: auto;
overflow-y: hidden;
}
.video-item {
flex: 0 0 2.27rem;
background-color: #fff;
}
.video-item__poster {
position: relative;
img {
width: 100%;
height: 200px;
height: 1.32rem;
object-fit: cover;
}
.play-icon {
position: absolute;
left: 50%;
top: 50%;
width: 83px;
height: 83px;
width: 0.52rem;
height: 0.52rem;
background: rgba(66, 66, 66, 0.5);
border-radius: 50%;
color: #fff;
......@@ -143,19 +143,19 @@ export default {
display: flex;
align-items: center;
justify-content: center;
font-size: 40px;
font-size: 30px;
cursor: pointer;
}
}
.video-item__desc {
padding: 20px;
padding: 0.12rem;
h3 {
font-size: 22px;
font-size: 0.13rem;
color: #666;
}
p {
margin-top: 20px;
font-size: 18px;
margin-top: 0.17rem;
font-size: 0.11rem;
color: #666;
}
}
......@@ -173,7 +173,7 @@ export default {
justify-content: center;
}
.video-player_inner {
max-width: 800px;
max-width: 90%;
border-radius: 10px;
overflow: hidden;
video {
......
......@@ -49,10 +49,10 @@ export default {
{ name: '归国政策', path: '/returnPolicy/returnPolicy' }
]
},
{
name: '常见问题',
path: '/question/question'
},
// {
// name: '常见问题',
// path: '/question/question'
// },
{
name: '报名申请',
onClick: () => {
......
<template>
<div class="video-wrapper" :class="className">
<div class="video-wrapper">
<div v-if="!isMobile" class="content" ref="target">
<!-- <ul class="video-list">
<li class="video-item" v-for="(item, index) in list" :key="index">
......@@ -116,12 +116,6 @@ export default {
computed: {
isMobile() {
return this.$store.state.isMobile
},
className() {
return {
'is-h5': this.isMobile,
'is-pc': !this.isMobile
}
}
},
methods: {
......@@ -200,8 +194,8 @@ export default {
<style lang="scss" scoped>
.is-pc {
margin-top: 56px;
.video-wrapper {
margin-top: 56px;
background: url(https://webapp-pub.ezijing.com/project/depaul-plus/video_bg.png) no-repeat center center;
background-size: cover;
}
......@@ -362,7 +356,9 @@ export default {
}
}
.is-h5 {
margin-top: 0.56rem;
.video-wrapper {
margin: 0.2rem 0;
}
.video-list {
display: flex;
......
......@@ -2,12 +2,8 @@
<div :class="isMobile ? 'is-h5' : 'is-pc'">
<div class="banner-content">
<a href="/my">
<img class="img" src="https://webapp-pub.ezijing.com/project/depaul-plus/banner.png" />
<img class="img" :src="bannerUrl" />
</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" v-if="false">
<div class="banner_nav" v-for="(item, index) in navList" :key="index" @click="navClick(item)">
<div class="nav_top">
......@@ -64,6 +60,11 @@ export default {
computed: {
isMobile() {
return this.$store.state.isMobile
},
bannerUrl() {
return this.isMobile
? 'https://webapp-pub.ezijing.com/project/depaul-plus/h5/banner.png'
: 'https://webapp-pub.ezijing.com/project/depaul-plus/banner.png'
}
},
methods: {
......
......@@ -120,67 +120,40 @@ export default {
margin-top: 17px;
display: flex;
// justify-content: space-around;
column-gap: 0.2rem;
.card-item {
margin-right: 10px;
flex: 0 0 1.93rem;
height: 2.75rem;
overflow: hidden;
flex: 0 0 2.44rem;
height: 1.8rem;
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);
object-fit: cover;
}
}
.item_desc {
position: absolute;
left: 0;
top: 1.1rem;
width: 100%;
height: 2rem;
// background-color: #ededed;
opacity: 1;
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-direction: column;
padding: 0.1rem 0.1rem 0.4rem;
// transform-origin: bottom;
.item_desc_tit {
font-size: 0.16rem;
font-weight: 500;
color: #fff;
line-height: 0.3rem;
width: 100%;
text-align: center;
white-space: nowrap;
}
.item_desc_con {
font-size: 0.12rem;
font-weight: 400;
color: #fff;
margin-top: 0.2rem;
line-height: 0.24rem;
text-align: justify;
margin: auto;
}
top: 0.45rem;
right: 0.25rem;
text-align: right;
}
.item_desc_tit {
display: inline-block;
padding-bottom: 0.07rem;
font-size: 0.12rem;
font-weight: 500;
color: #aa1941;
line-height: 1;
border-bottom: 1px solid #aa1941;
}
.item_desc_con {
margin-top: 0.15rem;
font-size: 0.1rem;
font-weight: 400;
color: #424242;
line-height: 0.16rem;
}
}
}
......
......@@ -4,12 +4,10 @@
<template v-if="!searchVisible">
<div class="logo-box">
<img @click="goWebsite" src="https://webapp-pub.ezijing.com/project/depaul-plus/logo.png" />
<div class="line"></div>
<nuxt-link to="/" class="logo">
<div class="title">
德保罗大学金融学硕士保研项目
</div>
<!-- <img src="https://webapp-pub.ezijing.com/project/marywood/marywood_logo.svg" /> -->
</nuxt-link>
</div>
<!-- <nuxt-link to="/" class="logo"></nuxt-link> -->
......@@ -89,7 +87,7 @@ export default {
position: relative;
display: flex;
align-items: center;
padding: 0.16rem 0.15rem 0.2rem;
padding: 0.16rem 0.15rem;
background-color: #fff;
border-top: 0.05rem solid #aa1941;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.14);
......@@ -99,7 +97,6 @@ export default {
}
.logo-box {
flex: 1;
display: flex;
img {
height: 0.26rem;
cursor: pointer;
......
<template>
<div>
<div v-if="!isMobile" class="is-pc">
<div class="banner">
<img class="img_banner" src="https://webapp-pub.ezijing.com/project/depaul-plus/project_banner.png" />
<div class="banner">
<img class="img_banner" src="https://webapp-pub.ezijing.com/project/depaul-plus/project_banner.png" />
</div>
<section class="section">
<h2 class="title">项目介绍</h2>
<div class="info">
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/project_desc.png" class="project-info__img" />
<p>
该保研项目是德保罗大学金融学硕士项目的特别录取通道。项目通过对学生的综合素质进行全面个性化评估,鼓励学生以增强综合能力替代应试,减少研究生入学考试以及英语考试对学生学习和成长的干扰。
</p>
<br />
<p>
该项目由德保罗大学金融学硕士保研项目中国招生与教学中心(紫荆教育)全权负责招生和运营,详情请见德保罗大学官网项目说明。
</p>
</div>
<section class="section">
<h2 class="title">项目介绍</h2>
</section>
<section class="section project-target">
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/project_target.png" class="project-target__img" />
<div class="project-target__content">
<h2 class="title">培养目标</h2>
<div class="info">
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/project_desc.png" class="project-info__img" />
<p>
该保研项目是德保罗大学金融学硕士项目的特别录取通道。项目通过对学生的综合素质进行全面个性化评估,鼓励学生以增强综合能力替代应试,减少研究生入学考试以及英语考试对学生学习和成长的干扰。
金融学硕士(MSF)全称是Master of Science in
Finance,作为STEM指定课程,主要培养具有坚实金融学理论基础和较高应用技能的专业人才,培养学生综合运用金融学、经济学、管理学、现代计量分析手段解决理论问题与实践问题的能力,可以适应金融管理部门、各类金融机构和研究机构的工作。
</p>
<br />
<p>
该项目由德保罗大学金融学硕士保研项目中国招生与教学中心(紫荆教育)全权负责招生和运营,详情请见德保罗大学官网项目说明。
</p>
</div>
</section>
<section class="section project-target">
<div class="project-target__img">
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/project_target.png" />
</div>
<div class="project-target__content">
<h2 class="title">培养目标</h2>
<div class="info">
<p>
金融学硕士(MSF)全称是Master of Science in
Finance,作为STEM指定课程,主要培养具有坚实金融学理论基础和较高应用技能的专业人才,培养学生综合运用金融学、经济学、管理学、现代计量分析手段解决理论问题与实践问题的能力,可以适应金融管理部门、各类金融机构和研究机构的工作。
</p>
<br />
<p>
德保罗大学金融学硕士毕业学生通常在四大会计师事务所、谷歌、IBM等全球知名科技创新企业就职,特别适合有跨专业申请需求、将来有志于从事投行、会计等行业的同学。
</p>
</div>
</div>
</section>
<!-- 申请要求 -->
<section class="section">
<h2 class="title">申请要求</h2>
<ul class="project-content-list">
<li>(一)在读本科大四学生或者本科毕业。</li>
<li>(二)原则要求GPA3.0以上</li>
<li>(三)英语能力优异</li>
<li>(四)综合素质优异(如学术、获奖经历等)</li>
</ul>
</section>
<!-- 学习安排 -->
<section class="section">
<h2 class="title">学习安排</h2>
<div class="info">
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/project_study.png" style="width:100%" />
<p>该保研项目总体教学安排为20周,开学时间一般在每年12月中旬。</p>
<p>
注意:该学习安排可能会根据学校安排有所调整,以最终的邮件通知为准
德保罗大学金融学硕士毕业学生通常在四大会计师事务所、谷歌、IBM等全球知名科技创新企业就职,特别适合有跨专业申请需求、将来有志于从事投行、会计等行业的同学。
</p>
</div>
</section>
<!-- 学制安排 -->
<section class="section">
<h2 class="title">学制安排</h2>
<div class="schedule-list">
<div class="schedule-item" v-for="(item, index) in scheduleList" :key="index">
<img :src="item.image_url" class="schedule-item__img" />
<div class="schedule-item-main">
<h3 class="schedule-item-main__title">{{ item.title }}</h3>
<div class="schedule-item-main__content">
<div v-html="item.desc"></div>
</div>
</div>
</div>
</div>
</section>
<section class="section">
<h2 class="title">国际权威认证</h2>
<div class="cert-list">
<div class="cert-item" v-for="(item, index) in certList" :key="index">
<div class="cert-item-img">
<img :src="item.image_url" class="cert-item__img" />
</div>
<p>{{ item.title }}</p>
</div>
</div>
</section>
<!-- 院校荣誉 -->
<img
src="https://webapp-pub.ezijing.com/project/depaul-plus/pc-school-img4.png"
style="width:100%;min-width:1200px;"
/>
</div>
<div v-else class="is-h5">
<div class="banner">
</div>
</section>
<!-- 申请要求 -->
<section class="section">
<h2 class="title">申请要求</h2>
<ul class="project-content-list">
<li>(一)在读本科大四学生或者本科毕业。</li>
<li>(二)原则要求GPA3.0以上</li>
<li>(三)英语能力优异</li>
<li>(四)综合素质优异(如学术、获奖经历等)</li>
</ul>
</section>
<!-- 学习安排 -->
<section class="section">
<h2 class="title">学习安排</h2>
<div class="info">
<img
class="img_banner"
src="https://webapp-pub.ezijing.com/project/depaul-plus/school_banner.png"
width="100%"
src="https://webapp-pub.ezijing.com/project/depaul-plus/h5/project_study.png"
style="width:100%"
v-if="isMobile"
/>
</div>
<div class="h5-content">
<div class="h5-title">项目介绍</div>
<p>
该保研项目是德保罗大学金融学硕士项目的特别录取通道。项目通过对学生的综合素质进行全面个性化评估,鼓励学生以增强综合能力替代应试,减少研究生入学考试以及英语考试对学生学习和成长的干扰。
</p>
<br />
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/project_study.png" style="width:100%" v-else />
<p>该保研项目总体教学安排为20周,开学时间一般在每年12月中旬。</p>
<p>
该项目由德保罗大学金融学硕士保研项目中国招生与教学中心(紫荆教育)全权负责招生和运营,详情请见德保罗大学官网项目说明。
</p>
<div class="h5-title m-t-10">培养目标</div>
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/h5-school-img2.png" />
<p class="h5-con">
金融学硕士(MSF)全称是Master of Science in
Finance,作为STEM指定课程,主要培养具有坚实金融学理论基础和较高应用技能的专业人才,培养学生综合运用金融学、经济学、管理学、现代计量分析手段解决理论问题与实践问题的能力,可以适应金融管理部门、各类金融机构和研究机构的工作。德保罗大学金融学硕士毕业学生通常在四大会计师事务所、谷歌、IBM等全球知名科技创新企业就职,特别适合有跨专业申请需求、将来有志于从事投行、会计等行业的同学。
</p>
<div class="h5-title m-t-10">申请条件</div>
<div class="h5-list">
<ul>
<li>
<p>(一)在读本科大四学生或者本科毕业。</p>
</li>
<li>
<p>(二)原则要求GPA3.0以上</p>
</li>
<li>
<p>(三)英语能力优异</p>
</li>
<li>
<p>(四)综合素质优异(如学术、获奖经历等)</p>
</li>
</ul>
</div>
<div class="h5-title m-t-10">学习安排</div>
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/study_arrange.png" alt="" />
<div class="list_desc">
该保研项目总体教学安排为20周,开学时间一般在每年12月中旬。
</div>
<div class="list_desc">
注意:该学习安排可能会根据学校安排有所调整,以最终的邮件通知为准
</div>
<div class="h5-title m-t-10">学制安排</div>
<div class="img-list">
<div class="xz-content">
<div class="xz-item xz1">
<div class="mask"></div>
<div class="desc desc_child">
<div class="desc_tit">学制安排</div>
<div class="desc_detail"><span class="num">国内+国外</span><span class="fen"></span></div>
</div>
</div>
<div class="xz-item xz2">
<div class="mask"></div>
<div class="desc desc_child">
<div class="desc_tit">学分设置</div>
<div class="desc_detail"><span class="num">30</span><span class="fen">学分</span></div>
</div>
</div>
<div class="xz-item xz3">
<div class="mask"></div>
<div class="desc desc_child">
<div class="desc_tit">国内授课</div>
<div class="desc_detail">
<div class="desc_detail_item">
<span class="fen fen2">语言强化课程&nbsp;</span><span class="num">4</span
><span class="fen fen1"></span>
</div>
<div class="desc_detail_item">
<span class="fen fen2">科研训练课&nbsp;&nbsp;&nbsp;</span><span class="num">6</span
><span class="fen fen1">个主题</span>
</div>
<div class="desc_detail_item">
<span class="fen fen1">硕士学分课&nbsp;&nbsp</span>
<span class="num">3</span><span class="fen fen1"></span><span class="num">9</span
><span class="fen fen1">学分</span>
</div>
</div>
</div>
</div>
<div class="xz-item xz4">
<div class="mask"></div>
<div class="desc desc_child">
<div class="desc_tit">国外授课</div>
</p>
</div>
</section>
<div class="desc_detail">
<span class="num">7</span><span class="fen fen1">门课</span><span class="num">21</span
><span class="fen">学分</span>
</div>
</div>
<!-- 学制安排 -->
<section class="section">
<h2 class="title">学制安排</h2>
<div class="schedule-list">
<div class="schedule-item" v-for="(item, index) in scheduleList" :key="index">
<img :src="item.image_url" class="schedule-item__img" />
<div class="schedule-item-main">
<h3 class="schedule-item-main__title">{{ item.title }}</h3>
<div class="schedule-item-main__content">
<div v-html="item.desc"></div>
</div>
</div>
</div>
<div class="h5-title m-t-10">国际权威认证</div>
<div class="h5-course-set">
<img
src="https://webapp-pub.ezijing.com/project/depaul-plus/h5-school-img6.png"
style="margin-bottom: 0.3rem"
/>
</div>
</section>
<section class="section">
<h2 class="title">国际权威认证</h2>
<div class="cert-list">
<div class="cert-item" v-for="(item, index) in certList" :key="index">
<div class="cert-item-img">
<img :src="item.image_url" class="cert-item__img" />
</div>
<p>{{ item.title }}</p>
</div>
<img src="https://webapp-pub.ezijing.com/project/depaul-plus/h5-school-img7.png" style="margin-top: 0.25rem " />
</div>
</div>
</section>
<!-- 院校荣誉 -->
<img
src="https://webapp-pub.ezijing.com/project/depaul-plus/h5/project_honor.png"
style="width:100%;"
v-if="isMobile"
/>
<img
src="https://webapp-pub.ezijing.com/project/depaul-plus/project_honor.png"
style="width:100%;min-width:1200px;"
v-else
/>
</div>
</template>
<script>
......@@ -375,197 +269,124 @@ export default {
.is-h5 {
.banner {
img {
width: 100%;
display: block;
width: 100%;
height: 1.15rem;
object-fit: cover;
}
}
.list_desc {
font-size: 0.12rem;
font-weight: 300;
line-height: 2;
color: #666666;
}
.h5-course-set {
background: #fff;
padding: 0.2rem 0.12rem;
margin-bottom: 0.28rem;
.course-set-tips {
font-size: 0.11rem;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 2;
color: #666666;
.section {
margin: 0 0.15rem;
.title {
font-size: 0.16rem;
font-weight: bold;
line-height: 1;
color: #333;
padding-left: 0.1rem;
margin: 0.3rem 0 0.2rem;
border-left: 0.04rem solid #aa1941;
}
.h5-head {
height: 0.7rem;
border-bottom: 1px solid #bebebe;
display: flex;
overflow-x: scroll;
.btn {
padding-top: 0.25rem;
p {
font-size: 0.13rem;
color: #959595;
text-align: center;
white-space: nowrap;
}
&.active {
p {
color: #aa1941;
}
border-bottom: 1px solid #aa1941;
}
.info {
p {
font-size: 0.12rem;
line-height: 0.18rem;
color: #666;
}
}
}
.h5-content {
padding: 0 0.15rem;
img {
width: 100%;
display: block;
margin-bottom: 0.15rem;
}
p {
.project-info__img {
display: none;
}
.project-target__img {
margin-top: 0.3rem;
width: 100%;
}
.project-content-list {
li {
font-size: 0.12rem;
font-weight: 300;
line-height: 2;
color: #424242;
}
p + p {
margin-top: 0.1rem;
}
.h5-title {
font-size: 0.14rem;
font-weight: bold;
line-height: 0.18rem;
color: #424242;
line-height: 0.36rem;
&.m-t-10 {
margin-top: 0.1rem;
}
}
.h5-con {
font-size: 0.12rem;
font-weight: 300;
line-height: 0.2rem;
color: #424242;
}
.schedule-list {
overflow-x: auto;
overflow-y: hidden;
display: flex;
column-gap: 0.1rem;
}
.schedule-item {
flex: 0 0 1.46rem;
height: 1.72rem;
position: relative;
}
.schedule-item__img {
width: 100%;
height: 100%;
object-fit: cover;
}
.schedule-item-main {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
color: #fff;
padding: 0.3rem 0 0.2rem;
display: flex;
flex-direction: column;
}
.schedule-item-main__title {
font-size: 0.12rem;
font-weight: 500;
text-align: center;
}
.schedule-item-main__content {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.09rem;
line-height: 0.18rem;
text-align: center;
::v-deep b {
font-size: 0.15rem;
}
.h5-list {
}
.cert-list {
display: flex;
justify-content: space-between;
background-color: #fff;
padding: 0.2rem;
margin-bottom: 0.4rem;
}
.cert-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex: 0 0 1.25rem;
height: 1.18rem;
border: 1px solid #c9c9c9;
border-radius: 4px 4px 4px 4px;
background-color: #fff;
padding: 0.1rem;
.cert-item-img {
flex: 1;
display: flex;
// justify-content: center;
// align-items: center;
flex-direction: column;
ul {
padding: 0.2rem;
li {
list-style-type: disc;
color: #aa1941;
p {
color: #666666 !important;
}
}
}
align-items: center;
justify-content: center;
height: 0.6rem;
img {
margin-top: 0.1rem;
// width: 1.08rem;
// height: 1.4rem;
// display: block;
}
}
.img-list {
overflow-x: scroll;
display: flex;
.xz-content {
width: 6rem;
margin: auto;
text-align: center;
display: flex;
.img-box {
position: relative;
flex: 1;
}
.xz-item {
width: 1.46rem;
height: 1.73rem;
margin-right: 0.1rem;
cursor: pointer;
position: relative;
.mask {
position: absolute;
background: rgba(0, 0, 0, 0.6);
color: #ffffff;
opacity: 1;
top: 0;
right: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.desc_child {
margin-top: 0.13rem;
}
.desc_last {
margin: 0.1rem auto;
}
.desc {
// display: flex;
// align-items: center;
// flex-direction: column;
// justify-content: center;
transition: all 0.15s ease-in;
position: relative;
z-index: 11;
.desc_tit {
font-size: 0.2rem;
font-weight: 500;
color: #ffffff;
}
.desc_detail {
color: #ffffff;
white-space: nowrap;
margin-top: 0.35rem;
.num {
font-size: 0.15rem;
font-weight: bold;
}
.fen {
font-size: 0.1rem;
font-weight: 400;
}
.desc_detail_item {
margin-top: 0.04rem;
white-space: nowrap;
text-align: left;
padding-left: 0.05rem;
}
}
}
}
.xz1 {
background: url('https://webapp-pub.ezijing.com/project/depaul-plus/pc-school-img11.png');
}
.xz2 {
background: url('https://webapp-pub.ezijing.com/project/depaul-plus/pc-school-img22.png');
}
.xz3 {
background: url('https://webapp-pub.ezijing.com/project/depaul-plus/pc-school-img33.png');
}
.xz4 {
background: url('https://webapp-pub.ezijing.com/project/depaul-plus/pc-school-img44.png');
}
max-width: 100%;
max-height: 100%;
}
}
.swiper-content {
padding-bottom: 0.5rem;
p {
font-size: 0.1rem;
color: #333333;
text-align: center;
}
}
}
::v-deep {
.swiper-pagination-bullet-active {
background: #fff;
}
}
</style>
......@@ -64,18 +64,10 @@ export default {
<style lang="scss" scoped>
.is-pc {
.dataList {
width: 900px;
display: flex;
justify-content: center;
align-items: flex-start;
flex-wrap: wrap;
margin-left: 50px;
padding: 96px 0 108px 0;
margin: 80px;
.item {
width: 790px;
height: 110px;
opacity: 1;
display: flex;
justify-content: space-between;
align-items: center;
......@@ -127,25 +119,18 @@ export default {
}
.is-h5 {
.dataList {
width: 3.3rem;
display: flex;
justify-content: center;
align-items: flex-start;
flex-wrap: wrap;
margin-left: 0.15rem;
padding: 0.48rem 0.61rem 0.3rem;
padding: 0.3rem;
.item {
width: 3.3rem;
margin-bottom: 0.2rem;
height: 0.5rem;
opacity: 1;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
border-top: 1px solid #dedede;
border-bottom: 1px solid #dedede;
padding: 0 0.23rem 0 0.1rem;
padding: 0 0.1rem;
.item_left {
display: flex;
justify-content: space-between;
......@@ -179,6 +164,9 @@ export default {
text-align: center;
font-size: 0.08rem;
color: #ffffff;
&.is-disabled {
background: #999;
}
}
}
}
......
......@@ -54,10 +54,9 @@
</swiper-slide>
</swiper>
</section>
<div class="content_tit">
<div class="line"></div>
<div class="tit_desc">校园风光</div>
</div>
<section class="section">
<h2 class="section_title">校园风光</h2>
</section>
<div class="swiper-content" @mouseenter="swiperStop" @mouseleave="swiperStart">
<div v-swiper:mySwiper="swiperOption" ref="mySwiper">
<div class="swiper-wrapper">
......@@ -233,21 +232,9 @@ export default {
}
.section {
max-width: 1212px;
margin: 83px auto;
.swiper-content1 {
width: 1200px;
margin-left: 60px;
max-width: 1200px;
margin: 80px auto 0;
.swiper-slide {
width: 360px;
height: 574px;
video {
height: 100%;
line-height: 100%;
}
}
}
.section_title {
position: relative;
margin-top: 20px;
......@@ -262,8 +249,6 @@ export default {
.section_teacher {
width: 1200px;
display: flex;
justify-content: space-between;
margin-top: 36px;
.teacher_item {
width: 280px;
......@@ -296,34 +281,13 @@ export default {
}
}
}
.content_tit {
width: 1200px;
margin: auto;
text-align: center;
display: flex;
justify-content: flex-start;
margin-top: 64px;
.line {
width: 6px;
height: 34px;
background: #aa1941;
margin-right: 9px;
margin-top: 6px;
}
.tit_desc {
color: #333333;
font-size: 34px;
font-weight: bold;
}
}
.swiper-content {
padding-top: 37px;
padding-bottom: 132px;
padding-bottom: 80px;
.swiper-slide {
position: relative;
width: 388px;
height: 244px;
margin-top: 10px;
img {
width: 100%;
......@@ -331,11 +295,6 @@ export default {
line-height: 100%;
}
}
.swiper-slide-active {
width: 423px;
height: 266px;
margin-top: 0;
}
}
}
.is-h5 {
......@@ -343,107 +302,78 @@ export default {
position: relative;
.img_banner {
width: 100%;
height: 100%;
height: 1.55rem;
object-fit: cover;
}
.banner_con {
padding: 0.23rem 0.3rem;
padding: 0.23rem 0.15rem;
.con_tit {
font-size: 0.14rem;
color: #424242;
font-size: 0.16rem;
font-weight: bold;
line-height: 1;
color: #333;
padding-left: 0.1rem;
margin-top: 0.2rem;
border-left: 0.04rem solid #aa1941;
}
.con_desc {
margin-top: 0.2rem;
font-size: 0.12rem;
font-weight: 300;
color: #424242;
margin-top: 0.16rem;
line-height: 2;
color: #666;
line-height: 0.18rem;
}
}
}
.section {
.swiper-content1 {
overflow-x: auto;
.swiper-slide {
width: 3.3rem;
height: 4.58rem;
video {
height: 100%;
line-height: 100%;
}
}
}
margin: 0 0.15rem;
.section_title {
font-size: 0.14rem;
font-size: 0.16rem;
font-weight: bold;
color: #424242;
padding-left: 0.16rem;
margin-top: 0.23rem;
line-height: 1;
color: #333;
padding-left: 0.1rem;
margin: 0.3rem 0 0.2rem;
border-left: 0.04rem solid #aa1941;
}
.section_teacher {
display: flex;
justify-content: space-between;
margin-top: 0.18rem;
overflow-x: auto;
padding-left: 0.15rem;
.teacher_item {
padding: 0.15rem 0.18rem 0 0.2rem;
width: 1.9rem;
display: flex;
flex-direction: column;
align-items: center;
background-color: #fff;
margin-right: 0.15rem;
width: 1.4rem;
.item_img {
width: 1.7rem;
height: 1.8rem;
width: 1.4rem;
height: 1.7rem;
object-fit: cover;
}
.item_bottom {
padding: 0.12rem 0.18rem 0.1rem 0.3rem;
text-align: left;
padding: 0.1rem;
.img_tit {
font-size: 0.09rem;
font-size: 0.11rem;
font-weight: 500;
color: #424242;
}
.item_desc {
margin-top: 0.1rem;
margin-top: 0.08rem;
li {
// margin-left: 0.1rem;
white-space: nowrap;
font-size: 0.08rem;
font-weight: 400;
color: #666666;
line-height: 1.5;
line-height: 0.14rrem;
}
}
}
}
}
}
.content_tit {
padding-left: 0.16rem;
margin-top: 0.23rem;
.tit_desc {
font-size: 0.14rem;
font-weight: bold;
color: #424242;
}
}
.swiper-content {
padding-bottom: 0.2rem;
.swiper-slide {
position: relative;
width: 2.02rem;
height: 1.22rem;
margin-top: 0.28rem;
img {
width: 100%;
......@@ -451,11 +381,6 @@ export default {
line-height: 100%;
}
}
.swiper-slide-active {
width: 2.12rem;
height: 1.33rem;
margin-top: 0.23rem;
}
}
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论