所有长页的标题和面包屑改成取栏目名称

master
yujialong 4 months ago
parent b5e7d41a0f
commit 3e1c8159de
  1. 24
      src/mixins/page/index.js
  2. 8
      src/pages/column/add/index.vue
  3. 582
      src/pages/column/page/about.vue
  4. 555
      src/pages/column/page/aboutNew.vue
  5. 22
      src/pages/column/page/aboutUs.vue
  6. 22
      src/pages/column/page/application.vue
  7. 55
      src/pages/column/page/careers.vue
  8. 166
      src/pages/column/page/contactUs.vue
  9. 22
      src/pages/column/page/devHistory.vue
  10. 256
      src/pages/column/page/deviceIntroBeam.vue
  11. 248
      src/pages/column/page/deviceIntroLayout.vue
  12. 278
      src/pages/column/page/deviceIntroLinear.vue
  13. 35
      src/pages/column/page/edu.vue
  14. 301
      src/pages/column/page/estate/event/index.vue
  15. 814
      src/pages/column/page/estate/index/index.vue
  16. 269
      src/pages/column/page/estate/location/index.vue
  17. 205
      src/pages/column/page/estate/orgSetup/index.vue
  18. 194
      src/pages/column/page/estate/survey/index.vue
  19. 248
      src/pages/column/page/exp.vue
  20. 287
      src/pages/column/page/governance.vue
  21. 22
      src/pages/column/page/home.vue
  22. 22
      src/pages/column/page/iasf.vue
  23. 22
      src/pages/column/page/index.vue
  24. 484
      src/pages/column/page/industrial.vue
  25. 190
      src/pages/column/page/lightSources.vue
  26. 22
      src/pages/column/page/member.vue
  27. 303
      src/pages/column/page/mission.vue
  28. 691
      src/pages/column/page/news.vue
  29. 35
      src/pages/column/page/newsPress.vue
  30. 35
      src/pages/column/page/newsProcurement.vue
  31. 127
      src/pages/column/page/org.vue
  32. 512
      src/pages/column/page/overview.vue
  33. 307
      src/pages/column/page/overviewDevHistory.vue
  34. 255
      src/pages/column/page/overviewIntro.vue
  35. 41
      src/pages/column/page/overviewLocation.vue
  36. 164
      src/pages/column/page/overviewSetup.vue
  37. 41
      src/pages/column/page/overviewTrailer.vue
  38. 57
      src/pages/column/page/research.vue
  39. 312
      src/pages/column/page/researchNew.vue
  40. 847
      src/pages/column/page/researchTeam.vue
  41. 33
      src/pages/column/page/science.vue
  42. 415
      src/pages/column/page/scientific.vue
  43. 1322
      src/pages/column/page/sfel.vue
  44. 1250
      src/pages/column/page/sfelNew.vue
  45. 22
      src/pages/column/page/shop.vue
  46. 146
      src/pages/column/page/speech.vue
  47. 299
      src/pages/column/page/talent.vue
  48. 375
      src/pages/column/page/talentCenter.vue
  49. 336
      src/pages/column/page/talentCentre.vue
  50. 138
      src/pages/column/page/team.vue
  51. 257
      src/pages/column/page/userSharing.vue

@ -17,6 +17,7 @@ export default {
curListIndex: 0, curListIndex: 0,
curData: {}, curData: {},
pass: false, pass: false,
columnName: '',
} }
}, },
components: { components: {
@ -40,6 +41,7 @@ export default {
}, },
mounted () { mounted () {
this.getInfo() this.getInfo()
this.getColumnInfo()
}, },
methods: { methods: {
// 获取详情 // 获取详情
@ -88,6 +90,28 @@ export default {
this.pass = true this.pass = true
} }
}, },
// 获取栏目信息
async getColumnInfo () {
const { data } = await this.$post(`${this.api.findColumn}?id=${this.columnId}`)
this.columnName = data.columnName
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: data.columnName
}
])
},
// 展开模块设置 // 展开模块设置
toSet (i, listIndex) { toSet (i, listIndex) {
this.curModule = i this.curModule = i

@ -566,6 +566,14 @@ export default {
token: Util.local.get(Setting.tokenKey) token: Util.local.get(Setting.tokenKey)
}, },
}).then(({ data }) => { }).then(({ data }) => {
if (data.code === 401) {
Util.errorMsg("登录过期,请重新登录");
setTimeout(() => {
this.$store.dispatch('user/logout')
}, 1000);
return false
}
let url = this.form.columnBanner let url = this.form.columnBanner
url && this.$del(this.api.delFile, [url.split('/').pop()]).then(res => { }).catch(e => { }) // url && this.$del(this.api.delFile, [url.split('/').pop()]).then(res => { }).catch(e => { }) //
this.form.columnBanner = data.url this.form.columnBanner = data.url

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/ABOUT</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,19 +13,14 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" <el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
:key="i"> <img width="100%" height="100%" :src="item.pic" alt="">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block history gray"> <div class="block history gray">
@ -39,14 +32,9 @@
<div class="line"></div> <div class="line"></div>
<div class="des">{{ modules[1].form.des }}</div> <div class="des">{{ modules[1].form.des }}</div>
</div> </div>
<img class="bg" <img class="bg" width="562" height="506" :src="modules[1].form.pic" alt="">
width="562"
height="506"
:src="modules[1].form.pic"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(1)">点击更改图片标题概述与链接</div>
@click="toSet(1)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
@ -55,37 +43,28 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[2].form.title }}</h2> <h2 class="b-title">{{ modules[2].form.title }}</h2>
<p class="intro">{{ modules[2].form.des }}</p> <p class="intro">{{ modules[2].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(2)">点击更换标题与描述</div>
@click="toSet(2)">点击更换标题与描述</div>
</div> </div>
<ul class="card"> <ul class="card">
<li class="item1"> <li class="item1">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
<div class="des" <div class="des" v-html="modules[3].form.des"></div>
v-html="modules[3].form.des"></div> <div class="cover" @click="toSet(3)">点击更换标题概述与跳转</div>
<div class="cover"
@click="toSet(3)">点击更换标题概述与跳转</div>
</li> </li>
<li class="item2"> <li class="item2">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
<div class="des" <div class="des" v-html="modules[4].form.des"></div>
v-html="modules[4].form.des"></div> <div class="cover" @click="toSet(4)">点击更换标题概述与跳转</div>
<div class="cover"
@click="toSet(4)">点击更换标题概述与跳转</div>
</li> </li>
<li class="item3"> <li class="item3">
<h6>{{ modules[5].form.title }}</h6> <h6>{{ modules[5].form.title }}</h6>
<div class="des" <div class="des" v-html="modules[5].form.des"></div>
v-html="modules[5].form.des"></div> <div class="cover" @click="toSet(5)">点击更换标题概述与跳转</div>
<div class="cover"
@click="toSet(5)">点击更换标题概述与跳转</div>
</li> </li>
<li class="item4"> <li class="item4">
<h6>{{ modules[6].form.title }}</h6> <h6>{{ modules[6].form.title }}</h6>
<div class="des" <div class="des" v-html="modules[6].form.des"></div>
v-html="modules[6].form.des"></div> <div class="cover" @click="toSet(6)">点击更换标题概述与跳转</div>
<div class="cover"
@click="toSet(6)">点击更换标题概述与跳转</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -96,45 +75,38 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[7].form.title }}</h2> <h2 class="b-title">{{ modules[7].form.title }}</h2>
<p class="intro">{{ modules[7].form.des }}</p> <p class="intro">{{ modules[7].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(7)">点击更换标题与描述</div>
@click="toSet(7)">点击更换标题与描述</div>
</div> </div>
<ul class="stat"> <ul class="stat">
<li> <li>
<p class="num">{{ modules[8].form.title }}</p> <p class="num">{{ modules[8].form.title }}</p>
<p class="text">{{ modules[8].form.des }}</p> <p class="text">{{ modules[8].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(8)">点击更换标题与描述</div>
@click="toSet(8)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[9].form.title }}</p> <p class="num">{{ modules[9].form.title }}</p>
<p class="text">{{ modules[9].form.des }}</p> <p class="text">{{ modules[9].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(9)">点击更换标题与描述</div>
@click="toSet(9)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[10].form.title }}</p> <p class="num">{{ modules[10].form.title }}</p>
<p class="text">{{ modules[10].form.des }}</p> <p class="text">{{ modules[10].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(10)">点击更换标题与描述</div>
@click="toSet(10)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[11].form.title }}</p> <p class="num">{{ modules[11].form.title }}</p>
<p class="text">{{ modules[11].form.des }}</p> <p class="text">{{ modules[11].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(11)">点击更换标题与描述</div>
@click="toSet(11)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[12].form.title }}</p> <p class="num">{{ modules[12].form.title }}</p>
<p class="text">{{ modules[12].form.des }}</p> <p class="text">{{ modules[12].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(12)">点击更换标题与描述</div>
@click="toSet(12)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[13].form.title }}</p> <p class="num">{{ modules[13].form.title }}</p>
<p class="text">{{ modules[13].form.des }}</p> <p class="text">{{ modules[13].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(13)">点击更换标题与描述</div>
@click="toSet(13)">点击更换标题与描述</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -142,19 +114,14 @@
<div class="plan c-wrap"> <div class="plan c-wrap">
<div class="inner"> <div class="inner">
<img class="pic" <img class="pic" :src="modules[14].form.pic" alt="">
:src="modules[14].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[14].form.title }}</h6> <h6>{{ modules[14].form.title }}</h6>
<div class="des">{{ modules[14].form.des }}</div> <div class="des">{{ modules[14].form.des }}</div>
<img src="@/assets/images/arrow-white.png" <img src="@/assets/images/arrow-white.png" alt="">
alt="">
</div> </div>
</div> </div>
<div class="cover" <div class="cover" style="height: calc(100% + 60px);" @click="toSet(14)">点击更换标题概述与跳转</div>
style="height: calc(100% + 60px);"
@click="toSet(14)">点击更换标题概述与跳转</div>
</div> </div>
<div class="block"> <div class="block">
@ -162,28 +129,21 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[15].form.title }}</h2> <h2 class="b-title">{{ modules[15].form.title }}</h2>
<p class="intro">{{ modules[15].form.des }}</p> <p class="intro">{{ modules[15].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(15)">点击更换标题与描述</div>
@click="toSet(15)">点击更换标题与描述</div>
</div> </div>
<ul class="people"> <ul class="people">
<template v-for="(item, i) in modules[16].list"> <template v-for="(item, i) in modules[16].list">
<li v-if="item.isEnable" <li v-if="item.isEnable" :key="i">
:key="i"> <img class="pic" :src="item.pic" alt="">
<img class="pic"
:src="item.pic"
alt="">
<div class="texts"> <div class="texts">
<p class="sub">{{ item.subTitle }}</p> <p class="sub">{{ item.subTitle }}</p>
<h6>{{ item.title }}</h6> <h6>{{ item.title }}</h6>
<p class="des">{{ item.des }}</p> <p class="des">{{ item.des }}</p>
<img class="arrow" <img class="arrow" src="@/assets/images/arrow.png" alt="">
src="@/assets/images/arrow.png"
alt="">
</div> </div>
</li> </li>
</template> </template>
<div class="cover" <div class="cover" @click="toSet(16)">点击更改图片标题概述与链接</div>
@click="toSet(16)">点击更改图片标题概述与链接</div>
</ul> </ul>
</div> </div>
</div> </div>
@ -193,36 +153,26 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[17].form.title }}</h2> <h2 class="b-title">{{ modules[17].form.title }}</h2>
<p class="intro">{{ modules[17].form.des }}</p> <p class="intro">{{ modules[17].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(17)">点击更换标题与描述</div>
@click="toSet(17)">点击更换标题与描述</div>
</div> </div>
<ul class="list"> <ul class="list">
<li> <li>
<img class="pic" <img class="pic" :src="modules[18].form.pic" alt="">
:src="modules[18].form.pic"
alt="">
<h6>{{ modules[18].form.title }}</h6> <h6>{{ modules[18].form.title }}</h6>
<p class="des">{{ modules[18].form.des }}</p> <p class="des">{{ modules[18].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(18)">点击更改图片标题概述与链接</div>
@click="toSet(18)">点击更改图片标题概述与链接</div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" :src="modules[19].form.pic" alt="">
:src="modules[19].form.pic"
alt="">
<h6>{{ modules[19].form.title }}</h6> <h6>{{ modules[19].form.title }}</h6>
<p class="des">{{ modules[19].form.des }}</p> <p class="des">{{ modules[19].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(19)">点击更改图片标题概述与链接</div>
@click="toSet(19)">点击更改图片标题概述与链接</div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" :src="modules[20].form.pic" alt="">
:src="modules[20].form.pic"
alt="">
<h6>{{ modules[20].form.title }}</h6> <h6>{{ modules[20].form.title }}</h6>
<p class="des">{{ modules[20].form.des }}</p> <p class="des">{{ modules[20].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(20)">点击更改图片标题概述与链接</div>
@click="toSet(20)">点击更改图片标题概述与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -233,28 +183,21 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[21].form.title }}</h2> <h2 class="b-title">{{ modules[21].form.title }}</h2>
<p class="intro">{{ modules[21].form.des }}</p> <p class="intro">{{ modules[21].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(21)">点击更换标题与描述</div>
@click="toSet(21)">点击更换标题与描述</div>
</div> </div>
<div class="staff"> <div class="staff">
<div class="left"> <div class="left">
<h6>{{ modules[22].form.title }}</h6> <h6>{{ modules[22].form.title }}</h6>
<div class="des">{{ modules[22].form.des }}</div> <div class="des">{{ modules[22].form.des }}</div>
</div> </div>
<img class="pic" <img class="pic" :src="modules[22].form.pic" alt="">
:src="modules[22].form.pic" <div class="cover" @click="toSet(22)">点击更改图片标题概述与链接</div>
alt="">
<div class="cover"
@click="toSet(22)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -268,25 +211,7 @@ export default {
modules: Modules.about modules: Modules.about
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'ABOUT'
}
])
},
methods: { methods: {
} }
@ -295,209 +220,254 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.history { .history {
h2 { h2 {
font-size: 30px; font-size: 30px;
color: #333; color: #333;
} }
.texts {
display: flex; .texts {
justify-content: space-between; display: flex;
padding: 82px 57px 30px; justify-content: space-between;
margin-top: 20px; padding: 82px 57px 30px;
background-color: #fff; margin-top: 20px;
border-radius: 100px 0px 0px 0px; background-color: #fff;
} border-radius: 100px 0px 0px 0px;
.left { }
width: 695px;
} .left {
.line { width: 695px;
width: 136px; }
height: 2px;
margin: 20px 0; .line {
background: #d7d7d7; width: 136px;
} height: 2px;
.des { margin: 20px 0;
font-size: 22px; background: #d7d7d7;
color: #181818; }
line-height: 31px;
} .des {
.bg { font-size: 22px;
margin: -122px 0 0 0; color: #181818;
border-top-right-radius: 40px; line-height: 31px;
} }
.bg {
margin: -122px 0 0 0;
border-top-right-radius: 40px;
}
} }
.card { .card {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
li {
position: relative; li {
width: 686px; position: relative;
height: 277px; width: 686px;
padding: 70px 67px 20px; height: 277px;
margin-bottom: 28px; padding: 70px 67px 20px;
color: #fff; margin-bottom: 28px;
&:nth-child(odd) { color: #fff;
margin-right: 28px;
} &:nth-child(odd) {
} margin-right: 28px;
.item1 {
background: url(../../../assets/images/about/3.png) 0 0/100% 100% no-repeat;
}
.item2 {
background-color: #4984b6;
}
.item3 {
background-color: #567180;
}
.item4 {
background: url(../../../assets/images/about/4.png) 0 0/100% 100% no-repeat;
}
h6 {
margin-bottom: 10px;
font-size: 40px;
font-family: toppan;
}
.des {
font-size: 18px;
} }
}
.item1 {
background: url(../../../assets/images/about/3.png) 0 0/100% 100% no-repeat;
}
.item2 {
background-color: #4984b6;
}
.item3 {
background-color: #567180;
}
.item4 {
background: url(../../../assets/images/about/4.png) 0 0/100% 100% no-repeat;
}
h6 {
margin-bottom: 10px;
font-size: 40px;
font-family: toppan;
}
.des {
font-size: 18px;
}
} }
.plan { .plan {
padding: 73px 0; padding: 73px 0;
background: #072947; background: #072947;
.inner {
display: flex; .inner {
justify-content: space-between; display: flex;
width: 1575px; justify-content: space-between;
} width: 1575px;
.pic { }
width: 664px;
height: 488px; .pic {
margin-bottom: -120px; width: 664px;
} height: 488px;
.texts { margin-bottom: -120px;
width: 802px; }
margin-top: 36px;
color: #fff; .texts {
} width: 802px;
h6 { margin-top: 36px;
font-size: 36px; color: #fff;
} }
.des {
margin: 20px 0; h6 {
font-size: 20px; font-size: 36px;
} }
.des {
margin: 20px 0;
font-size: 20px;
}
} }
.people { .people {
position: relative; position: relative;
li {
display: flex; li {
justify-content: space-between; display: flex;
margin-bottom: 126px; justify-content: space-between;
&:nth-child(even) { margin-bottom: 126px;
flex-direction: row-reverse;
} &:nth-child(even) {
} flex-direction: row-reverse;
.pic {
width: 660px;
height: 465px;
}
.texts {
width: 680px;
padding-top: 90px;
}
h6 {
margin: 20px 0;
font-size: 40px;
}
.sub {
font-size: 20px;
color: #020202;
}
.des {
font-size: 18px;
color: #020202;
line-height: 30px;
} }
}
.pic {
width: 660px;
height: 465px;
}
.texts {
width: 680px;
padding-top: 90px;
}
h6 {
margin: 20px 0;
font-size: 40px;
}
.sub {
font-size: 20px;
color: #020202;
}
.des {
font-size: 18px;
color: #020202;
line-height: 30px;
}
} }
.list-block { .list-block {
.inner { .inner {
width: 80%; width: 80%;
padding: 90px 0; padding: 90px 0;
background-color: #fff; background-color: #fff;
} }
} }
.list { .list {
display: flex; display: flex;
justify-content: center; justify-content: center;
li {
position: relative; li {
width: calc((100% - 100px) / 3); position: relative;
padding-bottom: 30px; width: calc((100% - 100px) / 3);
margin-right: 28px; padding-bottom: 30px;
text-align: center; margin-right: 28px;
background-color: #f5f5f5; text-align: center;
&:last-child { background-color: #f5f5f5;
margin-right: 0;
} &:last-child {
} margin-right: 0;
.pic {
width: 100%;
height: 353px;
}
h6 {
margin: 35px 0 5px;
font-size: 24px;
color: #272727;
}
.des {
font-size: 16px;
color: #757575;
} }
}
.pic {
width: 100%;
height: 353px;
}
h6 {
margin: 35px 0 5px;
font-size: 24px;
color: #272727;
}
.des {
font-size: 16px;
color: #757575;
}
} }
.staff { .staff {
position: relative; position: relative;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background: #f8f8f8; background: #f8f8f8;
.left {
width: 658px; .left {
margin: 50px 0 0 46px; width: 658px;
} margin: 50px 0 0 46px;
h6 { }
margin-bottom: 30px;
font-size: 30px; h6 {
color: #333; margin-bottom: 30px;
} font-size: 30px;
.des { color: #333;
font-size: 20px; }
color: #333;
line-height: 34px; .des {
} font-size: 20px;
.pic { color: #333;
width: 650px; line-height: 34px;
} }
.pic {
width: 650px;
}
} }
.stat { .stat {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 60px; margin-top: 60px;
li {
position: relative; li {
width: 30%; position: relative;
margin-bottom: 50px; width: 30%;
} margin-bottom: 50px;
.num { }
margin-bottom: 10px;
font-size: 60px; .num {
font-weight: 800; margin-bottom: 10px;
font-family: toppan; font-size: 60px;
color: #035ce1; font-weight: 800;
line-height: 49px; font-family: toppan;
} color: #035ce1;
.text { line-height: 49px;
font-size: 24px; }
}
.text {
font-size: 24px;
}
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/ABOUT</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,19 +13,14 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" <el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
:key="i"> <img width="100%" height="100%" :src="item.pic" alt="">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block history gray"> <div class="block history gray">
@ -39,14 +32,9 @@
<div class="line"></div> <div class="line"></div>
<div class="des">{{ modules[1].form.des }}</div> <div class="des">{{ modules[1].form.des }}</div>
</div> </div>
<img class="bg" <img class="bg" width="562" height="506" :src="modules[1].form.pic" alt="">
width="562"
height="506"
:src="modules[1].form.pic"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(1)">点击更改图片标题概述与链接</div>
@click="toSet(1)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
@ -55,45 +43,38 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[7].form.title }}</h2> <h2 class="b-title">{{ modules[7].form.title }}</h2>
<p class="intro">{{ modules[7].form.des }}</p> <p class="intro">{{ modules[7].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(7)">点击更换标题与描述</div>
@click="toSet(7)">点击更换标题与描述</div>
</div> </div>
<ul class="stat"> <ul class="stat">
<li> <li>
<p class="num">{{ modules[8].form.title }}</p> <p class="num">{{ modules[8].form.title }}</p>
<p class="text">{{ modules[8].form.des }}</p> <p class="text">{{ modules[8].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(8)">点击更换标题与描述</div>
@click="toSet(8)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[9].form.title }}</p> <p class="num">{{ modules[9].form.title }}</p>
<p class="text">{{ modules[9].form.des }}</p> <p class="text">{{ modules[9].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(9)">点击更换标题与描述</div>
@click="toSet(9)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[10].form.title }}</p> <p class="num">{{ modules[10].form.title }}</p>
<p class="text">{{ modules[10].form.des }}</p> <p class="text">{{ modules[10].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(10)">点击更换标题与描述</div>
@click="toSet(10)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[11].form.title }}</p> <p class="num">{{ modules[11].form.title }}</p>
<p class="text">{{ modules[11].form.des }}</p> <p class="text">{{ modules[11].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(11)">点击更换标题与描述</div>
@click="toSet(11)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[12].form.title }}</p> <p class="num">{{ modules[12].form.title }}</p>
<p class="text">{{ modules[12].form.des }}</p> <p class="text">{{ modules[12].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(12)">点击更换标题与描述</div>
@click="toSet(12)">点击更换标题与描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[13].form.title }}</p> <p class="num">{{ modules[13].form.title }}</p>
<p class="text">{{ modules[13].form.des }}</p> <p class="text">{{ modules[13].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(13)">点击更换标题与描述</div>
@click="toSet(13)">点击更换标题与描述</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -101,19 +82,14 @@
<div class="plan c-wrap"> <div class="plan c-wrap">
<div class="inner"> <div class="inner">
<img class="pic" <img class="pic" :src="modules[14].form.pic" alt="">
:src="modules[14].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[14].form.title }}</h6> <h6>{{ modules[14].form.title }}</h6>
<div class="des">{{ modules[14].form.des }}</div> <div class="des">{{ modules[14].form.des }}</div>
<img src="@/assets/images/arrow-white.png" <img src="@/assets/images/arrow-white.png" alt="">
alt="">
</div> </div>
</div> </div>
<div class="cover" <div class="cover" style="height: calc(100% + 60px);" @click="toSet(14)">点击更换标题概述与跳转</div>
style="height: calc(100% + 60px);"
@click="toSet(14)">点击更换标题概述与跳转</div>
</div> </div>
<div class="block"> <div class="block">
@ -121,28 +97,21 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[15].form.title }}</h2> <h2 class="b-title">{{ modules[15].form.title }}</h2>
<p class="intro">{{ modules[15].form.des }}</p> <p class="intro">{{ modules[15].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(15)">点击更换标题与描述</div>
@click="toSet(15)">点击更换标题与描述</div>
</div> </div>
<ul class="people"> <ul class="people">
<template v-for="(item, i) in modules[16].list"> <template v-for="(item, i) in modules[16].list">
<li v-if="item.isEnable" <li v-if="item.isEnable" :key="i">
:key="i"> <img class="pic" :src="item.pic" alt="">
<img class="pic"
:src="item.pic"
alt="">
<div class="texts"> <div class="texts">
<p class="sub">{{ item.subTitle }}</p> <p class="sub">{{ item.subTitle }}</p>
<h6>{{ item.title }}</h6> <h6>{{ item.title }}</h6>
<p class="des">{{ item.des }}</p> <p class="des">{{ item.des }}</p>
<img class="arrow" <img class="arrow" src="@/assets/images/arrow.png" alt="">
src="@/assets/images/arrow.png"
alt="">
</div> </div>
</li> </li>
</template> </template>
<div class="cover" <div class="cover" @click="toSet(16)">点击更改图片标题概述与链接</div>
@click="toSet(16)">点击更改图片标题概述与链接</div>
</ul> </ul>
</div> </div>
</div> </div>
@ -152,36 +121,26 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[17].form.title }}</h2> <h2 class="b-title">{{ modules[17].form.title }}</h2>
<p class="intro">{{ modules[17].form.des }}</p> <p class="intro">{{ modules[17].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(17)">点击更换标题与描述</div>
@click="toSet(17)">点击更换标题与描述</div>
</div> </div>
<ul class="list"> <ul class="list">
<li> <li>
<img class="pic" <img class="pic" :src="modules[18].form.pic" alt="">
:src="modules[18].form.pic"
alt="">
<h6>{{ modules[18].form.title }}</h6> <h6>{{ modules[18].form.title }}</h6>
<p class="des">{{ modules[18].form.des }}</p> <p class="des">{{ modules[18].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(18)">点击更改图片标题概述与链接</div>
@click="toSet(18)">点击更改图片标题概述与链接</div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" :src="modules[19].form.pic" alt="">
:src="modules[19].form.pic"
alt="">
<h6>{{ modules[19].form.title }}</h6> <h6>{{ modules[19].form.title }}</h6>
<p class="des">{{ modules[19].form.des }}</p> <p class="des">{{ modules[19].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(19)">点击更改图片标题概述与链接</div>
@click="toSet(19)">点击更改图片标题概述与链接</div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" :src="modules[20].form.pic" alt="">
:src="modules[20].form.pic"
alt="">
<h6>{{ modules[20].form.title }}</h6> <h6>{{ modules[20].form.title }}</h6>
<p class="des">{{ modules[20].form.des }}</p> <p class="des">{{ modules[20].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(20)">点击更改图片标题概述与链接</div>
@click="toSet(20)">点击更改图片标题概述与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -192,28 +151,21 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[21].form.title }}</h2> <h2 class="b-title">{{ modules[21].form.title }}</h2>
<p class="intro">{{ modules[21].form.des }}</p> <p class="intro">{{ modules[21].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(21)">点击更换标题与描述</div>
@click="toSet(21)">点击更换标题与描述</div>
</div> </div>
<div class="staff"> <div class="staff">
<div class="left"> <div class="left">
<h6>{{ modules[22].form.title }}</h6> <h6>{{ modules[22].form.title }}</h6>
<div class="des">{{ modules[22].form.des }}</div> <div class="des">{{ modules[22].form.des }}</div>
</div> </div>
<img class="pic" <img class="pic" :src="modules[22].form.pic" alt="">
:src="modules[22].form.pic" <div class="cover" @click="toSet(22)">点击更改图片标题概述与链接</div>
alt="">
<div class="cover"
@click="toSet(22)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -227,25 +179,7 @@ export default {
modules: Modules.about modules: Modules.about
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'ABOUT'
}
])
},
methods: { methods: {
} }
@ -254,209 +188,254 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.history { .history {
h2 { h2 {
font-size: 30px; font-size: 30px;
color: #333; color: #333;
} }
.texts {
display: flex; .texts {
justify-content: space-between; display: flex;
padding: 82px 57px 30px; justify-content: space-between;
margin-top: 20px; padding: 82px 57px 30px;
background-color: #fff; margin-top: 20px;
border-radius: 100px 0px 0px 0px; background-color: #fff;
} border-radius: 100px 0px 0px 0px;
.left { }
width: 695px;
} .left {
.line { width: 695px;
width: 136px; }
height: 2px;
margin: 20px 0; .line {
background: #d7d7d7; width: 136px;
} height: 2px;
.des { margin: 20px 0;
font-size: 22px; background: #d7d7d7;
color: #181818; }
line-height: 31px;
} .des {
.bg { font-size: 22px;
margin: -122px 0 0 0; color: #181818;
border-top-right-radius: 40px; line-height: 31px;
} }
.bg {
margin: -122px 0 0 0;
border-top-right-radius: 40px;
}
} }
.card { .card {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
li {
position: relative; li {
width: 686px; position: relative;
height: 277px; width: 686px;
padding: 70px 67px 20px; height: 277px;
margin-bottom: 28px; padding: 70px 67px 20px;
color: #fff; margin-bottom: 28px;
&:nth-child(odd) { color: #fff;
margin-right: 28px;
} &:nth-child(odd) {
} margin-right: 28px;
.item1 {
background: url(../../../assets/images/about/3.png) 0 0/100% 100% no-repeat;
}
.item2 {
background-color: #4984b6;
}
.item3 {
background-color: #567180;
}
.item4 {
background: url(../../../assets/images/about/4.png) 0 0/100% 100% no-repeat;
}
h6 {
margin-bottom: 10px;
font-size: 40px;
font-family: toppan;
}
.des {
font-size: 18px;
} }
}
.item1 {
background: url(../../../assets/images/about/3.png) 0 0/100% 100% no-repeat;
}
.item2 {
background-color: #4984b6;
}
.item3 {
background-color: #567180;
}
.item4 {
background: url(../../../assets/images/about/4.png) 0 0/100% 100% no-repeat;
}
h6 {
margin-bottom: 10px;
font-size: 40px;
font-family: toppan;
}
.des {
font-size: 18px;
}
} }
.plan { .plan {
padding: 73px 0; padding: 73px 0;
background: #072947; background: #072947;
.inner {
display: flex; .inner {
justify-content: space-between; display: flex;
width: 1575px; justify-content: space-between;
} width: 1575px;
.pic { }
width: 664px;
height: 488px; .pic {
margin-bottom: -120px; width: 664px;
} height: 488px;
.texts { margin-bottom: -120px;
width: 802px; }
margin-top: 36px;
color: #fff; .texts {
} width: 802px;
h6 { margin-top: 36px;
font-size: 36px; color: #fff;
} }
.des {
margin: 20px 0; h6 {
font-size: 20px; font-size: 36px;
} }
.des {
margin: 20px 0;
font-size: 20px;
}
} }
.people { .people {
position: relative; position: relative;
li {
display: flex; li {
justify-content: space-between; display: flex;
margin-bottom: 126px; justify-content: space-between;
&:nth-child(even) { margin-bottom: 126px;
flex-direction: row-reverse;
} &:nth-child(even) {
} flex-direction: row-reverse;
.pic {
width: 660px;
height: 465px;
}
.texts {
width: 680px;
padding-top: 90px;
}
h6 {
margin: 20px 0;
font-size: 40px;
}
.sub {
font-size: 20px;
color: #020202;
}
.des {
font-size: 18px;
color: #020202;
line-height: 30px;
} }
}
.pic {
width: 660px;
height: 465px;
}
.texts {
width: 680px;
padding-top: 90px;
}
h6 {
margin: 20px 0;
font-size: 40px;
}
.sub {
font-size: 20px;
color: #020202;
}
.des {
font-size: 18px;
color: #020202;
line-height: 30px;
}
} }
.list-block { .list-block {
.inner { .inner {
width: 80%; width: 80%;
padding: 90px 0; padding: 90px 0;
background-color: #fff; background-color: #fff;
} }
} }
.list { .list {
display: flex; display: flex;
justify-content: center; justify-content: center;
li {
position: relative; li {
width: calc((100% - 100px) / 3); position: relative;
padding-bottom: 30px; width: calc((100% - 100px) / 3);
margin-right: 28px; padding-bottom: 30px;
text-align: center; margin-right: 28px;
background-color: #f5f5f5; text-align: center;
&:last-child { background-color: #f5f5f5;
margin-right: 0;
} &:last-child {
} margin-right: 0;
.pic {
width: 100%;
height: 353px;
}
h6 {
margin: 35px 0 5px;
font-size: 24px;
color: #272727;
}
.des {
font-size: 16px;
color: #757575;
} }
}
.pic {
width: 100%;
height: 353px;
}
h6 {
margin: 35px 0 5px;
font-size: 24px;
color: #272727;
}
.des {
font-size: 16px;
color: #757575;
}
} }
.staff { .staff {
position: relative; position: relative;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background: #f8f8f8; background: #f8f8f8;
.left {
width: 658px; .left {
margin: 50px 0 0 46px; width: 658px;
} margin: 50px 0 0 46px;
h6 { }
margin-bottom: 30px;
font-size: 30px; h6 {
color: #333; margin-bottom: 30px;
} font-size: 30px;
.des { color: #333;
font-size: 20px; }
color: #333;
line-height: 34px; .des {
} font-size: 20px;
.pic { color: #333;
width: 650px; line-height: 34px;
} }
.pic {
width: 650px;
}
} }
.stat { .stat {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 60px; margin-top: 60px;
li {
position: relative; li {
width: 30%; position: relative;
margin-bottom: 50px; width: 30%;
} margin-bottom: 50px;
.num { }
margin-bottom: 10px;
font-size: 60px; .num {
font-weight: 800; margin-bottom: 10px;
font-family: toppan; font-size: 60px;
color: #035ce1; font-weight: 800;
line-height: 49px; font-family: toppan;
} color: #035ce1;
.text { line-height: 49px;
font-size: 24px; }
}
.text {
font-size: 24px;
}
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap index"> <div class="wrap index">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于我们</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -191,25 +191,7 @@ export default {
components: { components: {
scroll scroll
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于我们'
}
])
},
methods: { methods: {
} }

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/APPLICATION</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -161,25 +161,7 @@ export default {
modules: Modules.application modules: Modules.application
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'APPLICATION'
}
])
},
methods: { methods: {
} }

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/CAREERS</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -12,7 +12,8 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> <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"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt=""> <img width="100%" height="100%" :src="item.pic" alt="">
@ -121,30 +122,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.careers modules: Modules.careers
} }
}, },
mounted() { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'CAREERS'
}
])
},
methods: { methods: {
} }
@ -153,9 +136,11 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import "../../../styles/page/page.scss";
.card { .card {
display: flex; display: flex;
justify-content: center; justify-content: center;
li { li {
position: relative; position: relative;
display: inline-flex; display: inline-flex;
@ -167,11 +152,13 @@ export default {
margin-right: 14px; margin-right: 14px;
color: #fff; color: #fff;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
.arrow { .arrow {
opacity: 1; opacity: 1;
} }
} }
.pic { .pic {
position: absolute; position: absolute;
top: 0; top: 0;
@ -179,16 +166,20 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.texts { .texts {
position: relative; position: relative;
} }
h6 { h6 {
margin-bottom: 10px; margin-bottom: 10px;
font-size: 35px; font-size: 35px;
} }
.text { .text {
font-size: 24px; font-size: 24px;
} }
.arrow { .arrow {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@ -202,44 +193,54 @@ export default {
} }
} }
} }
.people { .people {
position: relative; position: relative;
li { li {
position: relative; position: relative;
min-height: 450px; min-height: 450px;
padding: 100px 70px 30px 57px; padding: 100px 70px 30px 57px;
margin-bottom: 100px; margin-bottom: 100px;
background-color: #fff; background-color: #fff;
&:nth-child(even) { &:nth-child(even) {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
.comma { .comma {
left: 660px; left: 660px;
} }
.pic { .pic {
left: 0; left: 0;
right: auto; right: auto;
} }
} }
} }
.comma { .comma {
position: absolute; position: absolute;
top: -22px; top: -22px;
left: 57px; left: 57px;
} }
.left { .left {
width: 670px; width: 670px;
} }
h6 { h6 {
font-size: 24px; font-size: 24px;
color: #333; color: #333;
} }
.des { .des {
margin-top: 20px; margin-top: 20px;
font-size: 20px; font-size: 20px;
color: #666; color: #666;
line-height: 32px; line-height: 32px;
} }
.pic { .pic {
position: absolute; position: absolute;
top: -60px; top: -60px;
@ -248,8 +249,10 @@ export default {
height: 450px; height: 450px;
} }
} }
.shows { .shows {
position: relative; position: relative;
li { li {
position: relative; position: relative;
display: flex; display: flex;
@ -258,20 +261,24 @@ export default {
height: 654px; height: 654px;
margin-bottom: 40px; margin-bottom: 40px;
color: #fff; color: #fff;
&:nth-child(even) { &:nth-child(even) {
flex-direction: row-reverse; flex-direction: row-reverse;
} }
&:nth-child(2) { &:nth-child(2) {
.left { .left {
background-color: rgba(47, 79, 23, .65); background-color: rgba(47, 79, 23, .65);
} }
} }
&:nth-child(3) { &:nth-child(3) {
.left { .left {
background-color: rgba(91, 58, 35, .65); background-color: rgba(91, 58, 35, .65);
} }
} }
} }
.left { .left {
position: relative; position: relative;
z-index: 1; z-index: 1;
@ -280,6 +287,7 @@ export default {
padding: 138px 30px 30px 103px; padding: 138px 30px 30px 103px;
background-color: rgba(54, 54, 54, .65); background-color: rgba(54, 54, 54, .65);
} }
.pic { .pic {
position: absolute; position: absolute;
top: 0; top: 0;
@ -287,13 +295,16 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
h6 { h6 {
font-size: 46px; font-size: 46px;
} }
.sub { .sub {
margin: 20px 0; margin: 20px 0;
font-size: 36px; font-size: 36px;
} }
.des { .des {
margin-bottom: 40px; margin-bottom: 40px;
font-size: 24px; font-size: 24px;

@ -2,13 +2,11 @@
<!-- 联系我们 --> <!-- 联系我们 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/联系我们</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,15 +14,12 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="" />
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block"> <div class="block">
@ -33,52 +28,27 @@
<div class="fields"> <div class="fields">
<h6>{{ modules[1].form.title }}</h6> <h6>{{ modules[1].form.title }}</h6>
<div v-html="modules[1].form.info"></div> <div v-html="modules[1].form.info"></div>
<div class="cover" <div class="cover" style="top: -20px;" @click="toSet(1)">点击更换文本</div>
style="top: -20px;"
@click="toSet(1)">点击更换文本</div>
</div> </div>
<div class="c-wrap"> <div class="c-wrap">
<img :src="modules[2].form.pic" <img :src="modules[2].form.pic" alt="" class="pic">
alt="" <div class="cover" @click="toSet(2)">点击更换图片</div>
class="pic">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div> </div>
<div class="c-wrap m-t-20"> <div class="c-wrap m-t-20">
<el-table :data="modules[3].list" <el-table :data="modules[3].list" class="patent-table" ref="table" stripe header-align="center">
class="patent-table" <el-table-column prop="dep" label="部门" align="center" min-width="250"></el-table-column>
ref="table" <el-table-column prop="contacts" label="联系人" align="center" min-width="100"></el-table-column>
stripe <el-table-column prop="phone" label="电话" align="center" min-width="150"></el-table-column>
header-align="center"> <el-table-column prop="email" label="邮箱" align="center" min-width="150"></el-table-column>
<el-table-column prop="dep"
label="部门"
align="center"
min-width="250"></el-table-column>
<el-table-column prop="contacts"
label="联系人"
align="center"
min-width="100"></el-table-column>
<el-table-column prop="phone"
label="电话"
align="center"
min-width="150"></el-table-column>
<el-table-column prop="email"
label="邮箱"
align="center"
min-width="150"></el-table-column>
</el-table> </el-table>
<div class="cover" <div class="cover" @click="toSet(3)">点击更换文本</div>
@click="toSet(3)">点击更换文本</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -92,25 +62,7 @@ export default {
modules: Modules.contactUs modules: Modules.contactUs
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '联系我们'
}
])
},
methods: { methods: {
} }
@ -121,52 +73,60 @@ export default {
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 21.6rem; height: 21.6rem;
}
.texts {
h6 {
font-size: 2.16rem;
margin-bottom: 0.95rem;
} }
.texts {
h6 { .banner-des {
font-size: 2.16rem; font-size: 0.96rem;
margin-bottom: 0.95rem;
}
.banner-des {
font-size: 0.96rem;
}
} }
}
} }
.block { .block {
padding: 2rem 0; padding: 2rem 0;
background: url(https://huorantech.com/images/contactUs/3.png) 0 130px no-repeat, background: url(https://huorantech.com/images/contactUs/3.png) 0 130px no-repeat,
url(https://huorantech.com/images/contactUs/4.png) bottom right no-repeat; url(https://huorantech.com/images/contactUs/4.png) bottom right no-repeat;
background-color: #f7f8fa; background-color: #f7f8fa;
} }
.inner { .inner {
.contact { .contact {
padding: 3rem 6rem; padding: 3rem 6rem;
background-color: #fff; background-color: #fff;
} }
.fields {
position: relative; .fields {
padding: 2rem; position: relative;
border: 4px solid #f9f9f9; padding: 2rem;
h6 { border: 4px solid #f9f9f9;
position: absolute;
top: -16px; h6 {
left: 60px; position: absolute;
font-size: 1.1rem; top: -16px;
font-family: PingFangSC-Medium, PingFang SC; left: 60px;
color: #333; font-size: 1.1rem;
background-color: #fff; font-family: PingFangSC-Medium, PingFang SC;
} color: #333;
.text { background-color: #fff;
font-size: 1rem;
color: #333;
line-height: 1.6;
}
} }
.pic {
width: 100%; .text {
margin: 2rem 0 1.5rem; font-size: 1rem;
color: #333;
line-height: 1.6;
} }
}
.pic {
width: 100%;
margin: 2rem 0 1.5rem;
}
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-发展历程</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -54,25 +54,7 @@ export default {
modules: Modules.devHistory modules: Modules.devHistory
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于IASF-发展历程'
}
])
},
methods: { methods: {
} }

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/装置介绍</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,74 +13,52 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" <el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
:key="i"> <img width="100%" height="100%" :src="item.pic" alt="">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block share"> <div class="block share">
<div class="inner"> <div class="inner">
<div class="c-wrap"> <div class="c-wrap">
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<p class="en" <p class="en" v-html="modules[1].form.des"></p>
v-html="modules[1].form.des"></p> <div class="cover" @click="toSet(1)">点击更改标题与描述</div>
<div class="cover"
@click="toSet(1)">点击更改标题与描述</div>
</div> </div>
<div class="c-wrap"> <div class="c-wrap">
<div class="sum">{{ modules[2].form.title }}</div> <div class="sum">{{ modules[2].form.title }}</div>
<div class="flex"> <div class="flex">
<div class="left"> <div class="left">
<div class="des" <div class="des" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div>
</div> </div>
<img class="pic" <img class="pic" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(2)">点击更改标题描述与图片</div>
@click="toSet(2)">点击更改标题描述与图片</div>
</div> </div>
</div> </div>
</div> </div>
<div class="intro"> <div class="intro">
<div class="intro-inner c-wrap"> <div class="intro-inner c-wrap">
<img class="pic" <img class="pic" :src="modules[3].form.pic" alt="">
:src="modules[3].form.pic" <div class="des" v-html="modules[3].form.des"></div>
alt=""> <div class="cover" @click="toSet(3)">点击更改描述</div>
<div class="des"
v-html="modules[3].form.des"></div>
<div class="cover"
@click="toSet(3)">点击更改描述</div>
</div> </div>
</div> </div>
<div class="unit"> <div class="unit">
<div class="title" <div class="title" v-html="modules[4].form.title"></div>
v-html="modules[4].form.title"></div> <img class="pic" :src="modules[4].form.pic" alt="">
<img class="pic" <div class="cover" @click="toSet(4)">点击更改标题与图片</div>
:src="modules[4].form.pic"
alt="">
<div class="cover"
@click="toSet(4)">点击更改标题与图片</div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -96,25 +72,7 @@ export default {
modules: Modules.deviceIntroBeam modules: Modules.deviceIntroBeam
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '装置介绍'
}
])
},
methods: { methods: {
} }
@ -123,95 +81,111 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background: url(https://huorantech.com/images/device/4.png) (100% 1363px) / auto no-repeat; background: url(https://huorantech.com/images/device/4.png) (100% 1363px) / auto no-repeat;
} }
.banner { .banner {
background: url(https://huorantech.com/images/device/13.png) 0 0/100% 100% no-repeat; background: url(https://huorantech.com/images/device/13.png) 0 0/100% 100% no-repeat;
} }
.share { .share {
position: relative;
.inner {
width: 1323px;
}
.left {
width: 547px;
margin-right: 66px;
}
h6 {
position: relative; position: relative;
.inner { font-size: 48px;
width: 1323px; font-family: PingFangSC-Medium, PingFang SC;
} font-weight: 500;
.left { color: #333333;
width: 547px; }
margin-right: 66px;
} .en {
h6 { margin-top: -35px;
position: relative; font-size: 48px;
font-size: 48px; font-family: PingFangSC-Light, PingFang SC;
font-family: PingFangSC-Medium, PingFang SC; font-weight: 300;
font-weight: 500; color: #e3e3e3;
color: #333333; }
}
.en { .sum {
margin-top: -35px; margin-top: 60px;
font-size: 48px; font-size: 28px;
font-family: PingFangSC-Light, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 300; font-weight: 500;
color: #e3e3e3; color: #333333;
} line-height: 44px;
.sum { }
margin-top: 60px;
font-size: 28px; .des {
font-family: PingFangSC-Medium, PingFang SC; margin-top: 25px;
font-weight: 500; font-size: 18px;
color: #333333; color: #333;
line-height: 44px; line-height: 37px;
} overflow: visible;
.des { }
margin-top: 25px;
font-size: 18px; .pic {
color: #333; width: 710px;
line-height: 37px; height: 509px;
overflow: visible; margin-top: -30px;
} border-top-left-radius: 20px;
.pic { }
width: 710px;
height: 509px;
margin-top: -30px;
border-top-left-radius: 20px;
}
} }
.intro { .intro {
width: 80%; width: 80%;
height: 19.65rem;
padding-left: 14%;
margin-bottom: 67px;
background-color: #2e4984;
.intro-inner {
display: flex;
align-items: center;
height: 100%;
}
.pic {
width: 50%;
height: 100%;
}
.des {
width: 50%;
height: 19.65rem; height: 19.65rem;
padding-left: 14%; padding: 2.85rem 3rem 1rem 3rem;
margin-bottom: 67px; font-size: 0.96rem;
background-color: #2e4984; color: #fff;
.intro-inner { line-height: 2rem;
display: flex; -webkit-line-clamp: 7;
align-items: center; }
height: 100%;
}
.pic {
width: 50%;
height: 100%;
}
.des {
width: 50%;
height: 19.65rem;
padding: 2.85rem 3rem 1rem 3rem;
font-size: 0.96rem;
color: #fff;
line-height: 2rem;
-webkit-line-clamp: 7;
}
} }
.unit { .unit {
position: relative; position: relative;
width: 986px; width: 986px;
padding-bottom: 60px; padding-bottom: 60px;
margin: 0 auto; margin: 0 auto;
.title {
padding-left: 15px; .title {
margin-bottom: 15px; padding-left: 15px;
font-size: 20px; margin-bottom: 15px;
font-family: PingFangSC-Medium, PingFang SC; font-size: 20px;
font-weight: 500; font-family: PingFangSC-Medium, PingFang SC;
color: #2a2a2a; font-weight: 500;
border-left: 4px solid #1583ff; color: #2a2a2a;
} border-left: 4px solid #1583ff;
}
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/装置介绍</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,19 +13,14 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" <el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
:key="i"> <img width="100%" height="100%" :src="item.pic" alt="">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block share"> <div class="block share">
@ -35,56 +28,35 @@
<div class="c-wrap"> <div class="c-wrap">
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<p class="en">{{ modules[1].form.subTitle }}</p> <p class="en">{{ modules[1].form.subTitle }}</p>
<div class="card" <div class="card" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div> <div class="cover" @click="toSet(1)">点击更改标题小标题与概述</div>
<div class="cover"
@click="toSet(1)">点击更改标题小标题与概述</div>
</div> </div>
<div class="flex c-wrap" <div class="flex c-wrap" style="margin-top: 50px">
style="margin-top: 50px">
<div class="left"> <div class="left">
<div class="des" <div class="des" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div>
</div> </div>
<img class="pic" <img class="pic" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic" <div class="cover" @click="toSet(2)">点击更改概述与图片</div>
alt="">
<div class="cover"
@click="toSet(2)">点击更改概述与图片</div>
</div> </div>
</div> </div>
</div> </div>
<div class="intro"> <div class="intro">
<img class="bg" <img class="bg" src="https://huorantech.com/images/device/7.png" alt="">
src="https://huorantech.com/images/device/7.png" <div class="c-wrap" style="min-height: 700px">
alt=""> <img class="pic" style="max-height: 600px" :src="modules[3].form.pic" alt="">
<div class="c-wrap" <div class="cover" @click="toSet(3)">点击更改图片</div>
style="min-height: 700px">
<img class="pic"
style="max-height: 600px"
:src="modules[3].form.pic"
alt="">
<div class="cover"
@click="toSet(3)">点击更改图片</div>
</div> </div>
</div> </div>
<div class="unit c-wrap"> <div class="unit c-wrap">
<div class="title" <div class="title" v-html="modules[4].form.title"></div>
v-html="modules[4].form.title"></div> <img class="pic" :src="modules[4].form.pic" alt="">
<img class="pic" <div class="cover" @click="toSet(4)">点击更改标题与图片</div>
:src="modules[4].form.pic"
alt="">
<div class="cover"
@click="toSet(4)">点击更改标题与图片</div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -98,25 +70,7 @@ export default {
modules: Modules.deviceIntroLayout modules: Modules.deviceIntroLayout
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '装置介绍'
}
])
},
methods: { methods: {
} }
@ -125,85 +79,99 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background: url(https://huorantech.com/images/device/4.png) bottom right/auto no-repeat; background: url(https://huorantech.com/images/device/4.png) bottom right/auto no-repeat;
} }
.share { .share {
position: relative;
.inner {
width: 90%;
max-width: 1323px;
}
.left {
width: 547px;
margin-right: 66px;
}
h6 {
position: relative; position: relative;
.inner { font-size: 48px;
width: 90%; font-family: PingFangSC-Medium, PingFang SC;
max-width: 1323px; font-weight: 500;
} color: #333333;
.left { }
width: 547px;
margin-right: 66px; .en {
} margin: -35px 0 40px;
h6 { font-size: 48px;
position: relative; font-family: PingFangSC-Light, PingFang SC;
font-size: 48px; font-weight: 300;
font-family: PingFangSC-Medium, PingFang SC; color: #e3e3e3;
font-weight: 500; }
color: #333333;
} .card {
.en { max-width: 1671px;
margin: -35px 0 40px; width: 90%;
font-size: 48px; padding: 32px 52px 25px 16%;
font-family: PingFangSC-Light, PingFang SC; font-size: 24px;
font-weight: 300; font-family: PingFangSC-Medium, PingFang SC;
color: #e3e3e3; font-weight: 500;
} color: #ffffff;
.card { line-height: 38px;
max-width: 1671px; background: url(https://huorantech.com/images/device/5.png) 0 0 / cover no-repeat;
width: 90%; }
padding: 32px 52px 25px 16%;
font-size: 24px; .des {
font-family: PingFangSC-Medium, PingFang SC; margin-top: 25px;
font-weight: 500; font-size: 18px;
color: #ffffff; color: #333;
line-height: 38px; line-height: 37px;
background: url(https://huorantech.com/images/device/5.png) 0 0 / cover no-repeat; overflow: visible;
} }
.des {
margin-top: 25px; .pic {
font-size: 18px; width: 710px;
color: #333; height: 509px;
line-height: 37px; border-top-left-radius: 20px;
overflow: visible; }
}
.pic {
width: 710px;
height: 509px;
border-top-left-radius: 20px;
}
} }
.intro { .intro {
position: relative; position: relative;
height: 794px; height: 794px;
margin-bottom: 37px; margin-bottom: 37px;
.bg {
position: absolute; .bg {
top: 0; position: absolute;
left: 0; top: 0;
} left: 0;
.pic { }
position: absolute;
top: 67px; .pic {
left: 15%; position: absolute;
width: 74%; top: 67px;
} left: 15%;
width: 74%;
}
} }
.unit { .unit {
width: 986px; width: 986px;
padding-bottom: 60px; padding-bottom: 60px;
margin: 0 auto; margin: 0 auto;
.title {
padding-left: 15px; .title {
margin-bottom: 15px; padding-left: 15px;
font-size: 20px; margin-bottom: 15px;
font-family: PingFangSC-Medium, PingFang SC; font-size: 20px;
font-weight: 500; font-family: PingFangSC-Medium, PingFang SC;
color: #2a2a2a; font-weight: 500;
border-left: 4px solid #1583ff; color: #2a2a2a;
} border-left: 4px solid #1583ff;
}
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/装置介绍</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,43 +13,31 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" <el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
:key="i"> <img width="100%" height="100%" :src="item.pic" alt="">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block history gray"> <div class="block history gray">
<div class="inner"> <div class="inner">
<div class="c-wrap"> <div class="c-wrap">
<h2 class="wow fadeInLeft" <h2 class="wow fadeInLeft" v-html="modules[1].form.title"></h2>
v-html="modules[1].form.title"></h2>
<p class="en">{{ modules[1].form.des }}</p> <p class="en">{{ modules[1].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(1)">点击更改标题与概述</div>
@click="toSet(1)">点击更改标题与概述</div>
</div> </div>
<div class="texts wow fadeInDown" <div class="texts wow fadeInDown" data-wow-delay="0.5s">
data-wow-delay="0.5s">
<div class="left c-wrap"> <div class="left c-wrap">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="line"></div> <div class="line"></div>
<div class="des" <div class="des" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div> <div class="cover" @click="toSet(2)">点击更改标题与概述</div>
<div class="cover"
@click="toSet(2)">点击更改标题与概述</div>
</div> </div>
<img class="bg" <img class="bg" src="https://huorantech.com/images/device/10.png" alt="">
src="https://huorantech.com/images/device/10.png"
alt="">
</div> </div>
</div> </div>
</div> </div>
@ -59,29 +45,20 @@
<div class="block intro"> <div class="block intro">
<div class="inner"> <div class="inner">
<div class="left c-wrap"> <div class="left c-wrap">
<div class="title1" <div class="title1" v-html="modules[3].form.title"></div>
v-html="modules[3].form.title"></div> <img :src="modules[3].form.pic" alt="">
<img :src="modules[3].form.pic" <div class="cover" @click="toSet(3)">点击更改标题与图片</div>
alt="">
<div class="cover"
@click="toSet(3)">点击更改标题与图片</div>
</div> </div>
<div class="right c-wrap"> <div class="right c-wrap">
<div class="title2" <div class="title2" v-html="modules[4].form.title"></div>
v-html="modules[4].form.title"></div> <img :src="modules[4].form.pic" alt="">
<img :src="modules[4].form.pic" <div class="cover" @click="toSet(4)">点击更改标题与图片</div>
alt="">
<div class="cover"
@click="toSet(4)">点击更改标题与图片</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -95,25 +72,7 @@ export default {
modules: Modules.deviceIntroLinear modules: Modules.deviceIntroLinear
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '装置介绍'
}
])
},
methods: { methods: {
} }
@ -122,100 +81,115 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.history { .history {
.inner { .inner {
width: 90%; width: 90%;
max-width: 1504px; max-width: 1504px;
} }
h2 {
position: relative; h2 {
font-size: 48px; position: relative;
font-family: PingFangSC-Semibold, PingFang SC; font-size: 48px;
font-weight: 600; font-family: PingFangSC-Semibold, PingFang SC;
color: #1c1c1c; font-weight: 600;
} color: #1c1c1c;
.en { }
margin: -35px 0 40px;
font-size: 48px; .en {
font-family: PingFangSC-Light, PingFang SC; margin: -35px 0 40px;
font-weight: 300; font-size: 48px;
color: #e3e3e3; font-family: PingFangSC-Light, PingFang SC;
} font-weight: 300;
.texts { color: #e3e3e3;
display: flex; }
justify-content: space-between;
padding: 82px 0 30px 38px; .texts {
margin-top: 20px; display: flex;
background: #1583ff; justify-content: space-between;
border-radius: 65px 100px 0px 0px; padding: 82px 0 30px 38px;
transition: 0.3s; margin-top: 20px;
&:hover { background: #1583ff;
transform: scale(1.05); border-radius: 65px 100px 0px 0px;
} transition: 0.3s;
}
.left { &:hover {
width: 50%; transform: scale(1.05);
}
h6 {
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
}
.line {
width: 214px;
height: 5px;
margin: 54px 0 44px;
background: #ffffff;
opacity: 0.52;
}
.des {
font-size: 22px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
line-height: 44px;
overflow: visible;
}
.bg {
width: 50%;
margin: -142px -50px 0 0;
border-top-left-radius: 30px;
} }
}
.left {
width: 50%;
}
h6 {
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
}
.line {
width: 214px;
height: 5px;
margin: 54px 0 44px;
background: #ffffff;
opacity: 0.52;
}
.des {
font-size: 22px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
line-height: 44px;
overflow: visible;
}
.bg {
width: 50%;
margin: -142px -50px 0 0;
border-top-left-radius: 30px;
}
} }
.intro { .intro {
.inner { .inner {
display: flex; display: flex;
width: 90%; width: 90%;
max-width: 1504px; max-width: 1504px;
} }
.left {
width: 30%;
}
.right {
width: 68%;
margin-left: 2%;
}
.title1 {
margin-bottom: 0.93rem;
font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
}
.title2 { .left {
padding-left: 0.93rem; width: 30%;
margin-bottom: 0.93rem; }
font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC; .right {
font-weight: 500; width: 68%;
color: #2a2a2a; margin-left: 2%;
border-left: 4px solid #1583ff; }
}
img { .title1 {
width: 100%; margin-bottom: 0.93rem;
height: 85%; font-size: 0.88rem;
} font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
}
.title2 {
padding-left: 0.93rem;
margin-bottom: 0.93rem;
font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
border-left: 4px solid #1583ff;
}
img {
width: 100%;
height: 85%;
}
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/EDUCATION & COLLABORATION</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -12,7 +12,8 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> <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"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt=""> <img width="100%" height="100%" :src="item.pic" alt="">
@ -73,30 +74,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.edu modules: Modules.edu
} }
}, },
mounted() { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'EDUCATION & COLLABORATION'
}
])
},
methods: { methods: {
} }
@ -105,21 +88,26 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import "../../../styles/page/page.scss";
.list { .list {
li { li {
position: relative; position: relative;
&:nth-child(even) { &:nth-child(even) {
text-align: right; text-align: right;
.texts { .texts {
left: 0; left: 0;
text-align: left; text-align: left;
} }
} }
} }
.pic { .pic {
width: 650px; width: 650px;
height: 730px; height: 730px;
} }
.texts { .texts {
position: absolute; position: absolute;
top: 120px; top: 120px;
@ -129,16 +117,19 @@ export default {
padding: 60px 30px 30px 100px; padding: 60px 30px 30px 100px;
background-color: #fff; background-color: #fff;
} }
h6 { h6 {
font-size: 40px; font-size: 40px;
color: #3C3C3C; color: #3C3C3C;
} }
.sub { .sub {
margin: 20px 0; margin: 20px 0;
font-size: 24px; font-size: 24px;
color: #1C1C1C; color: #1C1C1C;
line-height: 33px; line-height: 33px;
} }
.des { .des {
font-size: 20px; font-size: 20px;
color: #3C3C3C; color: #3C3C3C;

@ -2,13 +2,11 @@
<!-- 产业光源-大事记 --> <!-- 产业光源-大事记 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/产业光源-概况-大事记</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,22 +14,17 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
@ -40,46 +33,34 @@
<h2 class="wow fadeInLeft">大事记</h2> <h2 class="wow fadeInLeft">大事记</h2>
<p class="en">DEVELOPMENT HISTORY</p> <p class="en">DEVELOPMENT HISTORY</p>
<div v-if="modules[1].list.length" <div v-if="modules[1].list.length" class="event">
class="event">
<ul class="time"> <ul class="time">
<template v-for="(item, i) in modules[1].list"> <template v-for="(item, i) in modules[1].list">
<li v-if="item.isEnable" <li v-if="item.isEnable" :key="i" :class="{ active: curYear == i }" @click="yearClick(i)">{{ item.title }}
:key="i" </li>
:class="{active: curYear == i}"
@click="yearClick(i)">{{ item.title }}</li>
</template> </template>
</ul> </ul>
<div class="right"> <div class="right">
<h6 class="year">{{ modules[1].list[curYear].title }}</h6> <h6 class="year">{{ modules[1].list[curYear].title }}</h6>
<ul class="list"> <ul class="list">
<template v-for="(e, j) in modules[1].list[curYear].list"> <template v-for="(e, j) in modules[1].list[curYear].list">
<li v-if="e.isEnable" <li v-if="e.isEnable" :key="j">
:key="j">
<div class="texts"> <div class="texts">
<p class="date">{{ e.title }}</p> <p class="date">{{ e.title }}</p>
<p class="text">{{ e.des }}</p> <p class="text">{{ e.des }}</p>
</div> </div>
<img v-if="e.pic" <img v-if="e.pic" :src="e.pic" alt="" class="pic">
:src="e.pic"
alt=""
class="pic">
</li> </li>
</template> </template>
</ul> </ul>
</div> </div>
</div> </div>
<div class="cover" <div class="cover" style="min-height: 300px;" @click="toSet(1)">点击配置历程</div>
style="min-height: 300px;"
@click="toSet(1)">点击配置历程</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -96,25 +77,7 @@ export default {
curYear: 0 curYear: 0
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-大事记'
}
])
},
methods: { methods: {
// tab // tab
tabChange (i) { tabChange (i) {
@ -126,126 +89,146 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../../../styles/page/page.scss'; @import '../../../../../styles/page/page.scss';
.wrap { .wrap {
background: url(https://huorantech.com/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat, background: url(https://huorantech.com/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(https://huorantech.com/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat; url(https://huorantech.com/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
} }
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px; li {
margin: 0 10px; padding: 25px 19px;
font-size: 1.1rem; margin: 0 10px;
color: #333; font-size: 1.1rem;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.history { .history {
h2 { h2 {
position: relative; position: relative;
font-size: 2.2rem; font-size: 2.2rem;
font-family: PingFangSC-Semibold, PingFang SC; font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600; font-weight: 600;
color: #1c1c1c; color: #1c1c1c;
} }
.en {
margin: -15px 0 40px; .en {
font-size: 2.2rem; margin: -15px 0 40px;
font-family: PingFangSC-Light, PingFang SC; font-size: 2.2rem;
font-weight: 300; font-family: PingFangSC-Light, PingFang SC;
color: #e3e3e3; font-weight: 300;
} color: #e3e3e3;
}
} }
.event { .event {
display: flex; display: flex;
justify-content: center; justify-content: center;
.time {
width: 200px; .time {
padding-right: 10px; width: 200px;
margin-right: 20px; padding-right: 10px;
border-right: 1px solid #ddd; margin-right: 20px;
li { border-right: 1px solid #ddd;
display: flex;
justify-content: flex-end; li {
align-items: center; display: flex;
width: 190px; justify-content: flex-end;
padding-right: 45px; align-items: center;
line-height: 60px; width: 190px;
font-size: 1.4rem; padding-right: 45px;
font-weight: 600; line-height: 60px;
font-family: SFProDisplay-Semibold, SFProDisplay; font-size: 1.4rem;
color: #666; font-weight: 600;
box-shadow: inset 0px -1px 0px 0px #dddddd; font-family: SFProDisplay-Semibold, SFProDisplay;
cursor: pointer; color: #666;
&.active { box-shadow: inset 0px -1px 0px 0px #dddddd;
font-weight: 800; cursor: pointer;
color: #1a81f4;
background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%); &.active {
&:before { font-weight: 800;
content: ''; color: #1a81f4;
width: 18px; background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%);
height: 18px;
background: url(https://huorantech.com/images/overviewDevHistory/3.png) no-repeat; &:before {
margin-right: 20px; content: '';
} width: 18px;
} height: 18px;
background: url(https://huorantech.com/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
} }
}
} }
.right { }
width: 1000px;
.right {
width: 1000px;
}
.year {
margin: 0 0 20px 20px;
font-size: 3.8rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1a81f4;
}
.list {
border-top: 1px solid #ddd;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 1px solid #ddd;
} }
.year {
margin: 0 0 20px 20px; .texts {
font-size: 3.8rem; width: 500px;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1a81f4;
} }
.list {
border-top: 1px solid #ddd; .date {
li { margin-bottom: 15px;
display: flex; font-size: 1.2rem;
justify-content: space-between; font-family: PingFangSC-Semibold, PingFang SC;
align-items: center; font-weight: 600;
padding: 30px; color: #333;
border-bottom: 1px solid #ddd; }
}
.texts { .text {
width: 500px; font-size: 1.1rem;
} color: #333;
.date { @include mul-ellipsis(3);
margin-bottom: 15px;
font-size: 1.2rem; &:before {
font-family: PingFangSC-Semibold, PingFang SC; content: '';
font-weight: 600; display: inline-block;
color: #333; width: 7px;
} height: 7px;
.text { margin: 0 10px;
font-size: 1.1rem; background-color: #666;
color: #333; transform: rotate(45deg);
@include mul-ellipsis(3); }
&:before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
}
.pic {
width: 350px;
height: 195px;
}
} }
.pic {
width: 350px;
height: 195px;
}
}
} }
</style> </style>

File diff suppressed because it is too large Load Diff

@ -2,13 +2,11 @@
<!-- 产业光源-地理位置 --> <!-- 产业光源-地理位置 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/产业光源-概况-地理位置</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,78 +14,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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
<div class="item wow bounceInLeft" <div class="item wow bounceInLeft" data-wow-delay="0.5s">
data-wow-delay="0.5s">
<div class="img-wrap"> <div class="img-wrap">
<img class="pic" <img class="pic" :src="modules[1].form.pic" alt="">
:src="modules[1].form.pic"
alt="">
</div> </div>
<div class="texts"> <div class="texts">
<h6>{{ modules[1].form.title }}</h6> <h6>{{ modules[1].form.title }}</h6>
<div class="des" <div class="des" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(1)">点击更改图片标题概述与链接</div>
@click="toSet(1)">点击更改图片标题概述与链接</div>
</div> </div>
<div class="item wow bounceInRight" <div class="item wow bounceInRight" data-wow-delay="0.6s">
data-wow-delay="0.6s">
<div class="img-wrap"> <div class="img-wrap">
<img class="pic" <img class="pic" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic"
alt="">
</div> </div>
<div class="texts"> <div class="texts">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="des" <div class="des" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(2)">点击更改图片标题概述与链接</div>
@click="toSet(2)">点击更改图片标题概述与链接</div>
</div> </div>
<div class="item wow bounceInLeft" <div class="item wow bounceInLeft" data-wow-delay="0.5s">
data-wow-delay="0.5s">
<div class="img-wrap"> <div class="img-wrap">
<img class="pic" <img class="pic" :src="modules[3].form.pic" alt="">
:src="modules[3].form.pic"
alt="">
</div> </div>
<div class="texts"> <div class="texts">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
<div class="des" <div class="des" v-html="modules[3].form.des"></div>
v-html="modules[3].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(3)">点击更改图片标题概述与链接</div>
@click="toSet(3)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -103,25 +78,7 @@ export default {
tabs: ['地理位置'] tabs: ['地理位置']
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-地理位置'
}
])
},
methods: { methods: {
// tab // tab
tabChange (i) { tabChange (i) {
@ -133,100 +90,118 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../../../styles/page/page.scss'; @import '../../../../../styles/page/page.scss';
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px; li {
margin: 0 10px; padding: 25px 19px;
font-size: 1.1rem; margin: 0 10px;
color: #333; font-size: 1.1rem;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.tab-content { .tab-content {
width: 80%; width: 80%;
max-width: 1504px; max-width: 1504px;
padding-bottom: 100px; padding-bottom: 100px;
margin: 30px auto 0; margin: 30px auto 0;
.item {
position: relative; .item {
display: flex; position: relative;
padding: 42px; display: flex;
margin-bottom: 36px; padding: 42px;
color: #333; margin-bottom: 36px;
background: #f5f5f5 url(https://huorantech.com/images/overviewSetup/1.png) right bottom/auto no-repeat; color: #333;
transition: 0.5s; background: #f5f5f5 url(https://huorantech.com/images/overviewSetup/1.png) right bottom/auto no-repeat;
&:nth-child(even) { transition: 0.5s;
justify-content: space-between;
flex-direction: row-reverse; &:nth-child(even) {
background-position: 30% 100%; justify-content: space-between;
.texts { flex-direction: row-reverse;
padding-left: 0; background-position: 30% 100%;
}
} .texts {
&:hover { padding-left: 0;
// color: #fff; }
// background: #005388;
.pic {
transform: scale(1.1);
}
}
}
.img-wrap {
height: 465px;
overflow: hidden;
}
.pic {
width: 100%;
height: 100%;
transition: 0.5s;
}
.texts {
width: 707px;
padding: 98px 72px 30px 80px;
}
h6 {
margin-bottom: 24px;
font-size: 2.4rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
} }
.des {
font-size: 1rem; &:hover {
line-height: 33px;
-webkit-line-clamp: 8; // color: #fff;
// background: #005388;
.pic {
transform: scale(1.1);
}
} }
}
.img-wrap {
height: 465px;
overflow: hidden;
}
.pic {
width: 100%;
height: 100%;
transition: 0.5s;
}
.texts {
width: 707px;
padding: 98px 72px 30px 80px;
}
h6 {
margin-bottom: 24px;
font-size: 2.4rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
}
.des {
font-size: 1rem;
line-height: 33px;
-webkit-line-clamp: 8;
}
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.tabs { .tabs {
overflow: hidden; overflow: hidden;
overflow-x: auto; overflow-x: auto;
white-space: normal; white-space: normal;
justify-content: normal; justify-content: normal;
display: -webkit-box; display: -webkit-box;
li {
white-space: normal; li {
} white-space: normal;
} }
.tab-content { }
padding: 20px 0;
.org { .tab-content {
width: 100%; padding: 20px 0;
padding: 15px;
flex-direction: column; .org {
.left { width: 100%;
width: 100%; padding: 15px;
} flex-direction: column;
}
.left {
width: 100%;
}
} }
}
} }
</style> </style>

@ -2,13 +2,11 @@
<!-- 产业光源-机构设置 --> <!-- 产业光源-机构设置 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/产业光源-概况-机构设置</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,22 +14,17 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
@ -39,30 +32,19 @@
<div class="org"> <div class="org">
<div class="left c-wrap"> <div class="left c-wrap">
<h6>{{ modules[1].form.title }}</h6> <h6>{{ modules[1].form.title }}</h6>
<p class="text" <p class="text" v-html="modules[1].form.des"></p>
v-html="modules[1].form.des"></p> <div class="cover" style="top: -73px;min-height: 300px" @click="toSet(1)">点击更换标题与描述</div>
<div class="cover"
style="top: -73px;min-height: 300px"
@click="toSet(1)">点击更换标题与描述</div>
</div> </div>
<img class="pic" <img class="pic" src="https://huorantech.com/images/overviewSetup/1.png" alt="">
src="https://huorantech.com/images/overviewSetup/1.png"
alt="">
</div> </div>
<div class="lg-bg c-wrap"> <div class="lg-bg c-wrap">
<img width="100%" <img width="100%" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic" <div class="cover" @click="toSet(2)">点击更换图片</div>
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -78,25 +60,7 @@ export default {
tabs: ['机构设置'] tabs: ['机构设置']
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-机构设置'
}
])
},
methods: { methods: {
// tab // tab
tabChange (i) { tabChange (i) {
@ -108,81 +72,96 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../../../styles/page/page.scss'; @import '../../../../../styles/page/page.scss';
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px; li {
margin: 0 10px; padding: 25px 19px;
font-size: 1.1rem; margin: 0 10px;
color: #333; font-size: 1.1rem;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.tab-content { .tab-content {
padding: 77px 0; padding: 77px 0;
} }
.org { .org {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
width: 1294px; width: 1294px;
padding: 9px 86px 29px 116px; padding: 9px 86px 29px 116px;
margin: 0 auto 50px; margin: 0 auto 50px;
background: #fcfcfc; background: #fcfcfc;
border-radius: 160px; border-radius: 160px;
.left {
width: 705px; .left {
} width: 705px;
h6 { }
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi; h6 {
font-weight: bold; font-size: 1.4rem;
color: #333; font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
} font-weight: bold;
.text { color: #333;
margin-top: 10px; }
font-size: 1rem;
color: #020202; .text {
line-height: 2rem; margin-top: 10px;
} font-size: 1rem;
.pic { color: #020202;
width: 320px; line-height: 2rem;
height: 282px; }
}
.pic {
width: 320px;
height: 282px;
}
} }
.lg-bg { .lg-bg {
width: 85%; width: 85%;
margin: 0 auto; margin: 0 auto;
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.tabs { .tabs {
overflow: hidden; overflow: hidden;
overflow-x: auto; overflow-x: auto;
white-space: normal; white-space: normal;
justify-content: normal; justify-content: normal;
display: -webkit-box; display: -webkit-box;
li {
white-space: normal; li {
} white-space: normal;
} }
.tab-content { }
padding: 20px 0;
.org { .tab-content {
width: 100%; padding: 20px 0;
padding: 15px;
flex-direction: column; .org {
.left { width: 100%;
width: 100%; padding: 15px;
} flex-direction: column;
}
.left {
width: 100%;
}
} }
}
} }
</style> </style>

@ -2,13 +2,11 @@
<!-- 产业光源-产业光源概况 --> <!-- 产业光源-产业光源概况 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/产业光源-概况-产业光源概况</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,22 +14,17 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
@ -39,27 +32,18 @@
<div class="survey c-wrap"> <div class="survey c-wrap">
<h6> <h6>
{{ modules[1].form.title }} {{ modules[1].form.title }}
<img class="title-bg" <img class="title-bg" src="https://huorantech.com/images/overviewIntro/2.png" alt="">
src="https://huorantech.com/images/overviewIntro/2.png"
alt="">
</h6> </h6>
<p class="text" <p class="text" v-html="modules[1].form.des"></p>
v-html="modules[1].form.des"></p> <div class="cover" @click="toSet(1)">点击更换标题与描述</div>
<div class="cover"
@click="toSet(1)">点击更换标题与描述</div>
</div> </div>
<div class="lg-bg"> <div class="lg-bg">
<img width="100%" <img width="100%" src="https://huorantech.com/images/estate/3.png" alt="">
src="https://huorantech.com/images/estate/3.png"
alt="">
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -75,25 +59,7 @@ export default {
tabs: ['产业光源概况'] tabs: ['产业光源概况']
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-产业光源概况'
}
])
},
methods: { methods: {
// tab // tab
tabChange (i) { tabChange (i) {
@ -105,78 +71,92 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../../../styles/page/page.scss'; @import '../../../../../styles/page/page.scss';
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px; li {
margin: 0 10px; padding: 25px 19px;
font-size: 1.1rem; margin: 0 10px;
color: #333; font-size: 1.1rem;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.tab-content { .tab-content {
padding-top: 70px; padding-top: 70px;
} }
.survey { .survey {
width: 1294px; width: 1294px;
min-height: 500px; min-height: 500px;
padding: 80px 86px 29px 597px; padding: 80px 86px 29px 597px;
margin: 0 auto 200px; margin: 0 auto 200px;
background: url(https://huorantech.com/images/estate/2.png) 0 0/100% 100% no-repeat; background: url(https://huorantech.com/images/estate/2.png) 0 0/100% 100% no-repeat;
border-radius: 160px; border-radius: 160px;
h6 {
position: relative; h6 {
margin-bottom: 30px; position: relative;
font-size: 1.4rem; margin-bottom: 30px;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi; font-size: 1.4rem;
font-weight: bold; font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
color: #333; font-weight: bold;
} color: #333;
.title-bg { }
position: absolute;
top: -40px; .title-bg {
left: -20px; position: absolute;
} top: -40px;
.text { left: -20px;
margin-top: 10px; }
font-size: 1rem;
color: #020202; .text {
line-height: 2rem; margin-top: 10px;
} font-size: 1rem;
color: #020202;
line-height: 2rem;
}
} }
.lg-bg { .lg-bg {
width: 40%; width: 40%;
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.tabs { .tabs {
overflow: hidden; overflow: hidden;
overflow-x: auto; overflow-x: auto;
white-space: normal; white-space: normal;
justify-content: normal; justify-content: normal;
display: -webkit-box; display: -webkit-box;
li {
white-space: normal; li {
} white-space: normal;
} }
.tab-content { }
padding: 20px 0;
.org { .tab-content {
width: 100%; padding: 20px 0;
padding: 15px;
flex-direction: column; .org {
.left { width: 100%;
width: 100%; padding: 15px;
} flex-direction: column;
}
.left {
width: 100%;
}
} }
}
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/装置介绍-实验站</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,19 +13,14 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" <el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
:key="i"> <img width="100%" height="100%" :src="item.pic" alt="">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block station"> <div class="block station">
@ -35,78 +28,52 @@
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<p class="en">{{ modules[1].form.subTitle }}</p> <p class="en">{{ modules[1].form.subTitle }}</p>
<template v-if="modules[1].form.pic"> <template v-if="modules[1].form.pic">
<video v-if="Util.isVideo(modules[1].form.mediaType)" <video v-if="Util.isVideo(modules[1].form.mediaType)" class="pic" ref="video" autoplay controls loop>
class="pic" <source :src="modules[1].form.pic" type="video/mp4">
ref="video"
autoplay
controls
loop>
<source :src="modules[1].form.pic"
type="video/mp4">
您的浏览器不支持 video 标签 您的浏览器不支持 video 标签
</video> </video>
<img v-else <img v-else class="pic" :src="modules[1].form.pic" alt="">
class="pic"
:src="modules[1].form.pic"
alt="">
</template> </template>
<div class="des" <div class="des" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div> <div class="cover" @click="toSet(1)">点击更改图片与概述</div>
<div class="cover"
@click="toSet(1)">点击更改图片与概述</div>
</div> </div>
</div> </div>
<ul class="list"> <ul class="list">
<li class="item1"> <li class="item1">
<img src="@/assets/images/exp/2.png" <img src="@/assets/images/exp/2.png" alt="">
alt="">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="cover" <div class="cover" @click="toSet(2)">点击更改标题与链接</div>
@click="toSet(2)">点击更改标题与链接</div>
</li> </li>
<li class="item2"> <li class="item2">
<img src="@/assets/images/exp/3.png" <img src="@/assets/images/exp/3.png" alt="">
alt="">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
<div class="cover" <div class="cover" @click="toSet(3)">点击更改标题与链接</div>
@click="toSet(3)">点击更改标题与链接</div>
</li> </li>
<li class="item3"> <li class="item3">
<img src="@/assets/images/exp/4.png" <img src="@/assets/images/exp/4.png" alt="">
alt="">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
<div class="cover" <div class="cover" @click="toSet(4)">点击更改标题与链接</div>
@click="toSet(4)">点击更改标题与链接</div>
</li> </li>
<li class="item4"> <li class="item4">
<img src="@/assets/images/exp/5.png" <img src="@/assets/images/exp/5.png" alt="">
alt="">
<h6>{{ modules[5].form.title }}</h6> <h6>{{ modules[5].form.title }}</h6>
<div class="cover" <div class="cover" @click="toSet(5)">点击更改标题与链接</div>
@click="toSet(5)">点击更改标题与链接</div>
</li> </li>
<li class="item5"> <li class="item5">
<img src="@/assets/images/exp/6.png" <img src="@/assets/images/exp/6.png" alt="">
alt="">
<h6>{{ modules[6].form.title }}</h6> <h6>{{ modules[6].form.title }}</h6>
<div class="cover" <div class="cover" @click="toSet(6)">点击更改标题与链接</div>
@click="toSet(6)">点击更改标题与链接</div>
</li> </li>
<li class="item6"> <li class="item6">
<img src="@/assets/images/exp/7.png" <img src="@/assets/images/exp/7.png" alt="">
alt="">
<h6>{{ modules[7].form.title }}</h6> <h6>{{ modules[7].form.title }}</h6>
<div class="cover" <div class="cover" @click="toSet(7)">点击更改标题与链接</div>
@click="toSet(7)">点击更改标题与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -126,29 +93,10 @@ export default {
isVideo () { isVideo () {
const { pic } = this.modules[1].form const { pic } = this.modules[1].form
const ext = pic.substr(pic.lastIndexOf('.') + 1) const ext = pic.substr(pic.lastIndexOf('.') + 1)
console.log(33, pic)
return Util.isVideo(ext) return Util.isVideo(ext)
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '装置介绍-实验站'
}
])
},
methods: { methods: {
} }
@ -157,73 +105,87 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.station { .station {
.inner { .inner {
width: 1200px; width: 1200px;
} }
h6 {
position: relative; h6 {
font-size: 48px; position: relative;
font-family: PingFangSC-Medium, PingFang SC; font-size: 48px;
font-weight: 500; font-family: PingFangSC-Medium, PingFang SC;
color: #333333; font-weight: 500;
line-height: 1; color: #333333;
} line-height: 1;
.en { }
margin-bottom: 20px;
font-size: 45px; .en {
font-family: AppleSystemUIFont; margin-bottom: 20px;
color: #e4e4e4; font-size: 45px;
line-height: 1; font-family: AppleSystemUIFont;
} color: #e4e4e4;
.pic { line-height: 1;
width: 100%; }
height: 604px;
} .pic {
.des { width: 100%;
margin-top: 55px; height: 604px;
font-size: 18px; }
color: #333;
line-height: 34px; .des {
overflow: visible; margin-top: 55px;
} font-size: 18px;
color: #333;
line-height: 34px;
overflow: visible;
}
} }
.list { .list {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 30px; margin-top: 30px;
li {
position: relative; li {
height: 542px; position: relative;
} height: 542px;
img { }
width: 100%;
height: 100%; img {
} width: 100%;
h6 { height: 100%;
position: absolute; }
top: 192px;
left: 60px; h6 {
font-size: 30px; position: absolute;
font-family: PingFangSC-Medium, PingFang SC; top: 192px;
font-weight: 500; left: 60px;
color: #fff; font-size: 30px;
} font-family: PingFangSC-Medium, PingFang SC;
.item1, font-weight: 500;
.item2 { color: #fff;
width: 25%; }
}
.item3 { .item1,
width: 50%; .item2 {
} width: 25%;
.item4 { }
width: 40%;
} .item3 {
.item5 { width: 50%;
width: 32%; }
}
.item6 { .item4 {
width: 28%; width: 40%;
} }
.item5 {
width: 32%;
}
.item6 {
width: 28%;
}
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-治理结构</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,15 +13,12 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="" />
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block history gray"> <div class="block history gray">
@ -31,27 +26,18 @@
<div class="texts c-wrap"> <div class="texts c-wrap">
<div class="left"> <div class="left">
<h2 v-html="modules[1].form.title"></h2> <h2 v-html="modules[1].form.title"></h2>
<div class="des" <div class="des" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div>
</div> </div>
<img class="bg" <img class="bg" width="562" height="506" :src="modules[1].form.pic" alt="">
width="562" <div class="cover" style="top: -100px" @click="toSet(1)">点击更换标题描述与图片</div>
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" <li v-for="(item, i) in modules[2].list" :key="i">{{ item.title }}</li>
:key="i">{{ item.title }}</li> <div class="cover" @click="toSet(2)">点击配置文本</div>
<div class="cover"
@click="toSet(2)">点击配置文本</div>
</ul> </ul>
</div> </div>
@ -59,20 +45,14 @@
<div class="inner c-wrap"> <div class="inner c-wrap">
<div class="left"> <div class="left">
<h2>{{ modules[2].list[curYear].list[0].title }}</h2> <h2>{{ modules[2].list[curYear].list[0].title }}</h2>
<div class="text" <div class="text" v-html="modules[2].list[curYear].list[0].des"></div>
v-html="modules[2].list[curYear].list[0].des"></div>
</div> </div>
<img class="pic" <img class="pic" :src="modules[2].list[curYear].list[0].pic" alt="">
:src="modules[2].list[curYear].list[0].pic"
alt="">
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -87,25 +67,7 @@ export default {
curYear: 0 curYear: 0
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于IASF-治理结构'
}
])
},
methods: { methods: {
} }
@ -114,116 +76,139 @@ export default {
<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;
font-size: 1.2rem; font-size: 1.2rem;
color: #333; color: #333;
&:after {
content: ''; &:after {
display: block; content: '';
width: 65px; display: block;
height: 3px; width: 65px;
margin-top: 20px; height: 3px;
background: #0280f1; margin-top: 20px;
} background: #0280f1;
}
.texts {
display: flex;
justify-content: space-between;
padding: 82px 0 50px 30px;
margin-top: 20px;
background-color: #fff;
border-radius: 100px 0px 0px 0px;
transition: 0.3s;
&:hover {
transform: scale(1.05);
}
}
.left {
width: 695px;
}
.des {
margin: 20px 0;
font-size: 1.2rem;
color: #181818;
line-height: 31px;
} }
.bg { }
margin: -122px 0 0 0;
.texts {
display: flex;
justify-content: space-between;
padding: 82px 0 50px 30px;
margin-top: 20px;
background-color: #fff;
border-radius: 100px 0px 0px 0px;
transition: 0.3s;
&:hover {
transform: scale(1.05);
} }
}
.left {
width: 695px;
}
.des {
margin: 20px 0;
font-size: 1.2rem;
color: #181818;
line-height: 31px;
}
.bg {
margin: -122px 0 0 0;
}
} }
.cards { .cards {
padding: 60px 0; padding: 60px 0;
ul {
position: relative; ul {
display: flex; position: relative;
justify-content: center; display: flex;
flex-wrap: wrap; justify-content: center;
width: 1200px; flex-wrap: wrap;
margin: 0 auto; width: 1200px;
margin: 0 auto;
}
li {
width: 368px;
margin: 0 30px 50px 0;
line-height: 84px;
font-size: 1.2rem;
color: #333;
text-align: center;
@include ellipsis();
background: url(https://huorantech.com/images/governance/3.png) 0 0 / cover no-repeat;
cursor: pointer;
&:nth-child(2) {
background-image: url(https://huorantech.com/images/governance/4.png);
}
&:nth-child(3) {
background-image: url(https://huorantech.com/images/governance/5.png);
} }
li {
width: 368px; &:nth-child(4) {
margin: 0 30px 50px 0; background-image: url(https://huorantech.com/images/governance/4.png);
line-height: 84px;
font-size: 1.2rem;
color: #333;
text-align: center;
@include ellipsis();
background: url(https://huorantech.com/images/governance/3.png) 0 0 / cover no-repeat;
cursor: pointer;
&:nth-child(2) {
background-image: url(https://huorantech.com/images/governance/4.png);
}
&:nth-child(3) {
background-image: url(https://huorantech.com/images/governance/5.png);
}
&:nth-child(4) {
background-image: url(https://huorantech.com/images/governance/4.png);
}
&:nth-child(5) {
background-image: url(https://huorantech.com/images/governance/7.png);
}
&:nth-child(6) {
background-image: url(https://huorantech.com/images/governance/6.png);
}
&:nth-child(8) {
background-image: url(https://huorantech.com/images/governance/6.png);
}
&:nth-child(3n) {
margin-right: 0;
}
&:hover {
color: #fff;
background: #0d84f2;
}
} }
}
.committee { &:nth-child(5) {
.inner { background-image: url(https://huorantech.com/images/governance/7.png);
display: flex;
align-items: center;
} }
.left {
width: 50%; &:nth-child(6) {
margin-right: 2%; background-image: url(https://huorantech.com/images/governance/6.png);
} }
h2 {
margin-bottom: 20px; &:nth-child(8) {
font-size: 1.2rem; background-image: url(https://huorantech.com/images/governance/6.png);
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
} }
.text {
font-size: 1rem; &:nth-child(3n) {
font-family: PingFangSC-Regular, PingFang SC; margin-right: 0;
line-height: 1.5;
color: #333;
} }
.pic {
width: 48%; &:hover {
height: 300px; color: #fff;
background: #0d84f2;
} }
}
}
.committee {
.inner {
display: flex;
align-items: center;
}
.left {
width: 50%;
margin-right: 2%;
}
h2 {
margin-bottom: 20px;
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
}
.text {
font-size: 1rem;
font-family: PingFangSC-Regular, PingFang SC;
line-height: 1.5;
color: #333;
}
.pic {
width: 48%;
height: 300px;
}
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/HOME</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -215,25 +215,7 @@ export default {
modules: Modules.home modules: Modules.home
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'HOME'
}
])
},
methods: { methods: {
} }

@ -2,7 +2,7 @@
<!-- iasf中文首页 --> <!-- iasf中文首页 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/IASF中文首页</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -266,25 +266,7 @@ export default {
modules: Modules.iasf modules: Modules.iasf
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'iasf中文首页'
}
])
},
methods: { methods: {
} }

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/首页</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -51,25 +51,7 @@ export default {
modules: Modules.index modules: Modules.index
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '首页'
}
])
},
methods: { methods: {
} }

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/产业应用</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,93 +13,64 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="" />
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block history gray"> <div class="block history gray">
<div class="inner c-wrap"> <div class="inner c-wrap">
<h2 class="wow fadeInLeft" <h2 class="wow fadeInLeft" style="margin-left: 57px" v-html="modules[1].form.title"></h2>
style="margin-left: 57px" <div class="texts wow fadeInDown" data-wow-delay="0.5s">
v-html="modules[1].form.title"></h2>
<div class="texts wow fadeInDown"
data-wow-delay="0.5s">
<div class="left"> <div class="left">
<h2>{{ modules[1].form.subTitle }}</h2> <h2>{{ modules[1].form.subTitle }}</h2>
<div class="des" <div class="des" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div>
</div> </div>
<img class="bg" <img class="bg" width="562" height="506" :src="modules[1].form.pic" alt="">
width="562"
height="506"
:src="modules[1].form.pic"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(1)">点击更改图片标题概述与链接</div>
@click="toSet(1)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
<div class="block land"> <div class="block land">
<div class="inner"> <div class="inner">
<img class="pic" <img class="pic" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic"
alt="">
<div class="right"> <div class="right">
<h6 v-html="modules[2].form.title"></h6> <h6 v-html="modules[2].form.title"></h6>
<div class="text" <div class="text" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(2)">点击更改图片标题与概述</div>
@click="toSet(2)">点击更改图片标题与概述</div>
</div> </div>
</div> </div>
<div class="block gray"> <div class="block gray">
<div class="inner"> <div class="inner">
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title" <h2 class="b-title" v-html="modules[3].form.title"></h2>
v-html="modules[3].form.title"></h2> <p class="intro" v-html="modules[3].form.des"></p>
<p class="intro" <div class="cover" @click="toSet(3)">点击更换标题与描述</div>
v-html="modules[3].form.des"></p>
<div class="cover"
@click="toSet(3)">点击更换标题与描述</div>
</div> </div>
<ul class="plan"> <ul class="plan">
<li> <li>
<div class="left"> <div class="left">
<h6 v-html="modules[4].form.title"></h6> <h6 v-html="modules[4].form.title"></h6>
<div class="text" <div class="text" v-html="modules[4].form.des"></div>
v-html="modules[4].form.des"></div> <img src="@/assets/images/arrow.png" alt="">
<img src="@/assets/images/arrow.png"
alt="">
</div> </div>
<img class="pic" <img class="pic" :src="modules[4].form.pic" alt="">
:src="modules[4].form.pic" <div class="cover" @click="toSet(4)">点击更换标题描述链接与图片</div>
alt="">
<div class="cover"
@click="toSet(4)">点击更换标题描述链接与图片</div>
</li> </li>
<li> <li>
<div class="left"> <div class="left">
<h6 v-html="modules[5].form.title"></h6> <h6 v-html="modules[5].form.title"></h6>
<div class="text" <div class="text" v-html="modules[5].form.des"></div>
v-html="modules[5].form.des"></div> <img src="@/assets/images/arrow.png" alt="">
<img src="@/assets/images/arrow.png"
alt="">
</div> </div>
<img class="pic" <img class="pic" :src="modules[5].form.pic" alt="">
:src="modules[5].form.pic" <div class="cover" @click="toSet(5)">点击更换标题描述链接与图片</div>
alt="">
<div class="cover"
@click="toSet(5)">点击更换标题描述链接与图片</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -110,27 +79,17 @@
<div class="block"> <div class="block">
<div class="inner app-inner"> <div class="inner app-inner">
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title wow fadeInUp" <h2 class="b-title wow fadeInUp" v-html="modules[6].form.title"></h2>
v-html="modules[6].form.title"></h2> <p class="intro wow fadeInUp" data-wow-delay="0.5s">{{ modules[6].form.des }}</p>
<p class="intro wow fadeInUp" <div class="cover" @click="toSet(6)">点击更换标题与描述</div>
data-wow-delay="0.5s">{{ modules[6].form.des }}</p>
<div class="cover"
@click="toSet(6)">点击更换标题与描述</div>
</div> </div>
<ul class="app"> <ul class="app">
<li v-for="(item, i) in modules[7].list" <li v-for="(item, i) in modules[7].list" :key="i" class="wow fadeInDown"
:key="i" :data-wow-delay="(0.2 * i).toFixed(1) + 's'">
class="wow fadeInDown" <img class="bg" :src="require('@/assets/images/industrial/app' + (i + 1) + '.png')" alt="">
:data-wow-delay="(0.2 * i).toFixed(1) + 's'"> <img class="icon" :src="require('@/assets/images/industrial/app' + (i + 1) + '-1.png')" alt="">
<img class="bg"
:src="require('@/assets/images/industrial/app' + (i + 1) + '.png')"
alt="">
<img class="icon"
:src="require('@/assets/images/industrial/app' + (i + 1) + '-1.png')"
alt="">
<p class="text">{{ item.title }}</p> <p class="text">{{ item.title }}</p>
<div class="cover" <div class="cover" @click="toSet(7, i)">点击更标题与链接</div>
@click="toSet(7, i)">点击更标题与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -139,72 +98,60 @@
<div class="block news-block"> <div class="block news-block">
<div class="inner"> <div class="inner">
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title" <h2 class="b-title" v-html="modules[8].form.title"></h2>
v-html="modules[8].form.title"></h2>
<p class="intro">{{ modules[8].form.des }}</p> <p class="intro">{{ modules[8].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(8)">点击更换标题与描述</div>
@click="toSet(8)">点击更换标题与描述</div>
</div> </div>
<ul class="news"> <ul class="news">
<li> <li>
<img src="https://huorantech.com/images/home/3.png" <img src="https://huorantech.com/images/home/3.png" alt="">
alt="">
<div class="texts"> <div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span> <span class="meta">2022-07-24 | 综合新闻</span>
<h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6> <h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6>
</div> </div>
</li> </li>
<li> <li>
<img src="https://huorantech.com/images/home/3.png" <img src="https://huorantech.com/images/home/3.png" alt="">
alt="">
<div class="texts"> <div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span> <span class="meta">2022-07-24 | 综合新闻</span>
<h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6> <h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6>
</div> </div>
</li> </li>
<li> <li>
<img src="https://huorantech.com/images/home/3.png" <img src="https://huorantech.com/images/home/3.png" alt="">
alt="">
<div class="texts"> <div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span> <span class="meta">2022-07-24 | 综合新闻</span>
<h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6> <h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6>
</div> </div>
</li> </li>
<li> <li>
<img src="https://huorantech.com/images/home/3.png" <img src="https://huorantech.com/images/home/3.png" alt="">
alt="">
<div class="texts"> <div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span> <span class="meta">2022-07-24 | 综合新闻</span>
<h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6> <h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6>
</div> </div>
</li> </li>
<li> <li>
<img src="https://huorantech.com/images/home/3.png" <img src="https://huorantech.com/images/home/3.png" alt="">
alt="">
<div class="texts"> <div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span> <span class="meta">2022-07-24 | 综合新闻</span>
<h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6> <h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6>
</div> </div>
</li> </li>
<li> <li>
<img src="https://huorantech.com/images/home/3.png" <img src="https://huorantech.com/images/home/3.png" alt="">
alt="">
<div class="texts"> <div class="texts">
<span class="meta">2022-07-24 | 综合新闻</span> <span class="meta">2022-07-24 | 综合新闻</span>
<h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6> <h6>X射线自由电子激光已经成为了化学生物物理等领域不可或缺的研究手段</h6>
</div> </div>
</li> </li>
<div class="cover" <div class="cover" @click="toSet(9)">关联栏目</div>
@click="toSet(9)">关联栏目</div>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -218,25 +165,7 @@ export default {
modules: Modules.industrial modules: Modules.industrial
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '产业应用'
}
])
},
methods: { methods: {
} }
@ -245,174 +174,207 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.history { .history {
h2 { h2 {
font-size: 1.8rem; font-size: 1.8rem;
color: #333; color: #333;
} }
.texts {
display: flex; .texts {
justify-content: space-between; display: flex;
padding: 82px 57px 30px; justify-content: space-between;
margin-top: 20px; padding: 82px 57px 30px;
background-color: #fff; margin-top: 20px;
border-radius: 100px 0px 0px 0px; background-color: #fff;
transition: 0.3s; border-radius: 100px 0px 0px 0px;
&:hover { transition: 0.3s;
transform: scale(1.05);
} &:hover {
} transform: scale(1.05);
.left {
width: 695px;
}
.des {
margin: 20px 0;
font-size: 1.2rem;
color: #181818;
line-height: 31px;
}
.bg {
margin: -122px 0 0 0;
} }
}
.left {
width: 695px;
}
.des {
margin: 20px 0;
font-size: 1.2rem;
color: #181818;
line-height: 31px;
}
.bg {
margin: -122px 0 0 0;
}
} }
.land { .land {
.inner { .inner {
position: relative; position: relative;
display: flex; display: flex;
} }
.pic {
width: 50%; .pic {
height: 450px; width: 50%;
height: 450px;
}
.right {
width: 50%;
}
h6 {
margin-left: 50px;
font-size: 1.3rem;
font-family: PingFangSC-Semibold, PingFang SC;
color: #333;
@include ellipsis();
}
.text {
height: 405px;
padding: 50px;
margin-top: 1rem;
background: rgba(242, 246, 248, 0.45);
border-radius: 0px 100px 0px 0px;
}
}
.plan {
li {
position: relative;
display: flex;
height: 500px;
margin-bottom: 60px;
color: #333;
background-color: #fff;
border-radius: 100px 0px 0px 0px;
&:nth-child(even) {
flex-direction: row-reverse;
.pic {
margin: -20px 0 0 -20px;
border-radius: 0 100px 0 0;
}
} }
.right {
width: 50%; .left {
width: 50%;
padding: 50px;
} }
h6 { h6 {
margin-left: 50px; font-size: 1.4rem;
font-size: 1.3rem; font-family: PingFangSC-Medium, PingFang SC;
font-family: PingFangSC-Semibold, PingFang SC;
color: #333;
@include ellipsis();
} }
.text { .text {
height: 405px; margin: 1rem 0;
padding: 50px; font-size: 1rem;
margin-top: 1rem; line-height: 1.6;
background: rgba(242, 246, 248, 0.45);
border-radius: 0px 100px 0px 0px;
} }
}
.plan { .pic {
li { width: 48%;
position: relative; height: 500px;
display: flex; margin: -20px -20px 0 0;
height: 500px; border-radius: 100px 0 0 0;
margin-bottom: 60px;
color: #333;
background-color: #fff;
border-radius: 100px 0px 0px 0px;
&:nth-child(even) {
flex-direction: row-reverse;
.pic {
margin: -20px 0 0 -20px;
border-radius: 0 100px 0 0;
}
}
.left {
width: 50%;
padding: 50px;
}
h6 {
font-size: 1.4rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.text {
margin: 1rem 0;
font-size: 1rem;
line-height: 1.6;
}
.pic {
width: 48%;
height: 500px;
margin: -20px -20px 0 0;
border-radius: 100px 0 0 0;
}
} }
}
} }
.app-inner { .app-inner {
width: 1558px; width: 1558px;
} }
.app { .app {
display: flex;
flex-wrap: wrap;
li {
position: relative;
display: flex; display: flex;
flex-wrap: wrap; flex-direction: column;
li { justify-content: center;
position: relative; align-items: center;
display: flex; width: 368px;
flex-direction: column; height: 252px;
justify-content: center; margin: 0 14px 14px 0;
align-items: center; transition: 0.3s;
width: 368px;
height: 252px; &:hover {
margin: 0 14px 14px 0; transform: scale(1.05);
transition: 0.3s;
&:hover { .icon {
transform: scale(1.05); transform: rotateY(180deg);
.icon { }
transform: rotateY(180deg);
}
}
&:nth-child(4n) {
margin-right: 0;
}
}
.bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.icon {
position: relative;
} }
.text {
position: relative; &:nth-child(4n) {
margin-top: 20px; margin-right: 0;
font-size: 32px;
color: #fff;
} }
}
.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;
}
} }
.news { .news {
position: relative; position: relative;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
li {
width: calc((100% - 34px) / 3); li {
margin: 0 17px 20px 0; width: calc((100% - 34px) / 3);
background-color: #fff; margin: 0 17px 20px 0;
&:nth-child(3n) { background-color: #fff;
margin-right: 0;
} &:nth-child(3n) {
} margin-right: 0;
img {
width: 100%;
height: 220px;
}
.texts {
padding: 20px 24px;
background-color: #fff;
}
h6 {
margin-top: 8px;
font-size: 1rem;
color: #333;
text-shadow: 0px 0px 20px rgba(176, 176, 176, 0.21);
}
.meta {
font-size: 0.9rem;
color: #666;
text-shadow: 0px 0px 20px rgba(176, 176, 176, 0.21);
} }
}
img {
width: 100%;
height: 220px;
}
.texts {
padding: 20px 24px;
background-color: #fff;
}
h6 {
margin-top: 8px;
font-size: 1rem;
color: #333;
text-shadow: 0px 0px 20px rgba(176, 176, 176, 0.21);
}
.meta {
font-size: 0.9rem;
color: #666;
text-shadow: 0px 0px 20px rgba(176, 176, 176, 0.21);
}
} }
</style> </style>

@ -2,13 +2,11 @@
<!-- 全球先进光源 --> <!-- 全球先进光源 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/全球先进光源</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,43 +14,31 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="" />
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block gray"> <div class="block gray">
<div class="inner c-wrap"> <div class="inner c-wrap">
<h2 class="b-title wow fadeInUp">{{ modules[1].form.title }}</h2> <h2 class="b-title wow fadeInUp">{{ modules[1].form.title }}</h2>
<p class="intro wow fadeInUp" <p class="intro wow fadeInUp" data-wow-delay="0.8s">{{ modules[1].form.des }}</p>
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"
<img class="block-pic br wow fadeInLeft" :src="modules[1].form.pic" alt="">
data-wow-delay="0.8s" <div class="cover" @click="toSet(1)">点击更换标题描述图片与链接</div>
width="100%"
height="536"
:src="modules[1].form.pic"
alt="">
<div class="cover"
@click="toSet(1)">点击更换标题描述图片与链接</div>
</div> </div>
</div> </div>
<div class="block sources"> <div class="block sources">
<div class="inner c-wrap"> <div class="inner c-wrap">
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<li v-for="(item, i) in tabs" <li v-for="(item, i) in tabs" :class="{ active: item.id == active }" :key="i" @click="tabChange(item.id)">{{
:class="{active: item.id == active}" item.name }}</li>
:key="i"
@click="tabChange(item.id)">{{ item.name }}</li>
</ul> </ul>
<div v-if="!active" <div v-if="!active" class="c-wrap">
class="c-wrap">
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
@ -69,8 +55,7 @@
</tr> </tr>
</thead> </thead>
<template v-if="modules[2].list.length"> <template v-if="modules[2].list.length">
<tr v-for="(item, i) in modules[2].list" <tr v-for="(item, i) in modules[2].list" :key="i">
:key="i">
<td>{{ item.name }}</td> <td>{{ item.name }}</td>
<td>{{ item.country }}</td> <td>{{ item.country }}</td>
<td>{{ item.address }}</td> <td>{{ item.address }}</td>
@ -87,11 +72,9 @@
<td class="none">暂无数据</td> <td class="none">暂无数据</td>
</tr> </tr>
</table> </table>
<div class="cover" <div class="cover" @click="toSet(2)">点击更换表格</div>
@click="toSet(2)">点击更换表格</div>
</div> </div>
<div v-else <div v-else class="c-wrap">
class="c-wrap">
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
@ -109,8 +92,7 @@
</tr> </tr>
</thead> </thead>
<template v-if="modules[3].list.length"> <template v-if="modules[3].list.length">
<tr v-for="(item, i) in modules[3].list" <tr v-for="(item, i) in modules[3].list" :key="i">
:key="i">
<td>{{ item.name }}</td> <td>{{ item.name }}</td>
<td>{{ item.country }}</td> <td>{{ item.country }}</td>
<td>{{ item.address }}</td> <td>{{ item.address }}</td>
@ -125,27 +107,20 @@
</tr> </tr>
</template> </template>
<tr v-else> <tr v-else>
<td class="none" <td class="none" colspan="11">暂无数据</td>
colspan="11">暂无数据</td>
</tr> </tr>
</table> </table>
<div class="cover" <div class="cover" @click="toSet(3)">点击更换表格</div>
@click="toSet(3)">点击更换表格</div>
</div> </div>
<div class="c-wrap m-t-20"> <div class="c-wrap m-t-20">
<div class="copyright" <div class="copyright" v-html="modules[4].form.des"></div>
v-html="modules[4].form.des"></div> <div class="cover" @click="toSet(4)">点击更换描述</div>
<div class="cover"
@click="toSet(4)">点击更换描述</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -170,25 +145,7 @@ export default {
] ]
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '全球先进光源'
}
])
},
methods: { methods: {
// tab // tab
tabChange (i) { tabChange (i) {
@ -200,61 +157,74 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.block { .block {
padding: 3.15rem 0; padding: 3.15rem 0;
.inner {
.b-title { .inner {
font-size: 2.25rem; .b-title {
margin-bottom: 2.25rem; font-size: 2.25rem;
} margin-bottom: 2.25rem;
.intro {
margin-bottom: 2.25rem;
}
} }
.intro {
margin-bottom: 2.25rem;
}
}
} }
.block-pic { .block-pic {
transition: 0.3s; transition: 0.3s;
height: auto; height: auto;
&.br {
border-radius: 270px; &.br {
} border-radius: 270px;
&:hover { }
transform: scale(1.05);
} &:hover {
transform: scale(1.05);
}
} }
.sources { .sources {
background-color: #fff; background-color: #fff;
} }
.tabs { .tabs {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px; li {
margin: 0 10px; padding: 25px 19px;
font-size: 1.1rem; margin: 0 10px;
color: #333; font-size: 1.1rem;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.table { .table {
width: 100%; width: 100%;
margin-top: 20px; margin-top: 20px;
border-collapse: collapse; border-collapse: collapse;
th,
td { th,
padding: 10px 10px; td {
font-size: 0.9rem; padding: 10px 10px;
text-align: left; font-size: 0.9rem;
} text-align: left;
.none { }
text-align: center;
} .none {
text-align: center;
}
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/会员中心</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -60,25 +60,7 @@ export default {
modules: Modules.member, modules: Modules.member,
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '会员中心'
}
])
},
methods: { methods: {
} }

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-使命愿景价值观</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,42 +13,31 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="" />
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block"> <div class="block">
<div class="inner"> <div class="inner">
<div class="item"> <div class="item">
<img :src="modules[1].form.pic" <img :src="modules[1].form.pic" alt="" />
alt="" />
<div class="texts"> <div class="texts">
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<div class="text" <div class="text" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" style="left: -35px" @click="toSet(1)">点击更改标题概述与链接</div>
style="left: -35px"
@click="toSet(1)">点击更改标题概述与链接</div>
</div> </div>
<div class="item"> <div class="item">
<img :src="modules[2].form.pic" <img :src="modules[2].form.pic" alt="" />
alt="" />
<div class="texts rightText"> <div class="texts rightText">
<h6 v-html="modules[2].form.title"></h6> <h6 v-html="modules[2].form.title"></h6>
<div class="text" <div class="text" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" style="right: -35px" @click="toSet(2)">点击更改标题概述与链接</div>
style="right: -35px"
@click="toSet(2)">点击更改标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
@ -58,36 +45,26 @@
<div class="block mind gray"> <div class="block mind gray">
<div class="inner"> <div class="inner">
<div class="c-wrap"> <div class="c-wrap">
<h6 class="m-title" <h6 class="m-title" v-html="modules[3].form.title"></h6>
v-html="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" <li v-if="item.isEnable" :key="i">
:key="i"> <img :src="item.pic" alt="" class="pic">
<img :src="item.pic"
alt=""
class="pic">
<div class="texts"> <div class="texts">
<h6>{{ item.title }}</h6> <h6>{{ item.title }}</h6>
<div class="des" <div class="des" v-html="item.des"></div>
v-html="item.des"></div>
</div> </div>
</li> </li>
</template> </template>
<div class="cover" <div class="cover" @click="toSet(4)">点击更换图片标题概述与链接</div>
@click="toSet(4)">点击更换图片标题概述与链接</div>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -101,25 +78,7 @@ export default {
modules: Modules.mission modules: Modules.mission
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于IASF-使命愿景价值观'
}
])
},
methods: { methods: {
} }
@ -128,126 +87,150 @@ export default {
<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;
margin-bottom: 58px;
img {
width: 100%;
height: 400px;
}
&:nth-child(2) .texts {
left: auto;
right: -36px;
color: #fff;
background: rgba(40, 179, 255, 0.34);
}
.texts {
position: absolute;
top: 79px;
left: -34px;
width: 532px;
padding: 70px 38px;
color: #333;
background: rgba(255, 241, 231, 0.84);
transition: 0.5s;
}
h6 {
margin-bottom: 14px;
font-size: 2rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.des {
font-size: 1rem;
}
}
.mind {
.m-title {
margin-bottom: 30px;
font-size: 2.2rem;
text-align: center;
color: #333;
}
.list {
position: relative; position: relative;
margin-bottom: 58px; display: flex;
img { flex-wrap: wrap;
width: 100%; }
height: 400px;
li {
display: inline-flex;
align-items: center;
width: calc((100% - 22px) / 2);
margin: 0 22px 22px 0;
background-color: #fff;
&:nth-child(even) {
margin-right: 0;
} }
&:nth-child(2) .texts {
left: auto; .pic {
right: -36px; width: 250px;
color: #fff; height: 230px;
background: rgba(40, 179, 255, 0.34);
} }
.texts { .texts {
position: absolute; width: calc(100% - 250px);
top: 79px; padding: 0 20px;
left: -34px;
width: 532px;
padding: 70px 38px;
color: #333;
background: rgba(255, 241, 231, 0.84);
transition: 0.5s;
} }
h6 { h6 {
margin-bottom: 14px; margin-bottom: 20px;
font-size: 2rem; font-size: 1.5rem;
font-family: PingFangSC-Medium, PingFang SC; color: #272727;
font-weight: 500; @include ellipsis();
}
.des {
font-size: 1rem;
}
}
.mind {
.m-title {
margin-bottom: 30px;
font-size: 2.2rem;
text-align: center;
color: #333;
}
.list {
position: relative;
display: flex;
flex-wrap: wrap;
} }
li {
display: inline-flex; .text {
align-items: center; font-size: 1rem;
width: calc((100% - 22px) / 2); color: #666;
margin: 0 22px 22px 0; line-height: 1.5;
background-color: #fff;
&:nth-child(even) {
margin-right: 0;
}
.pic {
width: 250px;
height: 230px;
}
.texts {
width: calc(100% - 250px);
padding: 0 20px;
}
h6 {
margin-bottom: 20px;
font-size: 1.5rem;
color: #272727;
@include ellipsis();
}
.text {
font-size: 1rem;
color: #666;
line-height: 1.5;
}
} }
}
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.inner { .inner {
width: 98%; width: 98%;
}
.item {
img {
margin-left: 30px;
} }
.item {
img { .rightText {
margin-left: 30px; right: 12px !important;
}
.rightText {
right: 12px !important;
}
.texts {
width: 85%;
box-sizing: border-box;
left: 12px;
.des {
-webkit-line-clamp: inherit;
}
}
} }
.texts {
width: 85%;
box-sizing: border-box;
left: 12px;
.des {
-webkit-line-clamp: inherit;
}
}
}
} }
@media (max-width: 980px) { @media (max-width: 980px) {
.mind { .mind {
.list { .list {
flex-direction: column; flex-direction: column;
} }
li {
width: 100%; li {
} width: 100%;
} }
}
} }
@media (max-width: 480px) { @media (max-width: 480px) {
.mind { .mind {
li { li {
.pic { .pic {
width: 150px; width: 150px;
height: 130px; height: 130px;
} }
.texts {
width: calc(100% - 150px); .texts {
} width: calc(100% - 150px);
} }
} }
}
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/NEWS&EVENTS</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,79 +13,59 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" <el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
:key="i"> <img width="100%" height="100%" :src="item.pic" alt="">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<ul class="tabs"> <ul class="tabs">
<li :class="{active: item.id == active}" <li :class="{ active: item.id == active }" v-for="(item, i) in modules[1].list" :key="i">
v-for="(item, i) in modules[1].list"
:key="i">
{{ item.columnName }} {{ item.columnName }}
<div class="cover" <div class="cover" @click="toSet(1, i)">关联栏目</div>
@click="toSet(1, i)">关联栏目</div>
</li> </li>
</ul> </ul>
<div class="block"> <div class="block">
<div class="inner"> <div class="inner">
<div class="news-banner"> <div class="news-banner">
<img width="100%" <img width="100%" height="480" src="https://huorantech.com/images/about/5.png" alt="">
height="480"
src="https://huorantech.com/images/about/5.png"
alt="">
<div class="right"> <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> <h6>IASF is driven to serve the Science and industry, and solve grand challenges through research and
<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> 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> <p class="meta">2022-07-24 | Research</p>
</div> </div>
</div> </div>
<ul class="card"> <ul class="card">
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/9.png" alt="">
src="https://huorantech.com/images/about/9.png"
alt="">
<div class="texts"> <div class="texts">
<p class="meta">2022-09-09 | Research</p> <p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div> <div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
<img class="arrow" <img class="arrow" src="@/assets/images/arrow.png" alt="">
src="@/assets/images/arrow.png"
alt="">
</div> </div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/10.png" alt="">
src="https://huorantech.com/images/about/10.png"
alt="">
<div class="texts"> <div class="texts">
<p class="meta">2022-09-09 | Research</p> <p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div> <div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
<img class="arrow" <img class="arrow" src="@/assets/images/arrow.png" alt="">
src="@/assets/images/arrow.png"
alt="">
</div> </div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/11.png" alt="">
src="https://huorantech.com/images/about/11.png"
alt="">
<div class="texts"> <div class="texts">
<p class="meta">2022-09-09 | Research</p> <p class="meta">2022-09-09 | Research</p>
<div class="des">IASF is driven to serve the Science and industry, and solve grand </div> <div class="des">IASF is driven to serve the Science and industry, and solve grand </div>
<img class="arrow" <img class="arrow" src="@/assets/images/arrow.png" alt="">
src="@/assets/images/arrow.png"
alt="">
</div> </div>
</li> </li>
</ul> </ul>
@ -100,67 +78,59 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[2].form.title }}</h2> <h2 class="b-title">{{ modules[2].form.title }}</h2>
<p class="intro">{{ modules[2].form.des }}</p> <p class="intro">{{ modules[2].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(2)">点击更换标题与描述</div>
@click="toSet(2)">点击更换标题与描述</div>
</div> </div>
<div class="shop-shows"> <div class="shop-shows">
<div class="left"> <div class="left">
<img width="100%" <img width="100%" height="400" src="https://huorantech.com/images/about/5.png" alt="">
height="400"
src="https://huorantech.com/images/about/5.png"
alt="">
<div class="texts"> <div class="texts">
<h6>2022 New Year Messag President Sun Dongbai.</h6> <h6>2022 New Year Messag President Sun Dongbai.</h6>
<div class="des">2021 is another challenging year for the Institute of Advanced Science Facilities, Shenzhen (IASF)</div> <div class="des">2021 is another challenging year for the Institute of Advanced Science Facilities,
Shenzhen
(IASF)</div>
</div> </div>
</div> </div>
<div class="right"> <div class="right">
<ul class="show-card"> <ul class="show-card">
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/9.png" alt="">
src="https://huorantech.com/images/about/9.png"
alt="">
<div class="des">Comprises the installation and nanostructuri</div> <div class="des">Comprises the installation and nanostructuri</div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/10.png" alt="">
src="https://huorantech.com/images/about/10.png"
alt="">
<div class="des">Prof. Stephan V. Roth's research</div> <div class="des">Prof. Stephan V. Roth's research</div>
</li> </li>
</ul> </ul>
<ul class="card-list"> <ul class="card-list">
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/9.png" alt="">
src="https://huorantech.com/images/about/9.png"
alt="">
<div class="texts"> <div class="texts">
<h6>Hold doctorates or the highest degree in their field</h6> <h6>Hold doctorates or the highest degree in their field</h6>
<div class="des">Characterization in Fibre and Polymer Technology, KTH Royal Institute of Technology.Characteriza Royal Institute of technology.</div> <div class="des">Characterization in Fibre and Polymer Technology, KTH Royal Institute of
Technology.Characteriza Royal Institute of technology.</div>
</div> </div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/10.png" alt="">
src="https://huorantech.com/images/about/10.png"
alt="">
<div class="texts"> <div class="texts">
<h6>This 2019 image depicted a Centers for Disease</h6> <h6>This 2019 image depicted a Centers for Disease</h6>
<div class="des">laboratory technician, dressed in personal protective equipment (PPE), in thelaboratory technician, dressed in personal in the</div> <div class="des">laboratory technician, dressed in personal protective equipment (PPE), in
thelaboratory
technician, dressed in personal in the</div>
</div> </div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/11.png" alt="">
src="https://huorantech.com/images/about/11.png"
alt="">
<div class="texts"> <div class="texts">
<h6>Browse premium related images on iStock</h6> <h6>Browse premium related images on iStock</h6>
<div class="des">which would undergo analysis, here, in this laboratory environment.which would undergo analysis, here, in this laboratory environment.</div> <div class="des">which would undergo analysis, here, in this laboratory environment.which would
undergo
analysis, here, in this laboratory environment.</div>
</div> </div>
</li> </li>
</ul> </ul>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(3)">关联栏目</div>
@click="toSet(3)">关联栏目</div>
</div> </div>
</div> </div>
</div> </div>
@ -170,15 +140,11 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[4].form.title }}</h2> <h2 class="b-title">{{ modules[4].form.title }}</h2>
<p class="intro">{{ modules[4].form.des }}</p> <p class="intro">{{ modules[4].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(4)">点击更换标题与描述</div>
@click="toSet(4)">点击更换标题与描述</div>
</div> </div>
<div class="shows"> <div class="shows">
<div class="left"> <div class="left">
<img width="100%" <img width="100%" height="558" src="https://huorantech.com/images/about/5.png" alt="">
height="558"
src="https://huorantech.com/images/about/5.png"
alt="">
<div class="texts"> <div class="texts">
<div class="meta"> <div class="meta">
<p class="date">09</p> <p class="date">09</p>
@ -186,127 +152,93 @@
</div> </div>
<div> <div>
<h6>Browse premium related images on iStock</h6> <h6>Browse premium related images on iStock</h6>
<div class="des">which would undergo analysis, here, in this laboratory environment.which would undergo analysis, here, in this laboratory environment.</div> <div class="des">which would undergo analysis, here, in this laboratory environment.which would
undergo
analysis, here, in this laboratory environment.</div>
</div> </div>
</div> </div>
</div> </div>
<ul class="card-list"> <ul class="card-list">
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/9.png" alt="">
src="https://huorantech.com/images/about/9.png"
alt="">
<div class="texts"> <div class="texts">
<h6>Professional technical Free electron laser device</h6> <h6>Professional technical Free electron laser device</h6>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Jiahang Shao Jiahang Shao
</p> </p>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Time: 2022.8.13 14:30 Time: 2022.8.13 14:30
</p> </p>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Address: Big conference room on the fourth floor of headquarters Address: Big conference room on the fourth floor of headquarters
</p> </p>
</div> </div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/9.png" alt="">
src="https://huorantech.com/images/about/9.png"
alt="">
<div class="texts"> <div class="texts">
<h6>Professional technical Free electron laser device</h6> <h6>Professional technical Free electron laser device</h6>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Jiahang Shao Jiahang Shao
</p> </p>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Time: 2022.8.13 14:30 Time: 2022.8.13 14:30
</p> </p>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Address: Big conference room on the fourth floor of headquarters Address: Big conference room on the fourth floor of headquarters
</p> </p>
</div> </div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/9.png" alt="">
src="https://huorantech.com/images/about/9.png"
alt="">
<div class="texts"> <div class="texts">
<h6>Professional technical Free electron laser device</h6> <h6>Professional technical Free electron laser device</h6>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Jiahang Shao Jiahang Shao
</p> </p>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Time: 2022.8.13 14:30 Time: 2022.8.13 14:30
</p> </p>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Address: Big conference room on the fourth floor of headquarters Address: Big conference room on the fourth floor of headquarters
</p> </p>
</div> </div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" src="https://huorantech.com/images/about/9.png" alt="">
src="https://huorantech.com/images/about/9.png"
alt="">
<div class="texts"> <div class="texts">
<h6>Professional technical Free electron laser device</h6> <h6>Professional technical Free electron laser device</h6>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Jiahang Shao Jiahang Shao
</p> </p>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Time: 2022.8.13 14:30 Time: 2022.8.13 14:30
</p> </p>
<p class="text"> <p class="text">
<img class="icon" <img class="icon" src="@/assets/images/address.png" alt="">
src="@/assets/images/address.png"
alt="">
Address: Big conference room on the fourth floor of headquarters Address: Big conference room on the fourth floor of headquarters
</p> </p>
</div> </div>
</li> </li>
</ul> </ul>
<div class="cover" <div class="cover" @click="toSet(5)">关联栏目</div>
@click="toSet(5)">关联栏目</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -347,25 +279,7 @@ export default {
active: '' active: ''
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'NEWS&EVENTS'
}
])
},
methods: { methods: {
} }
@ -374,248 +288,299 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 14px 0px rgba(167, 167, 167, 0.26); box-shadow: 0px 2px 14px 0px rgba(167, 167, 167, 0.26);
li {
position: relative; li {
min-width: 100px; position: relative;
padding: 25px 19px; min-width: 100px;
margin: 0 10px; padding: 25px 19px;
font-size: 22px; margin: 0 10px;
color: #333; font-size: 22px;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.news-banner { .news-banner {
display: flex; display: flex;
height: auto; height: auto;
.pic {
width: 700px; .pic {
height: 380px; width: 700px;
height: 380px;
}
.right {
padding: 50px 50px 30px;
background: #1583ff;
color: #fff;
}
h6 {
font-size: 24px;
}
.des {
margin: 30px 0;
font-size: 16px;
line-height: 24px;
}
.meta {
font-size: 16px;
}
}
.card {
display: flex;
margin-top: 40px;
li {
width: 448px;
margin-right: 28px;
box-shadow: 0px 0px 20px 0px rgba(176, 176, 176, 0.21);
border-radius: 6px;
cursor: pointer;
&:last-child {
margin-right: 0;
} }
.right { }
padding: 50px 50px 30px;
background: #1583ff; .pic {
color: #fff; width: 100%;
height: 240px;
}
.texts {
padding: 40px 30px;
}
.meta {
font-size: 16px;
color: #666;
}
.des {
margin: 10px 0;
font-size: 20px;
color: #333;
line-height: 28px;
}
.arrow {
width: 36px;
}
}
.more {
width: 374px;
margin: 58px auto 0;
line-height: 64px;
font-size: 30px;
text-align: center;
color: #1583ff;
border-radius: 35px;
border: 2px solid #2b6cef;
cursor: pointer;
}
.shop-shows {
position: relative;
display: flex;
.left {
width: 660px;
margin-right: 20px;
background-color: #fff;
.texts {
padding: 40px 30px;
} }
h6 { h6 {
font-size: 24px; font-size: 24px;
color: #272727;
} }
.des { .des {
margin: 30px 0; margin-top: 10px;
font-size: 16px; font-size: 16px;
line-height: 24px; color: #666;
} line-height: 30px;
.meta {
font-size: 16px;
} }
} }
.card {
.right {
width: 824px;
}
.show-card {
display: flex; display: flex;
margin-top: 40px; margin-bottom: 20px;
li { li {
width: 448px; position: relative;
margin-right: 28px;
box-shadow: 0px 0px 20px 0px rgba(176, 176, 176, 0.21); &:first-child {
border-radius: 6px; margin-right: 22px;
cursor: pointer; }
&:last-child {
margin-right: 0;
}
} }
.pic { .pic {
width: 100%; width: 401px;
height: 240px; height: 197px;
} }
.texts {
padding: 40px 30px; .des {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
font-size: 16px;
color: #fff;
line-height: 48px;
text-align: center;
background: rgba(0, 0, 0, 0.49);
box-shadow: 0px 0px 30px 0px rgba(48, 48, 48, 0.08);
} }
.meta { }
font-size: 16px;
color: #666; .card-list {
padding: 34px 26px;
background-color: #fff;
li {
display: inline-flex;
padding-right: 124px;
margin-bottom: 38px;
background: url(../../../assets/images/arrow.png) (right 20px)/ (23px 23px) no-repeat;
&:last-child {
margin-bottom: 0;
}
} }
.des {
margin: 10px 0; .pic {
font-size: 20px; width: 116px;
color: #333; height: 85px;
line-height: 28px; margin-right: 28px;
}
h6 {
font-size: 20px;
color: #272727;
} }
.arrow {
width: 36px; .des {
margin-top: 15px;
font-size: 14px;
color: #666;
line-height: 24px;
} }
}
} }
.more {
width: 374px; .conference {
margin: 58px auto 0; background: #072947;
line-height: 64px;
font-size: 30px; .b-title,
text-align: center; .intro {
color: #1583ff; color: #fff;
border-radius: 35px; }
border: 2px solid #2b6cef;
cursor: pointer; .shows {
}
.shop-shows {
position: relative; position: relative;
display: flex; display: flex;
.left { }
width: 660px;
margin-right: 20px; .left {
background-color: #fff; width: 688px;
.texts { margin-right: 20px;
padding: 40px 30px; background-color: #fff;
}
h6 { .texts {
font-size: 24px; display: flex;
color: #272727; padding: 40px 30px;
}
.des {
margin-top: 10px;
font-size: 16px;
color: #666;
line-height: 30px;
}
} }
.right {
width: 824px; .meta {
padding: 10px 23px 10px 0;
margin-right: 32px;
text-align: center;
border-right: 1px solid #ddd;
} }
.show-card {
display: flex; .date {
margin-bottom: 20px; font-size: 45px;
li { font-family: DINAlternate-Bold, DINAlternate;
position: relative; font-weight: bold;
&:first-child { color: #1f1f1f;
margin-right: 22px; line-height: 52px;
}
}
.pic {
width: 401px;
height: 197px;
}
.des {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
font-size: 16px;
color: #fff;
line-height: 48px;
text-align: center;
background: rgba(0, 0, 0, 0.49);
box-shadow: 0px 0px 30px 0px rgba(48, 48, 48, 0.08);
}
} }
.card-list {
padding: 34px 26px; .year {
background-color: #fff; font-size: 16px;
li { white-space: nowrap;
display: inline-flex; color: #666;
padding-right: 124px;
margin-bottom: 38px;
background: url(../../../assets/images/arrow.png) (right 20px)/ (23px 23px) no-repeat;
&:last-child {
margin-bottom: 0;
}
}
.pic {
width: 116px;
height: 85px;
margin-right: 28px;
}
h6 {
font-size: 20px;
color: #272727;
}
.des {
margin-top: 15px;
font-size: 14px;
color: #666;
line-height: 24px;
}
} }
}
.conference { h6 {
background: #072947; font-size: 20px;
.b-title, color: #272727;
.intro {
color: #fff;
} }
.shows {
position: relative; .des {
display: flex; margin-top: 10px;
font-size: 14px;
color: #666;
line-height: 24px;
} }
.left { }
width: 688px;
margin-right: 20px; .card-list {
background-color: #fff; width: 784px;
.texts {
display: flex; li {
padding: 40px 30px; display: flex;
} padding: 24px;
.meta { margin-bottom: 13px;
padding: 10px 23px 10px 0; background-color: #fff;
margin-right: 32px;
text-align: center;
border-right: 1px solid #ddd;
}
.date {
font-size: 45px;
font-family: DINAlternate-Bold, DINAlternate;
font-weight: bold;
color: #1f1f1f;
line-height: 52px;
}
.year {
font-size: 16px;
white-space: nowrap;
color: #666;
}
h6 {
font-size: 20px;
color: #272727;
}
.des {
margin-top: 10px;
font-size: 14px;
color: #666;
line-height: 24px;
}
} }
.card-list {
width: 784px; .pic {
li { width: 188px;
display: flex; height: 130px;
padding: 24px; margin-right: 28px;
margin-bottom: 13px;
background-color: #fff;
}
.pic {
width: 188px;
height: 130px;
margin-right: 28px;
}
h6 {
margin-bottom: 10px;
font-size: 20px;
color: #333;
}
.text {
display: flex;
align-items: center;
margin: 10px 0;
}
.icon {
width: 15px;
margin-right: 12px;
}
} }
h6 {
margin-bottom: 10px;
font-size: 20px;
color: #333;
}
.text {
display: flex;
align-items: center;
margin: 10px 0;
}
.icon {
width: 15px;
margin-right: 12px;
}
}
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/NEWS&EVENTS-PRESS ROOM</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -12,7 +12,8 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> <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"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt=""> <img width="100%" height="100%" :src="item.pic" alt="">
@ -51,30 +52,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.newsPress modules: Modules.newsPress
} }
}, },
mounted() { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'NEWS&EVENTS-PRESS ROOM'
}
])
},
methods: { methods: {
} }
@ -83,21 +66,26 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import "../../../styles/page/page.scss";
.list { .list {
li { li {
position: relative; position: relative;
&:nth-child(even) { &:nth-child(even) {
text-align: right; text-align: right;
.texts { .texts {
left: 0; left: 0;
text-align: left; text-align: left;
} }
} }
} }
.pic { .pic {
width: 650px; width: 650px;
height: 730px; height: 730px;
} }
.texts { .texts {
position: absolute; position: absolute;
top: 120px; top: 120px;
@ -107,16 +95,19 @@ export default {
padding: 60px 30px 30px 100px; padding: 60px 30px 30px 100px;
background: rgba(247, 247, 247, .72); background: rgba(247, 247, 247, .72);
} }
h6 { h6 {
font-size: 40px; font-size: 40px;
color: #3C3C3C; color: #3C3C3C;
} }
.sub { .sub {
margin: 20px 0; margin: 20px 0;
font-size: 24px; font-size: 24px;
color: #1C1C1C; color: #1C1C1C;
line-height: 33px; line-height: 33px;
} }
.des { .des {
margin-bottom: 20px; margin-bottom: 20px;
font-size: 20px; font-size: 20px;

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/NEWS&EVENTS-PROCUREMENT</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -12,7 +12,8 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> <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"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt=""> <img width="100%" height="100%" :src="item.pic" alt="">
@ -51,30 +52,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.newsProcurement modules: Modules.newsProcurement
} }
}, },
mounted() { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'NEWS&EVENTS-PROCUREMENT'
}
])
},
methods: { methods: {
} }
@ -83,21 +66,26 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import "../../../styles/page/page.scss";
.list { .list {
li { li {
position: relative; position: relative;
&:nth-child(even) { &:nth-child(even) {
text-align: right; text-align: right;
.texts { .texts {
left: 0; left: 0;
text-align: left; text-align: left;
} }
} }
} }
.pic { .pic {
width: 650px; width: 650px;
height: 730px; height: 730px;
} }
.texts { .texts {
position: absolute; position: absolute;
top: 120px; top: 120px;
@ -107,16 +95,19 @@ export default {
padding: 60px 30px 30px 100px; padding: 60px 30px 30px 100px;
background: rgba(247, 247, 247, .72); background: rgba(247, 247, 247, .72);
} }
h6 { h6 {
font-size: 40px; font-size: 40px;
color: #3C3C3C; color: #3C3C3C;
} }
.sub { .sub {
margin: 20px 0; margin: 20px 0;
font-size: 24px; font-size: 24px;
color: #1C1C1C; color: #1C1C1C;
line-height: 33px; line-height: 33px;
} }
.des { .des {
margin-bottom: 20px; margin-bottom: 20px;
font-size: 20px; font-size: 20px;

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-组织架构</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,45 +13,31 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="tab-content"> <div class="tab-content">
<div class="org c-wrap"> <div class="org c-wrap">
<div class="left"> <div class="left">
<h6>{{ modules[1].form.title }}</h6> <h6>{{ modules[1].form.title }}</h6>
<p class="text" <p class="text" v-html="modules[1].form.des"></p>
v-html="modules[1].form.des"></p>
</div> </div>
<img class="pic" <img class="pic" src="https://huorantech.com/images/overviewSetup/1.png" alt="">
src="https://huorantech.com/images/overviewSetup/1.png" <div class="cover" style="min-height: 300px;" @click="toSet(1)">点击更换标题与描述</div>
alt="">
<div class="cover"
style="min-height: 300px;"
@click="toSet(1)">点击更换标题与描述</div>
</div> </div>
<div class="lg-bg"> <div class="lg-bg">
<img width="100%" <img width="100%" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic" <div class="cover" @click="toSet(2)">点击更换图片</div>
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -67,25 +51,7 @@ export default {
modules: Modules.org modules: Modules.org
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于IASF-组织架构'
}
])
},
methods: { methods: {
} }
@ -94,41 +60,48 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.tab-content { .tab-content {
padding: 77px 0; padding: 77px 0;
} }
.org { .org {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
width: 1294px; width: 1294px;
padding: 9px 86px 29px 116px; padding: 9px 86px 29px 116px;
margin: 0 auto 50px; margin: 0 auto 50px;
background: #fcfcfc; background: #fcfcfc;
border-radius: 160px; border-radius: 160px;
.left {
width: 705px; .left {
} width: 705px;
h6 { }
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi; h6 {
font-weight: bold; font-size: 1.4rem;
color: #333; font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
} font-weight: bold;
.text { color: #333;
margin-top: 10px; }
font-size: 1rem;
color: #020202; .text {
line-height: 2rem; margin-top: 10px;
} font-size: 1rem;
.pic { color: #020202;
width: 320px; line-height: 2rem;
height: 282px; }
}
.pic {
width: 320px;
height: 282px;
}
} }
.lg-bg { .lg-bg {
position: relative; position: relative;
width: 85%; width: 85%;
margin: 0 auto; margin: 0 auto;
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-研究院概况</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,65 +13,47 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="" />
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block history gray"> <div class="block history gray">
<div class="inner c-wrap"> <div class="inner c-wrap">
<div class="texts wow fadeInDown" <div class="texts wow fadeInDown" data-wow-delay="0.5s">
data-wow-delay="0.5s">
<div class="left"> <div class="left">
<h2 v-html="modules[1].form.title"></h2> <h2 v-html="modules[1].form.title"></h2>
<div class="line"></div> <div class="line"></div>
<div class="des" <div class="des" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div>
</div> </div>
<img class="bg" <img class="bg" width="562" height="506" :src="modules[1].form.pic" alt="">
width="562"
height="506"
:src="modules[1].form.pic"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(1)">点击更改图片标题概述与链接</div>
@click="toSet(1)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
<div class="block"> <div class="block">
<div class="inner"> <div class="inner">
<div class="core"> <div class="core">
<img :src="modules[2].form.pic" <img :src="modules[2].form.pic" alt="" class="pic">
alt=""
class="pic">
<div class="texts"> <div class="texts">
<h6>{{ modules[2].form.title }}</h6> <div class="core-title" v-html="modules[2].form.title"></div>
<div class="line"></div> <div class="line"></div>
<div class="text" <div class="text" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(2)">点击更换图片标题描述与链接</div>
@click="toSet(2)">点击更换图片标题描述与链接</div>
</div> </div>
<div class="core"> <div class="core">
<img :src="modules[3].form.pic" <img :src="modules[3].form.pic" alt="" class="pic">
alt=""
class="pic">
<div class="texts"> <div class="texts">
<h6>{{ modules[3].form.title }}</h6> <div class="core-title" v-html="modules[3].form.title"></div>
<div class="line"></div> <div class="line"></div>
<div class="text" <div class="text" v-html="modules[3].form.des"></div>
v-html="modules[3].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(3)">点击更换图片标题描述与链接</div>
@click="toSet(3)">点击更换图片标题描述与链接</div>
</div> </div>
</div> </div>
</div> </div>
@ -83,49 +63,34 @@
<div class="event"> <div class="event">
<h6 v-html="modules[4].form.title"></h6> <h6 v-html="modules[4].form.title"></h6>
<p class="en">{{ modules[4].form.subTitle }}</p> <p class="en">{{ modules[4].form.subTitle }}</p>
<div class="text" <div class="text" v-html="modules[4].form.des"></div>
v-html="modules[4].form.des"></div> <img src="@/assets/images/arrow.png" alt="">
<img src="@/assets/images/arrow.png" <div class="cover" @click="toSet(4)">点击更换标题小标题描述与链接</div>
alt="">
<div class="cover"
@click="toSet(4)">点击更换标题小标题描述与链接</div>
</div> </div>
<ul class="l-card"> <ul class="l-card">
<li> <li>
<img :src="modules[5].form.pic" <img :src="modules[5].form.pic" alt="" class="pic" />
alt=""
class="pic" />
<div class="texts"> <div class="texts">
<h6>{{ modules[5].form.title }}</h6> <h6>{{ modules[5].form.title }}</h6>
<div class="text" <div class="text" v-html="modules[5].form.des"></div>
v-html="modules[5].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(5)">点击更换图片标题描述与链接</div>
@click="toSet(5)">点击更换图片标题描述与链接</div>
</li> </li>
<li> <li>
<img :src="modules[6].form.pic" <img :src="modules[6].form.pic" alt="" class="pic" />
alt=""
class="pic" />
<div class="texts"> <div class="texts">
<h6>{{ modules[6].form.title }}</h6> <h6>{{ modules[6].form.title }}</h6>
<div class="text" <div class="text" v-html="modules[6].form.des"></div>
v-html="modules[6].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(6)">点击更换图片标题描述与链接</div>
@click="toSet(6)">点击更换图片标题描述与链接</div>
</li> </li>
<li> <li>
<img :src="modules[7].form.pic" <img :src="modules[7].form.pic" alt="" class="pic" />
alt=""
class="pic" />
<div class="texts"> <div class="texts">
<h6>{{ modules[7].form.title }}</h6> <h6>{{ modules[7].form.title }}</h6>
<div class="text" <div class="text" v-html="modules[7].form.des"></div>
v-html="modules[7].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(7)">点击更换图片标题描述与链接</div>
@click="toSet(7)">点击更换图片标题描述与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -133,68 +98,48 @@
<div class="block scan gray"> <div class="block scan gray">
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title" <h2 class="b-title" v-html="modules[8].form.title"></h2>
v-html="modules[8].form.title"></h2>
<p class="intro">{{ modules[8].form.des }}</p> <p class="intro">{{ modules[8].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(8)">点击更换标题与描述</div>
@click="toSet(8)">点击更换标题与描述</div>
</div> </div>
<div class="scan-inner"> <div class="scan-inner">
<div class="left"> <div class="left">
<div class="c-wrap"> <div class="c-wrap">
<template v-for="(item, i) in modules[9].list"> <template v-for="(item, i) in modules[9].list">
<div v-if="item.isEnable" <div v-if="item.isEnable" class="line" :key="i">
class="line" <img v-if="item.pic" :src="item.pic" alt="" class="icon">
:key="i">
<img v-if="item.pic"
:src="item.pic"
alt=""
class="icon">
<p class="text">{{ item.title }}</p> <p class="text">{{ item.title }}</p>
</div> </div>
</template> </template>
<div class="cover" <div class="cover" @click="toSet(9)">点击更换标题</div>
@click="toSet(9)">点击更换标题</div>
</div> </div>
<ul class="total"> <ul class="total">
<li> <li>
<p class="num">{{ modules[10].form.title }}</p> <p class="num">{{ modules[10].form.title }}</p>
<p class="text">{{ modules[10].form.des }}</p> <p class="text">{{ modules[10].form.des }}</p>
<div class="cover" <div class="cover" style="width: 100px;" @click="toSet(10)">标题描述</div>
style="width: 100px;"
@click="toSet(10)">标题描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[11].form.title }}</p> <p class="num">{{ modules[11].form.title }}</p>
<p class="text">{{ modules[11].form.des }}</p> <p class="text">{{ modules[11].form.des }}</p>
<div class="cover" <div class="cover" style="width: 100px;" @click="toSet(11)">标题描述</div>
style="width: 100px;"
@click="toSet(11)">标题描述</div>
</li> </li>
<li> <li>
<p class="num">{{ modules[12].form.title }}</p> <p class="num">{{ modules[12].form.title }}</p>
<p class="text">{{ modules[12].form.des }}</p> <p class="text">{{ modules[12].form.des }}</p>
<div class="cover" <div class="cover" style="width: 100px;" @click="toSet(12)">标题描述</div>
style="width: 100px;"
@click="toSet(12)">标题描述</div>
</li> </li>
</ul> </ul>
</div> </div>
<div class="c-wrap"> <div class="c-wrap">
<img :src="modules[13].form.pic" <img :src="modules[13].form.pic" alt="" class="pic" />
alt="" <div class="cover" @click="toSet(13)">点击更换图片</div>
class="pic" />
<div class="cover"
@click="toSet(13)">点击更换图片</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -208,25 +153,7 @@ export default {
modules: Modules.overview modules: Modules.overview
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于IASF-研究院概况'
}
])
},
methods: { methods: {
} }
@ -235,189 +162,224 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.history { .history {
h2 { h2 {
font-size: 1rem; font-size: 1rem;
color: #333; color: #333;
}
.texts {
display: flex;
justify-content: space-between;
padding: 5.125rem 3.5625rem 1.875rem;
margin-top: 20px;
background-color: #fff;
border-radius: 6.25rem 0px 0px 0px;
transition: 0.3s;
&:hover {
transform: scale(1.05);
} }
}
.left {
width: 43.4375rem;
}
.line {
width: 53px;
height: 3px;
margin: 18px 0;
background: #0280f1;
}
.des {
font-size: 0.9rem;
color: #181818;
line-height: 31px;
-webkit-line-clamp: 6;
}
.bg {
margin: -122px 0 0 0;
border-top-right-radius: 40px;
}
}
.core {
position: relative;
height: 370px;
margin-bottom: 40px;
&:last-child {
.texts { .texts {
display: flex; left: 40px;
justify-content: space-between; right: auto;
padding: 5.125rem 3.5625rem 1.875rem;
margin-top: 20px;
background-color: #fff;
border-radius: 6.25rem 0px 0px 0px;
transition: 0.3s;
&:hover {
transform: scale(1.05);
}
} }
.left { }
width: 43.4375rem;
} .pic {
.line { width: 100%;
width: 53px; height: 100%;
height: 3px; }
margin: 18px 0;
background: #0280f1; .texts {
position: absolute;
top: 80px;
right: 40px;
width: 500px;
color: #fff;
}
.core-title {
font-size: 1.4rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.line {
width: 136px;
height: 3px;
margin: 20px 0;
background: #ffffff;
opacity: 0.56;
}
.text {
font-size: 1rem;
line-height: 1.6;
}
}
.fac {
.event {
position: relative;
padding: 70px 250px 70px 60px;
background: url(https://huorantech.com/images/overview/16.png) 0 0/100% no-repeat;
h6 {
font-size: 2.2rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
} }
.des {
font-size: 0.9rem; .en {
color: #181818; margin-top: -10px;
line-height: 31px; font-size: 2rem;
-webkit-line-clamp: 6; font-family: AppleSystemUIFont;
color: #e4e4e4;
} }
.bg {
margin: -122px 0 0 0; .text {
border-top-right-radius: 40px; margin: 15px 0;
font-size: 1rem;
color: #333;
} }
} }
.core {
position: relative; .l-card {
height: 370px; display: flex;
margin-bottom: 40px; margin-top: 20px;
&:last-child {
.texts { li {
left: 40px; position: relative;
right: auto; width: calc((100% - 40px) / 3);
} height: 380px;
margin-right: 20px;
&:last-child {
margin-right: 0;
}
} }
.pic { .pic {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.texts { .texts {
position: absolute; position: absolute;
top: 80px; top: 0;
right: 40px; left: 0;
width: 500px; width: 100%;
color: #fff; height: 100%;
padding: 140px 30px 0;
color: #fff;
background-color: rgba(0, 0, 0, 0.5);
} }
h6 { h6 {
font-size: 1.4rem; margin-bottom: 15px;
font-family: PingFangSC-Medium, PingFang SC; font-size: 2rem;
} font-family: PingFangSC-Medium, PingFang SC;
.line {
width: 136px;
height: 3px;
margin: 20px 0;
background: #ffffff;
opacity: 0.56;
} }
.text { .text {
font-size: 1rem; font-size: 1rem;
line-height: 1.6; font-family: PingFangSC-Medium, PingFang SC;
} line-height: 2;
} @include mul-ellipsis(4);
.fac {
.event {
position: relative;
padding: 70px 250px 70px 60px;
background: url(https://huorantech.com/images/overview/16.png) 0 0/100% no-repeat;
h6 {
font-size: 2.2rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
}
.en {
margin-top: -10px;
font-size: 2rem;
font-family: AppleSystemUIFont;
color: #e4e4e4;
}
.text {
margin: 15px 0;
font-size: 1rem;
color: #333;
}
}
.l-card {
display: flex;
margin-top: 20px;
li {
position: relative;
width: calc((100% - 40px) / 3);
height: 380px;
margin-right: 20px;
&:last-child {
margin-right: 0;
}
}
.pic {
width: 100%;
height: 100%;
}
.texts {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 140px 30px 0;
color: #fff;
background-color: rgba(0, 0, 0, 0.5);
}
h6 {
margin-bottom: 15px;
font-size: 2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.text {
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
line-height: 2;
@include mul-ellipsis(4);
}
} }
}
} }
.scan { .scan {
.scan-inner { .scan-inner {
display: flex; display: flex;
padding-left: 20%; padding-left: 20%;
}
.left {
width: 30%;
margin-right: 80px;
}
.line {
display: flex;
align-items: center;
margin-bottom: 30px;
.icon {
width: 50px;
height: 50px;
margin-right: 20px;
} }
.left {
width: 30%; .text {
margin-right: 80px; font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
line-height: 2;
@include mul-ellipsis(2);
} }
.line { }
display: flex;
align-items: center; .total {
margin-bottom: 30px; display: flex;
.icon { justify-content: space-between;
width: 50px; margin-top: 50px;
height: 50px;
margin-right: 20px; li {
} position: relative;
.text {
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #333;
line-height: 2;
@include mul-ellipsis(2);
}
} }
.total {
display: flex; .num {
justify-content: space-between; margin-bottom: 10px;
margin-top: 50px; font-size: 2rem;
li { font-family: ToppanBunkyuMidashiMinchoStdN-ExtraBold, ToppanBunkyuMidashiMinchoStdN;
position: relative; font-weight: 800;
} color: #1583ff;
.num {
margin-bottom: 10px;
font-size: 2rem;
font-family: ToppanBunkyuMidashiMinchoStdN-ExtraBold, ToppanBunkyuMidashiMinchoStdN;
font-weight: 800;
color: #1583ff;
}
.text {
font-size: 1rem;
color: #333;
}
} }
.pic {
width: 70%; .text {
height: 700px; font-size: 1rem;
color: #333;
} }
}
.pic {
width: 70%;
height: 700px;
}
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/SFEL-概况-发展历程</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,76 +13,57 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
<div class="block history"> <div class="block history">
<div class="inner"> <div class="inner">
<div class="c-wrap"> <div class="c-wrap">
<h2 class="wow fadeInLeft" <h2 class="wow fadeInLeft" v-html="modules[1].form.title"></h2>
v-html="modules[1].form.title"></h2>
<p class="en">{{ modules[1].form.des }}</p> <p class="en">{{ modules[1].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(1)">点击更换标题与描述</div>
@click="toSet(1)">点击更换标题与描述</div>
</div> </div>
<div class="c-wrap"> <div class="c-wrap">
<div v-if="modules[2].list.length" <div v-if="modules[2].list.length" class="event">
class="event">
<ul class="time"> <ul class="time">
<template v-for="(item, i) in modules[2].list"> <template v-for="(item, i) in modules[2].list">
<li v-if="item.isEnable" <li v-if="item.isEnable" :key="i" :class="{ active: curYear == i }">{{ item.title }}</li>
:key="i"
:class="{active: curYear == i}">{{ item.title }}</li>
</template> </template>
</ul> </ul>
<div class="right"> <div class="right">
<h6 class="year">{{ modules[2].list[curYear].title }}</h6> <h6 class="year">{{ modules[2].list[curYear].title }}</h6>
<ul class="list"> <ul class="list">
<template v-for="(e, j) in modules[2].list[curYear].list"> <template v-for="(e, j) in modules[2].list[curYear].list">
<li v-if="e.isEnable" <li v-if="e.isEnable" :key="j">
:key="j">
<div class="texts"> <div class="texts">
<p class="date">{{ e.title }}</p> <p class="date">{{ e.title }}</p>
<p class="text">{{ e.des }}</p> <p class="text">{{ e.des }}</p>
</div> </div>
<img v-if="e.pic" <img v-if="e.pic" :src="e.pic" alt="" class="pic">
:src="e.pic"
alt=""
class="pic">
</li> </li>
</template> </template>
</ul> </ul>
</div> </div>
</div> </div>
<div class="cover" <div class="cover" style="min-height: 300px;" @click="toSet(2)">点击配置历程</div>
style="min-height: 300px;"
@click="toSet(2)">点击配置历程</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -101,25 +80,7 @@ export default {
curYear: 0 curYear: 0
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-发展历程'
}
])
},
methods: { methods: {
// tab // tab
tabChange (i) { tabChange (i) {
@ -131,127 +92,147 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background: url(https://huorantech.com/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat, background: url(https://huorantech.com/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(https://huorantech.com/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat; url(https://huorantech.com/images/overviewDevHistory/2.png) (left bottom) / auto no-repeat;
background-color: #fff; background-color: #fff;
} }
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px; li {
margin: 0 10px; padding: 25px 19px;
font-size: 1.1rem; margin: 0 10px;
color: #333; font-size: 1.1rem;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.history { .history {
h2 { h2 {
position: relative; position: relative;
font-size: 2.2rem; font-size: 2.2rem;
font-family: PingFangSC-Semibold, PingFang SC; font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600; font-weight: 600;
color: #1c1c1c; color: #1c1c1c;
} }
.en {
margin: -15px 0 40px; .en {
font-size: 2.2rem; margin: -15px 0 40px;
font-family: PingFangSC-Light, PingFang SC; font-size: 2.2rem;
font-weight: 300; font-family: PingFangSC-Light, PingFang SC;
color: #e3e3e3; font-weight: 300;
} color: #e3e3e3;
}
} }
.event { .event {
display: flex; display: flex;
justify-content: center; justify-content: center;
.time {
width: 200px; .time {
padding-right: 10px; width: 200px;
margin-right: 20px; padding-right: 10px;
border-right: 1px solid #ddd; margin-right: 20px;
li { border-right: 1px solid #ddd;
display: flex;
justify-content: flex-end; li {
align-items: center; display: flex;
width: 190px; justify-content: flex-end;
padding-right: 45px; align-items: center;
line-height: 60px; width: 190px;
font-size: 1.4rem; padding-right: 45px;
font-weight: 600; line-height: 60px;
font-family: SFProDisplay-Semibold, SFProDisplay; font-size: 1.4rem;
color: #666; font-weight: 600;
box-shadow: inset 0px -1px 0px 0px #dddddd; font-family: SFProDisplay-Semibold, SFProDisplay;
cursor: pointer; color: #666;
&.active { box-shadow: inset 0px -1px 0px 0px #dddddd;
font-weight: 800; cursor: pointer;
color: #1a81f4;
background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%); &.active {
&:before { font-weight: 800;
content: ''; color: #1a81f4;
width: 18px; background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%);
height: 18px;
background: url(https://huorantech.com/images/overviewDevHistory/3.png) no-repeat; &:before {
margin-right: 20px; content: '';
} width: 18px;
} height: 18px;
background: url(https://huorantech.com/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
} }
}
} }
.right { }
width: 900px;
.right {
width: 900px;
}
.year {
margin: 0 0 20px 20px;
font-size: 3.8rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1a81f4;
}
.list {
border-top: 1px solid #ddd;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 1px solid #ddd;
} }
.year {
margin: 0 0 20px 20px; .texts {
font-size: 3.8rem; width: 500px;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1a81f4;
} }
.list {
border-top: 1px solid #ddd; .date {
li { margin-bottom: 15px;
display: flex; font-size: 1.2rem;
justify-content: space-between; font-family: PingFangSC-Semibold, PingFang SC;
align-items: center; font-weight: 600;
padding: 30px; color: #333;
border-bottom: 1px solid #ddd; }
}
.texts { .text {
width: 500px; font-size: 1.1rem;
} color: #333;
.date { @include mul-ellipsis(3);
margin-bottom: 15px;
font-size: 1.2rem; &:before {
font-family: PingFangSC-Semibold, PingFang SC; content: '';
font-weight: 600; display: inline-block;
color: #333; width: 7px;
} height: 7px;
.text { margin: 0 10px;
font-size: 1.1rem; background-color: #666;
color: #333; transform: rotate(45deg);
@include mul-ellipsis(3); }
&:before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
}
.pic {
width: 350px;
height: 195px;
}
} }
.pic {
width: 350px;
height: 195px;
}
}
} }
</style> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/SFEL-概况-S³FEL介绍</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,62 +13,45 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
<div class="intro c-wrap"> <div class="intro c-wrap">
<img class="pic" <img class="pic" :src="modules[1].form.pic" alt="">
:src="modules[1].form.pic"
alt="">
<div class="right"> <div class="right">
<div class="relative"> <div class="relative">
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<img class="title-bg" <img class="title-bg" src="https://huorantech.com/images/overviewIntro/2.png" alt="">
src="https://huorantech.com/images/overviewIntro/2.png"
alt="">
</div> </div>
<div class="text" <div class="text" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" style="min-height: 300px;" @click="toSet(1)">点击更换图片标题与描述</div>
style="min-height: 300px;"
@click="toSet(1)">点击更换图片标题与描述</div>
</div> </div>
<div class="intro-bg"> <div class="intro-bg">
<div class="mask"></div> <div class="mask"></div>
<div class="texts"> <div class="texts">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="des" <div class="des" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(2)">点击更换标题与描述</div>
@click="toSet(2)">点击更换标题与描述</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -86,25 +67,7 @@ export default {
tabs: ['S³FEL介绍'] tabs: ['S³FEL介绍']
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-介绍'
}
])
},
methods: { methods: {
// tab // tab
tabChange (i) { tabChange (i) {
@ -116,102 +79,122 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background: url(../../../assets/images/survey2.png) (bottom right) / auto no-repeat; background: url(../../../assets/images/survey2.png) (bottom right) / auto no-repeat;
} }
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px; li {
margin: 0 10px; padding: 25px 19px;
font-size: 1.1rem; margin: 0 10px;
color: #333; font-size: 1.1rem;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.tab-content { .tab-content {
padding-top: 150px; padding-top: 150px;
.intro {
display: flex; .intro {
margin-bottom: 110px; display: flex;
.pic { margin-bottom: 110px;
width: 600px;
margin-right: 50px; .pic {
} width: 600px;
.right { margin-right: 50px;
width: 600px;
}
h6 {
position: relative;
font-size: 1.2rem;
color: #333;
}
.title-bg {
position: absolute;
top: -40px;
left: -20px;
}
.text {
margin-top: 40px;
font-size: 1rem;
color: #020202;
line-height: 2;
}
} }
.intro-bg {
position: relative; .right {
height: 275px; width: 600px;
padding-top: 90px; }
color: #fff;
text-align: center; h6 {
background: url(https://huorantech.com/images/overviewIntro/3.png) 0 0/100% 100% no-repeat; position: relative;
.mask { font-size: 1.2rem;
position: absolute; color: #333;
top: 0; }
right: 0;
bottom: 0; .title-bg {
left: 0; position: absolute;
content: ''; top: -40px;
background-color: rgba(0, 0, 0, 0.3); left: -20px;
} }
.texts {
position: relative; .text {
} margin-top: 40px;
h6 { font-size: 1rem;
margin-bottom: 30px; color: #020202;
font-size: 2rem; line-height: 2;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
}
.des {
font-size: 1.5rem;
}
} }
}
.intro-bg {
position: relative;
height: 275px;
padding-top: 90px;
color: #fff;
text-align: center;
background: url(https://huorantech.com/images/overviewIntro/3.png) 0 0/100% 100% no-repeat;
.mask {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
content: '';
background-color: rgba(0, 0, 0, 0.3);
}
.texts {
position: relative;
}
h6 {
margin-bottom: 30px;
font-size: 2rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
}
.des {
font-size: 1.5rem;
}
}
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.tabs { .tabs {
overflow: hidden; overflow: hidden;
overflow-x: auto; overflow-x: auto;
white-space: normal; white-space: normal;
justify-content: normal; justify-content: normal;
display: -webkit-box; display: -webkit-box;
li {
white-space: normal; li {
} white-space: normal;
} }
.tab-content { }
width: 90%;
span { .tab-content {
font-size: 1.35rem; width: 90%;
}
span {
font-size: 1.35rem;
} }
}
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/SFEL-概况-地理位置</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -23,7 +23,7 @@
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li> <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
@ -44,35 +44,17 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.overviewLocation, modules: Modules.overviewLocation,
active: 0, active: 0,
tabs: ['地理位置'] tabs: ['地理位置']
} }
}, },
mounted() { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-地理位置'
}
])
},
methods: { methods: {
// tab // tab
tabChange(i) { tabChange (i) {
this.active = i this.active = i
}, },
} }
@ -81,37 +63,44 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import "../../../styles/page/page.scss";
.wrap { .wrap {
background: url(../../../assets/images/survey1.png) (0 559px)/auto no-repeat, background: url(../../../assets/images/survey1.png) (0 559px)/auto no-repeat,
url(../../../assets/images/survey2.png) (bottom right)/auto no-repeat; url(../../../assets/images/survey2.png) (bottom right)/auto no-repeat;
} }
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li { li {
padding: 25px 19px; padding: 25px 19px;
margin: 0 10px; margin: 0 10px;
font-size: 22px; font-size: 22px;
color: #333; color: #333;
border-bottom: 4px solid transparent; border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26); text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer; cursor: pointer;
&.active { &.active {
color: #1583FF; color: #1583FF;
border-bottom-color: #1583FF; border-bottom-color: #1583FF;
} }
} }
} }
.tab-content { .tab-content {
width: 1000px; width: 1000px;
padding: 77px 0; padding: 77px 0;
margin: 0 auto; margin: 0 auto;
} }
.video { .video {
width: 100%; width: 100%;
margin-bottom: 55px; margin-bottom: 55px;
} }
.text { .text {
font-size: 18px; font-size: 18px;
color: #020202; color: #020202;

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/SFEL-概况-机构设置</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,22 +13,17 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
@ -38,30 +31,19 @@
<div class="org c-wrap"> <div class="org c-wrap">
<div class="left"> <div class="left">
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<p class="text" <p class="text" v-html="modules[1].form.des"></p>
v-html="modules[1].form.des"></p>
</div> </div>
<img class="pic" <img class="pic" src="https://huorantech.com/images/overviewSetup/1.png" alt="">
src="https://huorantech.com/images/overviewSetup/1.png" <div class="cover" style="min-height: 300px;" @click="toSet(1)">点击更换标题与描述</div>
alt="">
<div class="cover"
style="min-height: 300px;"
@click="toSet(1)">点击更换标题与描述</div>
</div> </div>
<div class="lg-bg"> <div class="lg-bg">
<img width="100%" <img width="100%" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic" <div class="cover" @click="toSet(2)">点击更换图片</div>
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -77,25 +59,7 @@ export default {
tabs: ['机构设置'] tabs: ['机构设置']
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-机构设置'
}
])
},
methods: { methods: {
// tab // tab
tabChange (i) { tabChange (i) {
@ -107,59 +71,69 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px; li {
margin: 0 10px; padding: 25px 19px;
font-size: 1.1rem; margin: 0 10px;
color: #333; font-size: 1.1rem;
border-bottom: 4px solid transparent; color: #333;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26); border-bottom: 4px solid transparent;
cursor: pointer; text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
&.active { cursor: pointer;
color: #1583ff;
border-bottom-color: #1583ff; &.active {
} color: #1583ff;
border-bottom-color: #1583ff;
} }
}
} }
.tab-content { .tab-content {
padding: 77px 0; padding: 77px 0;
} }
.org { .org {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
width: 1294px; width: 1294px;
padding: 9px 86px 29px 116px; padding: 9px 86px 29px 116px;
margin: 0 auto 50px; margin: 0 auto 50px;
background: #fcfcfc; background: #fcfcfc;
border-radius: 160px; border-radius: 160px;
.left {
width: 705px; .left {
} width: 705px;
h6 { }
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi; h6 {
font-weight: bold; font-size: 1.4rem;
color: #333; font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
} font-weight: bold;
.text { color: #333;
margin-top: 10px; }
font-size: 1rem;
color: #020202; .text {
line-height: 2rem; margin-top: 10px;
} font-size: 1rem;
.pic { color: #020202;
width: 320px; line-height: 2rem;
height: 282px; }
}
.pic {
width: 320px;
height: 282px;
}
} }
.lg-bg { .lg-bg {
position: relative; position: relative;
width: 85%; width: 85%;
margin: 0 auto; margin: 0 auto;
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/SFEL-概况-S³FEL宣传片</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -23,7 +23,7 @@
<ul class="tabs wow fadeInLeft"> <ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs"> <template v-for="(item, i) in tabs">
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li> <li :class="{ active: i == active }" :key="i" @click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
@ -48,35 +48,17 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.overviewTrailer, modules: Modules.overviewTrailer,
active: 0, active: 0,
tabs: ['S³FEL宣传片'] tabs: ['S³FEL宣传片']
} }
}, },
mounted() { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '概况-宣传片'
}
])
},
methods: { methods: {
// tab // tab
tabChange(i) { tabChange (i) {
this.active = i this.active = i
}, },
} }
@ -85,37 +67,44 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import "../../../styles/page/page.scss";
.wrap { .wrap {
background: url(../../../assets/images/survey1.png) (0 559px)/auto no-repeat, background: url(../../../assets/images/survey1.png) (0 559px)/auto no-repeat,
url(../../../assets/images/survey2.png) (bottom right)/auto no-repeat; url(../../../assets/images/survey2.png) (bottom right)/auto no-repeat;
} }
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28); box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li { li {
padding: 25px 19px; padding: 25px 19px;
margin: 0 10px; margin: 0 10px;
font-size: 22px; font-size: 22px;
color: #333; color: #333;
border-bottom: 4px solid transparent; border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26); text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer; cursor: pointer;
&.active { &.active {
color: #1583FF; color: #1583FF;
border-bottom-color: #1583FF; border-bottom-color: #1583FF;
} }
} }
} }
.tab-content { .tab-content {
width: 1000px; width: 1000px;
padding: 77px 0; padding: 77px 0;
margin: 0 auto; margin: 0 auto;
} }
.video { .video {
width: 100%; width: 100%;
margin-bottom: 55px; margin-bottom: 55px;
} }
.text { .text {
font-size: 18px; font-size: 18px;
color: #020202; color: #020202;

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/RESEARCH</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -12,7 +12,8 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> <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"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt=""> <img width="100%" height="100%" :src="item.pic" alt="">
@ -90,30 +91,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.research modules: Modules.research
} }
}, },
mounted() { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'RESEARCH'
}
])
},
methods: { methods: {
} }
@ -122,73 +105,91 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import "../../../styles/page/page.scss";
.area { .area {
display: flex; display: flex;
li { li {
position: relative; position: relative;
width: 19%; width: 19%;
height: 653px; height: 653px;
color: #fff; color: #fff;
background: url(../../../assets/images/research/res1.png) 0 0/100% 100% no-repeat; background: url(../../../assets/images/research/res1.png) 0 0/100% 100% no-repeat;
&:nth-child(2) { &:nth-child(2) {
width: 21%; width: 21%;
margin-top: 70px; margin-top: 70px;
.texts { .texts {
background: #2B1B1C; background: #2B1B1C;
} }
} }
&:nth-child(3) { &:nth-child(3) {
.texts { .texts {
background: #009C91; background: #009C91;
} }
} }
&:nth-child(4) { &:nth-child(4) {
margin-top: 70px; margin-top: 70px;
.texts { .texts {
background: #005388; background: #005388;
} }
} }
&:nth-child(5) { &:nth-child(5) {
width: 22%; width: 22%;
.texts { .texts {
background: #9A4E10; background: #9A4E10;
} }
} }
} }
.pic { .pic {
width: 100%; width: 100%;
height: 443px; height: 443px;
} }
.texts { .texts {
width: 100%; width: 100%;
height: 210px; height: 210px;
padding: 20px 40px; padding: 20px 40px;
background: #08577B; background: #08577B;
} }
h6 { h6 {
font-size: 30px; font-size: 30px;
white-space: nowrap; white-space: nowrap;
} }
.des { .des {
font-size: 22px; font-size: 22px;
color: rgba(255,255,255,0.55); color: rgba(255, 255, 255, 0.55);
} }
} }
.group { .group {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
li { li {
position: relative; position: relative;
width: 448px; width: 448px;
margin: 0 28px 39px 0; margin: 0 28px 39px 0;
&:nth-child(3n) { &:nth-child(3n) {
margin-right: 0; margin-right: 0;
} }
} }
img { img {
width: 100%; width: 100%;
height: 353px; height: 353px;
} }
.text { .text {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -204,10 +205,12 @@ export default {
background-color: #F5F5F5; background-color: #F5F5F5;
} }
} }
.news { .news {
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
li { li {
position: relative; position: relative;
width: 448px; width: 448px;
@ -215,28 +218,34 @@ export default {
margin-right: 28px; margin-right: 28px;
color: #333; color: #333;
background-color: #fff; background-color: #fff;
box-shadow: 0px 5px 20px 0px rgba(98,117,163,0.08); box-shadow: 0px 5px 20px 0px rgba(98, 117, 163, 0.08);
border-radius: 10px; border-radius: 10px;
&:nth-child(3n) { &:nth-child(3n) {
margin-right: 0; margin-right: 0;
} }
&:hover { &:hover {
color: #fff; color: #fff;
background-color: #0252D9; background-color: #0252D9;
} }
} }
img { img {
width: 427px; width: 427px;
height: 481px; height: 481px;
} }
.texts { .texts {
padding: 0 18px 50px; padding: 0 18px 50px;
} }
h6 { h6 {
margin: 35px 0 12px; margin: 35px 0 12px;
font-size: 24px; font-size: 24px;
line-height: 33px; line-height: 33px;
} }
.des { .des {
font-size: 18px; font-size: 18px;
line-height: 26px; line-height: 26px;

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/RESEARCH</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,43 +13,32 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<el-carousel height="480px" <el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" <el-carousel-item v-if="item.pic && item.isEnable" :key="i">
:key="i"> <img width="100%" height="100%" :src="item.pic" alt="">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block"> <div class="block">
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[1].form.title }}</h2> <h2 class="b-title">{{ modules[1].form.title }}</h2>
<p class="intro">{{ modules[1].form.des }}</p> <p class="intro">{{ modules[1].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(1)">点击更换标题与描述</div>
@click="toSet(1)">点击更换标题与描述</div>
</div> </div>
<ul class="area"> <ul class="area">
<template v-for="(item, i) in modules[2].list"> <template v-for="(item, i) in modules[2].list">
<li :key="i"> <li :key="i">
<img :src="item.pic" <img :src="item.pic" alt="" class="pic">
alt=""
class="pic">
<div class="texts"> <div class="texts">
<img :src="require('@/assets/images/research/res' + (i + 1) + '-1.png')" <img :src="require('@/assets/images/research/res' + (i + 1) + '-1.png')" alt="" class="icon">
alt=""
class="icon">
<h6>{{ item.title }}</h6> <h6>{{ item.title }}</h6>
<p class="des">{{ item.des }}</p> <p class="des">{{ item.des }}</p>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(2, i)">点击更改图片标题概述与链接</div>
@click="toSet(2, i)">点击更改图片标题概述与链接</div>
</li> </li>
</template> </template>
</ul> </ul>
@ -62,27 +49,20 @@
<div class="c-wrap"> <div class="c-wrap">
<h2 class="b-title">{{ modules[3].form.title }}</h2> <h2 class="b-title">{{ modules[3].form.title }}</h2>
<p class="intro">{{ modules[3].form.des }}</p> <p class="intro">{{ modules[3].form.des }}</p>
<div class="cover" <div class="cover" @click="toSet(3)">点击更换标题与描述</div>
@click="toSet(3)">点击更换标题与描述</div>
</div> </div>
<ul class="group"> <ul class="group">
<li v-for="(item, i) in modules[4].list" <li v-for="(item, i) in modules[4].list" :key="i">
:key="i"> <img :src="item.pic" alt="">
<img :src="item.pic"
alt="">
<p class="text">{{ item.title }}</p> <p class="text">{{ item.title }}</p>
<div class="cover" <div class="cover" @click="toSet(4, i)">点击更改图片标题与链接</div>
@click="toSet(4, i)">点击更改图片标题与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -96,25 +76,7 @@ export default {
modules: Modules.research modules: Modules.research
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: 'RESEARCH'
}
])
},
methods: { methods: {
} }
@ -123,124 +85,150 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.area { .area {
display: flex; display: flex;
li {
position: relative; li {
width: 19%; position: relative;
height: 653px; width: 19%;
color: #fff; height: 653px;
background: url(../../../assets/images/research/res1.png) 0 0/100% 100% no-repeat; color: #fff;
&:nth-child(2) { background: url(../../../assets/images/research/res1.png) 0 0/100% 100% no-repeat;
width: 21%;
margin-top: 70px; &:nth-child(2) {
.texts { width: 21%;
background: #2b1b1c; margin-top: 70px;
}
} .texts {
&:nth-child(3) { background: #2b1b1c;
.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%; &:nth-child(3) {
height: 210px; .texts {
padding: 20px 40px; background: #009c91;
background: #08577b; }
} }
h6 {
font-size: 30px; &:nth-child(4) {
white-space: nowrap; margin-top: 70px;
.texts {
background: #005388;
}
} }
.des {
font-size: 22px; &:nth-child(5) {
color: rgba(255, 255, 255, 0.55); 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 { .group {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
li {
position: relative; li {
width: 448px; position: relative;
margin: 0 28px 39px 0; width: 448px;
&:nth-child(3n) { margin: 0 28px 39px 0;
margin-right: 0;
} &:nth-child(3n) {
} margin-right: 0;
img {
width: 100%;
height: 353px;
}
.text {
display: flex;
justify-content: center;
align-items: center;
height: 143px;
padding: 0 30px;
font-size: 30px;
font-family: SFProDisplay-Bold, SFProDisplay;
font-weight: bold;
line-height: 40px;
text-align: center;
color: #272727;
background-color: #f5f5f5;
} }
} }
.news {
img {
width: 100%;
height: 353px;
}
.text {
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-wrap: wrap; align-items: center;
li { height: 143px;
position: relative; padding: 0 30px;
width: 448px; font-size: 30px;
padding: 11px; font-family: SFProDisplay-Bold, SFProDisplay;
margin-right: 28px; font-weight: bold;
color: #333; line-height: 40px;
background-color: #fff; text-align: center;
box-shadow: 0px 5px 20px 0px rgba(98, 117, 163, 0.08); color: #272727;
border-radius: 10px; background-color: #f5f5f5;
&:nth-child(3n) { }
margin-right: 0; }
}
&:hover { .news {
color: #fff; display: flex;
background-color: #0252d9; justify-content: center;
} flex-wrap: wrap;
}
img { li {
width: 427px; position: relative;
height: 481px; width: 448px;
} padding: 11px;
.texts { margin-right: 28px;
padding: 0 18px 50px; color: #333;
} background-color: #fff;
h6 { box-shadow: 0px 5px 20px 0px rgba(98, 117, 163, 0.08);
margin: 35px 0 12px; border-radius: 10px;
font-size: 24px;
line-height: 33px; &:nth-child(3n) {
margin-right: 0;
} }
.des {
font-size: 18px; &:hover {
line-height: 26px; 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> </style>

@ -2,13 +2,11 @@
<!-- 关于IASF-研究团队 --> <!-- 关于IASF-研究团队 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-研究团队</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,15 +14,12 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="content"> <div class="content">
@ -33,37 +28,27 @@
<ul class="teams"> <ul class="teams">
<li> <li>
<div class="line"> <div class="line">
<img src="https://huorantech.com/images/researchTeam/3.png" <img src="https://huorantech.com/images/researchTeam/3.png" alt="" class="icon">
alt=""
class="icon">
<span class="bold">姓名</span> <span class="bold">姓名</span>
<span class="val">/ 岗位</span> <span class="val">/ 岗位</span>
</div> </div>
<div class="line"> <div class="line">
<img src="https://huorantech.com/images/researchTeam/4.png" <img src="https://huorantech.com/images/researchTeam/4.png" alt="" class="icon">
alt=""
class="icon">
<span class="text">专业 超低温总体</span> <span class="text">专业 超低温总体</span>
</div> </div>
<div class="line"> <div class="line">
<img src="https://huorantech.com/images/researchTeam/5.png" <img src="https://huorantech.com/images/researchTeam/5.png" alt="" class="icon">
alt=""
class="icon">
<span class="text">荣誉 杰青 万人</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>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -78,25 +63,7 @@ export default {
title: '' title: ''
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于IASF-研究团队'
}
])
},
methods: { methods: {
} }
@ -105,436 +72,514 @@ export default {
<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;
} }
.article { .article {
display: flex; display: flex;
justify-content: center; justify-content: center;
.left {
width: 66%; .left {
.search { width: 66%;
display: inline-flex;
width: 34%; .search {
input { display: inline-flex;
width: 100%; width: 34%;
height: 38px;
padding: 0 15px; input {
font-size: 14px; width: 100%;
color: #333; height: 38px;
background: #f7f7f7; padding: 0 15px;
border: 0; font-size: 14px;
border-top-left-radius: 6px; color: #333;
border-bottom-left-radius: 6px; background: #f7f7f7;
&:focus { border: 0;
outline: none; border-top-left-radius: 6px;
} border-bottom-left-radius: 6px;
}
&:focus {
outline: none;
} }
}
} }
.teams { }
position: relative;
display: flex; .teams {
flex-wrap: wrap; position: relative;
margin-top: 30px; display: flex;
li { flex-wrap: wrap;
position: relative; margin-top: 30px;
width: calc((100% - 10px) / 2);
padding: 20px 30px; li {
margin: 0 10px 10px 0; position: relative;
background: url(https://huorantech.com/images/researchTeam/2.png) 0 0 / cover no-repeat; width: calc((100% - 10px) / 2);
&:nth-child(even) { padding: 20px 30px;
margin-right: 0; margin: 0 10px 10px 0;
} background: url(https://huorantech.com/images/researchTeam/2.png) 0 0 / cover no-repeat;
}
.line { &:nth-child(even) {
display: flex; margin-right: 0;
align-items: center; }
margin-bottom: 8px;
}
.icon {
margin-right: 8px;
}
.bold {
margin-right: 5px;
font-size: 1.1rem;
color: #333;
}
.val {
font-size: 1rem;
color: #999;
}
.text {
font-size: 1rem;
color: #666;
}
} }
.notice {
display: flex; .line {
li { display: flex;
position: relative; align-items: center;
width: calc((100% - 20px) / 2); margin-bottom: 8px;
height: 300px;
padding: 20px;
background-color: #fff;
}
.pic {
width: 100%;
height: 100%;
}
.text {
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
font-size: 1.6rem;
line-height: 66px;
text-align: center;
color: #fff;
background: rgba(32, 57, 81, 0.68);
}
} }
.right {
width: 20%; .icon {
margin-right: 8px;
} }
.column {
width: 100%; .bold {
margin-bottom: 25px; margin-right: 5px;
} font-size: 1.1rem;
/deep/.el-tree-node__content { color: #333;
height: 44px; }
background-color: #e5edf8;
border-bottom: 2px solid #fff; .val {
} font-size: 1rem;
/deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content { color: #999;
color: #fff; }
background-color: #0f5698;
} .text {
.list { font-size: 1rem;
margin-bottom: 20px; color: #666;
li { }
padding: 16px 0; }
border-bottom: 1px solid #d8d8d8;
} .notice {
.text { display: flex;
margin-bottom: 5px;
font-size: 14px; li {
cursor: pointer; position: relative;
&:hover { width: calc((100% - 20px) / 2);
color: $main-color; height: 300px;
} padding: 20px;
} background-color: #fff;
.date { }
font-size: 12px;
color: #999; .pic {
} width: 100%;
height: 100%;
}
.text {
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
font-size: 1.6rem;
line-height: 66px;
text-align: center;
color: #fff;
background: rgba(32, 57, 81, 0.68);
}
}
.right {
width: 20%;
}
.column {
width: 100%;
margin-bottom: 25px;
}
/deep/.el-tree-node__content {
height: 44px;
background-color: #e5edf8;
border-bottom: 2px solid #fff;
}
/deep/.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
color: #fff;
background-color: #0f5698;
}
.list {
margin-bottom: 20px;
li {
padding: 16px 0;
border-bottom: 1px solid #d8d8d8;
} }
.text {
margin-bottom: 5px;
font-size: 14px;
cursor: pointer;
&:hover {
color: $main-color;
}
}
.date {
font-size: 12px;
color: #999;
}
}
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.content { .content {
width: 98%; width: 98%;
}
.article {
flex-direction: column;
.left,
.right {
width: 100%;
} }
.article {
flex-direction: column; .left {
.left, margin-bottom: 30px;
.right {
width: 100%;
}
.left {
margin-bottom: 30px;
}
} }
}
} }
@media (min-width: 280px) and (max-width: 750px) { @media (min-width: 280px) and (max-width: 750px) {
.article {
.recruit {
li {
flex-direction: column;
}
.pic {
width: 100%;
margin-bottom: 10px;
}
}
.notice {
flex-direction: column;
li {
width: 100%;
}
}
}
}
@media (max-width: 1200px) {
.content {
.article { .article {
flex-direction: column;
.left {
width: 100%;
.recruit { .recruit {
li { li {
flex-direction: column; flex-direction: column;
}
.pic { .pic {
width: 100%; width: 100%;
margin-bottom: 10px; }
.texts {
margin-top: 0.8rem;
} }
}
} }
.notice { .notice {
flex-direction: column; flex-direction: column;
li {
width: 100%; li {
} width: 100%;
}
} }
} }
}
@media (max-width: 1200px) { .right {
.content { width: 100%;
.article {
flex-direction: column; .el-tree {
.left { display: none;
width: 100%;
.recruit {
li {
flex-direction: column;
.pic {
width: 100%;
}
.texts {
margin-top: 0.8rem;
}
}
}
.notice {
flex-direction: column;
li {
width: 100%;
}
}
}
.right {
width: 100%;
.el-tree {
display: none;
}
}
} }
}
} }
}
} }
@media (max-width: 320px) { @media (max-width: 320px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts {
left: 3rem; .texts {
top: 7rem; left: 3rem;
top: 7rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 13rem;
} }
}
} }
}
.content { .notice {
.article { li {
.left { height: auto;
.recruit {
li { .pic {
.pic { height: 13rem;
height: 13rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 13rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 320px) and (max-width: 375px) { @media (min-width: 320px) and (max-width: 375px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 15rem; height: 15rem;
} }
.texts {
left: 3rem; .texts {
top: 7rem; left: 3rem;
top: 7rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 15rem;
} }
}
} }
}
.content { .notice {
.article { li {
.left { height: auto;
.recruit {
li { .pic {
.pic { height: 15rem;
height: 15rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 15rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 375px) and (max-width: 480px) { @media (min-width: 375px) and (max-width: 480px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 18rem; height: 18rem;
} }
.texts {
left: 3rem; .texts {
top: 10rem; left: 3rem;
top: 10rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 18rem;
} }
}
} }
}
.content { .notice {
.article { li {
.left { height: auto;
.recruit {
li { .pic {
.pic { height: 18rem;
height: 18rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 18rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 480px) and (max-width: 640px) { @media (min-width: 480px) and (max-width: 640px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 20rem; height: 20rem;
} }
.texts {
left: 3rem; .texts {
top: 12rem; left: 3rem;
top: 12rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 22rem;
} }
}
} }
}
.content { .notice {
.article { li {
.left { height: auto;
.recruit {
li { .pic {
.pic { height: 22rem;
height: 22rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 22rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 640px) and (max-width: 768px) { @media (min-width: 640px) and (max-width: 768px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 22rem; height: 22rem;
} }
.texts {
left: 3rem; .texts {
top: 14rem; left: 3rem;
top: 14rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 26rem;
} }
}
} }
}
.content { .notice {
.article { li {
.left { height: auto;
.recruit {
li { .pic {
.pic { height: 26rem;
height: 26rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 26rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 768px) and (max-width: 980px) { @media (min-width: 768px) and (max-width: 980px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 26rem; height: 26rem;
} }
.texts {
left: 3rem; .texts {
top: 16rem; left: 3rem;
top: 16rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 30rem;
} }
}
} }
}
.content { .notice {
.article { li {
.left { height: auto;
.recruit {
li { .pic {
.pic { height: 30rem;
height: 30rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 30rem;
}
}
}
} }
}
} }
}
} }
}
} }
@media (min-width: 980px) and (max-width: 1200px) { @media (min-width: 980px) and (max-width: 1200px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 30rem; height: 30rem;
} }
.texts {
left: 3rem; .texts {
top: 18rem; left: 3rem;
top: 18rem;
}
}
}
.content {
.article {
.left {
.recruit {
li {
.pic {
height: 35rem;
} }
}
} }
}
.content { .notice {
.article { li {
.left { height: auto;
.recruit {
li { .pic {
.pic { height: 35rem;
height: 35rem;
}
}
}
.notice {
li {
height: auto;
.pic {
height: 35rem;
}
}
}
} }
}
} }
}
} }
}
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/科普之窗</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -61,30 +61,12 @@ import mixins from '@/mixins/page'
import Modules from '@/const/modules' import Modules from '@/const/modules'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.science modules: Modules.science
} }
}, },
mounted() { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '科普之窗'
}
])
},
methods: { methods: {
} }
@ -93,28 +75,35 @@ export default {
<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;
img { img {
width: 100%; width: 100%;
height: 508px; height: 508px;
} }
&:nth-child(2) .texts { &:nth-child(2) .texts {
color: #fff; color: #fff;
background: #33B3C1; background: #33B3C1;
} }
&:nth-child(3) .texts { &:nth-child(3) .texts {
color: #fff; color: #fff;
background: #E47C22; background: #E47C22;
} }
&:nth-child(even) .texts { &:nth-child(even) .texts {
left: auto; left: auto;
right: -28px; right: -28px;
} }
.texts { .texts {
position: absolute; position: absolute;
top: 79px; top: 79px;
@ -124,12 +113,14 @@ export default {
color: #333; color: #333;
background: #FFF6E9; background: #FFF6E9;
} }
h6 { h6 {
margin-bottom: 14px; margin-bottom: 14px;
font-size: 36px; font-size: 36px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
} }
.des { .des {
font-size: 18px; font-size: 18px;
} }

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/科学研究</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,50 +13,35 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="" />
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@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" <img class="pic" :src="modules[1].form.pic" alt="">
:src="modules[1].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<div class="text" <div class="text" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div> <img class="icon" src="@/assets/images/arrow.png" alt="">
<img class="icon"
src="@/assets/images/arrow.png"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(1)">点击更换图片标题概述与链接</div>
@click="toSet(1)">点击更换图片标题概述与链接</div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6 v-html="modules[2].form.title"></h6> <h6 v-html="modules[2].form.title"></h6>
<div class="text" <div class="text" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div> <img class="icon" src="@/assets/images/arrow.png" alt="">
<img class="icon"
src="@/assets/images/arrow.png"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(2)">点击更换图片标题概述与链接</div>
@click="toSet(2)">点击更换图片标题概述与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -67,27 +50,16 @@
<div class="about"> <div class="about">
<div class="inner"> <div class="inner">
<div class="texts"> <div class="texts">
<div class="title wow fadeInUp" <div class="title wow fadeInUp" data-wow-delay="0.7s" v-html="modules[3].form.title"></div>
data-wow-delay="0.7s" <div class="des wow fadeInDown" data-wow-delay="1s" v-html="modules[3].form.des"></div>
v-html="modules[3].form.title"></div> <img class="m-t-10" width="42" src="@/assets/images/arrow-white.png" alt="">
<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>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(3)">点击更换标题描述与链接</div>
@click="toSet(3)">点击更换标题描述与链接</div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -101,25 +73,7 @@ export default {
modules: Modules.scientific modules: Modules.scientific
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '科学研究'
}
])
},
methods: { methods: {
} }
@ -128,170 +82,199 @@ export default {
<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;
height: 600px; height: 600px;
margin-bottom: 60px; margin-bottom: 60px;
&:nth-child(even) {
.texts { &:nth-child(even) {
left: auto; .texts {
right: 100px; left: auto;
} right: 100px;
} }
.pic {
width: 100%;
height: 100%;
}
.texts {
position: absolute;
top: 100px;
left: 80px;
width: 500px;
min-height: 350px;
padding: 30px;
color: #333;
background-color: rgba(255, 255, 255, 0.85);
border-radius: 0px 0px 100px 0px;
border-top: 4px solid #0280f1;
}
h6 {
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.text {
margin: 1rem 0;
font-size: 1rem;
line-height: 1.6;
}
.icon {
width: 40px;
}
}
}
.program {
background: #fff;
.title {
position: relative;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 25px;
margin-bottom: 30px;
border-bottom: 1px solid #ddd;
align-items: center;
h5 {
padding-left: 16px;
font-size: 1.6rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 1;
border-left: 6px solid #2b96ef;
}
.sub {
font-size: 1.1rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #afb7bf;
}
.more {
font-size: 0.8rem;
color: #666;
cursor: pointer;
}
} }
.slide {
display: flex; .pic {
margin-bottom: 14px; width: 100%;
cursor: pointer; height: 100%;
} }
.texts { .texts {
width: 51%; position: absolute;
padding: 56px; top: 100px;
background: #fbfbfb; left: 80px;
h6 { width: 500px;
font-size: 1.3rem; min-height: 350px;
font-family: PingFangSC-Medium, PingFang SC; padding: 30px;
font-weight: 500; color: #333;
color: #333333; background-color: rgba(255, 255, 255, 0.85);
} border-radius: 0px 0px 100px 0px;
.des { border-top: 4px solid #0280f1;
margin: 35px 0 25px;
font-size: 1rem;
color: #666;
line-height: 32px;
}
.meta {
font-size: 0.9rem;
color: #666;
}
} }
.img-wrap {
width: 49%; h6 {
height: 430px; font-size: 1.2rem;
overflow: hidden; font-family: PingFangSC-Medium, PingFang SC;
} }
.pic {
width: 100%; .text {
height: 100%; margin: 1rem 0;
transition: 0.5s; font-size: 1rem;
line-height: 1.6;
} }
.list {
display: flex; .icon {
li { width: 40px;
width: calc((100% - 28px) / 3);
height: 204px;
padding: 36px 22px;
margin-right: 14px;
background: url(../../../assets/images/sfel/7.png) no-repeat center;
background-size: 100% 100%;
transition: 0.5s;
cursor: pointer;
&:nth-child(2) {
background-image: url(../../../assets/images/sfel/8.png);
}
&:nth-child(3) {
margin-right: 0;
background-image: url(../../../assets/images/sfel/9.png);
}
}
.des {
height: 90px;
margin-bottom: 30px;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 30px;
}
.date {
font-size: 0.9rem;
font-family: LaoSangamMN;
color: #ffffff;
}
} }
}
} }
.about {
.program {
background: #fff;
.title {
position: relative; position: relative;
padding: 10rem 0 3rem; display: flex;
text-align: center; justify-content: space-between;
background: url(../../../assets/images/about-bg.png) no-repeat center center; align-items: flex-end;
background-size: 100% 100%; padding-bottom: 25px;
.texts { margin-bottom: 30px;
padding: 2.375rem 3.75rem; border-bottom: 1px solid #ddd;
color: #fff; align-items: center;
background: rgba(111, 69, 36, 0.56);
border-radius: 17px; h5 {
transition: 0.3s; padding-left: 16px;
font-size: 1.6rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 1;
border-left: 6px solid #2b96ef;
}
.sub {
font-size: 1.1rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #afb7bf;
}
.more {
font-size: 0.8rem;
color: #666;
cursor: pointer;
}
}
.slide {
display: flex;
margin-bottom: 14px;
cursor: pointer;
}
.texts {
width: 51%;
padding: 56px;
background: #fbfbfb;
h6 {
font-size: 1.3rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.des {
margin: 35px 0 25px;
font-size: 1rem;
color: #666;
line-height: 32px;
}
.meta {
font-size: 0.9rem;
color: #666;
} }
.title { }
margin-bottom: 1rem;
font-size: 2.2rem; .img-wrap {
width: 49%;
height: 430px;
overflow: hidden;
}
.pic {
width: 100%;
height: 100%;
transition: 0.5s;
}
.list {
display: flex;
li {
width: calc((100% - 28px) / 3);
height: 204px;
padding: 36px 22px;
margin-right: 14px;
background: url(../../../assets/images/sfel/7.png) no-repeat center;
background-size: 100% 100%;
transition: 0.5s;
cursor: pointer;
&:nth-child(2) {
background-image: url(../../../assets/images/sfel/8.png);
}
&:nth-child(3) {
margin-right: 0;
background-image: url(../../../assets/images/sfel/9.png);
}
} }
.des { .des {
font-size: 1rem; height: 90px;
line-height: 1.6; margin-bottom: 30px;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 30px;
} }
.date {
font-size: 0.9rem;
font-family: LaoSangamMN;
color: #ffffff;
}
}
}
.about {
position: relative;
padding: 10rem 0 3rem;
text-align: center;
background: url(../../../assets/images/about-bg.png) no-repeat center center;
background-size: 100% 100%;
.texts {
padding: 2.375rem 3.75rem;
color: #fff;
background: rgba(111, 69, 36, 0.56);
border-radius: 17px;
transition: 0.3s;
}
.title {
margin-bottom: 1rem;
font-size: 2.2rem;
}
.des {
font-size: 1rem;
line-height: 1.6;
}
} }
</style> </style>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/首页</p> <p class="page-name">页面设置/{{ columnName }}</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>
@ -51,25 +51,7 @@ export default {
modules: Modules.shop modules: Modules.shop
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '产品中心'
}
])
},
methods: { methods: {
} }

@ -2,13 +2,11 @@
<!-- 院长致辞 --> <!-- 院长致辞 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/院长致辞</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,45 +14,33 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="" />
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block"> <div class="block">
<div class="inner c-wrap"> <div class="inner c-wrap">
<img :src="modules[1].form.pic" <img :src="modules[1].form.pic" alt="" class="pic">
alt=""
class="pic">
<div class="texts"> <div class="texts">
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<p class="en">{{ modules[1].form.subTitle }}</p> <p class="en">{{ modules[1].form.subTitle }}</p>
<div class="text" <div class="text" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(1)">点击更换图片标题小标题与概述</div>
@click="toSet(1)">点击更换图片标题小标题与概述</div>
</div> </div>
<div class="sign c-wrap"> <div class="sign c-wrap">
签名 签名
<img :src="modules[2].form.pic" <img :src="modules[2].form.pic" alt="">
alt=""> <div class="cover" @click="toSet(2)">点击更换签名</div>
<div class="cover"
@click="toSet(2)">点击更换签名</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -68,25 +54,7 @@ export default {
modules: Modules.speech modules: Modules.speech
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '院长致辞'
}
])
},
methods: { methods: {
} }
@ -95,50 +63,60 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.block { .block {
background: url(https://huorantech.com/images/speech/2.png) no-repeat; background: url(https://huorantech.com/images/speech/2.png) no-repeat;
} }
.inner { .inner {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
.pic {
max-width: 480px; .pic {
margin-top: 2rem; max-width: 480px;
} margin-top: 2rem;
.texts { }
margin-left: 113px;
} .texts {
h6 { margin-left: 113px;
position: relative; }
font-size: 2rem;
font-family: PingFangSC-Medium, PingFang SC; h6 {
font-weight: 600; position: relative;
color: #333; font-size: 2rem;
} font-family: PingFangSC-Medium, PingFang SC;
.en { font-weight: 600;
margin: -25px 0 40px; color: #333;
font-size: 2.2rem; }
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600; .en {
color: rgba(216, 216, 216, 0.34); margin: -25px 0 40px;
} font-size: 2.2rem;
.text { font-family: PingFangSC-Semibold, PingFang SC;
font-size: 1rem; font-weight: 600;
color: #333; color: rgba(216, 216, 216, 0.34);
line-height: 1.6; }
}
.text {
font-size: 1rem;
color: #333;
line-height: 1.6;
}
} }
.sign { .sign {
width: 1400px; width: 1400px;
min-height: 150px; min-height: 150px;
margin: 20px auto 0; margin: 20px auto 0;
text-align: right; text-align: right;
img {
max-width: 150px; img {
} max-width: 150px;
.cover { }
left: auto;
width: 300px; .cover {
} left: auto;
width: 300px;
}
} }
</style> </style>

@ -2,13 +2,11 @@
<!-- 人才队伍 --> <!-- 人才队伍 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/人才队伍</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,41 +14,32 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@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" <img class="pic" :src="modules[1].form.pic" alt="">
: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" <div class="cover" @click="toSet(1)">点击更改图片标题概述与链接</div>
@click="toSet(1)">点击更改图片标题概述与链接</div>
</div> </div>
<div class="item"> <div class="item">
<img class="pic" <img class="pic" :src="modules[2].form.pic" alt="">
: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" <div class="cover" @click="toSet(2)">点击更改图片标题概述与链接</div>
@click="toSet(2)">点击更改图片标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
@ -58,65 +47,50 @@
<div class="style c-wrap"> <div class="style c-wrap">
<div class="c-wrap"> <div class="c-wrap">
<h6 v-html="modules[3].form.title"></h6> <h6 v-html="modules[3].form.title"></h6>
<div class="cover" <div class="cover" @click="toSet(3)">点击更换标题</div>
@click="toSet(3)">点击更换标题</div>
</div> </div>
<div class="c-wrap"> <div class="c-wrap">
<el-carousel :interval="4000" <el-carousel :interval="4000" type="card" height="510px">
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" <el-carousel-item v-if="item.isEnable" :key="i">
:key="i">
<div class="item"> <div class="item">
<img :src="item.pic" <img :src="item.pic" alt="">
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" <div class="cover" @click="toSet(4)">点击更改图片标题概述与链接</div>
@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" <img class="pic" :src="modules[5].form.pic" alt="">
: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" <div class="cover" @click="toSet(5)">点击更改图片标题小标题概述与链接</div>
@click="toSet(5)">点击更改图片标题小标题概述与链接</div>
</div> </div>
<div class="item"> <div class="item">
<img class="pic" <img class="pic" :src="modules[6].form.pic" alt="">
: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" <div class="cover" @click="toSet(6)">点击更改图片标题小标题概述与链接</div>
@click="toSet(6)">点击更改图片标题小标题概述与链接</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -130,25 +104,7 @@ export default {
modules: Modules.talent modules: Modules.talent
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '人才队伍'
}
])
},
methods: { methods: {
} }
@ -157,111 +113,132 @@ export default {
<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 {
width: 1504px; width: 1504px;
} }
.item {
position: relative; .item {
display: flex; position: relative;
padding: 42px; display: flex;
margin-bottom: 36px; padding: 42px;
background: #fff; margin-bottom: 36px;
&:nth-child(even) { background: #fff;
flex-direction: row-reverse;
.texts { &:nth-child(even) {
padding-left: 0; flex-direction: row-reverse;
}
} .texts {
} padding-left: 0;
.pic { }
width: 602px;
height: 465px;
}
.texts {
padding: 98px 72px 30px 80px;
}
h6 {
margin-bottom: 24px;
font-size: 50px;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #333333;
}
.des {
font-size: 18px;
color: #333;
line-height: 33px;
} }
}
.pic {
width: 602px;
height: 465px;
}
.texts {
padding: 98px 72px 30px 80px;
}
h6 {
margin-bottom: 24px;
font-size: 50px;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #333333;
}
.des {
font-size: 18px;
color: #333;
line-height: 33px;
}
} }
.style { .style {
h6 { h6 {
margin-bottom: 59px; margin-bottom: 59px;
font-size: 48px; font-size: 48px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
text-align: center; text-align: center;
color: #333333; color: #333333;
} }
.item {
position: relative; .item {
} position: relative;
img { }
width: 100%;
height: 100%; img {
} width: 100%;
.text { height: 100%;
position: absolute; }
bottom: 45px;
left: 0; .text {
width: 100%; position: absolute;
padding: 0 30px; bottom: 45px;
line-height: 68px; left: 0;
font-size: 24px; width: 100%;
color: #fff; padding: 0 30px;
background: rgba(0, 0, 0, 0.38); line-height: 68px;
} font-size: 24px;
color: #fff;
background: rgba(0, 0, 0, 0.38);
}
} }
.intro { .intro {
.inner { .inner {
width: 1504px; width: 1504px;
} }
.item {
position: relative; .item {
display: flex; position: relative;
align-items: center; display: flex;
margin-bottom: 36px; align-items: center;
background: #fff; margin-bottom: 36px;
&:nth-child(even) { background: #fff;
flex-direction: row-reverse;
} &:nth-child(even) {
} flex-direction: row-reverse;
.pic {
width: 848px;
height: 505px;
}
.texts {
padding: 0 58px;
}
.type {
font-size: 18px;
color: #333;
}
h6 {
margin: 20px 0;
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.des {
margin-bottom: 30px;
font-size: 16px;
color: #333;
line-height: 30px;
} }
}
.pic {
width: 848px;
height: 505px;
}
.texts {
padding: 0 58px;
}
.type {
font-size: 18px;
color: #333;
}
h6 {
margin: 20px 0;
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.des {
margin-bottom: 30px;
font-size: 16px;
color: #333;
line-height: 30px;
}
} }
</style> </style>

@ -2,13 +2,11 @@
<!-- 人才中心 --> <!-- 人才中心 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/人才中心</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,34 +14,26 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@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" <div class="text" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div> <div class="cover" @click="toSet(1)">点击更换标题与描述</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" <img class="pic" :src="modules[2].form.pic" alt="">
:src="modules[2].form.pic" <div class="cover" @click="toSet(2)">点击更换图片</div>
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div> </div>
<div class="texts"> <div class="texts">
<div class="c-wrap"> <div class="c-wrap">
@ -51,30 +41,22 @@
<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" <div class="des" v-html="modules[3].form.des"></div>
v-html="modules[3].form.des"></div> <div class="cover" @click="toSet(3)">点击更换标题链接与描述</div>
<div class="cover"
@click="toSet(3)">点击更换标题链接与描述</div>
</div> </div>
<p class="hot">热门岗位</p> <p class="hot">热门岗位</p>
<div class="labels"> <div class="labels">
<template v-for="(item, i) in modules[4].list"> <template v-for="(item, i) in modules[4].list">
<p v-if="item.isEnable" <p v-if="item.isEnable" :key="i" class="label">{{ item.title }}</p>
:key="i"
class="label">{{ item.title }}</p>
</template> </template>
<div class="cover" <div class="cover" @click="toSet(4)">点击更换标签</div>
@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" <img class="pic" :src="modules[5].form.pic" alt="">
:src="modules[5].form.pic" <div class="cover" @click="toSet(5)">点击更换图片</div>
alt="">
<div class="cover"
@click="toSet(5)">点击更换图片</div>
</div> </div>
<div class="texts"> <div class="texts">
<div class="c-wrap"> <div class="c-wrap">
@ -82,40 +64,29 @@
<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" <div class="des" v-html="modules[6].form.des"></div>
v-html="modules[6].form.des"></div> <div class="cover" @click="toSet(6)">点击更换标题链接与描述</div>
<div class="cover"
@click="toSet(6)">点击更换标题链接与描述</div>
</div> </div>
<p class="hot">热门岗位</p> <p class="hot">热门岗位</p>
<div class="labels"> <div class="labels">
<template v-for="(item, i) in modules[7].list"> <template v-for="(item, i) in modules[7].list">
<p v-if="item.isEnable" <p v-if="item.isEnable" :key="i" class="label">{{ item.title }}</p>
:key="i"
class="label">{{ item.title }}</p>
</template> </template>
<div class="cover" <div class="cover" @click="toSet(7)">点击更换标签</div>
@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" <img class="pic" :src="modules[8].form.pic" alt="">
: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" <div class="cover" @click="toSet(8)">点击更换图片标题与链接</div>
@click="toSet(8)">点击更换图片标题与链接</div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" :src="modules[9].form.pic" alt="">
: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" <div class="cover" @click="toSet(9)">点击更换图片标题与链接</div>
@click="toSet(9)">点击更换图片标题与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -123,10 +94,7 @@
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -140,25 +108,7 @@ export default {
modules: Modules.talentCenter modules: Modules.talentCenter
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '人才中心'
}
])
},
methods: { methods: {
} }
@ -167,143 +117,172 @@ export default {
<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;
padding-top: 40px; padding-top: 40px;
} }
.article { .article {
display: flex; display: flex;
justify-content: center; justify-content: center;
.left {
width: 66%; .left {
.title { width: 66%;
padding-bottom: 10px;
font-size: 1.2rem; .title {
color: #666; padding-bottom: 10px;
border-bottom: 1px solid #eaeef2; font-size: 1.2rem;
} color: #666;
.text { border-bottom: 1px solid #eaeef2;
margin-top: 20px; }
font-size: 1.1rem;
color: #333; .text {
line-height: 28px; margin-top: 20px;
p { font-size: 1.1rem;
margin-bottom: 20px; color: #333;
} line-height: 28px;
}
p {
margin-bottom: 20px;
}
}
}
.recruit {
li {
display: flex;
padding: 20px;
margin-bottom: 24px;
background-color: #fff;
} }
.recruit {
li { .pic {
display: flex; width: 410px;
padding: 20px; height: 250px;
margin-bottom: 24px; margin-right: 20px;
background-color: #fff;
}
.pic {
width: 410px;
height: 250px;
margin-right: 20px;
}
.c-title {
font-size: 1.2rem;
columns: #333;
}
.more {
font-size: 0.8rem;
color: #0648a8;
cursor: pointer;
}
.des {
margin: 20px 0;
font-size: 1rem;
color: #666;
line-height: 22px;
}
.hot {
margin-bottom: 10px;
font-size: 1.1rem;
color: #333;
}
.labels {
position: relative;
display: flex;
flex-wrap: wrap;
}
.label {
padding: 5px 15px;
margin: 0 15px 15px 0;
font-size: 1rem;
border-radius: 22px;
border: 1px solid #666;
}
} }
.notice {
display: flex; .c-title {
li { font-size: 1.2rem;
position: relative; columns: #333;
width: calc((100% - 20px) / 2);
height: 300px;
padding: 20px;
background-color: #fff;
}
.pic {
width: 100%;
height: 100%;
}
.text {
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
font-size: 1.6rem;
line-height: 66px;
text-align: center;
color: #fff;
background: rgba(32, 57, 81, 0.68);
}
} }
.right {
width: 20%; .more {
font-size: 0.8rem;
color: #0648a8;
cursor: pointer;
} }
.column {
width: 100%; .des {
margin-bottom: 25px; margin: 20px 0;
font-size: 1rem;
color: #666;
line-height: 22px;
} }
/deep/.el-tree-node__content {
height: 44px; .hot {
background-color: #e5edf8; margin-bottom: 10px;
border-bottom: 2px solid #fff; font-size: 1.1rem;
color: #333;
} }
/deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
color: #fff; .labels {
background-color: #0f5698; position: relative;
display: flex;
flex-wrap: wrap;
} }
.list {
margin-bottom: 20px; .label {
li { padding: 5px 15px;
padding: 16px 0; margin: 0 15px 15px 0;
border-bottom: 1px solid #d8d8d8; font-size: 1rem;
} border-radius: 22px;
.text { border: 1px solid #666;
margin-bottom: 5px;
font-size: 14px;
cursor: pointer;
&:hover {
color: $main-color;
}
}
.date {
font-size: 12px;
color: #999;
}
} }
}
.notice {
display: flex;
li {
position: relative;
width: calc((100% - 20px) / 2);
height: 300px;
padding: 20px;
background-color: #fff;
}
.pic {
width: 100%;
height: 100%;
}
.text {
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
font-size: 1.6rem;
line-height: 66px;
text-align: center;
color: #fff;
background: rgba(32, 57, 81, 0.68);
}
}
.right {
width: 20%;
}
.column {
width: 100%;
margin-bottom: 25px;
}
/deep/.el-tree-node__content {
height: 44px;
background-color: #e5edf8;
border-bottom: 2px solid #fff;
}
/deep/.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
color: #fff;
background-color: #0f5698;
}
.list {
margin-bottom: 20px;
li {
padding: 16px 0;
border-bottom: 1px solid #d8d8d8;
}
.text {
margin-bottom: 5px;
font-size: 14px;
cursor: pointer;
&:hover {
color: $main-color;
}
}
.date {
font-size: 12px;
color: #999;
}
}
} }
@media (max-width: 1420px) { @media (max-width: 1420px) {
.content { .content {
width: 98%; width: 98%;
} }
} }
</style> </style>

@ -2,13 +2,11 @@
<!-- 人才中心 --> <!-- 人才中心 -->
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/人才中心</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,15 +14,12 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="content"> <div class="content">
@ -32,56 +27,38 @@
<div class="left"> <div class="left">
<div class="c-wrap"> <div class="c-wrap">
<h6 class="talent-title">{{ modules[1].form.title }}</h6> <h6 class="talent-title">{{ modules[1].form.title }}</h6>
<div class="talent-text" <div class="talent-text" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div> <div class="cover" @click="toSet(1)">点击更换标题与概述</div>
<div class="cover"
@click="toSet(1)">点击更换标题与概述</div>
</div> </div>
<ul class="people"> <ul class="people">
<li> <li>
<img class="pic" <img class="pic" :src="modules[2].form.pic" alt="">
: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="line"></div> <div class="line"></div>
<div class="text" <div class="text" v-html="modules[2].form.des"></div>
v-html="modules[2].form.des"></div> <img src="@/assets/images/arrow.png" alt="">
<img src="@/assets/images/arrow.png"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(2)">点击更换图片标题概述与链接</div>
@click="toSet(2)">点击更换图片标题概述与链接</div>
</li> </li>
<li> <li>
<img class="pic" <img class="pic" :src="modules[3].form.pic" alt="">
:src="modules[3].form.pic"
alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
<div class="line"></div> <div class="line"></div>
<div class="text" <div class="text" v-html="modules[3].form.des"></div>
v-html="modules[3].form.des"></div> <img src="@/assets/images/arrow.png" alt="">
<img src="@/assets/images/arrow.png"
alt="">
</div> </div>
<div class="cover" <div class="cover" @click="toSet(3)">点击更换图片标题概述与链接</div>
@click="toSet(3)">点击更换图片标题概述与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
<div class="right"> <div class="right">
<div class="c-wrap"> <div class="c-wrap">
<el-tree class="column" <el-tree class="column" ref="column" :data="modules[4].list" highlight-current
ref="column" :expand-on-click-node="false" :props="defaultProps" node-key="id"></el-tree>
:data="modules[4].list" <div class="cover" @click="toSet(4)">点击更换标题与链接</div>
highlight-current
:expand-on-click-node="false"
:props="defaultProps"
node-key="id"></el-tree>
<div class="cover"
@click="toSet(4)">点击更换标题与链接</div>
</div> </div>
<p class="l-title">人才资讯</p> <p class="l-title">人才资讯</p>
@ -90,18 +67,14 @@
<p class="text">喜报 | 深圳粒子研究院荣获全国科研</p> <p class="text">喜报 | 深圳粒子研究院荣获全国科研</p>
<span class="date">2022-08-09</span> <span class="date">2022-08-09</span>
</li> </li>
<div class="cover" <div class="cover" @click="toSet(5)">点击关联栏目</div>
@click="toSet(5)">点击关联栏目</div>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -119,25 +92,7 @@ export default {
}, },
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '人才中心'
}
])
},
methods: { methods: {
} }
@ -146,131 +101,156 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.content { .content {
margin-top: 20px; margin-top: 20px;
background-color: #fff; background-color: #fff;
} }
.l-title { .l-title {
position: relative; position: relative;
padding-bottom: 20px; padding-bottom: 20px;
font-size: 1rem; font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
color: #000; color: #000;
line-height: 1.6; line-height: 1.6;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
&:after {
content: ''; &:after {
position: absolute; content: '';
bottom: 0; position: absolute;
left: 0; bottom: 0;
width: 30px; left: 0;
height: 2px; width: 30px;
background-color: #156ceb; height: 2px;
} background-color: #156ceb;
}
} }
.article { .article {
display: flex; display: flex;
justify-content: center; justify-content: center;
.left {
width: 66%; .left {
margin-right: 20px; width: 66%;
.talent-title { margin-right: 20px;
padding-bottom: 10px;
font-size: 1.2rem; .talent-title {
color: #666; padding-bottom: 10px;
border-bottom: 1px solid #eaeef2; font-size: 1.2rem;
} color: #666;
.talent-text { border-bottom: 1px solid #eaeef2;
margin: 20px 0;
font-size: 1.1rem;
color: #333;
line-height: 28px;
p {
margin-bottom: 20px;
}
}
} }
.people {
margin-top: 4rem; .talent-text {
li { margin: 20px 0;
position: relative; font-size: 1.1rem;
height: 450px; color: #333;
margin-bottom: 2rem; line-height: 28px;
&:nth-child(even) {
.texts { p {
left: 50px; margin-bottom: 20px;
right: auto; }
background: rgba(255, 255, 255, 0.43); }
} }
}
} .people {
.pic { margin-top: 4rem;
width: 100%;
height: 100%; li {
} position: relative;
height: 450px;
margin-bottom: 2rem;
&:nth-child(even) {
.texts { .texts {
position: absolute; left: 50px;
top: 60px; right: auto;
right: 50px; background: rgba(255, 255, 255, 0.43);
width: 380px;
padding: 50px 25px;
background: rgba(243, 251, 255, 0.82);
}
h6 {
font-size: 1.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #2a4b65;
}
.line {
width: 93px;
height: 1px;
margin: 1rem 0;
background: #3e6473;
}
.text {
margin-bottom: 1rem;
font-size: 1rem;
font-family: PingFangSC-Regular, PingFang SC;
color: #2a4b65;
line-height: 1.6;
} }
}
} }
.right {
width: 20%; .pic {
width: 100%;
height: 100%;
} }
.column {
width: 100%; .texts {
margin-bottom: 25px; position: absolute;
top: 60px;
right: 50px;
width: 380px;
padding: 50px 25px;
background: rgba(243, 251, 255, 0.82);
} }
/deep/.el-tree-node__content {
height: 44px; h6 {
background-color: #e5edf8; font-size: 1.2rem;
border-bottom: 2px solid #fff; font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #2a4b65;
} }
/deep/.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
color: #fff; .line {
background-color: #0f5698; width: 93px;
height: 1px;
margin: 1rem 0;
background: #3e6473;
} }
.list {
position: relative; .text {
margin-bottom: 20px; margin-bottom: 1rem;
li { font-size: 1rem;
padding: 16px 0; font-family: PingFangSC-Regular, PingFang SC;
border-bottom: 1px solid #d8d8d8; color: #2a4b65;
} line-height: 1.6;
.text { }
margin-bottom: 5px; }
font-size: 14px;
cursor: pointer; .right {
&:hover { width: 20%;
color: $main-color; }
}
} .column {
.date { width: 100%;
font-size: 12px; margin-bottom: 25px;
color: #999; }
}
/deep/.el-tree-node__content {
height: 44px;
background-color: #e5edf8;
border-bottom: 2px solid #fff;
}
/deep/.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
color: #fff;
background-color: #0f5698;
}
.list {
position: relative;
margin-bottom: 20px;
li {
padding: 16px 0;
border-bottom: 1px solid #d8d8d8;
} }
.text {
margin-bottom: 5px;
font-size: 14px;
cursor: pointer;
&:hover {
color: $main-color;
}
}
.date {
font-size: 12px;
color: #999;
}
}
} }
</style> </style>

@ -2,13 +2,11 @@
<!-- 人才中心 --> <!-- 人才中心 -->
<div class="wrap p-b-30"> <div class="wrap p-b-30">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/关于IASF-核心团队</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -16,43 +14,32 @@
<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" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="content"> <div class="content">
<div class="left c-wrap"> <div class="left c-wrap">
<ul class="list"> <ul class="list">
<li v-for="(item, i) in modules[1].list" <li v-for="(item, i) in modules[1].list" :key="i">
:key="i"> <img :src="item.pic" alt="" class="pic">
<img :src="item.pic"
alt=""
class="pic">
<div class="texts"> <div class="texts">
<h6>{{ item.title }}</h6> <h6>{{ item.title }}</h6>
<p class="job">{{ item.subTitle }}</p> <p class="job">{{ item.subTitle }}</p>
<div class="text" <div class="text" v-html="item.des"></div>
v-html="item.des"></div>
</div> </div>
</li> </li>
</ul> </ul>
<div class="cover" <div class="cover" @click="toSet(1)">点击更换图片标题描述</div>
@click="toSet(1)">点击更换图片标题描述</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -66,25 +53,7 @@ export default {
modules: Modules.team modules: Modules.team
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '关于IASF-核心团队'
}
])
},
methods: { methods: {
} }
@ -93,47 +62,56 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background-color: #fff; background-color: #fff;
} }
.content { .content {
display: flex; display: flex;
width: 1200px; width: 1200px;
margin: 30px auto; margin: 30px auto;
.list {
position: relative; .list {
li { position: relative;
position: relative;
display: flex; li {
align-items: center; position: relative;
padding-bottom: 30px; display: flex;
margin-bottom: 30px; align-items: center;
border-bottom: 1px solid #ddd; padding-bottom: 30px;
&:last-child { margin-bottom: 30px;
border-bottom: 0; border-bottom: 1px solid #ddd;
}
} &:last-child {
.pic { border-bottom: 0;
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;
}
} }
.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> </style>

@ -1,13 +1,11 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/用户共享</p> <p class="page-name">页面设置/{{ columnName }}</p>
<div> <div>
<el-button type="primary" <el-button type="primary" @click="preview">预览</el-button>
@click="preview">预览</el-button>
<el-button @click="save(0)">保存为草稿</el-button> <el-button @click="save(0)">保存为草稿</el-button>
<el-button type="primary" <el-button type="primary" @click="save(1)">发布</el-button>
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -15,16 +13,13 @@
<div class="modules"> <div class="modules">
<div class="relative"> <div class="relative">
<div class="single-banner"> <div class="single-banner">
<img class="banner-img" <img class="banner-img" :src="modules[0].form.pic" alt="">
: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" <div class="cover" @click="toSet(0)">点击更换banner与链接</div>
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block share"> <div class="block share">
@ -32,14 +27,10 @@
<div class="left"> <div class="left">
<h6 v-html="modules[1].form.title"></h6> <h6 v-html="modules[1].form.title"></h6>
<p class="en">USERS SHARE</p> <p class="en">USERS SHARE</p>
<div class="des" <div class="des" v-html="modules[1].form.des"></div>
v-html="modules[1].form.des"></div>
</div> </div>
<div class="cover" <div class="cover" @click="toSet(1)">点击更换描述</div>
@click="toSet(1)">点击更换描述</div> <img class="pic" :src="modules[1].form.pic" alt="">
<img class="pic"
:src="modules[1].form.pic"
alt="">
<div class="card"> <div class="card">
<p class="title">{{ modules[1].form.subTitle }}</p> <p class="title">{{ modules[1].form.subTitle }}</p>
<p class="en-text">{{ modules[1].form.enTitle }}</p> <p class="en-text">{{ modules[1].form.enTitle }}</p>
@ -50,37 +41,28 @@
<div class="block gray"> <div class="block gray">
<ul class="group"> <ul class="group">
<li> <li>
<img src="@/assets/images/userSharing/2.png" <img src="@/assets/images/userSharing/2.png" alt="">
alt="">
<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 class="cover" <div class="cover" @click="toSet(2)">点击更换标题描述与链接</div>
@click="toSet(2)">点击更换标题描述与链接</div>
</li> </li>
<li> <li>
<img src="@/assets/images/userSharing/3.png" <img src="@/assets/images/userSharing/3.png" alt="">
alt="">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
<div class="des">{{ modules[3].form.des }}</div> <div class="des">{{ modules[3].form.des }}</div>
<div class="cover" <div class="cover" @click="toSet(3)">点击更换标题描述与链接</div>
@click="toSet(3)">点击更换标题描述与链接</div>
</li> </li>
<li> <li>
<img src="@/assets/images/userSharing/4.png" <img src="@/assets/images/userSharing/4.png" alt="">
alt="">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
<div class="des">{{ modules[4].form.des }}</div> <div class="des">{{ modules[4].form.des }}</div>
<div class="cover" <div class="cover" @click="toSet(4)">点击更换标题描述与链接</div>
@click="toSet(4)">点击更换标题描述与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
<Module ref="module" <Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -94,25 +76,7 @@ export default {
modules: Modules.userSharing modules: Modules.userSharing
} }
}, },
mounted () { mounted () { },
this.$store.commit('user/setCrumbs', [
{
name: '站点管理',
route: '/site'
},
{
name: '内容管理',
route: '/column'
},
{
name: '栏目管理',
route: '/column'
},
{
name: '用户共享'
}
])
},
methods: { methods: {
} }
@ -121,96 +85,111 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../../styles/page/page.scss'; @import '../../../styles/page/page.scss';
.share { .share {
position: relative;
.inner {
display: flex;
width: 1476px;
}
.left {
width: 509px;
}
h6 {
position: relative; position: relative;
.inner { font-size: 48px;
display: flex; font-family: PingFangSC-Medium, PingFang SC;
width: 1476px; font-weight: 500;
} color: #333333;
.left { }
width: 509px;
} .en {
h6 { margin-top: -35px;
position: relative; font-size: 45px;
font-size: 48px; font-family: AppleSystemUIFont;
font-family: PingFangSC-Medium, PingFang SC; color: #e4e4e4;
font-weight: 500; }
color: #333333;
} .des {
.en { margin-top: 25px;
margin-top: -35px; font-size: 18px;
font-size: 45px; color: #333;
font-family: AppleSystemUIFont; line-height: 37px;
color: #e4e4e4; overflow: visible;
} }
.des {
margin-top: 25px; .pic {
font-size: 18px; width: 944px;
color: #333; height: 568px;
line-height: 37px; border-top-left-radius: 20px;
overflow: visible; }
}
.pic { .card {
width: 944px; position: absolute;
height: 568px; bottom: 29px;
border-top-left-radius: 20px; left: 0;
} width: 1068px;
.card { height: 145px;
position: absolute; padding: 20px 0 0 11%;
bottom: 29px; background: #7bacc4;
left: 0; border-radius: 0px 100px 0px 0px;
width: 1068px; opacity: 0.88;
height: 145px; }
padding: 20px 0 0 11%;
background: #7bacc4; .title {
border-radius: 0px 100px 0px 0px; margin-bottom: 10px;
opacity: 0.88; font-size: 40px;
} font-family: PingFangSC-Medium, PingFang SC;
.title { font-weight: 500;
margin-bottom: 10px; color: #fff;
font-size: 40px; }
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; .en-text {
color: #fff; font-size: 28px;
} font-family: AppleSystemUIFont;
.en-text { color: #fff;
font-size: 28px; letter-spacing: 2px;
font-family: AppleSystemUIFont; }
color: #fff;
letter-spacing: 2px;
}
} }
.group { .group {
display: flex; display: flex;
justify-content: center; justify-content: center;
li {
position: relative; li {
width: 420px; position: relative;
height: 390px; width: 420px;
padding: 195px 0 0 32px; height: 390px;
margin-right: 20px; padding: 195px 0 0 32px;
color: #fff; margin-right: 20px;
} color: #fff;
img { }
position: absolute;
top: 0; img {
left: 0; position: absolute;
width: 100%; top: 0;
height: 100%; left: 0;
} width: 100%;
h6 { height: 100%;
position: relative; }
font-size: 36px;
font-family: PingFangSC-Medium, PingFang SC; h6 {
font-weight: 500; position: relative;
} font-size: 36px;
.des { font-family: PingFangSC-Medium, PingFang SC;
position: relative; font-weight: 500;
margin-top: 16px; }
font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC; .des {
font-weight: 500; position: relative;
line-height: 31px; margin-top: 16px;
} font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
line-height: 31px;
}
} }
</style> </style>
Loading…
Cancel
Save