提交 0718b4b4 authored 作者: matian's avatar matian

学校介绍和师资介绍修改

上级 5a4e03ab
......@@ -109,7 +109,7 @@ export default {
width: 100%;
height: 57px;
font-size: 14px;
line-height: 56px;
line-height: 57px;
text-align: center;
color: #fefffe;
padding-bottom: 15px;
......
<template>
<div :class="isMobile ? 'is-h5' : 'is-pc'">
<app-frame :data="frameParams">
<!-- <app-frame :data="frameParams"> -->
<div class="teacher-content-box">
<div class="content-box">
<div class="teacher-box">
......@@ -19,16 +19,16 @@
</div>
</div>
</div>
</app-frame>
<!-- </app-frame> -->
</div>
</template>
<script>
import appFrame from '@/components/appFrame'
// import appFrame from '@/components/appFrame'
export default {
layout: 'normal',
components: {
appFrame
},
// components: {
// appFrame
// },
data() {
return {
teacherList: [
......@@ -92,8 +92,8 @@ export default {
banner: 'https://webapp-pub.ezijing.com/project/marywood/mary_banner_nx4.jpg',
slider: [
{
name: this.$t('menu.courseChild.set'),
path: '/about/course'
name: this.$t('menu.schoolChild.school3'),
path: '/school/school3'
},
{
name: this.$t('menu.courseChild.teachers'),
......@@ -103,8 +103,7 @@ export default {
}
}
},
mounted() {
},
mounted() {},
computed: {
isMobile() {
return this.$store.state.isMobile
......@@ -113,7 +112,7 @@ export default {
}
</script>
<style lang="scss" scoped>
.is-pc{
.is-pc {
.teacher-content-box {
width: 1200px;
margin: 0 auto;
......@@ -161,13 +160,13 @@ export default {
}
}
}
.is-h5{
.is-h5 {
.teacher-content-box {
.content-box {
padding: .3rem .32rem .3rem;
padding: 0.3rem 0.32rem 0.3rem;
.teacher-box {
.title {
font-size: .14rem;
font-size: 0.14rem;
font-weight: bold;
line-height: 100%;
color: #333333;
......@@ -175,12 +174,12 @@ export default {
ul {
display: flex;
flex-wrap: wrap;
padding-top: .15rem;
padding-top: 0.15rem;
li {
width: 1.32rem;
margin-left: .3rem;
margin-bottom: .13rem;
&:nth-child(odd){
margin-left: 0.3rem;
margin-bottom: 0.13rem;
&:nth-child(odd) {
margin-left: 0;
}
img {
......@@ -190,15 +189,15 @@ export default {
.name {
font-size: 0.14rem;
line-height: 100%;
color: #AA1941;
margin-top: .1rem;
margin-bottom: .03rem;
color: #aa1941;
margin-top: 0.1rem;
margin-bottom: 0.03rem;
}
.p {
font-size: 0.1rem;
line-height: 0.13rem;
color: #666666;
margin-top: .03rem;
margin-top: 0.03rem;
}
}
}
......
<template>
<!-- <app-frame :data="frameParams"> -->
<div>
<div class="banner">
<img class="img_banner" src="https://webapp-pub.ezijing.com/project/marywood/marywood_banner.png" />
......@@ -78,11 +79,11 @@
</div>
</div>
</div>
<!-- </app-frame> -->
</template>
<script>
export default {
layout: 'normal',
data() {
const _this = this
......@@ -111,6 +112,19 @@ export default {
}
}
}
// frameParams: {
// banner: 'https://webapp-pub.ezijing.com/project/marywood/mary_banner_nx4.jpg',
// slider: [
// {
// name: this.$t('menu.schoolChild.school3'),
// path: '/school/school3'
// },
// {
// name: this.$t('menu.courseChild.teachers'),
// path: '/about/teacher'
// }
// ]
// }
}
},
computed: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论