提交 fabe72b6 authored 作者: lihuihui's avatar lihuihui

pc h5合并

上级 1f3af45e
...@@ -16,9 +16,9 @@ export default { ...@@ -16,9 +16,9 @@ export default {
{ {
name: '项目介绍', name: '项目介绍',
children: [ children: [
{ name: '项目背景', path: '/project/bg' }, { name: '项目背景', path: '/project-intro/bg' },
{ name: '项目特色', path: '/project/charac' }, { name: '项目特色', path: '/project-intro/charac' },
{ name: '证书授权', path: '/project/certificate' } { name: '证书授权', path: '/project-intro/certificate' }
] ]
}, },
{ {
......
<template> <template>
<div class="teacher-content-box"> <div :class="isMobile ? 'is-h5' : 'is-pc'">
<app-frame :data="frameParams"> <div class="teacher-content-box">
<div class="content-box"> <app-frame :data="frameParams">
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/marywood-teacher-all.png" style="width:100%;display:block"> <div class="content-box">
</div> <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/marywood-teacher-all.png" style="width:100%;display:block">
</app-frame> </div>
</app-frame>
</div>
</div> </div>
</template> </template>
<script> <script>
...@@ -32,50 +34,68 @@ export default { ...@@ -32,50 +34,68 @@ export default {
} }
}, },
mounted() { mounted() {
},
computed: {
isMobile() {
return this.$store.state.isMobile
}
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.teacher-content-box { .is-h5{
width: 1200px; .teacher-content-box{
margin: 0 auto; .content-box{
.content-box { padding: .3rem .37rem .3rem;
padding: 60px 75px 61px; img{
.teacher-box { width: 100%;
.title { display: block;
font-size: 22px;
font-weight: bold;
line-height: 100%;
color: #333333;
} }
ul { }
display: flex; }
flex-wrap: wrap; }
padding-top: 30px; .is-pc{
li { .teacher-content-box {
width: 180px; width: 1200px;
margin-right: 140px; margin: 0 auto;
margin-bottom: 40px; .content-box {
&:nth-child(3n + 3) { padding: 60px 75px 61px;
margin-right: 0; .teacher-box {
} .title {
img { font-size: 22px;
display: block; font-weight: bold;
width: 100%; line-height: 100%;
} color: #333333;
.name { }
font-size: 18px; ul {
color: #aa1941; display: flex;
line-height: 100%; flex-wrap: wrap;
margin-top: 20px; padding-top: 30px;
margin-bottom: 10px; li {
} width: 180px;
.p { margin-right: 140px;
font-size: 14px; margin-bottom: 40px;
line-height: 100%; &:nth-child(3n + 3) {
color: #666666; margin-right: 0;
white-space: nowrap; }
margin-bottom: 5px; img {
display: block;
width: 100%;
}
.name {
font-size: 18px;
color: #aa1941;
line-height: 100%;
margin-top: 20px;
margin-bottom: 10px;
}
.p {
font-size: 14px;
line-height: 100%;
color: #666666;
white-space: nowrap;
margin-bottom: 5px;
}
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论