加5个长页,2个模板,bug修复

master
yujialong 1 year ago
parent 5a1cc031d7
commit a538db789c
  1. BIN
      src/assets/images/page/contactUs.png
  2. BIN
      src/assets/images/page/lightSources.png
  3. BIN
      src/assets/images/page/speech.png
  4. BIN
      src/assets/images/page/talentCentre.png
  5. BIN
      src/assets/images/style/68.png
  6. BIN
      src/assets/images/style/69.png
  7. 107
      src/components/modules/history.vue
  8. 604
      src/const/modules.js
  9. 2707
      src/pages/article/add/index.vue
  10. 69
      src/pages/column/page/contactUs.vue
  11. 251
      src/pages/column/page/governance.vue
  12. 254
      src/pages/column/page/lightSources.vue
  13. 384
      src/pages/column/page/mission.vue
  14. 757
      src/pages/column/page/researchTeam.vue
  15. 407
      src/pages/column/page/scientific.vue
  16. 263
      src/pages/column/page/talent.vue
  17. 331
      src/pages/column/page/talentCenter.vue
  18. 20
      src/router/modules/column.js

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

@ -1,51 +1,88 @@
<template> <template>
<!-- sfel-概况-发展历程 or 产业光源-概况-大事记 --> <!-- sfel-概况-发展历程 or 产业光源-概况-大事记 -->
<div> <div>
<el-dialog title="编辑内容" :visible.sync="visible" width="70%" custom-class="module" :close-on-click-modal="false" :before-close="close"> <el-dialog title="编辑内容"
<el-table class="module-table" :data="list" header-align="center" row-key="id"> :visible.sync="visible"
<el-table-column type="index" width="60" label="序号" align="center"></el-table-column> width="70%"
<el-table-column label="图片" min-width="140" align="center"> custom-class="module"
:close-on-click-modal="false"
:before-close="close">
<el-table class="module-table"
:data="list"
header-align="center"
row-key="id">
<el-table-column type="index"
width="60"
label="序号"
align="center"></el-table-column>
<el-table-column label="图片"
min-width="140"
align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<img v-if="scope.row.pic" :src="scope.row.pic" class="upload-pic"> <img v-if="scope.row.pic"
<div class="upload-none" v-else> :src="scope.row.pic"
class="upload-pic">
<div class="upload-none"
v-else>
<i class="el-icon-picture-outline"></i> <i class="el-icon-picture-outline"></i>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="title" label="标题" min-width="140" align="center"></el-table-column> <el-table-column prop="title"
<el-table-column label="链接" min-width="140" align="center"> label="标题"
min-width="140"
align="center"></el-table-column>
<el-table-column label="链接"
min-width="140"
align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="link-wrap"> <div class="link-wrap">
<span>{{ scope.row.link.linkName }}</span> <span>{{ scope.row.link.linkName }}</span>
<el-button v-if="data.type === 'banner'" class="set-link" type="primary" size="mini" @click="toLink(scope.row, scope.$index)">设置链接</el-button> <el-button v-if="data.type === 'banner'"
class="set-link"
type="primary"
size="mini"
@click="toLink(scope.row, scope.$index)">设置链接</el-button>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="des" label="描述" min-width="240" align="center"></el-table-column> <el-table-column prop="des"
<el-table-column label="操作" width="100" align="center"> label="描述"
min-width="240"
align="center"></el-table-column>
<el-table-column label="操作"
width="100"
align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="flex a-center"> <div class="flex a-center">
<el-switch <el-switch v-model="scope.row.isEnable"
v-model="scope.row.isEnable" :active-value="1"
:active-value="1" :inactive-value="0">
:inactive-value="0">
</el-switch> </el-switch>
<i class="el-icon-edit-outline del" @click="editHistory(scope.row, scope.$index)"></i> <i class="el-icon-edit-outline del"
<i class="el-icon-delete del" @click="delRow(data.list, scope.$index)"></i> @click="editHistory(scope.row, scope.$index)"></i>
<i class="el-icon-delete del"
@click="delRow(data.list, scope.$index)"></i>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="plus"> <div v-if="!data.disableAdd"
<i class="el-icon-circle-plus-outline" @click="editHistory(data.originForm, -1)"></i> class="plus">
<i class="el-icon-circle-plus-outline"
@click="editHistory(data.originForm, -1)"></i>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer"
class="dialog-footer">
<el-button @click="$emit('update:visible', false)">取消</el-button> <el-button @click="$emit('update:visible', false)">取消</el-button>
<el-button type="primary" @click="historySubmit">确定</el-button> <el-button type="primary"
@click="historySubmit">确定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<Content :data.sync="data" :visible.sync="contentVisible" @contentSubmit="contentSubmit" /> <Content :data.sync="data"
:visible.sync="contentVisible"
@contentSubmit="contentSubmit" />
</div> </div>
</template> </template>
@ -58,7 +95,7 @@ export default {
components: { components: {
Content Content
}, },
data() { data () {
return { return {
rules: {}, rules: {},
linkVisible: false, linkVisible: false,
@ -74,25 +111,25 @@ export default {
curData: {}, curData: {},
}; };
}, },
mounted() { mounted () {
}, },
methods: { methods: {
// //
addRow() { addRow () {
this.editHistory(this.data.originForm, -1) this.editHistory(this.data.originForm, -1)
}, },
// //
editHistory(row, i = 0) { editHistory (row, i = 0) {
this.data.form = JSON.parse(JSON.stringify(row)) this.data.form = JSON.parse(JSON.stringify(row))
this.curModule = i this.curModule = i
this.contentVisible = true this.contentVisible = true
}, },
close() { close () {
this.$emit('update:visible', false) this.$emit('update:visible', false)
}, },
// //
contentSubmit() { contentSubmit () {
this.contentVisible = false this.contentVisible = false
const { form } = this.data const { form } = this.data
if (this.curModule === -1) { if (this.curModule === -1) {
@ -106,7 +143,7 @@ export default {
this.data.form = JSON.parse(JSON.stringify(this.data.originForm)) this.data.form = JSON.parse(JSON.stringify(this.data.originForm))
}, },
// //
historySubmit() { historySubmit () {
this.$emit('historySubmit') this.$emit('historySubmit')
}, },
} }
@ -114,11 +151,11 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.radio-wrap { .radio-wrap {
display: flex; display: flex;
align-items: center; align-items: center;
.el-input { .el-input {
width: 200px; width: 200px;
margin-left: -40px; margin-left: -40px;
} }
} }
</style> </style>

@ -6538,48 +6538,160 @@ export default {
深圳综合粒子设施研究院理事会章程深圳综合粒子设施研究院章程于2020年6月4日研究院第一届理事会第一次会议通过` 深圳综合粒子设施研究院理事会章程深圳综合粒子设施研究院章程于2020年6月4日研究院第一届理事会第一次会议通过`
} }
}, },
{ {
type: 'label', type: 'history',
forms: [ historyForm: {
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
],
form: {
title: '', title: '',
isEnable: 1,
list: []
}, },
list: [ list: [
{ {
title: '理事会', title: '理事会',
}, list: [
{ {
title: '研究院党委', pic: 'http://10.10.11.7/images/governance/8.png',
}, title: '产业促进委员会',
{ des: ` 产业促进委员会对理事会负责,是贯彻战略性新兴产业发展需求牵引导向,强化设施服务深圳和大湾区高新技术产业发展,加强“从0 到1”原创科技成果持续供给产业,强化科技服务经济的专门机构。
title: '院长办公会议',
}, 产业促进委员会主要负责根据深圳和大湾区产业需求及发展动态挖掘凝练高新技术产业发展的卡脖子技术和下一代产业发展关键技术对研究院设施的产业需求建设方案和性能指标进行咨询建议参与编制设施中产业板块线站机时分配方案收集产业用户对设施的管理运行模式装置使用和升级需求重点合作课题的建议和意见为设施服务产业发展方向研究计划运行管理等的完善和改进提供决策参考负责对定期举办产业用户培训进行指导积极引导高新技术企业与研究院深度合作促进设施服务产业经济发展`,
{ link: {
title: '职工代表大会', linkName: '无',
}, connectionType: 1,
{ columnId: [],
title: '科技委员会', articleId: '',
}, linkAddress : '',
{ site: '',
title: '用户委员会', otherColumnId: [],
}, otherArticleId: '',
{ isOpen: 1
title: '产业促进委员会', },
}, isEnable: 1
{ }
title: '学术委员会', ]
}, },
] {
}, title: '研究院党委',
{ list: [
type: 'form', {
pic: 'http://10.10.11.7/images/governance/8.png',
title: '产业促进委员会',
des: ` 产业促进委员会对理事会负责,是贯彻战略性新兴产业发展需求牵引导向,强化设施服务深圳和大湾区高新技术产业发展,加强“从0 到1”原创科技成果持续供给产业,强化科技服务经济的专门机构。
产业促进委员会主要负责根据深圳和大湾区产业需求及发展动态挖掘凝练高新技术产业发展的卡脖子技术和下一代产业发展关键技术对研究院设施的产业需求建设方案和性能指标进行咨询建议参与编制设施中产业板块线站机时分配方案收集产业用户对设施的管理运行模式装置使用和升级需求重点合作课题的建议和意见为设施服务产业发展方向研究计划运行管理等的完善和改进提供决策参考负责对定期举办产业用户培训进行指导积极引导高新技术企业与研究院深度合作促进设施服务产业经济发展`,
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
isEnable: 1
}
]
},
{
title: '院长办公室',
list: [
{
pic: 'http://10.10.11.7/images/governance/8.png',
title: '产业促进委员会',
des: ` 产业促进委员会对理事会负责,是贯彻战略性新兴产业发展需求牵引导向,强化设施服务深圳和大湾区高新技术产业发展,加强“从0 到1”原创科技成果持续供给产业,强化科技服务经济的专门机构。
产业促进委员会主要负责根据深圳和大湾区产业需求及发展动态挖掘凝练高新技术产业发展的卡脖子技术和下一代产业发展关键技术对研究院设施的产业需求建设方案和性能指标进行咨询建议参与编制设施中产业板块线站机时分配方案收集产业用户对设施的管理运行模式装置使用和升级需求重点合作课题的建议和意见为设施服务产业发展方向研究计划运行管理等的完善和改进提供决策参考负责对定期举办产业用户培训进行指导积极引导高新技术企业与研究院深度合作促进设施服务产业经济发展`,
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
isEnable: 1
}
]
},
{
title: '科技委员会',
list: [
{
pic: 'http://10.10.11.7/images/governance/8.png',
title: '产业促进委员会',
des: ` 产业促进委员会对理事会负责,是贯彻战略性新兴产业发展需求牵引导向,强化设施服务深圳和大湾区高新技术产业发展,加强“从0 到1”原创科技成果持续供给产业,强化科技服务经济的专门机构。
产业促进委员会主要负责根据深圳和大湾区产业需求及发展动态挖掘凝练高新技术产业发展的卡脖子技术和下一代产业发展关键技术对研究院设施的产业需求建设方案和性能指标进行咨询建议参与编制设施中产业板块线站机时分配方案收集产业用户对设施的管理运行模式装置使用和升级需求重点合作课题的建议和意见为设施服务产业发展方向研究计划运行管理等的完善和改进提供决策参考负责对定期举办产业用户培训进行指导积极引导高新技术企业与研究院深度合作促进设施服务产业经济发展`,
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
isEnable: 1
}
]
},
{
title: '用户委员会',
list: [
{
pic: 'http://10.10.11.7/images/governance/8.png',
title: '产业促进委员会',
des: ` 产业促进委员会对理事会负责,是贯彻战略性新兴产业发展需求牵引导向,强化设施服务深圳和大湾区高新技术产业发展,加强“从0 到1”原创科技成果持续供给产业,强化科技服务经济的专门机构。
产业促进委员会主要负责根据深圳和大湾区产业需求及发展动态挖掘凝练高新技术产业发展的卡脖子技术和下一代产业发展关键技术对研究院设施的产业需求建设方案和性能指标进行咨询建议参与编制设施中产业板块线站机时分配方案收集产业用户对设施的管理运行模式装置使用和升级需求重点合作课题的建议和意见为设施服务产业发展方向研究计划运行管理等的完善和改进提供决策参考负责对定期举办产业用户培训进行指导积极引导高新技术企业与研究院深度合作促进设施服务产业经济发展`,
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
isEnable: 1
}
]
},
{
title: '产业促进委员会',
list: [
{
pic: 'http://10.10.11.7/images/governance/8.png',
title: '产业促进委员会',
des: ` 产业促进委员会对理事会负责,是贯彻战略性新兴产业发展需求牵引导向,强化设施服务深圳和大湾区高新技术产业发展,加强“从0 到1”原创科技成果持续供给产业,强化科技服务经济的专门机构。
产业促进委员会主要负责根据深圳和大湾区产业需求及发展动态挖掘凝练高新技术产业发展的卡脖子技术和下一代产业发展关键技术对研究院设施的产业需求建设方案和性能指标进行咨询建议参与编制设施中产业板块线站机时分配方案收集产业用户对设施的管理运行模式装置使用和升级需求重点合作课题的建议和意见为设施服务产业发展方向研究计划运行管理等的完善和改进提供决策参考负责对定期举办产业用户培训进行指导积极引导高新技术企业与研究院深度合作促进设施服务产业经济发展`,
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
isEnable: 1
}
]
},
],
forms: [ forms: [
{ {
type: 'upload', type: 'upload',
@ -6594,18 +6706,18 @@ export default {
required: true required: true
}, },
{ {
type: 'editor', type: 'textarea',
prop: 'des', prop: 'des',
label: '描述' label: '描述'
} }
], ],
form: { form: {
pic: 'http://10.10.11.7/images/governance/8.png', pic: '',
title: '产业促进委员会', title: '',
des: ` 产业促进委员会对理事会负责,是贯彻战略性新兴产业发展需求牵引导向,强化设施服务深圳和大湾区高新技术产业发展,加强“从0 到1”原创科技成果持续供给产业,强化科技服务经济的专门机构。 des: ``,
isEnable: 1
产业促进委员会主要负责根据深圳和大湾区产业需求及发展动态挖掘凝练高新技术产业发展的卡脖子技术和下一代产业发展关键技术对研究院设施的产业需求建设方案和性能指标进行咨询建议参与编制设施中产业板块线站机时分配方案收集产业用户对设施的管理运行模式装置使用和升级需求重点合作课题的建议和意见为设施服务产业发展方向研究计划运行管理等的完善和改进提供决策参考负责对定期举办产业用户培训进行指导积极引导高新技术企业与研究院深度合作促进设施服务产业经济发展` },
} disableAdd: true // 禁止添加里面的list
}, },
], ],
org: [ org: [
@ -7282,6 +7394,12 @@ export default {
label: '标题', label: '标题',
required: true required: true
}, },
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{ {
type: 'link', type: 'link',
prop: 'link', prop: 'link',
@ -7295,6 +7413,7 @@ export default {
], ],
form: { form: {
title: '使命', title: '使命',
pic: 'http://10.10.11.7/images/mission/2.png',
link: { link: {
linkName: '无', linkName: '无',
connectionType: 1, connectionType: 1,
@ -7323,6 +7442,12 @@ export default {
label: '标题', label: '标题',
required: true required: true
}, },
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{ {
type: 'link', type: 'link',
prop: 'link', prop: 'link',
@ -7336,6 +7461,7 @@ export default {
], ],
form: { form: {
title: '愿景', title: '愿景',
pic: 'http://10.10.11.7/images/mission/3.png',
link: { link: {
linkName: '无', linkName: '无',
connectionType: 1, connectionType: 1,
@ -7516,9 +7642,9 @@ export default {
label: '描述' label: '描述'
} }
], ],
form: { form: {
pic: 'http://10.10.11.7/images/home/2.png', pic: 'http://10.10.11.7/images/home/3.png',
title: '深圳产业光源', title: '深圳自由电子激光 ',
link: { link: {
linkName: '无', linkName: '无',
connectionType: 1, connectionType: 1,
@ -7530,7 +7656,7 @@ export default {
otherArticleId: '', otherArticleId: '',
isOpen: 1 isOpen: 1
}, },
des: `围绕国家重大战略需求,以战略性新兴产业发展需求为牵引、以核心关键技术攻关为导向,建设一台中能、高亮度、小发射度的高性能同步辐射产业光源,提升前沿基础和产业技术的原始创新能力,服务高新技术产业发展,支撑粤港澳大湾区综合性国家科学中心和社会主义先行示范区的经济社会发展和产业技术创新` des: `以前沿科学技术发展和核心产业需求为导向,助力解决国家重大发展需求,并特别专注于推动半导体光刻、量子材料、能源科学、生物医药、燃烧科学、大气环境、星际科学、原子分子物理等前沿科学和应用产业的持续创新发展,实现深圳战略性新兴产业技术瓶颈及其相关根源性科学问题的重大突破`
} }
}, },
{ {
@ -7560,8 +7686,8 @@ export default {
} }
], ],
form: { form: {
pic: 'http://10.10.11.7/images/home/3.png', pic: 'http://10.10.11.7/images/home/2.png',
title: '深圳自由电子激光 ', title: '深圳产业光源',
link: { link: {
linkName: '无', linkName: '无',
connectionType: 1, connectionType: 1,
@ -7573,37 +7699,7 @@ export default {
otherArticleId: '', otherArticleId: '',
isOpen: 1 isOpen: 1
}, },
des: `以前沿科学技术发展和核心产业需求为导向,助力解决国家重大发展需求,并特别专注于推动半导体光刻、量子材料、能源科学、生物医药、燃烧科学、大气环境、星际科学、原子分子物理等前沿科学和应用产业的持续创新发展,实现深圳战略性新兴产业技术瓶颈及其相关根源性科学问题的重大突破。` des: `围绕国家重大战略需求,以战略性新兴产业发展需求为牵引、以核心关键技术攻关为导向,建设一台中能、高亮度、小发射度的高性能同步辐射产业光源,提升前沿基础和产业技术的原始创新能力,服务高新技术产业发展,支撑粤港澳大湾区综合性国家科学中心和社会主义先行示范区的经济社会发展和产业技术创新。`
}
},
{
type: 'form',
forms: [
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'textarea',
prop: 'subTitle',
label: '小标题'
},
],
form: {
title: '工程进展',
subTitle: 'PRROJECT PROGRESS',
}
},
{
type: 'column',
form: {
site: '',
column: '',
articleNum: '',
columnTitle: 1,
columnTitleCustom: ''
} }
}, },
{ {
@ -8220,6 +8316,41 @@ export default {
isOpen: 1 isOpen: 1
} }
} }
},
{
type: 'form',
forms: [
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'input',
prop: 'address',
label: '地址',
required: false
},
{
type: 'input',
prop: 'phone',
label: '电话',
required: false
},
{
type: 'input',
prop: 'email',
label: '邮箱',
required: false
},
],
form: {
title: 'Contact us',
address: '深圳市光明区新湖街道圳园路268号3号楼3—6层',
phone: '0755-21096000',
email: 'gad@mail.iasf.ac.cn',
}
}, },
{ {
type: 'form', type: 'form',
@ -8235,5 +8366,314 @@ export default {
pic: 'http://10.10.11.7/images/contactUs/2.png', pic: 'http://10.10.11.7/images/contactUs/2.png',
} }
}, },
{
type: 'customList',
forms: [
{
type: 'input',
prop: 'dep',
label: '部门',
required: false
},
{
type: 'input',
prop: 'contacts',
label: '联系人',
required: false
},
{
type: 'input',
prop: 'phone',
label: '电话',
required: false
},
{
type: 'input',
prop: 'email',
label: '邮箱',
required: false
},
],
form: {
dep: '',
dep: '',
phone: '',
email: '',
isEnable: 1
},
list: [
{
dep: '',
dep: '',
phone: '',
email: '',
isEnable: 1
}
]
},
],
lightSources: [
{
type: 'form',
forms: [
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'link',
prop: 'link',
label: '链接'
},
],
form: {
pic: 'http://10.10.11.7/images/lightSources/1.png',
title: '科学普及',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
type: 'form',
forms: [
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'textarea',
prop: 'des',
label: '描述'
},
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{
type: 'link',
prop: 'link',
label: '链接'
},
],
form: {
title: '标题',
des: `支撑大湾区综合性国家科学中心建设的公益性科研事业单位`,
pic: 'http://10.10.11.7/images/lightSources/2.png',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
type: 'customList',
forms: [
{
type: 'input',
prop: 'name',
label: '光源名称',
required: false
},
{
type: 'input',
prop: 'country',
label: '国家',
required: false
},
{
type: 'input',
prop: 'gev',
label: '电子束能量(GeV)',
required: false
},
{
type: 'input',
prop: 'storage',
label: '储存环周长',
required: false
},
{
type: 'input',
prop: 'stations',
label: '实验站数量',
required: false
},
{
type: 'input',
prop: 'intergenerational',
label: '代际',
required: false
},
{
type: 'input',
prop: 'time',
label: '建成/改造时间',
required: false
},
{
type: 'input',
prop: 'emittance',
label: '发射度(nm.rad)',
required: false
},
{
type: 'input',
prop: 'status',
label: '状态',
required: false
},
],
form: {
name: '',
country: '',
gev: '',
storage: '',
stations: '',
intergenerational: '',
time: '',
emittance: '',
status: '',
},
list: [
{
name: '',
country: '',
gev: '',
storage: '',
stations: '',
intergenerational: '',
time: '',
emittance: '',
status: '',
}
]
},
{
type: 'customList',
forms: [
{
type: 'input',
prop: 'name',
label: '光源名称',
required: false
},
{
type: 'input',
prop: 'country',
label: '国家',
required: false
},
{
type: 'input',
prop: 'address',
label: '地点',
required: false
},
{
type: 'input',
prop: 'accelerator',
label: '加速器技术',
required: false
},
{
type: 'input',
prop: 'gev',
label: '能量/GeV',
required: false
},
{
type: 'input',
prop: 'wavelength',
label: '波长范围/nm',
required: false
},
{
type: 'input',
prop: 'repetitive',
label: '重复频率/Hz Repetition rate',
required: false
},
{
type: 'input',
prop: 'facility',
label: '设施长度/m Overall length',
required: false
},
{
type: 'input',
prop: 'stations',
label: '线站数量',
required: false
},
{
type: 'input',
prop: 'status',
label: '状态',
required: false
},
{
type: 'input',
prop: 'time',
label: '出光时间',
required: false
},
],
form: {
name: '',
country: '',
address: '',
accelerator: '',
gev: '',
wavelength: '',
repetitive: '',
facility: '',
stations: '',
status: '',
time: '',
},
list: [
{
name: '',
country: '',
address: '',
accelerator: '',
gev: '',
wavelength: '',
repetitive: '',
facility: '',
stations: '',
status: '',
time: '',
}
]
},
], ],
} }

File diff suppressed because it is too large Load Diff

@ -31,36 +31,47 @@
<div class="inner"> <div class="inner">
<div class="contact"> <div class="contact">
<div class="fields"> <div class="fields">
<h6>Contact us</h6> <h6>{{ modules[1].form.title }}</h6>
<p class="text">发圣诞节快乐副驾驶打卡了分速度快了父级圣诞快乐</p> <p class="text">{{ modules[1].form.address }}</p>
<p class="text">发圣诞节快乐副驾驶打卡了分速度快了父级圣诞快乐</p> <p class="text">{{ modules[1].form.phone }}</p>
<p class="text">发圣诞节快乐副驾驶打卡了分速度快了父级圣诞快乐</p> <p class="text">{{ modules[1].form.email }}</p>
<div class="cover"
style="top: -20px;"
@click="toSet(1)">点击更换文本</div>
</div>
<div class="c-wrap">
<img :src="modules[2].form.pic"
alt=""
class="pic">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div>
<div class="c-wrap m-t-20">
<el-table :data="modules[3].list"
class="patent-table"
ref="table"
stripe
header-align="center">
<el-table-column prop="dep"
label="部门"
align="center"
min-width="250"></el-table-column>
<el-table-column prop="contacts"
label="联系人"
align="center"
min-width="100"></el-table-column>
<el-table-column prop="phone"
label="电话"
align="center"
min-width="150"></el-table-column>
<el-table-column prop="email"
label="邮箱"
align="center"
min-width="150"></el-table-column>
</el-table>
<div class="cover"
@click="toSet(3)">点击更换文本</div>
</div> </div>
<img src="http://10.10.11.7/images/contactUs/2.png"
alt=""
class="pic">
<el-table :data="list"
class="patent-table"
ref="table"
stripe
header-align="center">
<el-table-column prop="title"
label="部门"
align="center"
min-width="250"></el-table-column>
<el-table-column prop="publishingHouse"
label="联系人"
align="center"
min-width="100"></el-table-column>
<el-table-column prop="writersAndEditors"
label="电话"
align="center"
min-width="150"></el-table-column>
<el-table-column prop="publicationYear"
label="邮箱"
align="center"
min-width="150"></el-table-column>
</el-table>
</div> </div>
</div> </div>
</div> </div>

@ -3,9 +3,11 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-治理结构</p> <p class="page-name">页面设置/关于IASF-治理结构</p>
<div> <div>
<el-button type="primary" @click="preview">预览</el-button> <el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -13,12 +15,15 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" :src="modules[0].form.pic" alt="" /> <img class="banner-img"
:src="modules[0].form.pic"
alt="" />
<div class="texts"> <div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6> <h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div> </div>
</div> </div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block history gray"> <div class="block history gray">
@ -26,34 +31,48 @@
<div class="texts c-wrap"> <div class="texts c-wrap">
<div class="left"> <div class="left">
<h2>{{ modules[1].form.title }}</h2> <h2>{{ modules[1].form.title }}</h2>
<div class="des" v-html="modules[1].form.des"></div> <div class="des"
v-html="modules[1].form.des"></div>
</div> </div>
<img class="bg" width="562" height="506" :src="modules[1].form.pic" alt=""> <img class="bg"
<div class="cover" style="top: -100px" @click="toSet(1)">点击更换标题描述与图片</div> width="562"
height="506"
:src="modules[1].form.pic"
alt="">
<div class="cover"
style="top: -100px"
@click="toSet(1)">点击更换标题描述与图片</div>
</div> </div>
</div> </div>
</div> </div>
<div class="cards"> <div class="cards">
<ul> <ul>
<li v-for="(item, i) in modules[2].list" :key="i">{{ item.title }}</li> <li v-for="(item, i) in modules[2].list"
<div class="cover" @click="toSet(2)">点击更换标题</div> :key="i">{{ item.title }}</li>
<div class="cover"
@click="toSet(2)">点击配置文本</div>
</ul> </ul>
</div> </div>
<div class="block committee gray"> <div class="block committee gray">
<div class="inner c-wrap"> <div class="inner c-wrap">
<div class="left"> <div class="left">
<h2>{{ modules[3].form.title }}</h2> <h2>{{ modules[2].list[curYear].list[0].title }}</h2>
<div class="text" v-html="modules[3].form.des"></div> <div class="text"
v-html="modules[2].list[curYear].list[0].des"></div>
</div> </div>
<img class="pic" :src="modules[3].form.pic" alt=""> <img class="pic"
<div class="cover" @click="toSet(3)">点击更换标题描述与图片</div> :src="modules[2].list[curYear].list[0].pic"
alt="">
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -62,12 +81,13 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.governance modules: Modules.governance,
curYear: 0
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -93,114 +113,117 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.history { .history {
h2 { h2 {
padding-bottom: 15px; padding-bottom: 15px;
font-size: 1.2rem; font-size: 1.2rem;
color: #333; color: #333;
&:after { &:after {
content: ''; content: '';
display: block; display: block;
width: 65px; width: 65px;
height: 3px; height: 3px;
margin-top: 20px; margin-top: 20px;
background: #0280F1; background: #0280f1;
}
} }
} .texts {
.texts { display: flex;
display: flex; justify-content: space-between;
justify-content: space-between; padding: 82px 0 50px 30px;
padding: 82px 0 50px 30px; margin-top: 20px;
margin-top: 20px; background-color: #fff;
background-color: #fff; border-radius: 100px 0px 0px 0px;
border-radius: 100px 0px 0px 0px; transition: 0.3s;
transition: .3s; &:hover {
&:hover { transform: scale(1.05);
transform: scale(1.05); }
}
.left {
width: 695px;
}
.des {
margin: 20px 0;
font-size: 1.2rem;
color: #181818;
line-height: 31px;
}
.bg {
margin: -122px 0 0 0;
} }
}
.left {
width: 695px;
}
.des {
margin: 20px 0;
font-size: 1.2rem;
color: #181818;
line-height: 31px;
}
.bg {
margin: -122px 0 0 0;
}
} }
.cards { .cards {
padding: 60px 0; padding: 60px 0;
ul { ul {
position: relative; position: relative;
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
}
li {
width: 260px;
margin: 0 30px 50px 0;
line-height: 84px;
font-size: 1.2rem;
color: #333;
text-align: center;
@include ellipsis();
background: url(http://10.10.11.7/images/governance/3.png) 0 0/cover no-repeat;
cursor: pointer;
&:nth-child(2) {
background-image: url(http://10.10.11.7/images/governance/4.png);
} }
&:nth-child(3) { li {
background-image: url(http://10.10.11.7/images/governance/5.png); width: 368px;
margin: 0 30px 50px 0;
line-height: 84px;
font-size: 1.2rem;
color: #333;
text-align: center;
@include ellipsis();
background: url(http://10.10.11.7/images/governance/3.png) 0 0 / cover no-repeat;
cursor: pointer;
&:nth-child(2) {
background-image: url(http://10.10.11.7/images/governance/4.png);
}
&:nth-child(3) {
background-image: url(http://10.10.11.7/images/governance/5.png);
}
&:nth-child(4) {
background-image: url(http://10.10.11.7/images/governance/4.png);
}
&:nth-child(5) {
background-image: url(http://10.10.11.7/images/governance/7.png);
}
&:nth-child(6) {
background-image: url(http://10.10.11.7/images/governance/6.png);
}
&:nth-child(8) {
background-image: url(http://10.10.11.7/images/governance/6.png);
}
&:nth-child(3n) {
margin-right: 0;
}
&:hover {
color: #fff;
background: #0d84f2;
}
} }
&:nth-child(4) { }
background-image: url(http://10.10.11.7/images/governance/4.png); .committee {
.inner {
display: flex;
align-items: center;
} }
&:nth-child(5) { .left {
background-image: url(http://10.10.11.7/images/governance/7.png); width: 50%;
margin-right: 2%;
} }
&:nth-child(6) { h2 {
background-image: url(http://10.10.11.7/images/governance/6.png); margin-bottom: 20px;
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
} }
&:nth-child(8) { .text {
background-image: url(http://10.10.11.7/images/governance/6.png); font-size: 1rem;
font-family: PingFangSC-Regular, PingFang SC;
line-height: 1.5;
color: #333;
} }
&:hover { .pic {
color: #fff; width: 48%;
background: #0D84F2; height: 300px;
} }
}
}
.committee {
.inner {
display: flex;
align-items: center;
}
.left {
width: 50%;
margin-right: 2%;
}
h2 {
margin-bottom: 20px;
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
}
.text {
font-size: 1rem;
font-family: PingFangSC-Regular, PingFang SC;
line-height: 1.5;
color: #333;
}
.pic {
width: 48%;
height: 300px;
}
} }
</style> </style>

@ -0,0 +1,254 @@
<template>
<!-- 全球先进光源 -->
<div class="wrap">
<div class="actions">
<p class="page-name">页面设置/全球先进光源</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">
<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="block gray">
<div class="inner c-wrap">
<h2 class="b-title wow fadeInUp">{{ modules[1].form.title }}</h2>
<p class="intro wow fadeInUp"
data-wow-delay="0.8s">{{ modules[1].form.des }}</p>
<img class="block-pic br wow fadeInLeft"
data-wow-delay="0.8s"
width="100%"
height="536"
:src="modules[1].form.pic"
alt="">
<div class="cover"
@click="toSet(1)">点击更换标题描述图片与链接</div>
</div>
</div>
<div class="block sources">
<div class="inner c-wrap">
<ul class="tabs wow fadeInLeft">
<li v-for="(item, i) in tabs"
:class="{active: item.id == active}"
:key="i"
@click="tabChange(item.id)">{{ item.name }}</li>
</ul>
<div v-if="!active"
class="c-wrap">
<table class="table">
<thead>
<tr>
<th>序号</th>
<th>光源名称</th>
<th>国家</th>
<th>电子束能量GeV</th>
<th>储存环周长(m)</th>
<th>实验站数量</th>
<th>代际</th>
<th>建成/改造时间</th>
<th>发射度(nm.rad)</th>
<th>状态</th>
</tr>
</thead>
<template v-if="modules[2].list.length">
<tr v-for="(item, i) in modules[2].list"
:key="i">
<td>{{ item.name }}</td>
<td>{{ item.country }}</td>
<td>{{ item.gev }}</td>
<td>{{ item.storage }}</td>
<td>{{ item.stations }}</td>
<td>{{ item.intergenerational }}</td>
<td>{{ item.time }}</td>
<td>{{ item.name }}</td>
<td>{{ item.emittance }}</td>
<td>{{ item.status }}</td>
</tr>
</template>
<tr v-else>
<td class="none">暂无数据</td>
</tr>
</table>
<div class="cover"
@click="toSet(2)">点击更换表格</div>
</div>
<div v-else
class="c-wrap">
<table class="table">
<thead>
<tr>
<th>序号</th>
<th>光源名称</th>
<th>国家</th>
<th>地点</th>
<th>加速器技术</th>
<th>能量/GeV</th>
<th>波长范围/nm</th>
<th>重复频率/Hz Repetition rate</th>
<th>设施长度/m Overall length</th>
<th>线站数量</th>
<th>出光时间</th>
</tr>
</thead>
<template v-if="modules[3].list.length">
<tr v-for="(item, i) in modules[3].list"
:key="i">
<td>{{ item.name }}</td>
<td>{{ item.country }}</td>
<td>{{ item.address }}</td>
<td>{{ item.accelerator }}</td>
<td>{{ item.gev }}</td>
<td>{{ item.wavelength }}</td>
<td>{{ item.repetitive }}</td>
<td>{{ item.facility }}</td>
<td>{{ item.stations }}</td>
<td>{{ item.status }}</td>
<td>{{ item.time }}</td>
</tr>
</template>
<tr v-else>
<td class="none"
colspan="11">暂无数据</td>
</tr>
</table>
<div class="cover"
@click="toSet(3)">点击更换表格</div>
</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.lightSources,
active: 0,
tabs: [
{
id: 0,
name: '同步辐射光源'
},
{
id: 1,
name: '自由电子激光'
},
]
}
},
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '全球先进光源'
}
])
},
methods: {
// tab
tabChange (i) {
this.active = i
},
}
};
</script>
<style lang="scss" scoped>
@import '../../../styles/page/page.scss';
.block {
padding: 3.15rem 0;
.inner {
.b-title {
font-size: 2.25rem;
margin-bottom: 2.25rem;
}
.intro {
margin-bottom: 2.25rem;
}
}
}
.block-pic {
transition: 0.3s;
height: auto;
&.br {
border-radius: 270px;
}
&:hover {
transform: scale(1.05);
}
}
.sources {
background-color: #fff;
}
.tabs {
display: flex;
justify-content: flex-start;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
.table {
width: 100%;
margin-top: 20px;
border-collapse: collapse;
th,
td {
padding: 10px 10px;
font-size: 0.9rem;
text-align: left;
}
.none {
text-align: center;
}
}
</style>

@ -3,9 +3,11 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-使命愿景价值观</p> <p class="page-name">页面设置/关于IASF-使命愿景价值观</p>
<div> <div>
<el-button type="primary" @click="preview">预览</el-button> <el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -13,33 +15,42 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" :src="modules[0].form.pic" alt="" /> <img class="banner-img"
:src="modules[0].form.pic"
alt="" />
<div class="texts"> <div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6> <h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div> </div>
</div> </div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block"> <div class="block">
<div class="inner"> <div class="inner">
<div <div class="item">
class="item"> <img :src="modules[1].form.pic"
<img src="http://10.10.11.7/images/mission/2.png" alt="" /> alt="" />
<div class="texts"> <div class="texts">
<h6>{{ modules[1].form.title }}</h6> <h6>{{ modules[1].form.title }}</h6>
<div class="des" v-html="modules[1].form.des"></div> <div class="text"
v-html="modules[1].form.des"></div>
</div> </div>
<div class="cover" style="left: -35px" @click="toSet(1)">点击更改标题概述与链接</div> <div class="cover"
style="left: -35px"
@click="toSet(1)">点击更改标题概述与链接</div>
</div> </div>
<div <div class="item">
class="item"> <img :src="modules[2].form.pic"
<img src="http://10.10.11.7/images/mission/3.png" alt="" /> alt="" />
<div class="texts rightText"> <div class="texts rightText">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="des" v-html="modules[2].form.des"></div> <div class="text"
v-html="modules[2].form.des"></div>
</div> </div>
<div class="cover" style="right: -35px" @click="toSet(2)">点击更改标题概述与链接</div> <div class="cover"
style="right: -35px"
@click="toSet(2)">点击更改标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
@ -48,25 +59,34 @@
<div class="inner"> <div class="inner">
<div class="c-wrap"> <div class="c-wrap">
<h6 class="m-title">{{ modules[3].form.title }}</h6> <h6 class="m-title">{{ modules[3].form.title }}</h6>
<div class="cover" @click="toSet(3)">点击更换标题</div> <div class="cover"
@click="toSet(3)">点击更换标题</div>
</div> </div>
<ul class="list"> <ul class="list">
<template v-for="(item, i) in modules[4].list"> <template v-for="(item, i) in modules[4].list">
<li v-if="item.isEnable" :key="i"> <li v-if="item.isEnable"
<img :src="item.pic" alt="" class="pic"> :key="i">
<img :src="item.pic"
alt=""
class="pic">
<div class="texts"> <div class="texts">
<h6>{{ item.title }}</h6> <h6>{{ item.title }}</h6>
<div class="des" v-html="item.des"></div> <div class="des"
v-html="item.des"></div>
</div> </div>
</li> </li>
</template> </template>
<div class="cover" @click="toSet(4)">点击更换图片标题概述与链接</div> <div class="cover"
@click="toSet(4)">点击更换图片标题概述与链接</div>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -75,12 +95,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.mission modules: Modules.mission
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -106,265 +126,127 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.inner { .inner {
width: 1200px; width: 1200px;
} }
.item { .item {
position: relative;
margin-bottom: 58px;
&:hover {
.texts {
color: #fff;
transform: scale(1.05);
background: #32b6e9 !important;
}
}
img {
width: 90%;
height: 400px;
}
&:nth-child(2) .texts {
left: auto;
right: 0;
color: #fff;
background: rgba(40,179,255,0.34);
}
.texts {
position: absolute;
top: 79px;
left: -28px;
width: 532px;
padding: 70px 38px;
color: #333;
background: rgba(255, 241, 231, 0.84);
transition: 0.5s;
}
h6 {
margin-bottom: 14px;
font-size: 2rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.des {
font-size: 1rem;
}
}
.mind {
.m-title {
margin-bottom: 30px;
font-size: 2.2rem;
text-align: center;
color: #333;
}
.list {
position: relative; position: relative;
display: flex; margin-bottom: 58px;
flex-wrap: wrap; img {
} width: 100%;
li { height: 400px;
display: inline-flex;
align-items: center;
width: calc((100% - 22px) / 2);
margin: 0 22px 22px 0;
background-color: #fff;
&:nth-child(even) {
margin-right: 0;
} }
.pic { &:nth-child(2) .texts {
width: 250px; left: auto;
height: 230px; right: -36px;
color: #fff;
background: rgba(40, 179, 255, 0.34);
} }
.texts { .texts {
width: calc(100% - 250px); position: absolute;
padding: 0 20px; top: 79px;
left: -34px;
width: 532px;
padding: 70px 38px;
color: #333;
background: rgba(255, 241, 231, 0.84);
transition: 0.5s;
} }
h6 { h6 {
margin-bottom: 20px; margin-bottom: 14px;
font-size: 1.5rem; font-size: 2rem;
color: #272727; font-family: PingFangSC-Medium, PingFang SC;
@include ellipsis(); font-weight: 500;
} }
.des { .des {
font-size: 1rem; font-size: 1rem;
color: #666;
line-height: 1.5;
}
}
}
@media (max-width: 1200px) {
body {
width: 100% !important;
}
.inner {
width: 100%;
}
.item {
img {
margin-left: 30px;
}
.rightText {
right: 12px !important;
}
.texts {
width: 85%;
box-sizing: border-box;
left: 12px;
.des{
-webkit-line-clamp: inherit
}
} }
}
} }
@media (max-width: 320px) { .mind {
.wrap { .m-title {
.single-banner { margin-bottom: 30px;
.banner-img { font-size: 2.2rem;
height: 13rem; text-align: center;
} color: #333;
.texts { }
top: 6rem; .list {
left: 12rem; position: relative;
.banner-title{ display: flex;
font-size: 1.5rem; flex-wrap: wrap;
margin-bottom: .5rem; }
} li {
.banner-des{ display: inline-flex;
font-size: .85rem; align-items: center;
width: calc((100% - 22px) / 2);
margin: 0 22px 22px 0;
background-color: #fff;
&:nth-child(even) {
margin-right: 0;
} }
} .pic {
} width: 250px;
} height: 230px;
.block {
.inner {
img {
height: 18rem;
}
.texts {
padding: 1.25rem;
top: 1.5rem;
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 12rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
} }
.banner-des{ .texts {
font-size: .85rem; width: calc(100% - 250px);
padding: 0 20px;
} }
} h6 {
} margin-bottom: 20px;
} font-size: 1.5rem;
} color: #272727;
@media (min-width: 375px) and (max-width: 480px) { @include ellipsis();
.wrap {
.single-banner {
.banner-img {
height: 20rem;
}
.texts {
top: 10rem;
left: 12rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
} }
.banner-des{ .text {
font-size: .85rem; font-size: 1rem;
color: #666;
line-height: 1.5;
} }
}
} }
}
} }
@media (min-width: 480px) and (max-width: 640px) { @media (max-width: 1200px) {
.wrap { .inner {
.single-banner { width: 98%;
.banner-img {
height: 25rem;
}
.texts {
top: 10rem;
left: 12rem;
.banner-title{
font-size: 2rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
}
}
} }
} .item {
} img {
@media (min-width: 640px) and (max-width: 768px) { margin-left: 30px;
.wrap {
.single-banner {
.banner-img {
height: 35rem;
}
.texts {
top: 20rem;
left: 12rem;
.banner-title{
font-size: 2rem;
margin-bottom: .5rem;
} }
.banner-des{ .rightText {
font-size: .85rem; right: 12px !important;
}
.texts {
width: 85%;
box-sizing: border-box;
left: 12px;
.des {
-webkit-line-clamp: inherit;
}
} }
}
} }
}
} }
@media (min-width: 768px) and (max-width: 980px) { @media (max-width: 980px) {
.wrap { .mind {
.single-banner { .list {
.banner-img { flex-direction: column;
height: 35rem;
}
.texts {
top: 20rem;
left: 12rem;
.banner-title{
font-size: 2rem;
margin-bottom: .5rem;
} }
.banner-des{ li {
font-size: .85rem; width: 100%;
} }
}
} }
}
} }
@media (min-width: 980px) and (max-width: 1200px) { @media (max-width: 480px) {
.wrap { .mind {
.single-banner { li {
.banner-img { .pic {
height: 40rem; width: 150px;
} height: 130px;
.texts { }
top: 20rem; .texts {
left: 12rem; width: calc(100% - 150px);
.banner-title{ }
font-size: 2rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
} }
}
} }
}
} }
</style> </style>

@ -1,11 +1,14 @@
<template> <template>
<!-- 关于IASF-研究团队 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-研究团队</p> <p class="page-name">页面设置/关于IASF-研究团队</p>
<div> <div>
<el-button type="primary" @click="preview">预览</el-button> <el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -13,41 +16,55 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner single-banner-overview"> <div class="single-banner single-banner-overview">
<img class="banner-img" :src="modules[0].form.pic" alt=""> <img class="banner-img"
:src="modules[0].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6> <h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div> </div>
</div> </div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="content"> <div class="content">
<div class="article"> <div class="article">
<div class="left"> <div class="left">
<ul class="teams"> <ul class="teams">
<li v-for="(item, i) in modules[1].list" :key="i"> <li v-for="(item, i) in modules[1].list"
:key="i">
<div class="line"> <div class="line">
<img src="http://10.10.11.7/images/researchTeam/3.png" alt="" class="icon"> <img src="http://10.10.11.7/images/researchTeam/3.png"
alt=""
class="icon">
<span class="bold">{{ item.name }}</span> <span class="bold">{{ item.name }}</span>
<span class="val">/ {{ item.job }}</span> <span class="val">/ {{ item.job }}</span>
</div> </div>
<div class="line"> <div class="line">
<img src="http://10.10.11.7/images/researchTeam/4.png" alt="" class="icon"> <img src="http://10.10.11.7/images/researchTeam/4.png"
alt=""
class="icon">
<span class="text">专业 {{ item.major }}</span> <span class="text">专业 {{ item.major }}</span>
</div> </div>
<div class="line"> <div class="line">
<img src="http://10.10.11.7/images/researchTeam/5.png" alt="" class="icon"> <img src="http://10.10.11.7/images/researchTeam/5.png"
alt=""
class="icon">
<span class="text">荣誉 {{ item.honor }}</span> <span class="text">荣誉 {{ item.honor }}</span>
</div> </div>
</li> </li>
<div class="cover" @click="toSet(1)">点击更换banner与链接</div> <div class="cover"
@click="toSet(1)">点击更换文本</div>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -56,13 +73,13 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.researchTeam, modules: Modules.researchTeam,
title: '' title: ''
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -88,437 +105,437 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.content { .content {
width: 1400px; width: 1400px;
margin-top: 20px; margin-top: 20px;
} }
.article { .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(http://10.10.11.7/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; display: flex;
li { justify-content: center;
position: relative; .left {
width: calc((100% - 20px) / 2); width: 66%;
height: 300px; .search {
padding: 20px; display: inline-flex;
background-color: #fff; width: 34%;
} input {
.pic { width: 100%;
width: 100%; height: 38px;
height: 100%; 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;
}
}
}
} }
.text { .teams {
position: absolute; position: relative;
bottom: 20px; display: flex;
left: 20px; flex-wrap: wrap;
width: calc(100% - 40px); margin-top: 30px;
font-size: 1.6rem; li {
line-height: 66px; position: relative;
text-align: center; width: calc((100% - 10px) / 2);
color: #fff; padding: 20px 30px;
background: rgba(32,57,81,0.68); margin: 0 10px 10px 0;
background: url(http://10.10.11.7/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 {
.right { display: flex;
width: 20%; li {
} position: relative;
.column { width: calc((100% - 20px) / 2);
width: 100%; height: 300px;
margin-bottom: 25px; padding: 20px;
} background-color: #fff;
/deep/.el-tree-node__content { }
height: 44px; .pic {
background-color: #E5EDF8; width: 100%;
border-bottom: 2px solid #fff; height: 100%;
} }
/deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content { .text {
color: #fff; position: absolute;
background-color: #0f5698; bottom: 20px;
} left: 20px;
.list { width: calc(100% - 40px);
margin-bottom: 20px; font-size: 1.6rem;
li { line-height: 66px;
padding: 16px 0; text-align: center;
border-bottom: 1px solid #D8D8D8; color: #fff;
background: rgba(32, 57, 81, 0.68);
}
} }
.text { .right {
margin-bottom: 5px; width: 20%;
font-size: 14px;
cursor: pointer;
&:hover {
color: $main-color;
}
} }
.date { .column {
font-size: 12px; width: 100%;
color: #999; 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) { @media (max-width: 1200px) {
.content { .content {
width: 98%; width: 98%;
}
.article {
flex-direction: column;
.left, .right {
width: 100%;
} }
.left { .article {
margin-bottom: 30px; flex-direction: column;
.left,
.right {
width: 100%;
}
.left {
margin-bottom: 30px;
}
} }
}
} }
@media (min-width: 280px) and (max-width: 750px) { @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 { .article {
flex-direction: column;
.left {
width: 100%;
.recruit { .recruit {
li { li {
flex-direction: column; flex-direction: column;
.pic {
width: 100%;
} }
.texts { .pic {
margin-top: .8rem; width: 100%;
margin-bottom: 10px;
} }
}
} }
.notice { .notice {
flex-direction: column; flex-direction: column;
li { li {
width: 100%; width: 100%;
} }
} }
} }
.right{ }
width: 100%; @media (max-width: 1200px) {
.el-tree { .content {
display: none; .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) { @media (max-width: 320px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts { .texts {
left: 3rem; left: 3rem;
top: 7rem; top: 7rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 13rem;
} }
}
} }
.notice { }
li { .content {
height: auto; .article {
.pic { .left {
height: 13rem; .recruit {
li {
.pic {
height: 13rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 13rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 320px) and (max-width: 375px) { @media (min-width: 320px) and (max-width: 375px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 15rem; height: 15rem;
} }
.texts { .texts {
left: 3rem; left: 3rem;
top: 7rem; top: 7rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 15rem;
} }
}
} }
.notice { }
li { .content {
height: auto; .article {
.pic { .left {
height: 15rem; .recruit {
li {
.pic {
height: 15rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 15rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 375px) and (max-width: 480px) { @media (min-width: 375px) and (max-width: 480px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 18rem; height: 18rem;
} }
.texts { .texts {
left: 3rem; left: 3rem;
top: 10rem; top: 10rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 18rem;
} }
}
} }
.notice { }
li { .content {
height: auto; .article {
.pic { .left {
height: 18rem; .recruit {
li {
.pic {
height: 18rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 18rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 480px) and (max-width: 640px) { @media (min-width: 480px) and (max-width: 640px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 20rem; height: 20rem;
} }
.texts { .texts {
left: 3rem; left: 3rem;
top: 12rem; top: 12rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 22rem;
} }
}
} }
.notice { }
li { .content {
height: auto; .article {
.pic { .left {
height: 22rem; .recruit {
li {
.pic {
height: 22rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 22rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 640px) and (max-width: 768px) { @media (min-width: 640px) and (max-width: 768px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 22rem; height: 22rem;
} }
.texts { .texts {
left: 3rem; left: 3rem;
top: 14rem; top: 14rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 26rem;
} }
}
} }
.notice { }
li { .content {
height: auto; .article {
.pic { .left {
height: 26rem; .recruit {
li {
.pic {
height: 26rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 26rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 768px) and (max-width: 980px) { @media (min-width: 768px) and (max-width: 980px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 26rem; height: 26rem;
} }
.texts { .texts {
left: 3rem; left: 3rem;
top: 16rem; top: 16rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 30rem;
} }
}
} }
.notice { }
li { .content {
height: auto; .article {
.pic { .left {
height: 30rem; .recruit {
li {
.pic {
height: 30rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 30rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 980px) and (max-width: 1200px) { @media (min-width: 980px) and (max-width: 1200px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 30rem; height: 30rem;
} }
.texts { .texts {
left: 3rem; left: 3rem;
top: 18rem; top: 18rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 35rem;
} }
}
} }
.notice { }
li { .content {
height: auto; .article {
.pic { .left {
height: 35rem; .recruit {
li {
.pic {
height: 35rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 35rem;
}
}
}
} }
}
} }
}
} }
}
} }
</style> </style>

@ -3,9 +3,11 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/科学研究</p> <p class="page-name">页面设置/科学研究</p>
<div> <div>
<el-button type="primary" @click="preview">预览</el-button> <el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -13,91 +15,78 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" :src="modules[0].form.pic" alt="" /> <img class="banner-img"
:src="modules[0].form.pic"
alt="" />
<div class="texts"> <div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6> <h6 class="banner-title">{{ modules[0].form.title }}</h6>
<p class="banner-des des">{{ modules[0].form.des }}</p> <p class="banner-des des">{{ modules[0].form.des }}</p>
</div> </div>
</div> </div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block gray"> <div class="block gray">
<div class="inner"> <div class="inner">
<ul class="items"> <ul class="items">
<li> <li>
<img class="pic" :src="modules[1].form.pic" alt=""> <img class="pic"
:src="modules[1].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[1].form.title }}</h6> <h6>{{ modules[1].form.title }}</h6>
<div class="text" v-html="modules[1].form.des"></div> <div class="text"
<img class="icon" src="@/assets/images/arrow.png" alt=""> v-html="modules[1].form.des"></div>
<img class="icon"
src="@/assets/images/arrow.png"
alt="">
</div> </div>
<div class="cover" @click="toSet(1)">点击更换图片标题概述与链接</div> <div class="cover"
@click="toSet(1)">点击更换图片标题概述与链接</div>
</li> </li>
<li> <li>
<img class="pic" :src="modules[2].form.pic" alt=""> <img class="pic"
:src="modules[2].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="text" v-html="modules[2].form.des"></div> <div class="text"
<img class="icon" src="@/assets/images/arrow.png" alt=""> v-html="modules[2].form.des"></div>
<img class="icon"
src="@/assets/images/arrow.png"
alt="">
</div> </div>
<div class="cover" @click="toSet(2)">点击更换图片标题概述与链接</div> <div class="cover"
@click="toSet(2)">点击更换图片标题概述与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
<div class="block program">
<div class="inner">
<div class="title">
<h5>
{{ modules[3].form.title }}
<span class="sub">{{ modules[3].form.subTitle }}</span>
</h5>
<span class="more">MORE</span>
<div class="cover" @click="toSet(3)">点击更换标题与小标题</div>
</div>
<div class="c-wrap">
<div class="slide">
<div class="texts">
<h6>超快自由电子激光脉冲特性诊断研究方面取得重要进展</h6>
<div class="des">X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段对于绝大多数自由电子激研究院紧密围绕高水平建设综合性国家科学中心战略目标面向国民经济主战场和世界科技前沿</div>
<div class="meta">发表日期2022.01.10 &emsp;浏览量备份</div>
</div>
<img class="pic" src="@/assets/images/survey3.png" alt="">
</div>
<ul class="list">
<li>
<div class="des">X射线自由电子激光是基于国际最先进的超导加速器技术研发的装置对于未来产业发展和基础科学应用有重要作用</div>
<p class="date">2022.10.10</p>
</li>
<li>
<div class="des">X射线自由电子激光是基于国际最先进的超导加速器技术研发的装置对于未来产业发展和基础科学应用有重要作用</div>
<p class="date">2022.10.10</p>
</li>
<li>
<div class="des">X射线自由电子激光是基于国际最先进的超导加速器技术研发的装置对于未来产业发展和基础科学应用有重要作用</div>
<p class="date">2022.10.10</p>
</li>
</ul>
<div class="cover" @click="toSet(4)">关联栏目</div>
</div>
</div>
</div>
<div class="about"> <div class="about">
<div class="inner"> <div class="inner">
<div class="texts"> <div class="texts">
<div class="title wow fadeInUp" data-wow-delay="0.7s">{{ modules[5].form.title }}</div> <div class="title wow fadeInUp"
<div class="des wow fadeInDown" data-wow-delay="1s" v-html="modules[5].form.des"></div> data-wow-delay="0.7s">{{ modules[3].form.title }}</div>
<div class="des wow fadeInDown"
data-wow-delay="1s"
v-html="modules[3].form.des"></div>
<img class="m-t-10"
width="42"
src="@/assets/images/arrow-white.png"
alt="">
</div> </div>
<img src="@/assets/images/arrow-white.png" alt="">
</div> </div>
<div class="cover" @click="toSet(5)">点击更换标题描述与链接</div> <div class="cover"
@click="toSet(3)">点击更换标题描述与链接</div>
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -106,12 +95,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.scientific modules: Modules.scientific
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -137,171 +126,171 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.items { .items {
li { li {
position: relative; position: relative;
height: 600px; height: 600px;
margin-bottom: 60px; margin-bottom: 60px;
&:nth-child(even) { &:nth-child(even) {
.texts { .texts {
left: auto; left: auto;
right: 100px; right: 100px;
} }
}
.pic {
width: 100%;
height: 100%;
}
.texts {
position: absolute;
top: 100px;
left: 80px;
width: 500px;
min-height: 350px;
padding: 30px;
color: #333;
background-color: rgba(255, 255, 255, 0.85);
border-radius: 0px 0px 100px 0px;
border-top: 4px solid #0280f1;
}
h6 {
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.text {
margin: 1rem 0;
font-size: 1rem;
line-height: 1.6;
}
.icon {
width: 40px;
}
} }
.pic { }
width: 100%; .program {
height: 100%; background: #fff;
.title {
position: relative;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 25px;
margin-bottom: 30px;
border-bottom: 1px solid #ddd;
align-items: center;
h5 {
padding-left: 16px;
font-size: 1.6rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 1;
border-left: 6px solid #2b96ef;
}
.sub {
font-size: 1.1rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #afb7bf;
}
.more {
font-size: 0.8rem;
color: #666;
cursor: pointer;
}
}
.slide {
display: flex;
margin-bottom: 14px;
cursor: pointer;
} }
.texts { .texts {
position: absolute; width: 51%;
top: 100px; padding: 56px;
left: 80px; background: #fbfbfb;
width: 500px; h6 {
min-height: 350px; font-size: 1.3rem;
padding: 30px; font-family: PingFangSC-Medium, PingFang SC;
color: #333; font-weight: 500;
background-color: rgba(255, 255, 255, .85); color: #333333;
border-radius: 0px 0px 100px 0px; }
border-top: 4px solid #0280F1; .des {
margin: 35px 0 25px;
font-size: 1rem;
color: #666;
line-height: 32px;
}
.meta {
font-size: 0.9rem;
color: #666;
}
} }
h6 { .img-wrap {
font-size: 1.2rem; width: 49%;
font-family: PingFangSC-Medium, PingFang SC; height: 430px;
overflow: hidden;
} }
.text { .pic {
margin: 1rem 0; width: 100%;
font-size: 1rem; height: 100%;
line-height: 1.6; transition: 0.5s;
} }
.icon { .list {
width: 40px; display: flex;
li {
width: calc((100% - 28px) / 3);
height: 204px;
padding: 36px 22px;
margin-right: 14px;
background: url(../../../assets/images/sfel/7.png) no-repeat center;
background-size: 100% 100%;
transition: 0.5s;
cursor: pointer;
&:nth-child(2) {
background-image: url(../../../assets/images/sfel/8.png);
}
&:nth-child(3) {
margin-right: 0;
background-image: url(../../../assets/images/sfel/9.png);
}
}
.des {
height: 90px;
margin-bottom: 30px;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 30px;
}
.date {
font-size: 0.9rem;
font-family: LaoSangamMN;
color: #ffffff;
}
} }
}
} }
.program { .about {
background: #fff;
.title {
position: relative; position: relative;
display: flex; padding: 10rem 0 3rem;
justify-content: space-between; text-align: center;
align-items: flex-end; background: url(../../../assets/images/about-bg.png) no-repeat center center;
padding-bottom: 25px; background-size: 100% 100%;
margin-bottom: 30px; .texts {
border-bottom: 1px solid #ddd; padding: 2.375rem 3.75rem;
align-items: center; color: #fff;
h5 { background: rgba(111, 69, 36, 0.56);
padding-left: 16px; border-radius: 17px;
font-size: 1.6rem; transition: 0.3s;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 1;
border-left: 6px solid #2B96EF;
}
.sub {
font-size: 1.1rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #AFB7BF;
}
.more {
font-size: .8rem;
color: #666;
cursor: pointer;
}
}
.slide {
display: flex;
margin-bottom: 14px;
cursor: pointer;
}
.texts {
width: 51%;
padding: 56px;
background: #FBFBFB;
h6 {
font-size: 1.3rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.des {
margin: 35px 0 25px;
font-size: 1rem;
color: #666;
line-height: 32px;
}
.meta {
font-size: .9rem;
color: #666;
} }
} .title {
.img-wrap { margin-bottom: 1rem;
width: 49%; font-size: 2.2rem;
height: 430px;
overflow: hidden;
}
.pic {
width: 100%;
height: 100%;
transition: .5s;
}
.list {
display: flex;
li {
width: calc((100% - 28px) / 3);
height: 204px;
padding: 36px 22px;
margin-right: 14px;
background: url(../../../assets/images/sfel/7.png) no-repeat center;
background-size: 100% 100%;
transition: .5s;
cursor: pointer;
&:nth-child(2) {
background-image: url(../../../assets/images/sfel/8.png);
}
&:nth-child(3) {
margin-right: 0;
background-image: url(../../../assets/images/sfel/9.png);
}
} }
.des { .des {
height: 90px; font-size: 1rem;
margin-bottom: 30px; line-height: 1.6;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
line-height: 30px;
} }
.date {
font-size: .9rem;
font-family: LaoSangamMN;
color: #FFFFFF;
}
}
}
.about {
position: relative;
padding: 10rem 0 3rem;
text-align: center;
background: url(../../../assets/images/about-bg.png) no-repeat center center;
background-size: 100% 100%;
.texts {
padding: 2.375rem 3.75rem;
color: #fff;
background: rgba(111, 69, 36, .56);
border-radius: 17px;
transition: .3s;
}
.title {
margin-bottom: 1rem;
font-size: 2.2rem;
}
.des {
font-size: 1rem;
line-height: 1.6;
}
} }
</style> </style>

@ -1,11 +1,14 @@
<template> <template>
<!-- 人才队伍 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/人才队伍</p> <p class="page-name">页面设置/人才队伍</p>
<div> <div>
<el-button type="primary" @click="preview">预览</el-button> <el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -13,32 +16,41 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" :src="modules[0].form.pic" alt=""> <img class="banner-img"
:src="modules[0].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6> <h6 class="banner-title">{{ modules[0].form.title }}</h6>
<p class="banner-des">{{ modules[0].form.des }}</p> <p class="banner-des">{{ modules[0].form.des }}</p>
</div> </div>
</div> </div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block talent"> <div class="block talent">
<div class="inner"> <div class="inner">
<div class="item"> <div class="item">
<img class="pic" :src="modules[1].form.pic" alt=""> <img class="pic"
:src="modules[1].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[1].form.title }}</h6> <h6>{{ modules[1].form.title }}</h6>
<div class="des">{{ modules[1].form.des }}</div> <div class="des">{{ modules[1].form.des }}</div>
</div> </div>
<div class="cover" @click="toSet(1)">点击更改图片标题概述与链接</div> <div class="cover"
@click="toSet(1)">点击更改图片标题概述与链接</div>
</div> </div>
<div class="item"> <div class="item">
<img class="pic" :src="modules[2].form.pic" alt=""> <img class="pic"
:src="modules[2].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="des">{{ modules[2].form.des }}</div> <div class="des">{{ modules[2].form.des }}</div>
</div> </div>
<div class="cover" @click="toSet(2)">点击更改图片标题概述与链接</div> <div class="cover"
@click="toSet(2)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
@ -46,50 +58,65 @@
<div class="style c-wrap"> <div class="style c-wrap">
<div class="c-wrap"> <div class="c-wrap">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
<div class="cover" @click="toSet(3)">点击更换标题</div> <div class="cover"
@click="toSet(3)">点击更换标题</div>
</div> </div>
<div class="c-wrap"> <div class="c-wrap">
<el-carousel :interval="4000" type="card" height="510px"> <el-carousel :interval="4000"
type="card"
height="510px">
<template v-for="(item, i) in modules[4].list"> <template v-for="(item, i) in modules[4].list">
<el-carousel-item v-if="item.isEnable" :key="i"> <el-carousel-item v-if="item.isEnable"
:key="i">
<div class="item"> <div class="item">
<img :src="item.pic" alt=""> <img :src="item.pic"
alt="">
<p class="text">{{ item.des }}</p> <p class="text">{{ item.des }}</p>
</div> </div>
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" @click="toSet(4)">点击更改图片标题概述与链接</div> <div class="cover"
@click="toSet(4)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
<div class="block intro"> <div class="block intro">
<div class="inner"> <div class="inner">
<div class="item"> <div class="item">
<img class="pic" :src="modules[5].form.pic" alt=""> <img class="pic"
:src="modules[5].form.pic"
alt="">
<div class="texts"> <div class="texts">
<p class="type">{{ modules[5].form.subTitle }}</p> <p class="type">{{ modules[5].form.subTitle }}</p>
<h6>{{ modules[5].form.title }}</h6> <h6>{{ modules[5].form.title }}</h6>
<div class="des">{{ modules[5].form.des }}</div> <div class="des">{{ modules[5].form.des }}</div>
<el-button type="primary">查看更多</el-button> <el-button type="primary">查看更多</el-button>
</div> </div>
<div class="cover" @click="toSet(5)">点击更改图片标题小标题概述与链接</div> <div class="cover"
@click="toSet(5)">点击更改图片标题小标题概述与链接</div>
</div> </div>
<div class="item"> <div class="item">
<img class="pic" :src="modules[6].form.pic" alt=""> <img class="pic"
:src="modules[6].form.pic"
alt="">
<div class="texts"> <div class="texts">
<p class="type">{{ modules[6].form.subTitle }}</p> <p class="type">{{ modules[6].form.subTitle }}</p>
<h6>{{ modules[6].form.title }}</h6> <h6>{{ modules[6].form.title }}</h6>
<div class="des">{{ modules[6].form.des }}</div> <div class="des">{{ modules[6].form.des }}</div>
<el-button type="primary">查看更多</el-button> <el-button type="primary">查看更多</el-button>
</div> </div>
<div class="cover" @click="toSet(6)">点击更改图片标题小标题概述与链接</div> <div class="cover"
@click="toSet(6)">点击更改图片标题小标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -98,12 +125,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.talent modules: Modules.talent
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -129,112 +156,112 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background: #F8F9FB; background: #f8f9fb;
} }
.talent { .talent {
.inner { .inner {
width: 1504px; width: 1504px;
} }
.item { .item {
position: relative; position: relative;
display: flex; display: flex;
padding: 42px; padding: 42px;
margin-bottom: 36px; margin-bottom: 36px;
background: #fff; background: #fff;
&:nth-child(even) { &:nth-child(even) {
flex-direction: row-reverse; flex-direction: row-reverse;
.texts { .texts {
padding-left: 0; padding-left: 0;
} }
}
}
.pic {
width: 602px;
height: 465px;
}
.texts {
padding: 98px 72px 30px 80px;
}
h6 {
margin-bottom: 24px;
font-size: 50px;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #333333;
}
.des {
font-size: 18px;
color: #333;
line-height: 33px;
} }
}
.pic {
width: 602px;
height: 465px;
}
.texts {
padding: 98px 72px 30px 80px;
}
h6 {
margin-bottom: 24px;
font-size: 50px;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #333333;
}
.des {
font-size: 18px;
color: #333;
line-height: 33px;
}
} }
.style { .style {
h6 { h6 {
margin-bottom: 59px; margin-bottom: 59px;
font-size: 48px; font-size: 48px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
text-align: center; text-align: center;
color: #333333; color: #333333;
} }
.item { .item {
position: relative; position: relative;
} }
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.text { .text {
position: absolute; position: absolute;
bottom: 45px; bottom: 45px;
left: 0; left: 0;
width: 100%; width: 100%;
padding: 0 30px; padding: 0 30px;
line-height: 68px; line-height: 68px;
font-size: 24px; font-size: 24px;
color: #fff; color: #fff;
background: rgba(0,0,0,0.38); background: rgba(0, 0, 0, 0.38);
} }
} }
.intro { .intro {
.inner { .inner {
width: 1504px; width: 1504px;
} }
.item { .item {
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 36px; margin-bottom: 36px;
background: #fff; background: #fff;
&:nth-child(even) { &:nth-child(even) {
flex-direction: row-reverse; flex-direction: row-reverse;
}
}
.pic {
width: 848px;
height: 505px;
}
.texts {
padding: 0 58px;
}
.type {
font-size: 18px;
color: #333;
}
h6 {
margin: 20px 0;
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.des {
margin-bottom: 30px;
font-size: 16px;
color: #333;
line-height: 30px;
} }
}
.pic {
width: 848px;
height: 505px;
}
.texts {
padding: 0 58px;
}
.type {
font-size: 18px;
color: #333;
}
h6 {
margin: 20px 0;
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.des {
margin-bottom: 30px;
font-size: 16px;
color: #333;
line-height: 30px;
}
} }
</style> </style>

@ -1,11 +1,14 @@
<template> <template>
<!-- 人才中心 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/人才中心</p> <p class="page-name">页面设置/人才中心</p>
<div> <div>
<el-button type="primary" @click="preview">预览</el-button> <el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -13,26 +16,34 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner single-banner-overview"> <div class="single-banner single-banner-overview">
<img class="banner-img" :src="modules[0].form.pic" alt=""> <img class="banner-img"
:src="modules[0].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6> <h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div> </div>
</div> </div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="content"> <div class="content">
<div class="article"> <div class="article">
<div class="left"> <div class="left">
<div class="c-wrap"> <div class="c-wrap">
<h6 class="title">{{ modules[1].form.title }}</h6> <h6 class="title">{{ modules[1].form.title }}</h6>
<div class="text" v-html="modules[1].form.des"></div> <div class="text"
<div class="cover" @click="toSet(1)">点击更换标题与描述</div> v-html="modules[1].form.des"></div>
<div class="cover"
@click="toSet(1)">点击更换标题与描述</div>
</div> </div>
<ul class="recruit"> <ul class="recruit">
<li> <li>
<div class="c-wrap m-r-10"> <div class="c-wrap m-r-10">
<img class="pic" :src="modules[2].form.pic" alt=""> <img class="pic"
<div class="cover" @click="toSet(2)">点击更换图片</div> :src="modules[2].form.pic"
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div> </div>
<div class="texts"> <div class="texts">
<div class="c-wrap"> <div class="c-wrap">
@ -40,20 +51,28 @@
<h6 class="c-title">{{ modules[3].form.title }}</h6> <h6 class="c-title">{{ modules[3].form.title }}</h6>
<div class="more">查看更多 ></div> <div class="more">查看更多 ></div>
</div> </div>
<div class="des" v-html="modules[3].form.des"></div> <div class="des"
<div class="cover" @click="toSet(3)">点击更换标题链接与描述</div> v-html="modules[3].form.des"></div>
<div class="cover"
@click="toSet(3)">点击更换标题链接与描述</div>
</div> </div>
<p class="hot">热门岗位</p> <p class="hot">热门岗位</p>
<div class="labels"> <div class="labels">
<p v-for="(item, i) in modules[4].list" :key="i" class="label">{{ item.title }}</p> <p v-for="(item, i) in modules[4].list"
<div class="cover" @click="toSet(4)">点击更换标签</div> :key="i"
class="label">{{ item.title }}</p>
<div class="cover"
@click="toSet(4)">点击更换标签</div>
</div> </div>
</div> </div>
</li> </li>
<li> <li>
<div class="c-wrap m-r-10"> <div class="c-wrap m-r-10">
<img class="pic" :src="modules[5].form.pic" alt=""> <img class="pic"
<div class="cover" @click="toSet(5)">点击更换图片</div> :src="modules[5].form.pic"
alt="">
<div class="cover"
@click="toSet(5)">点击更换图片</div>
</div> </div>
<div class="texts"> <div class="texts">
<div class="c-wrap"> <div class="c-wrap">
@ -61,27 +80,38 @@
<h6 class="c-title">{{ modules[6].form.title }}</h6> <h6 class="c-title">{{ modules[6].form.title }}</h6>
<div class="more">查看更多 ></div> <div class="more">查看更多 ></div>
</div> </div>
<div class="des" v-html="modules[6].form.des"></div> <div class="des"
<div class="cover" @click="toSet(6)">点击更换标题链接与描述</div> v-html="modules[6].form.des"></div>
<div class="cover"
@click="toSet(6)">点击更换标题链接与描述</div>
</div> </div>
<p class="hot">热门岗位</p> <p class="hot">热门岗位</p>
<div class="labels"> <div class="labels">
<p v-for="(item, i) in modules[7].list" :key="i" class="label">{{ item.title }}</p> <p v-for="(item, i) in modules[7].list"
<div class="cover" @click="toSet(7)">点击更换标签</div> :key="i"
class="label">{{ item.title }}</p>
<div class="cover"
@click="toSet(7)">点击更换标签</div>
</div> </div>
</div> </div>
</li> </li>
</ul> </ul>
<ul class="notice"> <ul class="notice">
<li class="m-r-10"> <li class="m-r-10">
<img class="pic" :src="modules[8].form.pic" alt=""> <img class="pic"
:src="modules[8].form.pic"
alt="">
<p class="text">{{ modules[8].form.title }}</p> <p class="text">{{ modules[8].form.title }}</p>
<div class="cover" @click="toSet(8)">点击更换图片标题与链接</div> <div class="cover"
@click="toSet(8)">点击更换图片标题与链接</div>
</li> </li>
<li> <li>
<img class="pic" :src="modules[9].form.pic" alt=""> <img class="pic"
:src="modules[9].form.pic"
alt="">
<p class="text">{{ modules[9].form.title }}</p> <p class="text">{{ modules[9].form.title }}</p>
<div class="cover" @click="toSet(9)">点击更换图片标题与链接</div> <div class="cover"
@click="toSet(9)">点击更换图片标题与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -89,7 +119,10 @@
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -98,12 +131,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.talentCenter modules: Modules.talentCenter
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -129,144 +162,144 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background-color: #F9FAFA; background-color: #f9fafa;
} }
.content { .content {
width: 1400px; width: 1400px;
padding-top: 40px; padding-top: 40px;
} }
.article { .article {
display: flex; display: flex;
justify-content: center; justify-content: center;
.left { .left {
width: 66%; width: 66%;
.title { .title {
padding-bottom: 10px; padding-bottom: 10px;
font-size: 1.2rem; font-size: 1.2rem;
color: #666; color: #666;
border-bottom: 1px solid #EAEEF2; border-bottom: 1px solid #eaeef2;
} }
.text { .text {
margin-top: 20px; margin-top: 20px;
font-size: 1.1rem; font-size: 1.1rem;
color: #333; color: #333;
line-height: 28px; line-height: 28px;
p { p {
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
}
.recruit {
li {
display: flex;
padding: 20px;
margin-bottom: 24px;
background-color: #fff;
}
.pic {
width: 410px;
height: 250px;
margin-right: 20px;
}
.c-title {
font-size: 1.2rem;
columns: #333;
}
.more {
font-size: .8rem;
color: #0648A8;
cursor: pointer;
}
.des {
margin: 20px 0;
font-size: 1rem;
color: #666;
line-height: 22px;
}
.hot {
margin-bottom: 10px;
font-size: 1.1rem;
color: #333;
}
.labels {
position: relative;
display: flex;
flex-wrap: wrap;
} }
.label { .recruit {
padding: 5px 15px; li {
margin: 0 15px 15px 0; display: flex;
font-size: 1rem; padding: 20px;
border-radius: 22px; margin-bottom: 24px;
border: 1px solid #666; background-color: #fff;
}
.pic {
width: 410px;
height: 250px;
margin-right: 20px;
}
.c-title {
font-size: 1.2rem;
columns: #333;
}
.more {
font-size: 0.8rem;
color: #0648a8;
cursor: pointer;
}
.des {
margin: 20px 0;
font-size: 1rem;
color: #666;
line-height: 22px;
}
.hot {
margin-bottom: 10px;
font-size: 1.1rem;
color: #333;
}
.labels {
position: relative;
display: flex;
flex-wrap: wrap;
}
.label {
padding: 5px 15px;
margin: 0 15px 15px 0;
font-size: 1rem;
border-radius: 22px;
border: 1px solid #666;
}
} }
} .notice {
.notice { display: flex;
display: flex; li {
li { position: relative;
position: relative; width: calc((100% - 20px) / 2);
width: calc((100% - 20px) / 2); height: 300px;
height: 300px; padding: 20px;
padding: 20px; background-color: #fff;
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);
}
} }
.pic { .right {
width: 100%; width: 20%;
height: 100%;
} }
.text { .column {
position: absolute; width: 100%;
bottom: 20px; margin-bottom: 25px;
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);
} }
} /deep/.el-tree-node__content {
.right { height: 44px;
width: 20%; background-color: #e5edf8;
} border-bottom: 2px solid #fff;
.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 { /deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
margin-bottom: 5px; color: #fff;
font-size: 14px; background-color: #0f5698;
cursor: pointer;
&:hover {
color: $main-color;
}
} }
.date { .list {
font-size: 12px; margin-bottom: 20px;
color: #999; 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: 1420px) { @media (max-width: 1420px) {
.content { .content {
width: 98%; width: 98%;
} }
} }
</style> </style>

@ -160,26 +160,32 @@ export default {
{ {
path: `estate/index`, path: `estate/index`,
component: () => import('@/pages/column/page/estate/index'), component: () => import('@/pages/column/page/estate/index'),
meta: { title: '产业光源-首页' }
}, },
{ {
path: `estate/event`, path: `estate/event`,
component: () => import('@/pages/column/page/estate/event'), component: () => import('@/pages/column/page/estate/event'),
meta: { title: '产业光源-大事记' }
}, },
{ {
path: `estate/location`, path: `estate/location`,
component: () => import('@/pages/column/page/estate/location'), component: () => import('@/pages/column/page/estate/location'),
meta: { title: '产业光源-地理位置' }
}, },
{ {
path: `estate/orgSetup`, path: `estate/orgSetup`,
component: () => import('@/pages/column/page/estate/orgSetup'), component: () => import('@/pages/column/page/estate/orgSetup'),
meta: { title: '产业光源-机构设置' }
}, },
{ {
path: `estate/survey`, path: `estate/survey`,
component: () => import('@/pages/column/page/estate/survey'), component: () => import('@/pages/column/page/estate/survey'),
meta: { title: '产业光源-深圳产业光源' }
}, },
{ {
path: `talentCenter`, path: `talentCenter`,
component: () => import('@/pages/column/page/talentCenter'), component: () => import('@/pages/column/page/talentCenter'),
meta: { title: '人才中心' }
}, },
{ {
path: `governance`, path: `governance`,
@ -196,10 +202,12 @@ export default {
{ {
path: `overview`, path: `overview`,
component: () => import('@/pages/column/page/overview'), component: () => import('@/pages/column/page/overview'),
meta: { title: '概况' }
}, },
{ {
path: `mission`, path: `mission`,
component: () => import('@/pages/column/page/mission'), component: () => import('@/pages/column/page/mission'),
meta: { title: '关于IASF-使命愿景价值观' }
}, },
{ {
path: `scientific`, path: `scientific`,
@ -216,10 +224,22 @@ export default {
{ {
path: `speech`, path: `speech`,
component: () => import('@/pages/column/page/speech'), component: () => import('@/pages/column/page/speech'),
meta: { title: '关于IASF-院长致辞' }
}, },
{ {
path: `talentCentre`, path: `talentCentre`,
component: () => import('@/pages/column/page/talentCentre'), component: () => import('@/pages/column/page/talentCentre'),
meta: { title: '人才中心' }
},
{
path: `contactUs`,
component: () => import('@/pages/column/page/contactUs'),
meta: { title: '联系我们' }
},
{
path: `lightSources`,
component: () => import('@/pages/column/page/lightSources'),
meta: { title: '全球先进光源' }
}, },
] ]
} }

Loading…
Cancel
Save