|
|
|
<template>
|
|
|
|
<!-- 人才中心 -->
|
|
|
|
<div class="wrap p-b-30">
|
|
|
|
<div class="actions">
|
|
|
|
<p class="page-name">页面设置/关于IASF-核心团队</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="left c-wrap">
|
|
|
|
<ul class="list">
|
|
|
|
<li v-for="(item, i) in modules[1].list"
|
|
|
|
:key="i">
|
|
|
|
<img :src="item.pic"
|
|
|
|
alt=""
|
|
|
|
class="pic">
|
|
|
|
<div class="texts">
|
|
|
|
<h6>{{ item.title }}</h6>
|
|
|
|
<p class="job">{{ item.subTitle }}</p>
|
|
|
|
<div class="text"
|
|
|
|
v-html="item.des"></div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="cover"
|
|
|
|
@click="toSet(1)">点击更换图片、标题、描述</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.team
|
|
|
|
}
|
|
|
|
},
|
|
|
|
mounted () {
|
|
|
|
this.$store.commit('user/setCrumbs', [
|
|
|
|
{
|
|
|
|
name: '站点管理',
|
|
|
|
route: '/site'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '内容管理',
|
|
|
|
route: '/column'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '栏目管理',
|
|
|
|
route: '/column'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '关于IASF-核心团队'
|
|
|
|
}
|
|
|
|
])
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@import '../../../styles/page/page.scss';
|
|
|
|
.wrap {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
width: 1200px;
|
|
|
|
margin: 30px auto;
|
|
|
|
.list {
|
|
|
|
position: relative;
|
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding-bottom: 30px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.pic {
|
|
|
|
width: 224px;
|
|
|
|
height: 268px;
|
|
|
|
margin-right: 25px;
|
|
|
|
}
|
|
|
|
h6 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
.job {
|
|
|
|
margin: 10px 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
.text {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|