提交 2536aa02 authored 作者: matian's avatar matian

Merge remote-tracking branch 'origin/marywood-plus' into marywood-plus

<template> <template>
<app-frame :data="frameParams" :class="isMobile ? 'is-h5' : 'is-pc'"> <app-frame :data="frameParams" :class="isMobile ? 'is-h5' : 'is-pc'">
<img src="https://webapp-pub.ezijing.com/project/marywood/sign_banner.png" /> <img src="https://webapp-pub.ezijing.com/project/marywood/sign_banner.png" />
<img v-if="!isMobile" src="https://webapp-pub.ezijing.com/project/marywood/sign_content.png" class="img_bottom" /> <div v-if="!isMobile" style="position: relative;">
<img v-else src="https://webapp-pub.ezijing.com/project/marywood/h5/%E7%BB%84%20286%20(1).png" class="img_bottom" /> <img src="https://webapp-pub.ezijing.com/project/marywood-plus/pc-class-schedule.png" class="img_bottom" />
<a href="https://marywood-plus.ezijing.com/my/account" class="click-tag"></a>
</div>
<div v-else style="position: relative;">
<img src="https://webapp-pub.ezijing.com/project/marywood-plus/h5-class-schedule.png" class="img_bottom" />
<a href="https://marywood-plus.ezijing.com/my/account" class="click-tag1"></a>
<a href="https://marywood-plus.ezijing.com/my/account" class="click-tag2"></a>
</div>
</app-frame> </app-frame>
</template> </template>
<script> <script>
...@@ -36,6 +43,14 @@ export default { ...@@ -36,6 +43,14 @@ export default {
margin-top: 65px; margin-top: 65px;
padding-bottom: 109px; padding-bottom: 109px;
} }
.click-tag{
width: 360px;
height: 20px;
opacity: 0.3;
position: absolute;
top: 150px;
left: 360px;
}
} }
.is-h5 { .is-h5 {
img { img {
...@@ -45,5 +60,21 @@ export default { ...@@ -45,5 +60,21 @@ export default {
.img_bottom { .img_bottom {
padding: 0.4rem 0.14rem 1rem 0.25rem; padding: 0.4rem 0.14rem 1rem 0.25rem;
} }
.click-tag1{
width: 1rem;
height: 0.15rem;
opacity: 0.3;
position: absolute;
top: 0.8rem;
left: 1.86rem;
}
.click-tag2{
width: 1.6rem;
height: 0.15rem;
opacity: 0.3;
position: absolute;
top: 1rem;
left: 0.7rem;
}
} }
</style> </style>
...@@ -63,8 +63,24 @@ ...@@ -63,8 +63,24 @@
</div> </div>
</div> </div>
</div> </div>
<div class="content"> <!-- <div class="content"> -->
<img src="https://webapp-pub.ezijing.com/project/marywood/marywood36.png" /> <!-- <img src="https://webapp-pub.ezijing.com/project/marywood/marywood36.png" /> -->
<!-- </div> -->
<div class="content_tit">
<div class="line"></div>
<div class="tit_desc">课程设置</div>
</div>
<div class="course-set">
<div class="head-tab">
<div @click="courseTab(0)" :class="!courseSetTab ? 'btn active' : 'btn'">
<p>工商管理硕士</p>
<p>Master of Business Administration</p>
</div>
<div @click="courseTab(1)" :class="courseSetTab ? 'btn active' : 'btn'">
<p>管理信息系统硕士</p>
<p>M.S. in Management Information Systems</p>
</div>
</div>
</div> </div>
<div class="content_tit"> <div class="content_tit">
<div class="line"></div> <div class="line"></div>
...@@ -110,7 +126,27 @@ ...@@ -110,7 +126,27 @@
<img src="https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg4.png" /> <img src="https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg4.png" />
</div> </div>
<div class="h5-title m-t-10">课程设置</div> <div class="h5-title m-t-10">课程设置</div>
<img src="https://webapp-pub.ezijing.com/project/marywood/h5/school-img7.png" /> <div class="h5-course-set">
<div class="h5-head">
<div @click="courseTab(0)" :class="!courseSetTab ? 'btn active' : 'btn'" style="margin:0 .42rem 0 .06rem;">
<p>工商管理硕士</p>
<p>Master of Business Administration</p>
</div>
<div @click="courseTab(1)" :class="courseSetTab ? 'btn active' : 'btn'">
<p>管理信息系统硕士</p>
<p>M.S. in Management Information Systems</p>
</div>
</div>
</div>
<!-- <div @click="courseTab(0)" :class="!courseSetTab ? 'btn active' : 'btn'">
<p>工商管理硕士</p>
<p>Master of Business Administration</p>
</div>
<div @click="courseTab(1)" :class="courseSetTab ? 'btn active' : 'btn'">
<p>管理信息系统硕士</p>
<p>M.S. in Management Information Systems</p>
</div> -->
<!-- <img src="https://webapp-pub.ezijing.com/project/marywood/h5/school-img7.png" /> -->
<div class="h5-title m-t-10">校园风光</div> <div class="h5-title m-t-10">校园风光</div>
<div class="swiper-content" @mouseenter="swiperStop" @mouseleave="swiperStart"> <div class="swiper-content" @mouseenter="swiperStop" @mouseleave="swiperStart">
<div v-swiper:mySwiper="swiperOption2" ref="mySwiper"> <div v-swiper:mySwiper="swiperOption2" ref="mySwiper">
...@@ -134,6 +170,7 @@ export default { ...@@ -134,6 +170,7 @@ export default {
const _this = this const _this = this
return { return {
courseSetTab: 0,
popupVisible: false, popupVisible: false,
listData: [ listData: [
{ web_img_uri: 'https://webapp-pub.ezijing.com/project/marywood/school_mary1.png' }, { web_img_uri: 'https://webapp-pub.ezijing.com/project/marywood/school_mary1.png' },
...@@ -213,12 +250,45 @@ export default { ...@@ -213,12 +250,45 @@ export default {
}, },
swiperStart() { swiperStart() {
this.swiper.autoplay.start() this.swiper.autoplay.start()
},
courseTab(n) {
this.courseSetTab = n
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.is-pc { .is-pc {
.course-set{
background: #fff;
width: 1200px;
margin: 30px auto 0;
.head-tab{
height: 120px;
border-bottom: 1px solid #BEBEBE;
display: flex;
justify-content: space-evenly;
.btn{
p{
font-size: 26px;
font-weight: 400;
color: #959595;
text-align: center;
line-height: 100%;
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
}
padding-top: 60px;
cursor: pointer;
&.active{
border-bottom: 1px solid #AA1941;
p{
color: #AA1941;
}
}
}
}
}
.banner { .banner {
position: relative; position: relative;
.img_banner { .img_banner {
...@@ -407,6 +477,30 @@ export default { ...@@ -407,6 +477,30 @@ export default {
display: block; display: block;
} }
} }
.h5-course-set{
background: #fff;
.h5-head{
height: .7rem;
border-bottom: 1px solid #BEBEBE;
display: flex;
overflow-x: scroll;
.btn{
padding-top: .25rem;
p{
font-size: .13rem;
color:#959595;
text-align: center;
white-space: nowrap;
}
&.active{
p{
color: #AA1941;
}
border-bottom: 1px solid #AA1941;
}
}
}
}
.h5-content { .h5-content {
padding: 0 0.15rem; padding: 0 0.15rem;
img { img {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论