|
|
|
<template>
|
|
|
|
<!-- 关于IASF-研究团队 -->
|
|
|
|
<div class="wrap">
|
|
|
|
<div class="actions">
|
|
|
|
<p class="page-name">页面设置/{{ columnName }}</p>
|
|
|
|
<div>
|
|
|
|
<el-button type="primary" @click="preview">预览</el-button>
|
|
|
|
<el-button @click="save(0)">保存为草稿</el-button>
|
|
|
|
<el-button type="primary" @click="save(1)">发布</el-button>
|
|
|
|
<el-button @click="back">放弃编辑</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modules">
|
|
|
|
<div class="relative">
|
|
|
|
<div class="single-banner single-banner-overview">
|
|
|
|
<img class="banner-img" :src="modules[0].form.pic" alt="">
|
|
|
|
<div class="texts">
|
|
|
|
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content">
|
|
|
|
<div class="article">
|
|
|
|
<div class="left">
|
|
|
|
<ul class="teams">
|
|
|
|
<li>
|
|
|
|
<div class="line">
|
|
|
|
<img src="https://new.iasf.ac.cn/images/researchTeam/3.png" alt="" class="icon">
|
|
|
|
<span class="bold">姓名</span>
|
|
|
|
<span class="val">/ 岗位</span>
|
|
|
|
</div>
|
|
|
|
<div class="line">
|
|
|
|
<img src="https://new.iasf.ac.cn/images/researchTeam/4.png" alt="" class="icon">
|
|
|
|
<span class="text">专业 超低温总体</span>
|
|
|
|
</div>
|
|
|
|
<div class="line">
|
|
|
|
<img src="https://new.iasf.ac.cn/images/researchTeam/5.png" alt="" class="icon">
|
|
|
|
<span class="text">荣誉 杰青 万人</span>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<div class="cover" @click="toSet(1)">关联栏目</div>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import mixins from '@/mixins/page'
|
|
|
|
import Modules from '@/const/modules'
|
|
|
|
export default {
|
|
|
|
mixins: [mixins],
|
|
|
|
data () {
|
|
|
|
return {
|
|
|
|
modules: Modules.researchTeam,
|
|
|
|
title: ''
|
|
|
|
}
|
|
|
|
},
|
|
|
|
mounted () { },
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@import '../../../styles/page/page.scss';
|
|
|
|
|
|
|
|
.content {
|
|
|
|
width: 1400px;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.left {
|
|
|
|
width: 66%;
|
|
|
|
|
|
|
|
.search {
|
|
|
|
display: inline-flex;
|
|
|
|
width: 34%;
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
height: 38px;
|
|
|
|
padding: 0 15px;
|
|
|
|
font-size: 14px;
|
|
|
|
color: #333;
|
|
|
|
background: #f7f7f7;
|
|
|
|
border: 0;
|
|
|
|
border-top-left-radius: 6px;
|
|
|
|
border-bottom-left-radius: 6px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.teams {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-top: 30px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
width: calc((100% - 10px) / 2);
|
|
|
|
padding: 20px 30px;
|
|
|
|
margin: 0 10px 10px 0;
|
|
|
|
background: url(https://new.iasf.ac.cn/images/researchTeam/2.png) 0 0 / cover no-repeat;
|
|
|
|
|
|
|
|
&:nth-child(even) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.line {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bold {
|
|
|
|
margin-right: 5px;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.val {
|
|
|
|
font-size: 1rem;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
|
|
|
font-size: 1rem;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
width: calc((100% - 20px) / 2);
|
|
|
|
height: 300px;
|
|
|
|
padding: 20px;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 20px;
|
|
|
|
left: 20px;
|
|
|
|
width: calc(100% - 40px);
|
|
|
|
font-size: 1.6rem;
|
|
|
|
line-height: 66px;
|
|
|
|
text-align: center;
|
|
|
|
color: #fff;
|
|
|
|
background: rgba(32, 57, 81, 0.68);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/.el-tree-node__content {
|
|
|
|
height: 44px;
|
|
|
|
background-color: #e5edf8;
|
|
|
|
border-bottom: 2px solid #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
|
|
|
|
color: #fff;
|
|
|
|
background-color: #0f5698;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding: 16px 0;
|
|
|
|
border-bottom: 1px solid #d8d8d8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
font-size: 14px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $main-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.date {
|
|
|
|
font-size: 12px;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1200px) {
|
|
|
|
.content {
|
|
|
|
width: 98%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.left,
|
|
|
|
.right {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 280px) and (max-width: 750px) {
|
|
|
|
.article {
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
li {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1200px) {
|
|
|
|
.content {
|
|
|
|
.article {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.left {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
margin-top: 0.8rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
li {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.el-tree {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 320px) {
|
|
|
|
.wrap {
|
|
|
|
.single-banner {
|
|
|
|
.banner-img {
|
|
|
|
height: 13rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
left: 3rem;
|
|
|
|
top: 7rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
.article {
|
|
|
|
.left {
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
.pic {
|
|
|
|
height: 13rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
li {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
height: 13rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 320px) and (max-width: 375px) {
|
|
|
|
.wrap {
|
|
|
|
.single-banner {
|
|
|
|
.banner-img {
|
|
|
|
height: 15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
left: 3rem;
|
|
|
|
top: 7rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
.article {
|
|
|
|
.left {
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
.pic {
|
|
|
|
height: 15rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
li {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
height: 15rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 375px) and (max-width: 480px) {
|
|
|
|
.wrap {
|
|
|
|
.single-banner {
|
|
|
|
.banner-img {
|
|
|
|
height: 18rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
left: 3rem;
|
|
|
|
top: 10rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
.article {
|
|
|
|
.left {
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
.pic {
|
|
|
|
height: 18rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
li {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
height: 18rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 480px) and (max-width: 640px) {
|
|
|
|
.wrap {
|
|
|
|
.single-banner {
|
|
|
|
.banner-img {
|
|
|
|
height: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
left: 3rem;
|
|
|
|
top: 12rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
.article {
|
|
|
|
.left {
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
.pic {
|
|
|
|
height: 22rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
li {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
height: 22rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 640px) and (max-width: 768px) {
|
|
|
|
.wrap {
|
|
|
|
.single-banner {
|
|
|
|
.banner-img {
|
|
|
|
height: 22rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
left: 3rem;
|
|
|
|
top: 14rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
.article {
|
|
|
|
.left {
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
.pic {
|
|
|
|
height: 26rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
li {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
height: 26rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) and (max-width: 980px) {
|
|
|
|
.wrap {
|
|
|
|
.single-banner {
|
|
|
|
.banner-img {
|
|
|
|
height: 26rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
left: 3rem;
|
|
|
|
top: 16rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
.article {
|
|
|
|
.left {
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
.pic {
|
|
|
|
height: 30rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
li {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
height: 30rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 980px) and (max-width: 1200px) {
|
|
|
|
.wrap {
|
|
|
|
.single-banner {
|
|
|
|
.banner-img {
|
|
|
|
height: 30rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
left: 3rem;
|
|
|
|
top: 18rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
.article {
|
|
|
|
.left {
|
|
|
|
.recruit {
|
|
|
|
li {
|
|
|
|
.pic {
|
|
|
|
height: 35rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
li {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
.pic {
|
|
|
|
height: 35rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|