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

学校介绍和师资介绍修改

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