加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. 77
      src/components/modules/history.vue
  8. 560
      src/const/modules.js
  9. 617
      src/pages/article/add/index.vue
  10. 31
      src/pages/column/page/contactUs.vue
  11. 63
      src/pages/column/page/governance.vue
  12. 254
      src/pages/column/page/lightSources.vue
  13. 238
      src/pages/column/page/mission.vue
  14. 51
      src/pages/column/page/researchTeam.vue
  15. 129
      src/pages/column/page/scientific.vue
  16. 67
      src/pages/column/page/talent.vue
  17. 93
      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>

@ -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: '',
}
]
},
], ],
} }

@ -1,55 +1,67 @@
<template> <template>
<div class="page"> <div class="page">
<p class="page-name mb">文章详情</p> <p class="page-name mb">文章详情</p>
<el-form :model="form" :rules="rules" class="input-form model" label-width="140px"> <el-form :model="form"
<el-form-item v-if="!isPublication" class="lg" prop="articleTemplate" label="独立文章模板"> :rules="rules"
<el-popover class="input-form model"
placement="top-start" label-width="140px">
<el-form-item v-if="!isPublication"
class="lg"
prop="articleTemplate"
label="独立文章模板">
<el-popover placement="top-start"
trigger="hover" trigger="hover"
content="默认使用栏目中设置的文章样式,如果需要为该篇文章指定专门的模板样式,可以设置此项"> content="默认使用栏目中设置的文章样式,如果需要为该篇文章指定专门的模板样式,可以设置此项">
<img slot="reference" class="info" src="@/assets/images/ques.png" alt=""> <img slot="reference"
class="info"
src="@/assets/images/ques.png"
alt="">
</el-popover> </el-popover>
<div style="width: 940px;text-align: right;"> <div style="width: 940px;text-align: right;">
<el-switch <el-switch v-model="form.templateStatus"
v-model="form.templateStatus"
:active-value="1" :active-value="1"
:inactive-value="0"> :inactive-value="0">
</el-switch> </el-switch>
</div> </div>
<ul v-if="form.templateStatus" class="styles"> <ul v-if="form.templateStatus"
class="styles">
<template v-for="(item, i) in detailStyle"> <template v-for="(item, i) in detailStyle">
<li v-if="item.id !== column.detailStyle" :key="i" @click="styleChange(item.id)"> <li v-if="item.id !== column.detailStyle"
:key="i"
@click="styleChange(item.id)">
<div class="review"> <div class="review">
<img :class="{'is-link': item.id == 24}" :src="require('@/assets/images/style/' + item.id + '.png')" alt=""> <img :class="{'is-link': item.id == 24}"
:src="require('@/assets/images/style/' + item.id + '.png')"
alt="">
</div> </div>
<el-radio v-model="form.articleTemplate" :label="item.id">{{ item.style }}</el-radio> <el-radio v-model="form.articleTemplate"
:label="item.id">{{ item.style }}</el-radio>
</li> </li>
</template> </template>
</ul> </ul>
</el-form-item> </el-form-item>
<el-form-item prop="title" label="标题"> <el-form-item prop="title"
<el-input label="标题">
id="articleTitle" <el-input id="articleTitle"
style="width: 940px" style="width: 940px"
placeholder="请输入标题" placeholder="请输入标题"
v-model="form.title" v-model="form.title"
clearable clearable
maxlength="100" maxlength="100"
@change="nameChange" @change="nameChange"></el-input>
></el-input>
</el-form-item> </el-form-item>
<div class="item-line"> <div class="item-line">
<el-form-item prop="columnId" label="所属栏目"> <el-form-item prop="columnId"
<el-cascader label="所属栏目">
ref="column" <el-cascader ref="column"
v-model="form.columnId" v-model="form.columnId"
:options="columns" :options="columns"
:props="columnProps" :props="columnProps"
@change="columnChange"></el-cascader> @change="columnChange"></el-cascader>
</el-form-item> </el-form-item>
<el-form-item prop="releaseTime" label="发布日期"> <el-form-item prop="releaseTime"
<el-date-picker label="发布日期">
v-model="form.releaseTime" <el-date-picker v-model="form.releaseTime"
type="date" type="date"
placeholder="选择日期" placeholder="选择日期"
format="yyyy-MM-dd" format="yyyy-MM-dd"
@ -61,31 +73,31 @@
<!-- 专利 --> <!-- 专利 -->
<template v-if="isPatent"> <template v-if="isPatent">
<div class="item-line"> <div class="item-line">
<el-form-item prop="patentClassId" label="专利类别"> <el-form-item prop="patentClassId"
<el-select v-model="form.patentClassId" clearable> label="专利类别">
<el-select v-model="form.patentClassId"
clearable>
<template v-for="item in patentClasses"> <template v-for="item in patentClasses">
<el-option <el-option :key="item.id"
:key="item.id"
:label="item.name" :label="item.name"
:value="item.id"> :value="item.id">
</el-option> </el-option>
</template> </template>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item prop="applicationNumber" label="申请号"> <el-form-item prop="applicationNumber"
<el-input label="申请号">
placeholder="请输入申请号" <el-input placeholder="请输入申请号"
v-model.trim="form.applicationNumber" v-model.trim="form.applicationNumber"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div class="item-line"> <div class="item-line">
<el-form-item prop="applicationDate" label="申请日期"> <el-form-item prop="applicationDate"
<el-date-picker label="申请日期">
v-model="form.applicationDate" <el-date-picker v-model="form.applicationDate"
type="date" type="date"
placeholder="选择日期" placeholder="选择日期"
format="yyyy-MM-dd" format="yyyy-MM-dd"
@ -93,9 +105,9 @@
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item prop="dateOfAuthorization" label="授权日期"> <el-form-item prop="dateOfAuthorization"
<el-date-picker label="授权日期">
v-model="form.dateOfAuthorization" <el-date-picker v-model="form.dateOfAuthorization"
type="date" type="date"
placeholder="选择日期" placeholder="选择日期"
format="yyyy-MM-dd" format="yyyy-MM-dd"
@ -104,41 +116,38 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</div> </div>
<el-form-item prop="inventor" label="发明人"> <el-form-item prop="inventor"
<el-input label="发明人">
style="width: 940px" <el-input style="width: 940px"
type="textarea" type="textarea"
v-model="form.inventor" v-model="form.inventor"
:rows="3" :rows="3"></el-input>
></el-input>
</el-form-item> </el-form-item>
</template> </template>
<!-- 专著 --> <!-- 专著 -->
<template v-if="isMonograph"> <template v-if="isMonograph">
<div class="item-line"> <div class="item-line">
<el-form-item prop="publishingHouse" label="出版社"> <el-form-item prop="publishingHouse"
<el-input label="出版社">
placeholder="请输入出版社" <el-input placeholder="请输入出版社"
v-model.trim="form.publishingHouse" v-model.trim="form.publishingHouse"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="writersAndEditors" label="编写人员"> <el-form-item prop="writersAndEditors"
<el-input label="编写人员">
placeholder="请输入编写人员" <el-input placeholder="请输入编写人员"
v-model.trim="form.writersAndEditors" v-model.trim="form.writersAndEditors"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div class="item-line"> <div class="item-line">
<el-form-item prop="publicationYear" label="出版时间"> <el-form-item prop="publicationYear"
<el-date-picker label="出版时间">
style="width: 300px" <el-date-picker style="width: 300px"
v-model="form.publicationYear" v-model="form.publicationYear"
type="year" type="year"
placeholder="请选择出版时间" placeholder="请选择出版时间"
@ -149,20 +158,20 @@
</div> </div>
</template> </template>
<!-- 期刊详情 or 论文 --> <!-- 期刊详情 or 论文 -->
<template v-if="form.articleTemplate === 26 || isThesis"> <template v-if="isJournal || isThesis">
<div class="item-line"> <div class="item-line">
<el-form-item v-if="!isThesis" prop="doi" label="DOI"> <el-form-item v-if="!isThesis"
<el-input prop="doi"
placeholder="请输入DOI" label="DOI">
<el-input placeholder="请输入DOI"
v-model.trim="form.doi" v-model.trim="form.doi"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="publicationYear" :label="isThesis ? '发表年度' : '出版年份'"> <el-form-item prop="publicationYear"
<el-date-picker :label="isThesis ? '发表年度' : '出版年份'">
style="width: 300px" <el-date-picker style="width: 300px"
v-model="form.publicationYear" v-model="form.publicationYear"
type="year" type="year"
:placeholder="'请选择' + (isThesis ? '发表年度' : '出版年份')" :placeholder="'请选择' + (isThesis ? '发表年度' : '出版年份')"
@ -172,61 +181,64 @@
</el-form-item> </el-form-item>
</div> </div>
<div class="item-line"> <div class="item-line">
<el-form-item prop="periodicalName" :label="isThesis ? '期刊名称' : '刊物名称'"> <el-form-item prop="periodicalName"
<el-input :label="isThesis ? '期刊名称' : '刊物名称'">
:placeholder="'请输入' + (isThesis ? '期刊名称' : '刊物名称')" <el-input :placeholder="'请输入' + (isThesis ? '期刊名称' : '刊物名称')"
v-model="form.periodicalName" v-model="form.periodicalName"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
<div style="display: inline-flex;"> <div style="display: inline-flex;">
<el-form-item prop="reel" label="卷" style="margin-right: 0;"> <el-form-item prop="reel"
<el-input label="卷"
placeholder="请输入" style="margin-right: 0;">
<el-input placeholder="请输入"
v-model="form.reel" v-model="form.reel"
clearable clearable
maxlength="50" maxlength="50"
style="width: 110px" style="width: 110px"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="documentNumber" label="文献号" label-width="80px"> <el-form-item prop="documentNumber"
<el-input label="文献号"
placeholder="请输入" label-width="80px">
<el-input placeholder="请输入"
v-model="form.documentNumber" v-model="form.documentNumber"
clearable clearable
maxlength="50" maxlength="50"
style="width: 110px" style="width: 110px"></el-input>
></el-input>
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
<el-form-item prop="author" label="作者"> <el-form-item prop="author"
<el-input label="作者">
style="width: 940px" <el-input style="width: 940px"
type="textarea" type="textarea"
v-model="form.author" v-model="form.author"
:rows="3" :rows="3"></el-input>
></el-input>
</el-form-item> </el-form-item>
</template> </template>
<el-form-item v-if="isPublication" prop="mainBody" label="正文"> <el-form-item v-if="isPublication"
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' v-model="form.mainBody" :init="editorConfig" /> prop="mainBody"
label="正文">
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda'
v-model="form.mainBody"
:init="editorConfig" />
</el-form-item> </el-form-item>
<div v-else-if="!isPublication" class="item-line"> <div v-else-if="!isPublication"
<el-form-item prop="source" label="来源"> class="item-line">
<el-input <el-form-item prop="source"
placeholder="请输入来源" label="来源">
<el-input placeholder="请输入来源"
v-model.trim="form.source" v-model.trim="form.source"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="form.articleTemplate === 25" prop="time" label="起止时间"> <el-form-item v-if="form.articleTemplate === 25"
<el-date-picker prop="time"
style="width: 300px" label="起止时间">
<el-date-picker style="width: 300px"
v-model="form.time" v-model="form.time"
type="datetimerange" type="datetimerange"
range-separator="~" range-separator="~"
@ -235,208 +247,232 @@
end-placeholder="结束日期"> end-placeholder="结束日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item v-else prop="author" label="作者"> <el-form-item v-else-if="!isJournal"
<el-input prop="author"
placeholder="请输入作者" label="作者">
<el-input placeholder="请输入作者"
v-model.trim="form.author" v-model.trim="form.author"
clearable clearable
maxlength="200" maxlength="200"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
</div> </div>
<template v-if="!isPublication"> <template v-if="!isPublication">
<div v-if="form.articleTemplate === 25" class="item-line"> <div v-if="form.articleTemplate === 25"
<el-form-item prop="lectureSeries" label="演讲系列"> class="item-line">
<el-input <el-form-item prop="lectureSeries"
placeholder="请输入演讲系列" label="演讲系列">
<el-input placeholder="请输入演讲系列"
v-model.trim="form.lectureSeries" v-model.trim="form.lectureSeries"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="onlineLocation" label="线上地点"> <el-form-item prop="onlineLocation"
<el-input label="线上地点">
placeholder="请输入线上地点" <el-input placeholder="请输入线上地点"
v-model.trim="form.onlineLocation" v-model.trim="form.onlineLocation"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div v-if="form.articleTemplate === 22 || form.articleTemplate === 23" class="item-line"> <div v-if="form.articleTemplate === 22 || form.articleTemplate === 23"
<el-form-item prop="edit" label="编辑"> class="item-line">
<el-input <el-form-item prop="edit"
placeholder="请输入编辑" label="编辑">
<el-input placeholder="请输入编辑"
v-model.trim="form.edit" v-model.trim="form.edit"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="audit" label="审核"> <el-form-item prop="audit"
<el-input label="审核">
placeholder="请输入审核" <el-input placeholder="请输入审核"
v-model.trim="form.audit" v-model.trim="form.audit"
clearable clearable
maxlength="50" maxlength="50"
class="inline-input" class="inline-input"></el-input>
></el-input>
</el-form-item> </el-form-item>
</div> </div>
<template v-if="form.articleTemplate === 25"> <template v-if="form.articleTemplate === 25">
<div class="item-line"> <div class="item-line">
<el-form-item prop="classificationId" label="所属分类"> <el-form-item prop="classificationId"
<el-select style="width: 234px;" v-model="getModelData" clearable> label="所属分类">
<el-select style="width: 234px;"
v-model="getModelData"
clearable>
<!-- <el-select style="width: 234px;" v-model="form.classificationId" :value="classificationName.find(i=>i.id === form.classificationId ? form.classificationId : '')" clearable> --> <!-- <el-select style="width: 234px;" v-model="form.classificationId" :value="classificationName.find(i=>i.id === form.classificationId ? form.classificationId : '')" clearable> -->
<template v-for="item in classifications"> <template v-for="item in classifications">
<el-option <el-option v-if="item.classificationName"
v-if="item.classificationName"
:key="item.id" :key="item.id"
:label="item.classificationName" :label="item.classificationName"
:value="item.id" :value="item.id">
>
</el-option> </el-option>
</template> </template>
</el-select> </el-select>
<el-button class="set-btn" type="primary" @click="setClass">设置</el-button> <el-button class="set-btn"
type="primary"
@click="setClass">设置</el-button>
</el-form-item> </el-form-item>
<el-form-item prop="offlineLocation" label="线下地点"> <el-form-item prop="offlineLocation"
<el-input label="线下地点">
placeholder="请输入线下地点" <el-input placeholder="请输入线下地点"
v-model="form.offlineLocation" v-model="form.offlineLocation"
clearable clearable
maxlength="100" maxlength="100"></el-input>
></el-input>
</el-form-item> </el-form-item>
</div> </div>
<el-form-item prop="keynoteSpeaker" label="主讲人"> <el-form-item prop="keynoteSpeaker"
<el-input label="主讲人">
style="width: 940px" <el-input style="width: 940px"
placeholder="请输入主讲人" placeholder="请输入主讲人"
v-model="form.keynoteSpeaker" v-model="form.keynoteSpeaker"
clearable clearable
maxlength="100" maxlength="100"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="eventProfile" label="活动简介"> <el-form-item prop="eventProfile"
<el-input label="活动简介">
style="width: 940px" <el-input style="width: 940px"
placeholder="请输入活动简介" placeholder="请输入活动简介"
v-model="form.eventProfile" v-model="form.eventProfile"
type="textarea" type="textarea"
clearable clearable></el-input>
></el-input>
</el-form-item> </el-form-item>
</template> </template>
<div v-if="form.articleTemplate === 22 || form.articleTemplate === 23" class="item-line"> <div v-if="form.articleTemplate === 22 || form.articleTemplate === 23"
<el-form-item prop="source" label="所属分类"> class="item-line">
<el-select style="width: 234px;" v-model="getModelData" clearable> <el-form-item prop="source"
label="所属分类">
<el-select style="width: 234px;"
v-model="getModelData"
clearable>
<template v-for="item in classifications"> <template v-for="item in classifications">
<el-option <el-option v-if="item.id"
v-if="item.id"
:key="item.id" :key="item.id"
:label="item.classificationName" :label="item.classificationName"
:value="item.id"> :value="item.id">
</el-option> </el-option>
</template> </template>
</el-select> </el-select>
<el-button class="set-btn" type="primary" @click="setClass">设置</el-button> <el-button class="set-btn"
type="primary"
@click="setClass">设置</el-button>
</el-form-item> </el-form-item>
<el-form-item prop="author" label="主题标签"> <el-form-item prop="author"
<el-select style="width: 234px;" v-model="form.lableId" multiple > label="主题标签">
<el-select style="width: 234px;"
v-model="form.lableId"
multiple>
<template v-for="item in labels"> <template v-for="item in labels">
<el-option <el-option v-if="item.id"
v-if="item.id"
:key="item.id" :key="item.id"
:label="item.labelName" :label="item.labelName"
:value="item.id"> :value="item.id">
</el-option> </el-option>
</template> </template>
</el-select> </el-select>
<el-button class="set-btn" type="primary" @click="setLabel">设置</el-button> <el-button class="set-btn"
type="primary"
@click="setLabel">设置</el-button>
</el-form-item> </el-form-item>
</div> </div>
<el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 23" prop="summary" label="摘要"> <el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 23"
<el-input prop="summary"
style="width: 940px" label="摘要">
<el-input style="width: 940px"
type="textarea" type="textarea"
v-model.trim="form.summary" v-model.trim="form.summary"
:rows="3" :rows="3"
clearable clearable></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="titleImg" :label="form.articleTemplate === 25 ? '标题图' : '封面图'"> <el-form-item prop="titleImg"
<el-upload :label="form.articleTemplate === 25 ? '标题图' : '封面图'">
class="avatar-uploader" <el-upload class="avatar-uploader"
accept=".jpg,.png,.jpeg,.gif" accept=".jpg,.png,.jpeg,.gif"
:on-change="file => changeFile(file, 0)" :on-change="file => changeFile(file, 0)"
:show-file-list="false" :show-file-list="false"
:action="this.api.upload" :action="this.api.upload"
:auto-upload="false" :auto-upload="false">
> <img v-if="form.titleImg"
<img v-if="form.titleImg" :src="form.titleImg" class="avatar"> :src="form.titleImg"
<div class="uploader-default" v-else> class="avatar">
<img class="plus" src="@/assets/images/plus.png" alt=""> <div class="uploader-default"
v-else>
<img class="plus"
src="@/assets/images/plus.png"
alt="">
<p>点击上传</p> <p>点击上传</p>
</div> </div>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 25" prop="bannerImg" label="Banner图(选填)" style="flex: 1;"> <el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 25"
<el-upload prop="bannerImg"
class="avatar-uploader avatar-uploader-lg" label="Banner图(选填)"
style="flex: 1;">
<el-upload class="avatar-uploader avatar-uploader-lg"
accept=".jpg,.png,.jpeg,.gif" accept=".jpg,.png,.jpeg,.gif"
:on-change="file => changeFile(file, 1)" :on-change="file => changeFile(file, 1)"
:show-file-list="false" :show-file-list="false"
:action="this.api.upload" :action="this.api.upload"
:auto-upload="false" :auto-upload="false">
> <img v-if="form.bannerImg"
<img v-if="form.bannerImg" :src="form.bannerImg" class="avatar-lg"> :src="form.bannerImg"
<div class="uploader-default" v-else> class="avatar-lg">
<img class="plus" src="@/assets/images/plus.png" alt=""> <div class="uploader-default"
v-else>
<img class="plus"
src="@/assets/images/plus.png"
alt="">
<p>点击上传</p> <p>点击上传</p>
</div> </div>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 23 || form.articleTemplate === 25" prop="mainBody" label="正文"> <el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 23 || form.articleTemplate === 25"
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' v-model="form.mainBody" :init="editorConfig" /> prop="mainBody"
label="正文">
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda'
v-model="form.mainBody"
:init="editorConfig" />
</el-form-item> </el-form-item>
<template v-if="form.articleTemplate === 26"> <template v-if="isJournal">
<el-form-item prop="publicationTypeId" label="出版物类型"> <el-form-item prop="publicationTypeId"
<el-select style="width: 234px;" v-model="form.publicationTypeId"> label="出版物类型">
<el-select style="width: 234px;"
v-model="form.publicationTypeId">
<template v-for="item in publicationTypes"> <template v-for="item in publicationTypes">
<el-option <el-option :key="item.id"
:key="item.id"
:label="item.name" :label="item.name"
:value="item.id"> :value="item.id">
</el-option> </el-option>
</template> </template>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item prop="quote" label="引用"> <el-form-item prop="quote"
<el-input label="引用">
style="width: 940px" <el-input style="width: 940px"
type="textarea" type="textarea"
v-model="form.quote" v-model="form.quote"
:rows="3" :rows="3"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="articleKeyWord" label="关键字"> <el-form-item prop="articleKeyWord"
<el-input label="关键字">
style="width: 940px" <el-input style="width: 940px"
v-model="form.articleKeyWord" v-model="form.articleKeyWord"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="mainBody" label="摘要"> <el-form-item prop="mainBody"
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' v-model="form.mainBody" :init="editorConfig" /> label="摘要">
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda'
v-model="form.mainBody"
:init="editorConfig" />
</el-form-item> </el-form-item>
</template> </template>
<el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 23 || form.articleTemplate === 25" prop="file" label="文件上传"> <el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 23 || form.articleTemplate === 25"
<el-upload prop="file"
:before-upload="fileBeforeUpload" label="文件上传">
<el-upload :before-upload="fileBeforeUpload"
:on-remove="handleRemove" :on-remove="handleRemove"
:on-success="uploadSuccessFile" :on-success="uploadSuccessFile"
:action="this.api.upload" :action="this.api.upload"
@ -446,13 +482,13 @@
quote: form.title, quote: form.title,
site: site.siteName, site: site.siteName,
uploader: userName uploader: userName
}" }">
>
<el-button>上传</el-button> <el-button>上传</el-button>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<template v-if="form.articleTemplate === 24"> <template v-if="form.articleTemplate === 24">
<el-form-item prop="connectionType" label="连接类型"> <el-form-item prop="connectionType"
label="连接类型">
<el-radio-group v-model="form.connectionType"> <el-radio-group v-model="form.connectionType">
<el-radio :label="1">站内链接</el-radio> <el-radio :label="1">站内链接</el-radio>
<el-radio :label="2">站外链接</el-radio> <el-radio :label="2">站外链接</el-radio>
@ -461,17 +497,16 @@
</el-form-item> </el-form-item>
<template v-if="form.connectionType === 1"> <template v-if="form.connectionType === 1">
<el-form-item label="站内链接"> <el-form-item label="站内链接">
<el-cascader <el-cascader v-model="links"
v-model="links"
:options="columns" :options="columns"
:props="columnProps" :props="columnProps"
clearable clearable
@change="getArticle"></el-cascader> @change="getArticle"></el-cascader>
</el-form-item> </el-form-item>
<el-form-item label="文章"> <el-form-item label="文章">
<el-select v-model="article" clearable> <el-select v-model="article"
<el-option clearable>
v-for="item in articles" <el-option v-for="item in articles"
:key="item.id" :key="item.id"
:label="item.title" :label="item.title"
:value="item.id"> :value="item.id">
@ -479,18 +514,19 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</template> </template>
<el-form-item v-show="form.connectionType === 2" prop="linkAddress" label="站外链接"> <el-form-item v-show="form.connectionType === 2"
<el-input prop="linkAddress"
placeholder="请输入站外链接" label="站外链接">
<el-input placeholder="请输入站外链接"
v-model.trim="form.linkAddress" v-model.trim="form.linkAddress"
clearable clearable></el-input>
></el-input>
</el-form-item> </el-form-item>
<template v-if="form.connectionType === 3"> <template v-if="form.connectionType === 3">
<el-form-item prop="siteSelection" label="站点选择"> <el-form-item prop="siteSelection"
<el-select v-model="form.siteSelection" @change="getOtherColumn"> label="站点选择">
<el-option <el-select v-model="form.siteSelection"
v-for="item in sites" @change="getOtherColumn">
<el-option v-for="item in sites"
:key="item.id" :key="item.id"
:label="item.siteName" :label="item.siteName"
:value="item.id"> :value="item.id">
@ -498,17 +534,16 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="栏目"> <el-form-item label="栏目">
<el-cascader <el-cascader v-model="otherLink"
v-model="otherLink"
:options="otherColumns" :options="otherColumns"
:props="columnProps" :props="columnProps"
clearable clearable
@change="getArticle"></el-cascader> @change="getArticle"></el-cascader>
</el-form-item> </el-form-item>
<el-form-item label="文章"> <el-form-item label="文章">
<el-select v-model="otherArticle" clearable> <el-select v-model="otherArticle"
<el-option clearable>
v-for="item in otherArticles" <el-option v-for="item in otherArticles"
:key="item.id" :key="item.id"
:label="item.title" :label="item.title"
:value="item.id"> :value="item.id">
@ -516,9 +551,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</template> </template>
<el-form-item prop="isOpen" label="新窗口打开"> <el-form-item prop="isOpen"
<el-switch label="新窗口打开">
v-model="form.isOpen" <el-switch v-model="form.isOpen"
:active-value="1" :active-value="1"
:inactive-value="0"> :inactive-value="0">
</el-switch> </el-switch>
@ -527,15 +562,20 @@
</template> </template>
</el-form> </el-form>
<div class="btns"> <div class="btns">
<el-button type="primary" @click="submit(1)">发布</el-button> <el-button type="primary"
<el-button v-if="$route.query.id" @click="preview">预览</el-button> @click="submit(1)">发布</el-button>
<el-button v-if="$route.query.id"
@click="preview">预览</el-button>
<el-button @click="submit(0)">保存草稿</el-button> <el-button @click="submit(0)">保存草稿</el-button>
<el-button @click="back">取消</el-button> <el-button @click="back">取消</el-button>
</div> </div>
<!-- 剪裁组件弹窗 --> <!-- 剪裁组件弹窗 -->
<el-dialog title="图片裁剪" append-to-body :visible.sync="cropperModel" width="1100px" :close-on-click-modal="false"> <el-dialog title="图片裁剪"
<Cropper append-to-body
ref="cropper" :visible.sync="cropperModel"
width="1100px"
:close-on-click-modal="false">
<Cropper ref="cropper"
:img-file.sync="file" :img-file.sync="file"
:is-upload="isUpload" :is-upload="isUpload"
:fixed="true" :fixed="true"
@ -543,30 +583,53 @@
@upload="customUpload" /> @upload="customUpload" />
</el-dialog> </el-dialog>
<el-dialog title="所属分类设置" :visible.sync="classVisible" width="500px" :close-on-click-modal="false" class="manage-dia" :before-close="closeClass"> <el-dialog title="所属分类设置"
:visible.sync="classVisible"
width="500px"
:close-on-click-modal="false"
class="manage-dia"
:before-close="closeClass">
<div class="plus"> <div class="plus">
<i class="el-icon-circle-plus-outline" @click="addClass"></i> <i class="el-icon-circle-plus-outline"
@click="addClass"></i>
</div> </div>
<el-table :data="classifications" ref="table" header-align="center" row-key="id"> <el-table :data="classifications"
<el-table-column type="index" width="60" label="序号" align="center"></el-table-column> ref="table"
<el-table-column prop="classificationName" label="分类名称" align="center" min-width="130"> header-align="center"
row-key="id">
<el-table-column type="index"
width="60"
label="序号"
align="center"></el-table-column>
<el-table-column prop="classificationName"
label="分类名称"
align="center"
min-width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <el-input v-if="scope.row.edit"
v-if="scope.row.edit"
placeholder="请输入分类名称" placeholder="请输入分类名称"
v-model="scope.row.classificationName" v-model="scope.row.classificationName"
clearable clearable
maxlength="30" maxlength="30"></el-input>
></el-input>
<span v-else>{{ scope.row.classificationName }}</span> <span v-else>{{ scope.row.classificationName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="updateTime1" label="是否引用" align="center" min-width="60"></el-table-column> <el-table-column prop="updateTime1"
<el-table-column label="操作" align="center" min-width="60"> label="是否引用"
align="center"
min-width="60"></el-table-column>
<el-table-column label="操作"
align="center"
min-width="60">
<template slot-scope="scope"> <template slot-scope="scope">
<i v-if="scope.row.edit" class="el-icon-check edit" @click="submitClass(scope.row)"></i> <i v-if="scope.row.edit"
<i v-else class="el-icon-edit edit" @click="editClass(scope.row)"></i> class="el-icon-check edit"
<i class="el-icon-delete del" @click="delClass(scope.row, scope.$index)"></i> @click="submitClass(scope.row)"></i>
<i v-else
class="el-icon-edit edit"
@click="editClass(scope.row)"></i>
<i class="el-icon-delete del"
@click="delClass(scope.row, scope.$index)"></i>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -575,30 +638,53 @@
</span> </span>
</el-dialog> </el-dialog>
<el-dialog title="主题标签设置" :visible.sync="labelVisible" width="500px" :close-on-click-modal="false" class="manage-dia" :before-close="closeLabel"> <el-dialog title="主题标签设置"
:visible.sync="labelVisible"
width="500px"
:close-on-click-modal="false"
class="manage-dia"
:before-close="closeLabel">
<div class="plus"> <div class="plus">
<i class="el-icon-circle-plus-outline" @click="addLabel"></i> <i class="el-icon-circle-plus-outline"
@click="addLabel"></i>
</div> </div>
<el-table :data="labels" ref="table" header-align="center" row-key="id"> <el-table :data="labels"
<el-table-column type="index" width="60" label="序号" align="center"></el-table-column> ref="table"
<el-table-column prop="labelName" label="主题名称" align="center" min-width="130"> header-align="center"
row-key="id">
<el-table-column type="index"
width="60"
label="序号"
align="center"></el-table-column>
<el-table-column prop="labelName"
label="主题名称"
align="center"
min-width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <el-input v-if="scope.row.edit"
v-if="scope.row.edit"
placeholder="请输入主题名称" placeholder="请输入主题名称"
v-model="scope.row.labelName" v-model="scope.row.labelName"
clearable clearable
maxlength="30" maxlength="30"></el-input>
></el-input>
<span v-else>{{ scope.row.labelName }}</span> <span v-else>{{ scope.row.labelName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="updateTime1" label="是否引用" align="center" min-width="60"></el-table-column> <el-table-column prop="updateTime1"
<el-table-column label="操作" align="center" min-width="60"> label="是否引用"
align="center"
min-width="60"></el-table-column>
<el-table-column label="操作"
align="center"
min-width="60">
<template slot-scope="scope"> <template slot-scope="scope">
<i v-if="scope.row.edit" class="el-icon-check edit" @click="submitLabel(scope.row)"></i> <i v-if="scope.row.edit"
<i v-else class="el-icon-edit edit" @click="editLabel(scope.row)"></i> class="el-icon-check edit"
<i class="el-icon-delete del" @click="delLabel(scope.row, scope.$index)"></i> @click="submitLabel(scope.row)"></i>
<i v-else
class="el-icon-edit edit"
@click="editLabel(scope.row)"></i>
<i class="el-icon-delete del"
@click="delLabel(scope.row, scope.$index)"></i>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -773,6 +859,10 @@ export default {
isMonograph () { isMonograph () {
return this.columnInfo.listStyleId === 45 return this.columnInfo.listStyleId === 45
}, },
//
isJournal () {
return this.form.articleTemplate === 26
},
getModelData: { getModelData: {
get () { get () {
const data = this.classifications.find(item => item.id === this.form.classificationId) const data = this.classifications.find(item => item.id === this.form.classificationId)
@ -1282,7 +1372,7 @@ export default {
// banner // banner
this.fixedNumber = isBanner ? this.fixedNumber = isBanner ?
[1, 0.26] : [1, 0.26] :
this.form.articleTemplate == 26 ? this.isJournal ?
[1, 1.5] : [1, 1.5] :
[1.76, 1] [1.76, 1]
this.isBanner = isBanner this.isBanner = isBanner
@ -1478,7 +1568,7 @@ $upload-lg-height: 102px;
position: relative; position: relative;
width: $upload-width; width: $upload-width;
height: $upload-height; height: $upload-height;
border: 1px solid #DCDEE0; border: 1px solid #dcdee0;
border-radius: 2px; border-radius: 2px;
cursor: pointer; cursor: pointer;
overflow: hidden; overflow: hidden;
@ -1489,7 +1579,7 @@ $upload-lg-height: 102px;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center; text-align: center;
background: #FAFAFA; background: #fafafa;
p { p {
margin-top: 10px; margin-top: 10px;
font-size: 14px; font-size: 14px;
@ -1546,7 +1636,7 @@ $upload-lg-height: 102px;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
&:hover .review { &:hover .review {
border-color: #2962FF; border-color: #2962ff;
} }
} }
.review { .review {
@ -1556,7 +1646,7 @@ $upload-lg-height: 102px;
width: 170px; width: 170px;
height: 112px; height: 112px;
margin-bottom: 10px; margin-bottom: 10px;
border: 1px solid #DCDEE0; border: 1px solid #dcdee0;
border-radius: 2px; border-radius: 2px;
img { img {
width: 80px; width: 80px;
@ -1575,7 +1665,7 @@ $upload-lg-height: 102px;
.plus { .plus {
margin-bottom: 10px; margin-bottom: 10px;
font-size: 18px; font-size: 18px;
color: #2962FF; color: #2962ff;
text-align: right; text-align: right;
cursor: pointer; cursor: pointer;
} }
@ -1583,7 +1673,8 @@ $upload-lg-height: 102px;
margin-left: 10px !important; margin-left: 10px !important;
} }
.manage-dia { .manage-dia {
.edit, .del { .edit,
.del {
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
} }

@ -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>
@ -64,7 +83,8 @@ export default {
mixins: [mixins], mixins: [mixins],
data () { data () {
return { return {
modules: Modules.governance modules: Modules.governance,
curYear: 0
} }
}, },
mounted () { mounted () {
@ -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,7 +164,7 @@ 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;
@ -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>
@ -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 {
@ -211,158 +221,30 @@ export default {
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) { @media (max-width: 980px) {
.wrap { .mind {
.single-banner { .list {
.banner-img { flex-direction: column;
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) {
.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;
}
} }
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>
@ -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;
@ -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;
} }
} }
} }

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

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