parent
20b48041e6
commit
74986f22f3
28 changed files with 454 additions and 167 deletions
@ -0,0 +1,127 @@ |
||||
<template> |
||||
<div class="wrap"> |
||||
<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> |
||||
|
||||
<ul class="tabs wow fadeInLeft"> |
||||
<template v-for="(item, i) in tabs"> |
||||
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li> |
||||
</template> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="org"> |
||||
<div class="left"> |
||||
<h6>组织架构</h6> |
||||
<p class="text">根据《深圳综合粒子设施理事会章程》有关规定,研究院实行理事会领导下的院长负责制,理事长由市长担任,副理事长由分管发改、科创副市长,以及中山大学、南方科技大学校长担任,理事成员包括市政府秘书长、相关副秘书长及政府部门、高等院校、科研机构、龙头企业相关负责同志。</p> |
||||
</div> |
||||
<img class="pic" src="@/assets/images/about.png" alt=""> |
||||
</div> |
||||
<div class="lg-bg"> |
||||
<img width="100%" src="@/assets/images/about-bg.png" alt=""> |
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
import mixins from '@/mixins/page' |
||||
import WOW from 'wow.js' |
||||
export default { |
||||
mixins: [mixins], |
||||
data() { |
||||
return { |
||||
active: 1, |
||||
tabs: ['S³FEL介绍', '发展历程', 'S³FEL宣传片', '地理位置', '机构设置'] |
||||
} |
||||
}, |
||||
mounted() { |
||||
new WOW().init() |
||||
}, |
||||
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 => {}) |
||||
}, |
||||
// tab回调 |
||||
tabChange(i) { |
||||
this.active = i |
||||
if (i == 2) this.$router.push('/overviewTrailer?id=165&siteId=3') |
||||
}, |
||||
} |
||||
}; |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
@import url(../../plugins/wow/animate.css); |
||||
@import "../../styles/page/page.scss"; |
||||
.tabs { |
||||
display: flex; |
||||
justify-content: center; |
||||
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; |
||||
} |
||||
} |
||||
} |
||||
.tab-content { |
||||
padding: 77px 0; |
||||
} |
||||
.org { |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
width: 1294px; |
||||
padding: 9px 86px 29px 116px; |
||||
margin: 0 auto 50px; |
||||
background: #FCFCFC; |
||||
border-radius: 160px; |
||||
.left { |
||||
width: 705px; |
||||
} |
||||
h6 { |
||||
font-size: 1.4rem; |
||||
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi; |
||||
font-weight: bold; |
||||
color: #333; |
||||
} |
||||
.text { |
||||
margin-top: 10px; |
||||
font-size: 1rem; |
||||
color: #020202; |
||||
line-height: 2rem; |
||||
} |
||||
.pic { |
||||
width: 320px; |
||||
height: 282px; |
||||
} |
||||
} |
||||
.lg-bg { |
||||
width: 85%; |
||||
margin: 0 auto; |
||||
} |
||||
</style> |
@ -0,0 +1,127 @@ |
||||
<template> |
||||
<div class="wrap"> |
||||
<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> |
||||
|
||||
<ul class="tabs wow fadeInLeft"> |
||||
<template v-for="(item, i) in tabs"> |
||||
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li> |
||||
</template> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="org"> |
||||
<div class="left"> |
||||
<h6>组织架构</h6> |
||||
<p class="text">根据《深圳综合粒子设施理事会章程》有关规定,研究院实行理事会领导下的院长负责制,理事长由市长担任,副理事长由分管发改、科创副市长,以及中山大学、南方科技大学校长担任,理事成员包括市政府秘书长、相关副秘书长及政府部门、高等院校、科研机构、龙头企业相关负责同志。</p> |
||||
</div> |
||||
<img class="pic" src="@/assets/images/about.png" alt=""> |
||||
</div> |
||||
<div class="lg-bg"> |
||||
<img width="100%" src="@/assets/images/about-bg.png" alt=""> |
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
import mixins from '@/mixins/page' |
||||
import WOW from 'wow.js' |
||||
export default { |
||||
mixins: [mixins], |
||||
data() { |
||||
return { |
||||
active: 4, |
||||
tabs: ['S³FEL介绍', '发展历程', 'S³FEL宣传片', '地理位置', '机构设置'] |
||||
} |
||||
}, |
||||
mounted() { |
||||
new WOW().init() |
||||
}, |
||||
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 => {}) |
||||
}, |
||||
// tab回调 |
||||
tabChange(i) { |
||||
this.active = i |
||||
if (i == 2) this.$router.push('/overviewTrailer?id=165&siteId=3') |
||||
}, |
||||
} |
||||
}; |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
@import url(../../plugins/wow/animate.css); |
||||
@import "../../styles/page/page.scss"; |
||||
.tabs { |
||||
display: flex; |
||||
justify-content: center; |
||||
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; |
||||
} |
||||
} |
||||
} |
||||
.tab-content { |
||||
padding: 77px 0; |
||||
} |
||||
.org { |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
width: 1294px; |
||||
padding: 9px 86px 29px 116px; |
||||
margin: 0 auto 50px; |
||||
background: #FCFCFC; |
||||
border-radius: 160px; |
||||
.left { |
||||
width: 705px; |
||||
} |
||||
h6 { |
||||
font-size: 1.4rem; |
||||
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi; |
||||
font-weight: bold; |
||||
color: #333; |
||||
} |
||||
.text { |
||||
margin-top: 10px; |
||||
font-size: 1rem; |
||||
color: #020202; |
||||
line-height: 2rem; |
||||
} |
||||
.pic { |
||||
width: 320px; |
||||
height: 282px; |
||||
} |
||||
} |
||||
.lg-bg { |
||||
width: 85%; |
||||
margin: 0 auto; |
||||
} |
||||
</style> |
@ -0,0 +1,14 @@ |
||||
import BasicLayout from '@/layouts/home' |
||||
const name = 'overviewSetup' |
||||
export default { |
||||
path: `/${name}`, |
||||
component: BasicLayout, |
||||
children: [ |
||||
{ |
||||
name, |
||||
path: `/${name}`, |
||||
component: () => import(`@/pages/${name}`), |
||||
meta: { title: '' } |
||||
} |
||||
] |
||||
}; |
Loading…
Reference in new issue