自由电子激光标题改成富文本

master
yujialong 1 year ago
parent 9aa6981d56
commit d83017600f
  1. 18
      src/const/modules.js
  2. 2
      src/pages/column/page/deviceIntroBeam.vue
  3. 220
      src/pages/column/page/deviceIntroLayout.vue
  4. 244
      src/pages/column/page/deviceIntroLinear.vue
  5. 223
      src/pages/column/page/exp.vue
  6. 277
      src/pages/column/page/overviewDevHistory.vue
  7. 231
      src/pages/column/page/overviewIntro.vue
  8. 144
      src/pages/column/page/overviewSetup.vue
  9. 2
      src/pages/column/page/talent.vue
  10. 230
      src/pages/column/page/userSharing.vue

@ -3779,7 +3779,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true
@ -4024,7 +4024,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true
@ -4219,7 +4219,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true
@ -4946,7 +4946,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true
@ -5087,7 +5087,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true
@ -5227,7 +5227,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true
@ -5359,7 +5359,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true
@ -5437,7 +5437,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true
@ -5551,7 +5551,7 @@ export default {
type: 'form', type: 'form',
forms: [ forms: [
{ {
type: 'input', type: 'editor',
prop: 'title', prop: 'title',
label: '标题', label: '标题',
required: true required: true

@ -33,7 +33,7 @@
<div class="block share"> <div class="block share">
<div class="inner"> <div class="inner">
<div class="c-wrap"> <div class="c-wrap">
<h6>{{ 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" <div class="cover"

@ -3,59 +3,87 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/装置介绍</p> <p class="page-name">页面设置/装置介绍</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>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
<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"
<img width="100%" height="100%" :src="item.pic" alt=""> :key="i">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@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>{{ 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" v-html="modules[1].form.des"></div> <div class="card"
<div class="cover" @click="toSet(1)">点击更改标题小标题与概述</div> v-html="modules[1].form.des"></div>
<div class="cover"
@click="toSet(1)">点击更改标题小标题与概述</div>
</div> </div>
<div class="flex c-wrap" style="margin-top: 50px"> <div class="flex c-wrap"
style="margin-top: 50px">
<div class="left"> <div class="left">
<div class="des" v-html="modules[2].form.des"></div> <div class="des"
v-html="modules[2].form.des"></div>
</div> </div>
<img class="pic" :src="modules[2].form.pic" alt=""> <img class="pic"
<div class="cover" @click="toSet(2)">点击更改概述与图片</div> :src="modules[2].form.pic"
alt="">
<div class="cover"
@click="toSet(2)">点击更改概述与图片</div>
</div> </div>
</div> </div>
</div> </div>
<div class="intro"> <div class="intro">
<img class="bg" src="http://10.10.11.7/images/device/7.png" alt=""> <img class="bg"
<div class="c-wrap" style="min-height: 700px"> src="http://10.10.11.7/images/device/7.png"
<img class="pic" style="max-height: 600px" :src="modules[3].form.pic" alt=""> alt="">
<div class="cover" @click="toSet(3)">点击更改图片</div> <div class="c-wrap"
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">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
<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" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -64,12 +92,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.deviceIntroLayout modules: Modules.deviceIntroLayout
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -89,92 +117,92 @@ export default {
]) ])
}, },
methods: { methods: {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat; background: url(http://10.10.11.7/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;
font-size: 48px; .inner {
font-family: PingFangSC-Medium, PingFang SC; width: 90%;
font-weight: 500; max-width: 1323px;
color: #333333; }
} .left {
.en { width: 547px;
margin: -35px 0 40px; margin-right: 66px;
font-size: 48px; }
font-family: PingFangSC-Light, PingFang SC; h6 {
font-weight: 300; position: relative;
color: #E3E3E3; font-size: 48px;
} font-family: PingFangSC-Medium, PingFang SC;
.card { font-weight: 500;
max-width: 1671px; color: #333333;
width: 90%; }
padding: 32px 52px 25px 16%; .en {
font-size: 24px; margin: -35px 0 40px;
font-family: PingFangSC-Medium, PingFang SC; font-size: 48px;
font-weight: 500; font-family: PingFangSC-Light, PingFang SC;
color: #FFFFFF; font-weight: 300;
line-height: 38px; color: #e3e3e3;
background: url(http://10.10.11.7/images/device/5.png) 0 0/cover no-repeat; }
} .card {
.des { max-width: 1671px;
margin-top: 25px; width: 90%;
font-size: 18px; padding: 32px 52px 25px 16%;
color: #333; font-size: 24px;
line-height: 37px; font-family: PingFangSC-Medium, PingFang SC;
overflow: visible; font-weight: 500;
} color: #ffffff;
.pic { line-height: 38px;
width: 710px; background: url(http://10.10.11.7/images/device/5.png) 0 0 / cover no-repeat;
height: 509px; }
border-top-left-radius: 20px; .des {
} margin-top: 25px;
font-size: 18px;
color: #333;
line-height: 37px;
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 { .bg {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
} }
.pic { .pic {
position: absolute; position: absolute;
top: 67px; top: 67px;
left: 15%; left: 15%;
width: 74%; width: 74%;
} }
} }
.unit { .unit {
width: 986px; width: 986px;
padding-bottom: 60px; padding-bottom: 60px;
margin: 0 auto; margin: 0 auto;
h6 { h6 {
padding-left: 15px; padding-left: 15px;
margin-bottom: 15px; margin-bottom: 15px;
font-size: 20px; font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #2A2A2A; color: #2a2a2a;
border-left: 4px solid #1583FF; border-left: 4px solid #1583ff;
} }
} }
</style> </style>

@ -3,40 +3,55 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/装置介绍</p> <p class="page-name">页面设置/装置介绍</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>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
<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"
<img width="100%" height="100%" :src="item.pic" alt=""> :key="i">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@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">{{ modules[1].form.title }}</h2> <h2 class="wow fadeInLeft"
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" @click="toSet(1)">点击更改标题与概述</div> <div class="cover"
@click="toSet(1)">点击更改标题与概述</div>
</div> </div>
<div class="texts wow fadeInDown" data-wow-delay="0.5s"> <div class="texts wow fadeInDown"
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" v-html="modules[2].form.des"></div> <div class="des"
<div class="cover" @click="toSet(2)">点击更改标题与概述</div> v-html="modules[2].form.des"></div>
<div class="cover"
@click="toSet(2)">点击更改标题与概述</div>
</div> </div>
<img class="bg" src="http://10.10.11.7/images/device/10.png" alt=""> <img class="bg"
src="http://10.10.11.7/images/device/10.png"
alt="">
</div> </div>
</div> </div>
</div> </div>
@ -45,19 +60,26 @@
<div class="inner"> <div class="inner">
<div class="left c-wrap"> <div class="left c-wrap">
<h5>{{ modules[3].form.title }}</h5> <h5>{{ modules[3].form.title }}</h5>
<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">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
<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" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -66,12 +88,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.deviceIntroLinear modules: Modules.deviceIntroLinear
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -91,106 +113,106 @@ export default {
]) ])
}, },
methods: { methods: {
} }
}; };
</script> </script>
<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 { h2 {
position: relative; position: relative;
font-size: 48px; font-size: 48px;
font-family: PingFangSC-Semibold, PingFang SC; font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600; font-weight: 600;
color: #1C1C1C; color: #1c1c1c;
} }
.en { .en {
margin: -35px 0 40px; margin: -35px 0 40px;
font-size: 48px; font-size: 48px;
font-family: PingFangSC-Light, PingFang SC; font-family: PingFangSC-Light, PingFang SC;
font-weight: 300; font-weight: 300;
color: #E3E3E3; color: #e3e3e3;
} }
.texts { .texts {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 82px 0 30px 38px; padding: 82px 0 30px 38px;
margin-top: 20px; margin-top: 20px;
background: #1583FF; background: #1583ff;
border-radius: 65px 100px 0px 0px; border-radius: 65px 100px 0px 0px;
transition: .3s; transition: 0.3s;
&:hover { &:hover {
transform: scale(1.05); transform: scale(1.05);
}
}
.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;
} }
}
.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 { .left {
width: 30%; width: 30%;
} }
.right { .right {
width: 68%; width: 68%;
margin-left: 2%; margin-left: 2%;
} }
h5 { h5 {
margin-bottom: 15px; margin-bottom: 15px;
font-size: 20px; font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #2A2A2A; color: #2a2a2a;
} }
h6 { h6 {
padding-left: 15px; padding-left: 15px;
margin-bottom: 15px; margin-bottom: 15px;
font-size: 20px; font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #2A2A2A; color: #2a2a2a;
border-left: 4px solid #1583FF; border-left: 4px solid #1583ff;
} }
img { img {
width: 100%; width: 100%;
height: 85%; height: 85%;
} }
} }
</style> </style>

@ -3,76 +3,110 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/装置介绍-实验站</p> <p class="page-name">页面设置/装置介绍-实验站</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>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
<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"
<img width="100%" height="100%" :src="item.pic" alt=""> :key="i">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item> </el-carousel-item>
</template> </template>
</el-carousel> </el-carousel>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div> </div>
<div class="block station"> <div class="block station">
<div class="inner c-wrap"> <div class="inner c-wrap">
<h6>{{ 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)" class="pic" ref="video" autoplay controls loop> <video v-if="Util.isVideo(modules[1].form.mediaType)"
<source :src="modules[1].form.pic" type="video/mp4"> class="pic"
ref="video"
autoplay
controls
loop>
<source :src="modules[1].form.pic"
type="video/mp4">
您的浏览器不支持 video 标签 您的浏览器不支持 video 标签
</video> </video>
<img v-else class="pic" :src="modules[1].form.pic" alt=""> <img v-else
class="pic"
:src="modules[1].form.pic"
alt="">
</template> </template>
<div class="des" v-html="modules[1].form.des"></div> <div class="des"
<div class="cover" @click="toSet(1)">点击更改图片与概述</div> v-html="modules[1].form.des"></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" alt=""> <img src="@/assets/images/exp/2.png"
alt="">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="cover" @click="toSet(2)">点击更改标题与链接</div> <div class="cover"
@click="toSet(2)">点击更改标题与链接</div>
</li> </li>
<li class="item2"> <li class="item2">
<img src="@/assets/images/exp/3.png" alt=""> <img src="@/assets/images/exp/3.png"
alt="">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
<div class="cover" @click="toSet(3)">点击更改标题与链接</div> <div class="cover"
@click="toSet(3)">点击更改标题与链接</div>
</li> </li>
<li class="item3"> <li class="item3">
<img src="@/assets/images/exp/4.png" alt=""> <img src="@/assets/images/exp/4.png"
alt="">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
<div class="cover" @click="toSet(4)">点击更改标题与链接</div> <div class="cover"
@click="toSet(4)">点击更改标题与链接</div>
</li> </li>
<li class="item4"> <li class="item4">
<img src="@/assets/images/exp/5.png" alt=""> <img src="@/assets/images/exp/5.png"
alt="">
<h6>{{ modules[5].form.title }}</h6> <h6>{{ modules[5].form.title }}</h6>
<div class="cover" @click="toSet(5)">点击更改标题与链接</div> <div class="cover"
@click="toSet(5)">点击更改标题与链接</div>
</li> </li>
<li class="item5"> <li class="item5">
<img src="@/assets/images/exp/6.png" alt=""> <img src="@/assets/images/exp/6.png"
alt="">
<h6>{{ modules[6].form.title }}</h6> <h6>{{ modules[6].form.title }}</h6>
<div class="cover" @click="toSet(6)">点击更改标题与链接</div> <div class="cover"
@click="toSet(6)">点击更改标题与链接</div>
</li> </li>
<li class="item6"> <li class="item6">
<img src="@/assets/images/exp/7.png" alt=""> <img src="@/assets/images/exp/7.png"
alt="">
<h6>{{ modules[7].form.title }}</h6> <h6>{{ modules[7].form.title }}</h6>
<div class="cover" @click="toSet(7)">点击更改标题与链接</div> <div class="cover"
@click="toSet(7)">点击更改标题与链接</div>
</li> </li>
</ul> </ul>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -82,21 +116,21 @@ import Modules from '@/const/modules'
import Util from '@/libs/util' import Util from '@/libs/util'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
modules: Modules.exp, modules: Modules.exp,
Util Util
} }
}, },
computed: { computed: {
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) console.log(33, pic)
return Util.isVideo(ext) return Util.isVideo(ext)
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -116,79 +150,80 @@ export default {
]) ])
}, },
methods: { methods: {
} }
}; };
</script> </script>
<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 { h6 {
position: relative; position: relative;
font-size: 48px; font-size: 48px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
line-height: 1; line-height: 1;
} }
.en { .en {
margin-bottom: 20px; margin-bottom: 20px;
font-size: 45px; font-size: 45px;
font-family: AppleSystemUIFont; font-family: AppleSystemUIFont;
color: #E4E4E4; color: #e4e4e4;
line-height: 1; line-height: 1;
} }
.pic { .pic {
width: 100%; width: 100%;
height: 604px; height: 604px;
} }
.des { .des {
margin-top: 55px; margin-top: 55px;
font-size: 18px; font-size: 18px;
color: #333; color: #333;
line-height: 34px; line-height: 34px;
overflow: visible; overflow: visible;
} }
} }
.list { .list {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 30px; margin-top: 30px;
li { li {
position: relative; position: relative;
height: 542px; height: 542px;
} }
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
h6 { h6 {
position: absolute; position: absolute;
top: 192px; top: 192px;
left: 60px; left: 60px;
font-size: 30px; font-size: 30px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #fff; color: #fff;
} }
.item1, .item2 { .item1,
width: 25%; .item2 {
} width: 25%;
.item3 { }
width: 50%; .item3 {
} width: 50%;
.item4 { }
width: 40%; .item4 {
} width: 40%;
.item5 { }
width: 32%; .item5 {
} width: 32%;
.item6 { }
width: 28%; .item6 {
} width: 28%;
}
} }
</style> </style>

@ -3,67 +3,88 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/SFEL-概况-发展历程</p> <p class="page-name">页面设置/SFEL-概况-发展历程</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>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
<el-button @click="back">放弃编辑</el-button> @click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
<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" :src="modules[0].form.pic" alt=""> <img class="banner-img"
: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" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@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}" :key="i" @click="tabChange(i)">{{ item }}</li> <li :class="{active: i == active}"
: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">{{ modules[1].form.title }}</h2> <h2 class="wow fadeInLeft"
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" @click="toSet(1)">点击更换标题与描述</div> <div class="cover"
@click="toSet(1)">点击更换标题与描述</div>
</div> </div>
<div class="c-wrap"> <div class="c-wrap">
<div v-if="modules[2].list.length" class="event"> <div v-if="modules[2].list.length"
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" :key="i" :class="{active: curYear == i}">{{ item.title }}</li> <li v-if="item.isEnable"
: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" :key="j"> <li v-if="e.isEnable"
: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" :src="e.pic" alt="" class="pic"> <img v-if="e.pic"
:src="e.pic"
alt=""
class="pic">
</li> </li>
</template> </template>
</ul> </ul>
</div> </div>
</div> </div>
<div class="cover" style="min-height: 300px;" @click="toSet(2)">点击配置历程</div> <div class="cover"
style="min-height: 300px;"
@click="toSet(2)">点击配置历程</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -72,7 +93,7 @@ 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.overviewDevHistory, modules: Modules.overviewDevHistory,
active: 0, active: 0,
@ -80,7 +101,7 @@ export default {
curYear: 0 curYear: 0
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -101,7 +122,7 @@ export default {
}, },
methods: { methods: {
// tab // tab
tabChange(i) { tabChange (i) {
this.active = i this.active = i
}, },
} }
@ -109,128 +130,128 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.wrap { .wrap {
background: url(http://10.10.11.7/images/overviewDevHistory/1.png) (right 505px)/auto no-repeat, background: url(http://10.10.11.7/images/overviewDevHistory/1.png) (right 505px) / auto no-repeat,
url(http://10.10.11.7/images/overviewDevHistory/2.png) (left bottom)/auto no-repeat; url(http://10.10.11.7/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 { li {
padding: 25px 19px; padding: 25px 19px;
margin: 0 10px; margin: 0 10px;
font-size: 1.1rem; font-size: 1.1rem;
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;
}
} }
}
} }
.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 { .en {
margin: -15px 0 40px; margin: -15px 0 40px;
font-size: 2.2rem; font-size: 2.2rem;
font-family: PingFangSC-Light, PingFang SC; font-family: PingFangSC-Light, PingFang SC;
font-weight: 300; font-weight: 300;
color: #E3E3E3; color: #e3e3e3;
} }
} }
.event { .event {
display: flex; display: flex;
justify-content: center; justify-content: center;
.time { .time {
width: 200px; width: 200px;
padding-right: 10px; padding-right: 10px;
margin-right: 20px; margin-right: 20px;
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
li { li {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
align-items: center; align-items: center;
width: 190px; width: 190px;
padding-right: 45px; padding-right: 45px;
line-height: 60px; line-height: 60px;
font-size: 1.4rem; font-size: 1.4rem;
font-weight: 600; font-weight: 600;
font-family: SFProDisplay-Semibold, SFProDisplay; font-family: SFProDisplay-Semibold, SFProDisplay;
color: #666; color: #666;
box-shadow: inset 0px -1px 0px 0px #DDDDDD; box-shadow: inset 0px -1px 0px 0px #dddddd;
cursor: pointer; cursor: pointer;
&.active { &.active {
font-weight: 800; font-weight: 800;
color: #1A81F4; color: #1a81f4;
background: linear-gradient(90deg, #FFFFFF 0%, #F3F8FF 100%); background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%);
&:before { &:before {
content: ''; content: '';
width: 18px; width: 18px;
height: 18px; height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat; background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px; margin-right: 20px;
}
}
} }
}
} }
} .right {
.right { width: 900px;
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;
}
.texts {
width: 500px;
}
.date {
margin-bottom: 15px;
font-size: 1.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
} }
.text { .year {
font-size: 1.1rem; margin: 0 0 20px 20px;
color: #333; font-size: 3.8rem;
@include mul-ellipsis(3); font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
&:before { font-weight: 800;
content: ''; color: #1a81f4;
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
} }
.pic { .list {
width: 350px; border-top: 1px solid #ddd;
height: 195px; li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 1px solid #ddd;
}
.texts {
width: 500px;
}
.date {
margin-bottom: 15px;
font-size: 1.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
}
.text {
font-size: 1.1rem;
color: #333;
@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;
}
} }
}
} }
</style> </style>

@ -3,54 +3,74 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/SFEL-概况-S³FEL介绍</p> <p class="page-name">页面设置/SFEL-概况-S³FEL介绍</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>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
<el-button @click="back">放弃编辑</el-button> @click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
<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" :src="modules[0].form.pic" alt=""> <img class="banner-img"
: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" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@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}" :key="i" @click="tabChange(i)">{{ item }}</li> <li :class="{active: i == active}"
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
<div class="intro"> <div class="intro">
<img class="pic" src="http://10.10.11.7/images/overviewIntro/1.png" alt=""> <img class="pic"
src="http://10.10.11.7/images/overviewIntro/1.png"
alt="">
<div class="right c-wrap"> <div class="right c-wrap">
<h6> <div class="relative">
{{ modules[1].form.title }} <h6 v-html="modules[1].form.title"></h6>
<img class="title-bg" src="http://10.10.11.7/images/overviewIntro/2.png" alt=""> <img class="title-bg"
</h6> src="http://10.10.11.7/images/overviewIntro/2.png"
<div class="text" v-html="modules[1].form.des"></div> alt="">
<div class="cover" style="min-height: 300px;" @click="toSet(1)">点击更换标题与描述</div> </div>
<div class="text"
v-html="modules[1].form.des"></div>
<div class="cover"
style="min-height: 300px;"
@click="toSet(1)">点击更换标题与描述</div>
</div> </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" v-html="modules[2].form.des"></div> <div class="des"
v-html="modules[2].form.des"></div>
</div> </div>
<div class="cover" @click="toSet(2)">点击更换标题与描述</div> <div class="cover"
@click="toSet(2)">点击更换标题与描述</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -59,14 +79,14 @@ 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.overviewIntro, modules: Modules.overviewIntro,
active: 0, active: 0,
tabs: ['S³FEL介绍'] tabs: ['S³FEL介绍']
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -87,7 +107,7 @@ export default {
}, },
methods: { methods: {
// tab // tab
tabChange(i) { tabChange (i) {
this.active = i this.active = i
}, },
} }
@ -95,104 +115,103 @@ export default {
</script> </script>
<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 { li {
padding: 25px 19px; padding: 25px 19px;
margin: 0 10px; margin: 0 10px;
font-size: 1.1rem; font-size: 1.1rem;
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 {
padding-top: 150px; padding-top: 150px;
.intro { .intro {
display: flex; display: flex;
margin-bottom: 110px; margin-bottom: 110px;
.pic { .pic {
width: 600px; width: 600px;
margin-right: 50px; margin-right: 50px;
}
.right {
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;
}
} }
.right { .intro-bg {
width: 600px; position: relative;
height: 275px;
padding-top: 90px;
color: #fff;
text-align: center;
background: url(http://10.10.11.7/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;
}
} }
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;
height: 275px;
padding-top: 90px;
color: #fff;
text-align: center;
background: url(http://10.10.11.7/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, .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 { li {
white-space: normal; white-space: normal;
}
} }
} .tab-content {
.tab-content{ width: 90%;
width: 90%; span {
span { font-size: 1.35rem;
font-size: 1.35rem; }
} }
}
} }
</style> </style>

@ -3,47 +3,65 @@
<div class="actions"> <div class="actions">
<p class="page-name">页面设置/SFEL-概况-机构设置</p> <p class="page-name">页面设置/SFEL-概况-机构设置</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>
<el-button type="primary" @click="save(1)">发布</el-button> <el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
<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" :src="modules[0].form.pic" alt=""> <img class="banner-img"
: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" @click="toSet(0)">点击更换banner与链接</div> <div class="cover"
@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}" :key="i" @click="tabChange(i)">{{ item }}</li> <li :class="{active: i == active}"
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template> </template>
</ul> </ul>
<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 v-html="modules[1].form.title"></h6>
<p class="text" v-html="modules[1].form.des"></p> <p class="text"
v-html="modules[1].form.des"></p>
</div> </div>
<img class="pic" src="http://10.10.11.7/images/overviewSetup/1.png" alt=""> <img class="pic"
<div class="cover" style="min-height: 300px;" @click="toSet(1)">点击更换标题与描述</div> src="http://10.10.11.7/images/overviewSetup/1.png"
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%" :src="modules[2].form.pic" alt=""> <img width="100%"
<div class="cover" @click="toSet(2)">点击更换图片</div> :src="modules[2].form.pic"
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</div>
</div> </div>
</div> </div>
</div> </div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> <Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div> </div>
</template> </template>
@ -52,14 +70,14 @@ 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.overviewSetup, modules: Modules.overviewSetup,
active: 0, active: 0,
tabs: ['机构设置'] tabs: ['机构设置']
} }
}, },
mounted() { mounted () {
this.$store.commit('user/setCrumbs', [ this.$store.commit('user/setCrumbs', [
{ {
name: '站点管理', name: '站点管理',
@ -80,7 +98,7 @@ export default {
}, },
methods: { methods: {
// tab // tab
tabChange(i) { tabChange (i) {
this.active = i this.active = i
}, },
} }
@ -88,60 +106,60 @@ export default {
</script> </script>
<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 { li {
padding: 25px 19px; padding: 25px 19px;
margin: 0 10px; margin: 0 10px;
font-size: 1.1rem; font-size: 1.1rem;
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 {
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 { .left {
width: 705px; width: 705px;
} }
h6 { h6 {
font-size: 1.4rem; font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi; font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold; font-weight: bold;
color: #333; color: #333;
} }
.text { .text {
margin-top: 10px; margin-top: 10px;
font-size: 1rem; font-size: 1rem;
color: #020202; color: #020202;
line-height: 2rem; line-height: 2rem;
} }
.pic { .pic {
width: 320px; width: 320px;
height: 282px; height: 282px;
} }
} }
.lg-bg { .lg-bg {
position: relative; position: relative;
width: 85%; width: 85%;
margin: 0 auto; margin: 0 auto;
} }
</style> </style>

@ -57,7 +57,7 @@
<div class="style c-wrap"> <div class="style c-wrap">
<div class="c-wrap"> <div class="c-wrap">
<h6>{{ 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>

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