中文首页等

master
yujialong 1 year ago
parent f957c8b878
commit c8278c2259
  1. BIN
      src/assets/images/page/iasf.png
  2. BIN
      src/assets/images/page/team.png
  3. BIN
      src/assets/images/style/72.png
  4. 2
      src/components/modules/module.vue
  5. 715
      src/const/modules.js
  6. 55
      src/pages/article/add/index.vue
  7. 710
      src/pages/column/page/iasf.vue
  8. 2
      src/pages/column/page/industrial.vue
  9. 13
      src/pages/column/page/researchTeam.vue
  10. 139
      src/pages/column/page/team.vue
  11. 10
      src/router/modules/column.js

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<!-- <!--
模块type: banner | introduce | form | forms | column | columns | history 模块type: banner | introduce | form | forms | column | columns | history | customList
--> -->
<el-dialog title="模块管理" <el-dialog title="模块管理"
:visible.sync="visible" :visible.sync="visible"

@ -8254,7 +8254,8 @@ export default {
title: '产业案例', title: '产业案例',
des: '支撑大湾区综合性国家科学中心建设的公益性科研事业单位' des: '支撑大湾区综合性国家科学中心建设的公益性科研事业单位'
} }
},{ },
{
type: 'column', type: 'column',
form: { form: {
site: '', site: '',
@ -8304,49 +8305,14 @@ export default {
} }
}, },
{ {
type: 'customList', type: 'column',
forms: [
{
type: 'input',
prop: 'name',
label: '姓名',
required: false
},
{
type: 'input',
prop: 'job',
label: '岗位',
required: false
},
{
type: 'input',
prop: 'major',
label: '专业',
required: false
},
{
type: 'input',
prop: 'honor',
label: '荣誉',
required: false
},
],
form: { form: {
name: '', site: '',
job: '', column: '',
major: '', articleNum: '',
honor: '', columnTitle: 1,
isEnable: 1 columnTitleCustom: ''
},
list: [
{
name: '',
job: '',
major: '',
honor: '',
isEnable: 1
} }
]
}, },
], ],
speech: [ speech: [
@ -8983,4 +8949,669 @@ export default {
] ]
}, },
], ],
team: [
{
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/team/1.png',
title: '关于IASF/核心团队',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
type: 'forms',
forms: [
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'input',
prop: 'subTitle',
label: '小标题'
},
{
type: 'link',
prop: 'link',
label: '链接'
},
{
type: 'editor',
prop: 'des',
label: '描述'
}
],
form: {
pic: '',
title: '',
subTitle: '',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
des: '',
isEnable: 1
},
list: [
{
pic: 'http://10.10.11.7/images/team/2.png',
title: '孙冬柏',
subTitle: '院长/深圳产业光源项目总经理',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
des: `孙冬柏作为院领导,负责组织制定研究院的战略规划与实施监督,分管人才队伍建设、财务管理等方面工作,同时作为总指挥、总负责人,主持建设深圳产业光源项目。孙冬柏曾任中山大学常务副校长,层主持建设了“十一五”国家重大科技基础设施“重大工程材料服役安全研究评价设施”暨国家材料服役安全科学中心;担任分总体负责人,负责研制建设了“十二五”国家重大科技基础设施“高能同步辐射光源验证装置”—工程材料线站。`,
isEnable: 1
},
{
pic: 'http://10.10.11.7/images/team/3.png',
title: '谭茂芹',
subTitle: '党委书记/行政副院长',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
des: `谭茂芹作为院领导,负责组织制定研究院的战略规划与实施监督,分管人才队伍建设、财务管理等方面工作,同时作为总指挥、总负责人,主持建设深圳产业光源项目。孙冬柏曾任中山大学常务副校长,层主持建设了“十一五”国家重大科技基础设施“重大工程材料服役安全研究评价设施”暨国家材料服役安全科学中心;担任分总体负责人,负责研制建设了“十二五”国家重大科技基础设施“高能同步辐射光源验证装置”—工程材料线站。`,
isEnable: 1
},
{
pic: 'http://10.10.11.7/images/team/4.png',
title: '杨学明',
subTitle: '副院长/深圳自由电子激光项目总经理',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
des: `杨学明作为院领导,负责组织制定研究院的战略规划与实施监督,分管人才队伍建设、财务管理等方面工作,同时作为总指挥、总负责人,主持建设深圳产业光源项目。孙冬柏曾任中山大学常务副校长,层主持建设了“十一五”国家重大科技基础设施“重大工程材料服役安全研究评价设施”暨国家材料服役安全科学中心;担任分总体负责人,负责研制建设了“十二五”国家重大科技基础设施“高能同步辐射光源验证装置”—工程材料线站。`,
isEnable: 1
}
]
},
],
iasf: [
{
type: 'form',
forms: [
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'input',
prop: 'des',
label: '描述',
required: true
},
{
type: 'link',
prop: 'link',
label: '链接'
},
],
form: {
pic: 'http://10.10.11.7/images/home/1.png',
title: '粤港澳深化合作典范',
des: 'IASF的建设邀请大湾区所有创新要素共同参与,以科技合作点亮东方之珠璀璨明天。',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
type: 'form',
forms: [
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'link',
prop: 'link',
label: '链接'
},
{
type: 'textarea',
prop: 'des',
label: '描述'
}
],
form: {
pic: 'http://10.10.11.7/images/home/2.png',
title: 'Shenzhen Innovation Lightsource Facility',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
des: 'The Shenzhen synchrotron radiation facility has a fourth-generation diffraction-limited storage ring with an electron energy of 3 GeV at a low emittance of 50-150 pm·rad, and it provides photons with broad range energy from 4 meV to 160 keV.'
}
},
{
type: 'form',
forms: [
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'link',
prop: 'link',
label: '链接'
},
{
type: 'textarea',
prop: 'des',
label: '描述'
}
],
form: {
pic: 'http://10.10.11.7/images/home/3.png',
title: 'Shenzhen Soft X-ray Superconducting Free-electron Laser Facility ',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
},
des: 'Shenzhen XFEL consists of a 2.5 GeV CW superconducting linear accelerator and four initial undulator lines, aiming at generating X-Rays between 40 eV and 1 keV at rates up to 1MHz.'
}
},
{
type: 'form',
forms: [
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
],
form: {
title: '新闻动态',
}
},
{
type: 'column',
form: {
site: '',
column: '',
articleNum: '',
columnTitle: 1,
columnTitleCustom: ''
}
},
{
type: 'column',
form: {
site: '',
column: '',
articleNum: '',
columnTitle: 1,
columnTitleCustom: ''
}
},
{
type: 'column',
form: {
site: '',
column: '',
articleNum: '',
columnTitle: 1,
columnTitleCustom: ''
}
},
{
type: 'column',
form: {
site: '',
column: '',
articleNum: '',
columnTitle: 1,
columnTitleCustom: ''
}
},
{
type: 'form',
forms: [
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'input',
prop: 'des',
label: '描述'
}
],
form: {
title: '追光者之家',
des: `支撑大湾区综合性国家科学中心建设的公益性科研事业单位`
}
},
{
type: 'column',
form: {
site: '',
column: '',
articleNum: '',
columnTitle: 1,
columnTitleCustom: ''
}
},
{
type: 'form',
forms: [
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'input',
prop: 'des',
label: '描述'
}
],
form: {
title: '人才中心',
des: `支撑大湾区综合性国家科学中心建设的公益性科研事业单位`
}
},
{
type: 'form',
forms: [
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'input',
prop: 'subTitle',
label: '标题',
required: true
},
{
type: 'input',
prop: 'des',
label: '描述',
required: true
},
{
type: 'link',
prop: 'link',
label: '链接'
},
],
form: {
pic: 'http://10.10.11.7/images/estate/9.png',
title: '大湾区科技之光由你点亮!',
subTitle: 'The light of science and technology in the Greater Bay Area is lit by you!',
des: '以宏伟事业吸引人才、以发展空间留住人才,以优厚待遇保障人才。',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
type: 'form',
forms: [
{
type: 'upload',
prop: 'pic',
label: '图片',
required: true
},
{
type: 'input',
prop: 'title',
label: '标题',
required: true
},
{
type: 'input',
prop: 'des',
label: '描述',
required: true
},
{
type: 'link',
prop: 'link',
label: '链接'
},
],
form: {
pic: 'http://10.10.11.7/images/iasf/2.png',
title: '关于IASF',
des: '紧密围绕高水平建设大湾区综合性国家科学中心的战略目标,面向经济主战场和世界科技前沿,充分吸纳国际国内高端创新资源,依托先行示范区政策、产业、资本、市场和技术等优势,建设世界一流重大科技基础设施和重大科研平台,建设国际一流科研机构。',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
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/iasf/3.png',
title: '世界光源',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
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/iasf/4.png',
title: '图片库',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
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/iasf/5.png',
title: '视频库',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
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/iasf/6.png',
title: '大事记',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
{
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/iasf/7.png',
title: '联系我们',
link: {
linkName: '无',
connectionType: 1,
columnId: [],
articleId: '',
linkAddress : '',
site: '',
otherColumnId: [],
otherArticleId: '',
isOpen: 1
}
}
},
],
} }

@ -59,7 +59,8 @@
:props="columnProps" :props="columnProps"
@change="columnChange"></el-cascader> @change="columnChange"></el-cascader>
</el-form-item> </el-form-item>
<el-form-item prop="releaseTime" <el-form-item v-if="!isPeople"
prop="releaseTime"
label="发布日期"> label="发布日期">
<el-date-picker v-model="form.releaseTime" <el-date-picker v-model="form.releaseTime"
type="date" type="date"
@ -217,7 +218,8 @@
:rows="3"></el-input> :rows="3"></el-input>
</el-form-item> </el-form-item>
</template> </template>
<div class="item-line"> <div v-if="!isPeople"
class="item-line">
<el-form-item prop="source" <el-form-item prop="source"
label="来源"> label="来源">
<el-input placeholder="请输入来源" <el-input placeholder="请输入来源"
@ -422,6 +424,43 @@
</el-upload> </el-upload>
</el-form-item> </el-form-item>
</template> </template>
<!-- 人物详情 -->
<template v-if="isPeople">
<div class="item-line">
<el-form-item prop="post"
label="岗位">
<el-input placeholder="请输入岗位"
v-model="form.post"
clearable
class="inline-input"></el-input>
</el-form-item>
<el-form-item prop="major"
label="专业">
<el-input placeholder="请输入专业"
v-model="form.major"
clearable
class="inline-input"></el-input>
</el-form-item>
</div>
<div class="item-line">
<el-form-item prop="hobby"
label="爱好">
<el-input placeholder="请输入爱好"
v-model="form.hobby"
clearable
class="inline-input"></el-input>
</el-form-item>
<el-form-item prop="honor"
label="荣誉">
<el-input placeholder="请输入荣誉"
v-model="form.honor"
clearable
class="inline-input"></el-input>
</el-form-item>
</div>
</template>
<el-form-item v-if="form.articleTemplate !== 24 && form.articleTemplate !== 26" <el-form-item v-if="form.articleTemplate !== 24 && form.articleTemplate !== 26"
prop="mainBody" prop="mainBody"
label="正文"> label="正文">
@ -534,7 +573,7 @@
</el-switch> </el-switch>
</el-form-item> </el-form-item>
</template> </template>
<el-form-item v-if="form.articleTemplate !== 24 && form.articleTemplate !== 26" <el-form-item v-if="form.articleTemplate !== 24 && form.articleTemplate !== 26 && !isPeople"
prop="file" prop="file"
label="文件上传"> label="文件上传">
<el-upload :before-upload="fileBeforeUpload" <el-upload :before-upload="fileBeforeUpload"
@ -771,7 +810,11 @@ export default {
applicationNumber: '', applicationNumber: '',
applicationDate: '', applicationDate: '',
dateOfAuthorization: '', dateOfAuthorization: '',
publishingHouse: '' publishingHouse: '',
major: '',
post: '',
honor: '',
hobby: '',
}, },
rules: { rules: {
title: [ title: [
@ -854,6 +897,10 @@ export default {
isJournal () { isJournal () {
return this.form.articleTemplate === 26 return this.form.articleTemplate === 26
}, },
//
isPeople () {
return this.form.articleTemplate === 72
},
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)

@ -0,0 +1,710 @@
<template>
<!-- iasf中文首页 -->
<div class="wrap">
<div class="actions">
<p class="page-name">页面设置/IASF中文首页</p>
<div>
<el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<div class="iasf-banner">
<img :src="modules[0].form.pic"
alt="" />
<div class="texts">
<h6>{{ modules[0].form.title }}</h6>
<p class="text">{{ modules[0].form.des }}</p>
</div>
</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="block">
<div class="inner">
<ul class="card">
<li class="wow fadeInDown"
data-wow-delay="0.2s">
<img class="pic"
:src="modules[1].form.pic"
alt="">
<div class="texts">
<h6>{{ modules[1].form.title }}</h6>
<p class="des">{{ modules[1].form.des }}</p>
<img src="@/assets/images/arrow.png"
alt="">
</div>
<div class="cover"
@click="toSet(1)">点击更换图片标题概述与链接</div>
</li>
<li class="wow fadeInDown"
data-wow-delay="0.6s">
<img class="pic"
:src="modules[2].form.pic"
alt="">
<div class="texts">
<h6>{{ modules[2].form.title }}</h6>
<p class="des">{{ modules[2].form.des }}</p>
<img src="@/assets/images/arrow.png"
alt="">
</div>
<div class="cover"
@click="toSet(2)">点击更换图片标题概述与链接</div>
</li>
</ul>
</div>
</div>
<div class="block">
<div class="inner">
<div class="c-wrap">
<h2 class="b-title news-title">{{ modules[3].form.title }}</h2>
<div class="cover"
@click="toSet(3)">点击更换标题与描述</div>
</div>
<div class="c-wrap">
<div class="news-banner">
<img style="width: 50%;height: 410px;overflow: hidden;"
width="100%"
height="480"
src="http://10.10.11.7/images/about/5.png"
alt="">
<div class="right">
<h6>IASF is driven to serve the Science and industry, and solve grand challenges through research and innovation. We are open and creative</h6>
<div class="des">Innovation centers are distributed in the bay areas, such as the San Francisco Bay area, the New York Bay area, and the Tokyo Bay area in Japan. And the Guangdong-Hong Kong-Macao Greater Bay </div>
<p class="meta">2022-07-24 | Research</p>
</div>
</div>
<ul class="news">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
alt="">
<div class="texts">
<p class="meta">2022-07-24 | 综合新闻</p>
<div class="des">X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</div>
<img class="arrow"
src="@/assets/images/arrow.png"
alt="">
</div>
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
alt="">
<div class="texts">
<p class="meta">2022-07-24 | 建设进展</p>
<div class="des">自由电子激光装置调试及运行过程中提供稳定可靠的单发辐射脉冲纵向信息</div>
<img class="arrow"
src="@/assets/images/arrow.png"
alt="">
</div>
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
alt="">
<div class="texts">
<p class="meta">2022-07-24 | 学术动态</p>
<div class="des">基于上海软X射线自由电子激光试验装置科研人员对这一方法进行了实验验证</div>
<img class="arrow"
src="@/assets/images/arrow.png"
alt="">
</div>
</li>
</ul>
<div class="cover"
@click="toSet(4)">关联栏目</div>
</div>
<ul class="news-carousel">
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
alt="">
<div class="texts">
<h6>媒体关注</h6>
<p class="meta">来源人民日报</p>
<div class="des">进深圳规划中的深圳中能高重复频率X射线自由电子激光项目和大连极紫外自由电子</div>
<p class="date">2022-07-24</p>
</div>
<div class="cover"
@click="toSet(5)">关联栏目</div>
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
alt="">
<div class="texts">
<h6>媒体关注</h6>
<p class="meta">来源人民日报</p>
<div class="des">进深圳规划中的深圳中能高重复频率X射线自由电子激光项目和大连极紫外自由电子</div>
<p class="date">2022-07-24</p>
</div>
<div class="cover"
@click="toSet(6)">关联栏目</div>
</li>
<li>
<img class="pic"
src="http://10.10.11.7/images/about/5.png"
alt="">
<div class="texts">
<h6>媒体关注</h6>
<p class="meta">来源人民日报</p>
<div class="des">进深圳规划中的深圳中能高重复频率X射线自由电子激光项目和大连极紫外自由电子</div>
<p class="date">2022-07-24</p>
</div>
<div class="cover"
@click="toSet(7)">关联栏目</div>
</li>
</ul>
</div>
</div>
<div class="block">
<div class="inner">
<div class="c-wrap">
<h2 class="b-title wow fadeInUp">{{ modules[8].form.title }}</h2>
<p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[8].form.des }}</p>
<div class="cover"
@click="toSet(8)">点击更换标题与描述</div>
</div>
<ul class="people">
<li class="wow fadeInDown">
<img class="pic"
src="http://10.10.11.7/images/careers/6.png"
alt="">
<div class="texts">
<h6>王晓凡</h6>
<p class="job">岗位物理组工程师</p>
<p class="hobby">爱好慢跑旅游</p>
<div class="text">我们做物理设计就好像盖房子画设计图决不能眼界太窄不能指望房子过程中或者装修时再去提高一定要保持国际先进的视野和高度具备一定的超前性和前瞻性</div>
</div>
</li>
<li class="wow fadeInDown">
<img class="pic"
src="http://10.10.11.7/images/careers/7.png"
alt="">
<div class="texts">
<h6>王晓凡</h6>
<p class="job">岗位物理组工程师</p>
<p class="hobby">爱好慢跑旅游</p>
<div class="text">我们做物理设计就好像盖房子画设计图决不能眼界太窄不能指望房子过程中或者装修时再去提高一定要保持国际先进的视野和高度具备一定的超前性和前瞻性</div>
</div>
</li>
<li class="wow fadeInDown">
<img class="pic"
src="http://10.10.11.7/images/careers/8.png"
alt="">
<div class="texts">
<h6>王晓凡</h6>
<p class="job">岗位物理组工程师</p>
<p class="hobby">爱好慢跑旅游</p>
<div class="text">我们做物理设计就好像盖房子画设计图决不能眼界太窄不能指望房子过程中或者装修时再去提高一定要保持国际先进的视野和高度具备一定的超前性和前瞻性</div>
</div>
</li>
<div class="cover"
@click="toSet(9)">关联栏目</div>
</ul>
</div>
</div>
<div class="block">
<div class="inner">
<div class="c-wrap">
<h2 class="b-title wow fadeInUp">{{ modules[10].form.title }}</h2>
<p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[10].form.des }}</p>
<div class="cover"
@click="toSet(10)">点击更换标题与描述</div>
</div>
<div class="talent">
<div class="left wow fadeInLeft"
data-wow-delay="0.5s">
<h6>{{ modules[11].form.title }}</h6>
<p class="meta">{{ modules[11].form.subTitle }}</p>
<div class="text"
v-html="modules[11].form.des"></div>
</div>
<img :src="modules[11].form.pic"
alt=""
class="pic">
<div class="cover"
@click="toSet(11)">点击更换标题描述链接与图片</div>
</div>
</div>
</div>
<div class="about">
<div class="inner c-wrap">
<div class="left">
<h6>{{ modules[12].form.title }}</h6>
<div class="text"
v-html="modules[12].form.des"></div>
<img src="@/assets/images/arrow-white.png"
alt="">
</div>
<img class="pic"
:src="modules[12].form.pic"
alt="">
<div class="cover"
@click="toSet(12)">点击更换标题描述链接与图片</div>
</div>
</div>
<div class="block"
style="margin-top: 100px">
<div class="inner">
<ul class="entry">
<li>
<img class="icon"
:src="modules[13].form.pic"
alt="">
<p class="text">{{ modules[13].form.title }}</p>
<div class="cover"
@click="toSet(13)">点击更换图标标题与链接</div>
</li>
<li>
<img class="icon"
:src="modules[14].form.pic"
alt="">
<p class="text">{{ modules[14].form.title }}</p>
<div class="cover"
@click="toSet(14)">点击更换图标标题与链接</div>
</li>
<li>
<img class="icon"
:src="modules[15].form.pic"
alt="">
<p class="text">{{ modules[15].form.title }}</p>
<div class="cover"
@click="toSet(15)">点击更换图标标题与链接</div>
</li>
<li>
<img class="icon"
:src="modules[16].form.pic"
alt="">
<p class="text">{{ modules[16].form.title }}</p>
<div class="cover"
@click="toSet(16)">点击更换图标标题与链接</div>
</li>
<li>
<img class="icon"
:src="modules[17].form.pic"
alt="">
<p class="text">{{ modules[17].form.title }}</p>
<div class="cover"
@click="toSet(17)">点击更换图标标题与链接</div>
</li>
</ul>
</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.iasf
}
},
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'iasf中文首页'
}
])
},
methods: {
}
};
</script>
<style lang="scss" scoped>
@import '../../../styles/page/page.scss';
.iasf-banner {
height: 600px;
img {
width: 100%;
height: 100%;
}
.texts {
position: absolute;
top: 50%;
left: 120px;
h6,
.text {
padding: 20px 15px;
color: #fff;
background-color: rgba(0, 0, 0, 0.29);
}
h6 {
margin-bottom: 30px;
font-size: 3rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
}
.text {
font-size: 1.1rem;
font-family: AppleSystemUIFont;
}
}
}
.block {
padding-top: 3.15rem;
.b-title {
font-size: 2.25rem;
}
.intro {
font-size: 1.35rem;
margin-bottom: 3.6rem;
}
}
.card {
display: flex;
justify-content: space-between;
li {
position: relative;
width: 47%;
transition: 0.3s;
&:hover {
margin-top: -0.9375rem;
}
}
.pic {
width: 100%;
height: auto;
}
.texts {
padding-left: 1.375rem;
margin-top: 3rem;
border-left: 2px solid #dfe4e9;
}
h6 {
min-height: 4.5rem;
margin-bottom: 1.56rem;
line-height: 2rem;
font-size: 1.368rem;
color: #333;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
text-overflow: ellipsis;
overflow: hidden;
}
.des {
font-size: 1.024rem;
color: #222;
line-height: 30px;
}
}
.news-title:after {
display: none;
}
.news-banner {
display: flex;
cursor: pointer;
.pic {
transition: 0.5s;
&:hover {
transform: scale(1.3);
}
}
.right {
position: relative;
width: 50%;
padding: 50px 50px 30px;
background: #1583ff;
color: #fff;
h6 {
font-size: 1.34rem;
}
.des {
font-size: 1.02rem;
}
.meta {
font-size: 1.04rem;
}
&:hover {
background: #465f85;
h6,
.des,
.meta {
color: #fff;
transform: translateY(15px);
}
}
}
h6 {
font-size: 1.3rem;
transition: 0.3s;
}
.des {
margin: 30px 0;
font-size: 0.9rem;
line-height: 24px;
transition: 0.3s;
}
.meta {
font-size: 0.8rem;
transition: 0.3s;
}
}
.news {
display: flex;
flex-wrap: wrap;
margin: 10px 0;
li {
width: calc((100% - 18px) / 3);
margin-right: 9px;
&:nth-child(3n) {
margin-right: 0;
}
}
.pic {
width: 100%;
height: 220px;
}
.texts {
padding: 20px 24px;
background-color: #fff;
}
.meta {
font-size: 0.9rem;
color: #666;
}
h6 {
margin-top: 5px;
font-size: 1.1rem;
font-family: PingFangSC-Semibold, PingFang SC;
color: #333;
@include mul-ellipsis(2);
}
}
.news-carousel {
display: flex;
li {
position: relative;
width: calc((100% - 18px) / 3);
height: 320px;
margin-right: 9px;
&:nth-child(3n) {
margin-right: 0;
}
}
.pic {
width: 100%;
height: 100%;
}
.texts {
position: absolute;
top: 0;
left: 0;
padding: 50px 30px;
color: #fff;
background-color: rgba(0, 0, 0, 0.3);
}
h6 {
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.meta {
margin: 8px 0;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.86);
}
.des {
margin-bottom: 8px;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.date {
font-size: 0.8rem;
}
}
.people {
position: relative;
display: flex;
li {
width: 33.33%;
padding: 30px;
text-align: center;
border-right: 1px solid #ddd;
&:last-child {
border-right: 0;
}
}
.pic {
width: 260px;
height: 260px;
margin-bottom: 10px;
border-radius: 50%;
}
h6 {
font-size: 1.1rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
}
.job {
margin: 10px 0;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
}
.hobby {
margin-bottom: 15px;
font-size: 1rem;
color: #333;
}
.text {
font-size: 1rem;
line-height: 1.6;
color: #333;
}
}
.talent {
position: relative;
display: flex;
color: #fff;
background: #1a2844;
border-radius: 0px 100px 0px 100px;
.left {
width: 50%;
padding: 120px 0 0 5%;
}
h6 {
font-size: 1.6rem;
}
.meta {
margin-top: 8px;
font-size: 0.9rem;
color: #fff;
}
.text {
margin: 20px 0;
font-size: 1rem;
line-height: 2;
}
.pic {
width: 50%;
min-height: 465px;
}
}
.about {
background: #0a7fec;
.inner {
position: relative;
height: 350px;
padding: 50px;
}
.left {
width: 48%;
}
h6 {
font-size: 1.8rem;
font-family: PingFangSC-Semibold, PingFang SC;
color: #fff;
}
.text {
margin: 20px 0;
font-size: 1rem;
color: #fff;
}
.pic {
position: absolute;
top: -60px;
right: 0;
max-width: 48%;
height: 460px;
}
}
.entry {
display: flex;
flex-wrap: wrap;
li {
position: relative;
display: inline-flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 220px;
margin: 0 20px 20px 0;
text-align: center;
&:first-child {
width: calc((100% - 20px) / 2);
background-color: rgba(201, 102, 2, 0.83);
}
&:nth-child(2) {
width: calc((100% - 20px) / 2);
margin-right: 0;
background: #4fbc72;
}
&:nth-child(3) {
width: calc((100% - 40px) / 3);
background-color: rgba(237, 196, 95, 0.93);
}
&:nth-child(4) {
width: calc((100% - 40px) / 3);
background-color: rgba(8, 156, 218, 0.73);
}
&:nth-child(5) {
width: calc((100% - 40px) / 3);
margin-right: 0;
background: #2172e3;
}
}
.text {
margin-top: 15px;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #fff;
}
}
@media (max-width: 1200px) {
.block {
padding: 3.125rem 0;
.inner {
width: 95%;
margin: 0 auto;
.card {
flex-direction: column;
li {
margin-top: 1.25rem;
width: 100%;
}
}
}
}
}
</style>

@ -191,7 +191,7 @@
</div> </div>
</li> </li>
<div class="cover" <div class="cover"
@click="toSet(9)">点击更换标题与描述</div> @click="toSet(9)">关联栏目</div>
</ul> </ul>
</div> </div>
</div> </div>

@ -31,30 +31,29 @@
<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" <li>
:key="i">
<div class="line"> <div class="line">
<img src="http://10.10.11.7/images/researchTeam/3.png" <img src="http://10.10.11.7/images/researchTeam/3.png"
alt="" alt=""
class="icon"> class="icon">
<span class="bold">{{ item.name }}</span> <span class="bold">姓名</span>
<span class="val">/ {{ item.job }}</span> <span class="val">/ 岗位</span>
</div> </div>
<div class="line"> <div class="line">
<img src="http://10.10.11.7/images/researchTeam/4.png" <img src="http://10.10.11.7/images/researchTeam/4.png"
alt="" alt=""
class="icon"> class="icon">
<span class="text">专业 {{ item.major }}</span> <span class="text">专业 超低温总体</span>
</div> </div>
<div class="line"> <div class="line">
<img src="http://10.10.11.7/images/researchTeam/5.png" <img src="http://10.10.11.7/images/researchTeam/5.png"
alt="" alt=""
class="icon"> class="icon">
<span class="text">荣誉 {{ item.honor }}</span> <span class="text">荣誉 杰青 万人</span>
</div> </div>
</li> </li>
<div class="cover" <div class="cover"
@click="toSet(1)">点击更换文本</div> @click="toSet(1)">关联栏目</div>
</ul> </ul>
</div> </div>
</div> </div>

@ -0,0 +1,139 @@
<template>
<!-- 人才中心 -->
<div class="wrap p-b-30">
<div class="actions">
<p class="page-name">页面设置/关于IASF-核心团队</p>
<div>
<el-button type="primary"
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<div class="single-banner single-banner-overview">
<img class="banner-img"
:src="modules[0].form.pic"
alt="">
<div class="texts">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div>
</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="content">
<div class="left">
<ul class="list">
<li v-for="(item, i) in modules[1].list"
:key="i">
<img :src="item.pic"
alt=""
class="pic">
<div class="texts">
<h6>{{ item.title }}</h6>
<p class="job">{{ item.subTitle }}</p>
<div class="text"
v-html="item.des"></div>
</div>
<div class="cover"
@click="toSet(1, i)">点击更换图片标题描述</div>
</li>
</ul>
</div>
</div>
</div>
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
<script>
import mixins from '@/mixins/page'
import Modules from '@/const/modules'
export default {
mixins: [mixins],
data () {
return {
modules: Modules.team
}
},
mounted () {
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于IASF-核心团队'
}
])
},
methods: {
}
};
</script>
<style lang="scss" scoped>
@import '../../../styles/page/page.scss';
.wrap {
background-color: #fff;
}
.content {
display: flex;
width: 1200px;
margin: 30px auto;
.list {
position: relative;
li {
position: relative;
display: flex;
align-items: center;
padding-bottom: 30px;
margin-bottom: 30px;
border-bottom: 1px solid #ddd;
&:last-child {
border-bottom: 0;
}
}
.pic {
width: 224px;
height: 268px;
margin-right: 25px;
}
h6 {
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
}
.job {
margin: 10px 0;
font-size: 1rem;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
}
.text {
font-size: 1rem;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
}
}
}
</style>

@ -241,5 +241,15 @@ export default {
component: () => import('@/pages/column/page/lightSources'), component: () => import('@/pages/column/page/lightSources'),
meta: { title: '全球先进光源' } meta: { title: '全球先进光源' }
}, },
{
path: `team`,
component: () => import('@/pages/column/page/team'),
meta: { title: '关于IASF-核心团队' }
},
{
path: `iasf`,
component: () => import('@/pages/column/page/iasf'),
meta: { title: 'IASF中文首页' }
},
] ]
} }

Loading…
Cancel
Save