After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 683 B |
After Width: | Height: | Size: 230 KiB |
After Width: | Height: | Size: 683 B |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 103 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 103 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 639 B |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 105 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 437 KiB |
After Width: | Height: | Size: 419 KiB |
After Width: | Height: | Size: 845 KiB |
After Width: | Height: | Size: 201 KiB |
After Width: | Height: | Size: 198 KiB |
After Width: | Height: | Size: 304 KiB |
After Width: | Height: | Size: 523 KiB |
After Width: | Height: | Size: 157 KiB |
After Width: | Height: | Size: 286 KiB |
After Width: | Height: | Size: 206 KiB |
After Width: | Height: | Size: 128 KiB |
After Width: | Height: | Size: 328 KiB |
After Width: | Height: | Size: 261 KiB |
After Width: | Height: | Size: 968 B |
After Width: | Height: | Size: 264 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 290 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 286 KiB |
After Width: | Height: | Size: 553 B |
After Width: | Height: | Size: 292 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 361 KiB |
@ -0,0 +1,294 @@ |
||||
<template> |
||||
<div class="wrap"> |
||||
<div class="actions"> |
||||
<p class="page-name">页面设置/APPLICATION</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="$router.back()">放弃编辑</el-button> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="modules"> |
||||
<div class="relative"> |
||||
<el-carousel height="480px" :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"> |
||||
<img width="100%" height="100%" :src="item.pic" alt=""> |
||||
</el-carousel-item> |
||||
</template> |
||||
</el-carousel> |
||||
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> |
||||
</div> |
||||
|
||||
<div class="block history gray"> |
||||
<div class="inner c-wrap"> |
||||
<h2 style="margin-left: 57px">{{ modules[1].form.title }}</h2> |
||||
<div class="texts"> |
||||
<div class="left"> |
||||
<h2>{{ modules[1].form.subTitle }}</h2> |
||||
<div class="line"></div> |
||||
<div class="des">{{ modules[1].form.des }}</div> |
||||
</div> |
||||
<img class="bg" width="562" height="506" :src="modules[1].form.pic" alt=""> |
||||
</div> |
||||
<div class="cover" @click="toSet(1)">点击更改图片、标题概述与链接</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="block"> |
||||
<div class="inner" style="width: 1558px"> |
||||
<div class="c-wrap"> |
||||
<h2 class="b-title">{{ modules[2].form.title }}</h2> |
||||
<p class="intro">{{ modules[2].form.des }}</p> |
||||
<div class="cover" @click="toSet(2)">点击更换标题与描述</div> |
||||
</div> |
||||
<ul class="app"> |
||||
<li v-for="(item, i) in modules[3].list" :key="i"> |
||||
<img class="bg" :src="require('@/assets/images/application/app' + (i + 1) + '.png')" alt=""> |
||||
<img class="icon" :src="require('@/assets/images/application/app' + (i + 1) + '-1.png')" alt=""> |
||||
<p class="text">{{ item.title }}</p> |
||||
<div class="cover" @click="toSet(3, i)">点击更标题与链接</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="block gray"> |
||||
<div class="inner"> |
||||
<div class="c-wrap"> |
||||
<h2 class="b-title">{{ modules[4].form.title }}</h2> |
||||
<p class="intro">{{ modules[4].form.des }}</p> |
||||
<div class="cover" @click="toSet(4)">点击更换标题与描述</div> |
||||
</div> |
||||
<ul class="group"> |
||||
<li v-for="(item, i) in modules[5].list" :key="i"> |
||||
<img :src="item.pic" alt=""> |
||||
<p class="text">{{ item.title }}</p> |
||||
<div class="cover" @click="toSet(5, i)">点击更改图片、标题与链接</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="block news-block"> |
||||
<div class="inner"> |
||||
<div class="c-wrap"> |
||||
<h2 class="b-title">{{ modules[6].form.title }}</h2> |
||||
<p class="intro">{{ modules[6].form.des }}</p> |
||||
<div class="cover" @click="toSet(6)">点击更换标题与描述</div> |
||||
</div> |
||||
<ul class="news"> |
||||
<li> |
||||
<img src="@/assets/images/channel1.png" alt=""> |
||||
<div class="texts"> |
||||
<h6>2022 New Year Message from President Sun Dongbai</h6> |
||||
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)…</p> |
||||
<span class="meta">2022.08.12</span> |
||||
</div> |
||||
</li> |
||||
<li> |
||||
<img src="@/assets/images/channel1.png" alt=""> |
||||
<div class="texts"> |
||||
<h6>2022 New Year Message from President Sun Dongbai</h6> |
||||
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)…</p> |
||||
<span class="meta">2022.08.12</span> |
||||
</div> |
||||
</li> |
||||
<li> |
||||
<img src="@/assets/images/channel1.png" alt=""> |
||||
<div class="texts"> |
||||
<h6>2022 New Year Message from President Sun Dongbai</h6> |
||||
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)…</p> |
||||
<span class="meta">2022.08.12</span> |
||||
</div> |
||||
</li> |
||||
<li> |
||||
<img src="@/assets/images/channel1.png" alt=""> |
||||
<div class="texts"> |
||||
<h6>2022 New Year Message from President Sun Dongbai</h6> |
||||
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)…</p> |
||||
<span class="meta">2022.08.12</span> |
||||
</div> |
||||
</li> |
||||
<li> |
||||
<img src="@/assets/images/channel1.png" alt=""> |
||||
<div class="texts"> |
||||
<h6>2022 New Year Message from President Sun Dongbai</h6> |
||||
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)…</p> |
||||
<span class="meta">2022.08.12</span> |
||||
</div> |
||||
</li> |
||||
<li> |
||||
<img src="@/assets/images/channel1.png" alt=""> |
||||
<div class="texts"> |
||||
<h6>2022 New Year Message from President Sun Dongbai</h6> |
||||
<p class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)…</p> |
||||
<span class="meta">2022.08.12</span> |
||||
</div> |
||||
</li> |
||||
<div class="cover" @click="toSet(7)">点击更换标题与描述</div> |
||||
</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.application |
||||
} |
||||
}, |
||||
mounted() { |
||||
|
||||
}, |
||||
methods: { |
||||
|
||||
} |
||||
}; |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
@import "../../../styles/page/page.scss"; |
||||
.history { |
||||
h2 { |
||||
font-size: 30px; |
||||
color: #333; |
||||
} |
||||
.texts { |
||||
display: flex; |
||||
justify-content: space-between; |
||||
padding: 82px 57px 30px; |
||||
margin-top: 20px; |
||||
background-color: #fff; |
||||
border-radius: 100px 0px 0px 0px; |
||||
} |
||||
.left { |
||||
width: 695px; |
||||
} |
||||
.des { |
||||
margin: 20px 0; |
||||
font-size: 22px; |
||||
color: #181818; |
||||
line-height: 31px; |
||||
} |
||||
.bg { |
||||
margin: -122px 0 0 0; |
||||
} |
||||
} |
||||
.app { |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
li { |
||||
position: relative; |
||||
display: flex; |
||||
flex-direction: column; |
||||
justify-content: center; |
||||
align-items: center; |
||||
width: 368px; |
||||
height: 252px; |
||||
margin: 0 14px 14px 0; |
||||
&:first-child { |
||||
width: 750px; |
||||
} |
||||
&:nth-child(3), &:nth-child(7), &:nth-child(10) { |
||||
margin-right: 0; |
||||
} |
||||
&:nth-child(9) { |
||||
width: 563px; |
||||
} |
||||
&:nth-child(10) { |
||||
width: 555px; |
||||
} |
||||
} |
||||
.bg { |
||||
position: absolute; |
||||
top: 0; |
||||
left: 0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
||||
.icon { |
||||
position: relative; |
||||
} |
||||
.text { |
||||
position: relative; |
||||
margin-top: 20px; |
||||
font-size: 32px; |
||||
color: #fff; |
||||
} |
||||
} |
||||
.group { |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
li { |
||||
position: relative; |
||||
width: 448px; |
||||
margin: 0 28px 39px 0; |
||||
&:nth-child(3n) { |
||||
margin-right: 0; |
||||
} |
||||
} |
||||
img { |
||||
width: 100%; |
||||
height: 353px; |
||||
} |
||||
.text { |
||||
font-size: 30px; |
||||
font-family: SFProDisplay-Bold, SFProDisplay; |
||||
font-weight: bold; |
||||
line-height: 143px; |
||||
color: #272727; |
||||
text-align: center; |
||||
background-color: #F5F5F5; |
||||
} |
||||
} |
||||
.news-block { |
||||
background: url(../../../assets/images/info-bg.png) 0 0/100% 100% no-repeat; |
||||
} |
||||
.news { |
||||
position: relative; |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
li { |
||||
display: inline-flex; |
||||
width: 686px; |
||||
padding: 34px; |
||||
margin-bottom: 28px; |
||||
background-color: #fff; |
||||
&:nth-child(odd) { |
||||
margin-right: 28px; |
||||
} |
||||
} |
||||
img { |
||||
width: 237px; |
||||
height: 167px; |
||||
} |
||||
.texts { |
||||
margin-left: 34px; |
||||
} |
||||
h6 { |
||||
font-size: 18px; |
||||
color: #0648A8; |
||||
} |
||||
.des { |
||||
margin: 14px 0; |
||||
font-size: 16px; |
||||
color: #333; |
||||
line-height: 22px; |
||||
} |
||||
.meta { |
||||
font-size: 16px; |
||||
color: #999; |
||||
} |
||||
} |
||||
</style> |
@ -0,0 +1,224 @@ |
||||
<template> |
||||
<div class="wrap"> |
||||
<div class="actions"> |
||||
<p class="page-name">页面设置/RESEARCH</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="$router.back()">放弃编辑</el-button> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="modules"> |
||||
<div class="relative"> |
||||
<el-carousel height="480px" :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"> |
||||
<img width="100%" height="100%" :src="item.pic" alt=""> |
||||
</el-carousel-item> |
||||
</template> |
||||
</el-carousel> |
||||
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> |
||||
</div> |
||||
|
||||
<div class="block"> |
||||
<div class="c-wrap"> |
||||
<h2 class="b-title">{{ modules[1].form.title }}</h2> |
||||
<p class="intro">{{ modules[1].form.des }}</p> |
||||
<div class="cover" @click="toSet(1)">点击更换标题与描述</div> |
||||
</div> |
||||
<ul class="area"> |
||||
<template v-for="(item, i) in modules[2].list"> |
||||
<li :key="i"> |
||||
<img :src="item.pic" alt="" class="pic"> |
||||
<div class="texts"> |
||||
<img :src="require('@/assets/images/research/res' + (i + 1) + '-1.png')" alt="" class="icon"> |
||||
<h6>{{ item.title }}</h6> |
||||
<p class="des">{{ item.des }}</p> |
||||
</div> |
||||
<div class="cover" @click="toSet(2, i)">点击更改图片、标题概述与链接</div> |
||||
</li> |
||||
</template> |
||||
</ul> |
||||
</div> |
||||
|
||||
<div class="block"> |
||||
<div class="inner"> |
||||
<div class="c-wrap"> |
||||
<h2 class="b-title">{{ modules[3].form.title }}</h2> |
||||
<p class="intro">{{ modules[3].form.des }}</p> |
||||
<div class="cover" @click="toSet(3)">点击更换标题与描述</div> |
||||
</div> |
||||
<ul class="group"> |
||||
<li v-for="(item, i) in modules[4].list" :key="i"> |
||||
<img :src="item.pic" alt=""> |
||||
<p class="text">{{ item.title }}</p> |
||||
<div class="cover" @click="toSet(4, i)">点击更改图片、标题与链接</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="block"> |
||||
<div class="inner" style="width: 1558px"> |
||||
<div class="c-wrap"> |
||||
<h2 class="b-title">{{ modules[5].form.title }}</h2> |
||||
<p class="intro">{{ modules[5].form.des }}</p> |
||||
<div class="cover" @click="toSet(5)">点击更换标题与描述</div> |
||||
</div> |
||||
<ul class="news"> |
||||
<li v-for="(item, i) in modules[6].list" :key="i"> |
||||
<img :src="item.pic" alt=""> |
||||
<div class="texts"> |
||||
<h6>{{ item.title }}</h6> |
||||
<div class="des">{{ item.des }}</div> |
||||
</div> |
||||
<div class="cover" @click="toSet(6, 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.research |
||||
} |
||||
}, |
||||
mounted() { |
||||
|
||||
}, |
||||
methods: { |
||||
|
||||
} |
||||
}; |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
@import "../../../styles/page/page.scss"; |
||||
.area { |
||||
display: flex; |
||||
li { |
||||
position: relative; |
||||
width: 19%; |
||||
height: 653px; |
||||
color: #fff; |
||||
background: url(../../../assets/images/research/res1.png) 0 0/100% 100% no-repeat; |
||||
&:nth-child(2) { |
||||
width: 21%; |
||||
margin-top: 70px; |
||||
.texts { |
||||
background: #2B1B1C; |
||||
} |
||||
} |
||||
&:nth-child(3) { |
||||
.texts { |
||||
background: #009C91; |
||||
} |
||||
} |
||||
&:nth-child(4) { |
||||
margin-top: 70px; |
||||
.texts { |
||||
background: #005388; |
||||
} |
||||
} |
||||
&:nth-child(5) { |
||||
width: 22%; |
||||
.texts { |
||||
background: #9A4E10; |
||||
} |
||||
} |
||||
} |
||||
.pic { |
||||
width: 100%; |
||||
height: 443px; |
||||
} |
||||
.texts { |
||||
width: 100%; |
||||
height: 210px; |
||||
padding: 20px 40px; |
||||
background: #08577B; |
||||
} |
||||
h6 { |
||||
font-size: 30px; |
||||
white-space: nowrap; |
||||
} |
||||
.des { |
||||
font-size: 22px; |
||||
color: rgba(255,255,255,0.55); |
||||
} |
||||
} |
||||
.group { |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
li { |
||||
position: relative; |
||||
width: 448px; |
||||
margin: 0 28px 39px 0; |
||||
&:nth-child(3n) { |
||||
margin-right: 0; |
||||
} |
||||
} |
||||
img { |
||||
width: 100%; |
||||
height: 353px; |
||||
} |
||||
.text { |
||||
font-size: 30px; |
||||
font-family: SFProDisplay-Bold, SFProDisplay; |
||||
font-weight: bold; |
||||
line-height: 143px; |
||||
color: #272727; |
||||
text-align: center; |
||||
background-color: #F5F5F5; |
||||
} |
||||
} |
||||
.news { |
||||
display: flex; |
||||
justify-content: center; |
||||
flex-wrap: wrap; |
||||
li { |
||||
position: relative; |
||||
width: 448px; |
||||
padding: 11px; |
||||
margin-right: 28px; |
||||
color: #333; |
||||
background-color: #fff; |
||||
box-shadow: 0px 5px 20px 0px rgba(98,117,163,0.08); |
||||
border-radius: 10px; |
||||
&:nth-child(3n) { |
||||
margin-right: 0; |
||||
} |
||||
&:hover { |
||||
color: #fff; |
||||
background-color: #0252D9; |
||||
} |
||||
} |
||||
img { |
||||
width: 427px; |
||||
height: 481px; |
||||
} |
||||
.texts { |
||||
padding: 0 18px 50px; |
||||
} |
||||
h6 { |
||||
margin: 35px 0 12px; |
||||
font-size: 24px; |
||||
line-height: 33px; |
||||
} |
||||
.des { |
||||
font-size: 18px; |
||||
line-height: 26px; |
||||
} |
||||
} |
||||
</style> |