|
|
|
@ -1,27 +1,18 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="wrap"> |
|
|
|
|
<el-carousel height="480px" :interval="6000" :arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> |
|
|
|
|
<template v-for="(item, i) in modules[0].list"> |
|
|
|
|
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> |
|
|
|
|
<div :class="['banner-item', {'cursor-pointer': item.link.linkName !== '无'}]" @click="openLink(item)"> |
|
|
|
|
<img :src="item.pic" alt=""> |
|
|
|
|
<p class="banner-name">{{ item.title }}</p> |
|
|
|
|
</div> |
|
|
|
|
</el-carousel-item> |
|
|
|
|
</template> |
|
|
|
|
</el-carousel> |
|
|
|
|
<div class="banner">装置介绍</div> |
|
|
|
|
|
|
|
|
|
<div class="block history gray"> |
|
|
|
|
<div class="inner"> |
|
|
|
|
<h2 class="wow fadeInLeft">{{ modules[1].form.title }}</h2> |
|
|
|
|
<h2 class="wow fadeInLeft">超导直线加速器-1</h2> |
|
|
|
|
<p class="en">Superconducting linac -1</p> |
|
|
|
|
<div class="texts wow fadeInDown" data-wow-delay="0.5s"> |
|
|
|
|
<div class="left"> |
|
|
|
|
<h6>{{ modules[1].form.subTitle }}</h6> |
|
|
|
|
<h6>S³FEL的光阴极注入器/电子枪利用光电效应产生高亮度电子束团,并将其加速到90 MeV。</h6> |
|
|
|
|
<div class="line"></div> |
|
|
|
|
<div class="des">{{ modules[1].form.des }}</div> |
|
|
|
|
<div class="des">主加速器基于超导连续波工作模式,采用三级加速、两级压缩的结构,将电子束团能量提高到2.5 GeV;同时在保持横向发射度不变的情况下,将电子束长度从几皮秒压缩到几十飞秒,峰值流强提升到800 A以上。相比基于常温加速技术的高增益FEL,超导直线加速器技术可以有效提高电子束流的重复频率,实现最高每秒106脉冲输出(常温加速技术为~102脉冲/秒),进而大幅度提高FEL激光的平均功率。</div> |
|
|
|
|
</div> |
|
|
|
|
<img class="bg" width="562" height="506" :src="modules[1].form.pic" alt=""> |
|
|
|
|
<img class="bg" src="@/assets/images/device/10.png" alt=""> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -43,67 +34,19 @@ |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import mixins from '@/mixins/page' |
|
|
|
|
import Setting from '@/setting' |
|
|
|
|
import Util from '@/libs/util' |
|
|
|
|
import Breadcrumb from '@/components/breadcrumb' |
|
|
|
|
import WOW from 'wow.js' |
|
|
|
|
export default { |
|
|
|
|
mixins: [mixins], |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
routes: [] |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
components: { |
|
|
|
|
Breadcrumb |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
new WOW().init() |
|
|
|
|
this.getColumn() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
// 获取文章详情 |
|
|
|
|
getInfo() { |
|
|
|
|
// 预览/详情 |
|
|
|
|
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => { |
|
|
|
|
if (data.length) { |
|
|
|
|
// state:已发布(1)则取theEditedJson,草稿(0)则取jsonBeforeEditing |
|
|
|
|
const json = JSON.parse(this.preview ? |
|
|
|
|
data : |
|
|
|
|
data[data.length - 1][data[data.length - 1].state ? 'theEditedJson' : 'jsonBeforeEditing']) |
|
|
|
|
this.modules = json |
|
|
|
|
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json) |
|
|
|
|
} |
|
|
|
|
}).catch(err => {}) |
|
|
|
|
}, |
|
|
|
|
// 获取父级所有栏目名称和id |
|
|
|
|
getParent(data, id) { |
|
|
|
|
for (const e of data) { |
|
|
|
|
if (e.id == id) { |
|
|
|
|
this.routes.push({ |
|
|
|
|
name: e.columnName, |
|
|
|
|
query: { |
|
|
|
|
id: e.id |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
break |
|
|
|
|
} else if (e.children.length) { |
|
|
|
|
this.routes.push({ |
|
|
|
|
name: e.columnName, |
|
|
|
|
query: { |
|
|
|
|
id: e.id |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.getParent(e.children, id) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// 获取上级面包屑 |
|
|
|
|
getColumn() { |
|
|
|
|
this.$post(`${this.api.oneLevelChecksThemAll}?id=${this.id}`).then(({ data }) => { |
|
|
|
|
this.getParent(data, this.id) |
|
|
|
|
}).catch(err => {}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
@ -111,7 +54,14 @@ export default { |
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
@import url(../../plugins/wow/animate.css); |
|
|
|
|
@import "../../styles/page/page.scss"; |
|
|
|
|
.banner { |
|
|
|
|
background: url(../../assets/images/device/15.png) 0 0/100% 100% no-repeat; |
|
|
|
|
} |
|
|
|
|
.history { |
|
|
|
|
.inner { |
|
|
|
|
width: 90%; |
|
|
|
|
max-width: 1504px; |
|
|
|
|
} |
|
|
|
|
h2 { |
|
|
|
|
position: relative; |
|
|
|
|
font-size: 48px; |
|
|
|
@ -139,7 +89,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.left { |
|
|
|
|
width: 695px; |
|
|
|
|
width: 50%; |
|
|
|
|
} |
|
|
|
|
h6 { |
|
|
|
|
font-size: 28px; |
|
|
|
@ -147,23 +97,32 @@ export default { |
|
|
|
|
font-weight: 500; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
.line { |
|
|
|
|
width: 214px; |
|
|
|
|
height: 5px; |
|
|
|
|
margin: 54px 0 44px; |
|
|
|
|
background: #FFFFFF; |
|
|
|
|
opacity: 0.52; |
|
|
|
|
} |
|
|
|
|
.des { |
|
|
|
|
margin: 20px 0; |
|
|
|
|
font-size: 22px; |
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
|
|
font-weight: 400; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
line-height: 44px; |
|
|
|
|
overflow: visible; |
|
|
|
|
} |
|
|
|
|
.bg { |
|
|
|
|
margin: -122px -30px 0 0; |
|
|
|
|
width: 50%; |
|
|
|
|
margin: -142px -50px 0 0; |
|
|
|
|
border-top-left-radius: 30px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.intro { |
|
|
|
|
.inner { |
|
|
|
|
display: flex; |
|
|
|
|
width: 1506px; |
|
|
|
|
width: 90%; |
|
|
|
|
max-width: 1504px; |
|
|
|
|
} |
|
|
|
|
.left { |
|
|
|
|
width: 30%; |
|
|
|
@ -190,6 +149,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
img { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 85%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |