加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. 91
      src/components/modules/history.vue
  8. 560
      src/const/modules.js
  9. 785
      src/pages/article/add/index.vue
  10. 31
      src/pages/column/page/contactUs.vue
  11. 69
      src/pages/column/page/governance.vue
  12. 254
      src/pages/column/page/lightSources.vue
  13. 246
      src/pages/column/page/mission.vue
  14. 61
      src/pages/column/page/researchTeam.vue
  15. 133
      src/pages/column/page/scientific.vue
  16. 73
      src/pages/column/page/talent.vue
  17. 99
      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')
}, },
} }

@ -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: [
{
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: '研究院党委', title: '研究院党委',
}, list: [
{ {
title: '院长办公会议', 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: '职工代表大会', 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: '科技委员会', 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: '用户委员会', title: '用户委员会',
}, list: [
{ {
pic: 'http://10.10.11.7/images/governance/8.png',
title: '产业促进委员会', title: '产业促进委员会',
des: ` 产业促进委员会对理事会负责,是贯彻战略性新兴产业发展需求牵引导向,强化设施服务深圳和大湾区高新技术产业发展,加强“从0 到1”原创科技成果持续供给产业,强化科技服务经济的专门机构。
产业促进委员会主要负责根据深圳和大湾区产业需求及发展动态挖掘凝练高新技术产业发展的卡脖子技术和下一代产业发展关键技术对研究院设施的产业需求建设方案和性能指标进行咨询建议参与编制设施中产业板块线站机时分配方案收集产业用户对设施的管理运行模式装置使用和升级需求重点合作课题的建议和意见为设施服务产业发展方向研究计划运行管理等的完善和改进提供决策参考负责对定期举办产业用户培训进行指导积极引导高新技术企业与研究院深度合作促进设施服务产业经济发展`,
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}, },
isEnable: 1
}
]
},
{
title: '产业促进委员会',
list: [
{ {
title: '学术委员会', 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
}
] ]
}, },
{ ],
type: 'form',
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,
@ -7517,8 +7643,8 @@ export default {
} }
], ],
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>
<img src="http://10.10.11.7/images/contactUs/2.png" <div class="c-wrap">
<img :src="modules[2].form.pic"
alt="" alt=""
class="pic"> class="pic">
<el-table :data="list" <div class="cover"
@click="toSet(2)">点击更换图片</div>
</div>
<div class="c-wrap m-t-20">
<el-table :data="modules[3].list"
class="patent-table" class="patent-table"
ref="table" ref="table"
stripe stripe
header-align="center"> header-align="center">
<el-table-column prop="title" <el-table-column prop="dep"
label="部门" label="部门"
align="center" align="center"
min-width="250"></el-table-column> min-width="250"></el-table-column>
<el-table-column prop="publishingHouse" <el-table-column prop="contacts"
label="联系人" label="联系人"
align="center" align="center"
min-width="100"></el-table-column> min-width="100"></el-table-column>
<el-table-column prop="writersAndEditors" <el-table-column prop="phone"
label="电话" label="电话"
align="center" align="center"
min-width="150"></el-table-column> min-width="150"></el-table-column>
<el-table-column prop="publicationYear" <el-table-column prop="email"
label="邮箱" label="邮箱"
align="center" align="center"
min-width="150"></el-table-column> min-width="150"></el-table-column>
</el-table> </el-table>
<div class="cover"
@click="toSet(3)">点击更换文本</div>
</div>
</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,7 +113,7 @@ 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;
@ -105,7 +125,7 @@ export default {
width: 65px; width: 65px;
height: 3px; height: 3px;
margin-top: 20px; margin-top: 20px;
background: #0280F1; background: #0280f1;
} }
} }
.texts { .texts {
@ -115,7 +135,7 @@ export default {
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: .3s; transition: 0.3s;
&:hover { &:hover {
transform: scale(1.05); transform: scale(1.05);
} }
@ -144,14 +164,14 @@ export default {
margin: 0 auto; margin: 0 auto;
} }
li { li {
width: 260px; width: 368px;
margin: 0 30px 50px 0; margin: 0 30px 50px 0;
line-height: 84px; line-height: 84px;
font-size: 1.2rem; font-size: 1.2rem;
color: #333; color: #333;
text-align: center; text-align: center;
@include ellipsis(); @include ellipsis();
background: url(http://10.10.11.7/images/governance/3.png) 0 0/cover no-repeat; background: url(http://10.10.11.7/images/governance/3.png) 0 0 / cover no-repeat;
cursor: pointer; cursor: pointer;
&:nth-child(2) { &:nth-child(2) {
background-image: url(http://10.10.11.7/images/governance/4.png); background-image: url(http://10.10.11.7/images/governance/4.png);
@ -171,9 +191,12 @@ export default {
&:nth-child(8) { &:nth-child(8) {
background-image: url(http://10.10.11.7/images/governance/6.png); background-image: url(http://10.10.11.7/images/governance/6.png);
} }
&:nth-child(3n) {
margin-right: 0;
}
&:hover { &:hover {
color: #fff; color: #fff;
background: #0D84F2; background: #0d84f2;
} }
} }
} }

@ -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,34 +126,27 @@ 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; position: relative;
margin-bottom: 58px; margin-bottom: 58px;
&:hover {
.texts {
color: #fff;
transform: scale(1.05);
background: #32b6e9 !important;
}
}
img { img {
width: 90%; width: 100%;
height: 400px; height: 400px;
} }
&:nth-child(2) .texts { &:nth-child(2) .texts {
left: auto; left: auto;
right: 0; right: -36px;
color: #fff; color: #fff;
background: rgba(40,179,255,0.34); background: rgba(40, 179, 255, 0.34);
} }
.texts { .texts {
position: absolute; position: absolute;
top: 79px; top: 79px;
left: -28px; left: -34px;
width: 532px; width: 532px;
padding: 70px 38px; padding: 70px 38px;
color: #333; color: #333;
@ -185,7 +198,7 @@ export default {
color: #272727; color: #272727;
@include ellipsis(); @include ellipsis();
} }
.des { .text {
font-size: 1rem; font-size: 1rem;
color: #666; color: #666;
line-height: 1.5; line-height: 1.5;
@ -193,11 +206,8 @@ export default {
} }
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
body {
width: 100% !important;
}
.inner { .inner {
width: 100%; width: 98%;
} }
.item { .item {
img { img {
@ -210,159 +220,31 @@ export default {
width: 85%; width: 85%;
box-sizing: border-box; box-sizing: border-box;
left: 12px; left: 12px;
.des{ .des {
-webkit-line-clamp: inherit -webkit-line-clamp: inherit;
}
}
}
}
@media (max-width: 320px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 12rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
}
}
}
}
.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{
font-size: .85rem;
}
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.wrap {
.single-banner {
.banner-img {
height: 20rem;
}
.texts {
top: 10rem;
left: 12rem;
.banner-title{
font-size: 1.5rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
}
}
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.single-banner {
.banner-img {
height: 25rem;
}
.texts {
top: 10rem;
left: 12rem;
.banner-title{
font-size: 2rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
}
}
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.single-banner {
.banner-img {
height: 35rem;
}
.texts {
top: 20rem;
left: 12rem;
.banner-title{
font-size: 2rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
}
} }
} }
} }
} }
@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{
font-size: .85rem;
}
} }
li {
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 { .texts {
top: 20rem; width: calc(100% - 150px);
left: 12rem;
.banner-title{
font-size: 2rem;
margin-bottom: .5rem;
}
.banner-des{
font-size: .85rem;
}
} }
} }
} }

@ -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,7 +105,7 @@ 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;
@ -107,7 +124,7 @@ export default {
padding: 0 15px; padding: 0 15px;
font-size: 14px; font-size: 14px;
color: #333; color: #333;
background: #F7F7F7; background: #f7f7f7;
border: 0; border: 0;
border-top-left-radius: 6px; border-top-left-radius: 6px;
border-bottom-left-radius: 6px; border-bottom-left-radius: 6px;
@ -127,7 +144,7 @@ export default {
width: calc((100% - 10px) / 2); width: calc((100% - 10px) / 2);
padding: 20px 30px; padding: 20px 30px;
margin: 0 10px 10px 0; margin: 0 10px 10px 0;
background: url(http://10.10.11.7/images/researchTeam/2.png) 0 0/cover no-repeat; background: url(http://10.10.11.7/images/researchTeam/2.png) 0 0 / cover no-repeat;
&:nth-child(even) { &:nth-child(even) {
margin-right: 0; margin-right: 0;
} }
@ -176,7 +193,7 @@ export default {
line-height: 66px; line-height: 66px;
text-align: center; text-align: center;
color: #fff; color: #fff;
background: rgba(32,57,81,0.68); background: rgba(32, 57, 81, 0.68);
} }
} }
.right { .right {
@ -188,7 +205,7 @@ export default {
} }
/deep/.el-tree-node__content { /deep/.el-tree-node__content {
height: 44px; height: 44px;
background-color: #E5EDF8; background-color: #e5edf8;
border-bottom: 2px solid #fff; border-bottom: 2px solid #fff;
} }
/deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content { /deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
@ -199,7 +216,7 @@ export default {
margin-bottom: 20px; margin-bottom: 20px;
li { li {
padding: 16px 0; padding: 16px 0;
border-bottom: 1px solid #D8D8D8; border-bottom: 1px solid #d8d8d8;
} }
.text { .text {
margin-bottom: 5px; margin-bottom: 5px;
@ -221,7 +238,8 @@ export default {
} }
.article { .article {
flex-direction: column; flex-direction: column;
.left, .right { .left,
.right {
width: 100%; width: 100%;
} }
.left { .left {
@ -260,10 +278,9 @@ export default {
flex-direction: column; flex-direction: column;
.pic { .pic {
width: 100%; width: 100%;
} }
.texts { .texts {
margin-top: .8rem; margin-top: 0.8rem;
} }
} }
} }
@ -274,7 +291,7 @@ export default {
} }
} }
} }
.right{ .right {
width: 100%; width: 100%;
.el-tree { .el-tree {
display: none; display: none;

@ -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,7 +126,7 @@ 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;
@ -161,9 +150,9 @@ export default {
min-height: 350px; min-height: 350px;
padding: 30px; padding: 30px;
color: #333; color: #333;
background-color: rgba(255, 255, 255, .85); background-color: rgba(255, 255, 255, 0.85);
border-radius: 0px 0px 100px 0px; border-radius: 0px 0px 100px 0px;
border-top: 4px solid #0280F1; border-top: 4px solid #0280f1;
} }
h6 { h6 {
font-size: 1.2rem; font-size: 1.2rem;
@ -197,16 +186,16 @@ export default {
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
line-height: 1; line-height: 1;
border-left: 6px solid #2B96EF; border-left: 6px solid #2b96ef;
} }
.sub { .sub {
font-size: 1.1rem; font-size: 1.1rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #AFB7BF; color: #afb7bf;
} }
.more { .more {
font-size: .8rem; font-size: 0.8rem;
color: #666; color: #666;
cursor: pointer; cursor: pointer;
} }
@ -219,7 +208,7 @@ export default {
.texts { .texts {
width: 51%; width: 51%;
padding: 56px; padding: 56px;
background: #FBFBFB; background: #fbfbfb;
h6 { h6 {
font-size: 1.3rem; font-size: 1.3rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
@ -233,7 +222,7 @@ export default {
line-height: 32px; line-height: 32px;
} }
.meta { .meta {
font-size: .9rem; font-size: 0.9rem;
color: #666; color: #666;
} }
} }
@ -245,7 +234,7 @@ export default {
.pic { .pic {
width: 100%; width: 100%;
height: 100%; height: 100%;
transition: .5s; transition: 0.5s;
} }
.list { .list {
display: flex; display: flex;
@ -256,7 +245,7 @@ export default {
margin-right: 14px; margin-right: 14px;
background: url(../../../assets/images/sfel/7.png) no-repeat center; background: url(../../../assets/images/sfel/7.png) no-repeat center;
background-size: 100% 100%; background-size: 100% 100%;
transition: .5s; transition: 0.5s;
cursor: pointer; cursor: pointer;
&:nth-child(2) { &:nth-child(2) {
background-image: url(../../../assets/images/sfel/8.png); background-image: url(../../../assets/images/sfel/8.png);
@ -272,13 +261,13 @@ export default {
font-size: 1rem; font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #ffffff;
line-height: 30px; line-height: 30px;
} }
.date { .date {
font-size: .9rem; font-size: 0.9rem;
font-family: LaoSangamMN; font-family: LaoSangamMN;
color: #FFFFFF; color: #ffffff;
} }
} }
} }
@ -291,9 +280,9 @@ export default {
.texts { .texts {
padding: 2.375rem 3.75rem; padding: 2.375rem 3.75rem;
color: #fff; color: #fff;
background: rgba(111, 69, 36, .56); background: rgba(111, 69, 36, 0.56);
border-radius: 17px; border-radius: 17px;
transition: .3s; transition: 0.3s;
} }
.title { .title {
margin-bottom: 1rem; margin-bottom: 1rem;

@ -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,9 +156,9 @@ 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 {
@ -195,7 +222,7 @@ export default {
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 {

@ -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,9 +162,9 @@ 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;
@ -146,7 +179,7 @@ export default {
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;
@ -175,8 +208,8 @@ export default {
columns: #333; columns: #333;
} }
.more { .more {
font-size: .8rem; font-size: 0.8rem;
color: #0648A8; color: #0648a8;
cursor: pointer; cursor: pointer;
} }
.des { .des {
@ -225,7 +258,7 @@ export default {
line-height: 66px; line-height: 66px;
text-align: center; text-align: center;
color: #fff; color: #fff;
background: rgba(32,57,81,0.68); background: rgba(32, 57, 81, 0.68);
} }
} }
.right { .right {
@ -237,7 +270,7 @@ export default {
} }
/deep/.el-tree-node__content { /deep/.el-tree-node__content {
height: 44px; height: 44px;
background-color: #E5EDF8; background-color: #e5edf8;
border-bottom: 2px solid #fff; border-bottom: 2px solid #fff;
} }
/deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content { /deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
@ -248,7 +281,7 @@ export default {
margin-bottom: 20px; margin-bottom: 20px;
li { li {
padding: 16px 0; padding: 16px 0;
border-bottom: 1px solid #D8D8D8; border-bottom: 1px solid #d8d8d8;
} }
.text { .text {
margin-bottom: 5px; margin-bottom: 5px;

@ -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