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

master
yujialong 1 year ago
parent 9aa6981d56
commit d83017600f
  1. 18
      src/const/modules.js
  2. 2
      src/pages/column/page/deviceIntroBeam.vue
  3. 84
      src/pages/column/page/deviceIntroLayout.vue
  4. 82
      src/pages/column/page/deviceIntroLinear.vue
  5. 97
      src/pages/column/page/exp.vue
  6. 79
      src/pages/column/page/overviewDevHistory.vue
  7. 75
      src/pages/column/page/overviewIntro.vue
  8. 60
      src/pages/column/page/overviewSetup.vue
  9. 2
      src/pages/column/page/talent.vue
  10. 58
      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: '站点管理',
@ -95,7 +123,7 @@ 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/device/4.png) bottom right/auto no-repeat; background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
} }
@ -121,7 +149,7 @@ export default {
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;
} }
.card { .card {
max-width: 1671px; max-width: 1671px;
@ -130,9 +158,9 @@ export default {
font-size: 24px; font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #ffffff;
line-height: 38px; line-height: 38px;
background: url(http://10.10.11.7/images/device/5.png) 0 0/cover no-repeat; background: url(http://10.10.11.7/images/device/5.png) 0 0 / cover no-repeat;
} }
.des { .des {
margin-top: 25px; margin-top: 25px;
@ -173,8 +201,8 @@ export default {
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: '站点管理',
@ -97,7 +119,7 @@ export default {
</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%;
@ -108,23 +130,23 @@ export default {
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);
} }
@ -136,20 +158,20 @@ export default {
font-size: 28px; font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #ffffff;
} }
.line { .line {
width: 214px; width: 214px;
height: 5px; height: 5px;
margin: 54px 0 44px; margin: 54px 0 44px;
background: #FFFFFF; background: #ffffff;
opacity: 0.52; opacity: 0.52;
} }
.des { .des {
font-size: 22px; font-size: 22px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #ffffff;
line-height: 44px; line-height: 44px;
overflow: visible; overflow: visible;
} }
@ -177,7 +199,7 @@ export default {
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;
@ -185,8 +207,8 @@ export default {
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%;

@ -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: '站点管理',
@ -122,7 +156,7 @@ export default {
</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;
@ -139,7 +173,7 @@ export default {
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 {
@ -175,7 +209,8 @@ export default {
font-weight: 500; font-weight: 500;
color: #fff; color: #fff;
} }
.item1, .item2 { .item1,
.item2 {
width: 25%; width: 25%;
} }
.item3 { .item3 {

@ -3,9 +3,11 @@
<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>
@ -13,57 +15,76 @@
<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,27 +130,27 @@ 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;
} }
} }
} }
@ -139,14 +160,14 @@ export default {
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 {
@ -168,12 +189,12 @@ export default {
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;
@ -192,7 +213,7 @@ export default {
font-size: 3.8rem; font-size: 3.8rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN; font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800; font-weight: 800;
color: #1A81F4; color: #1a81f4;
} }
.list { .list {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;

@ -3,9 +3,11 @@
<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"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button> <el-button @click="back">放弃编辑</el-button>
</div> </div>
</div> </div>
@ -13,44 +15,62 @@
<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,25 +115,25 @@ 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;
} }
} }
} }
@ -160,7 +180,7 @@ export default {
bottom: 0; bottom: 0;
left: 0; left: 0;
content: ''; content: '';
background-color: rgba(0, 0, 0, .3); background-color: rgba(0, 0, 0, 0.3);
} }
.texts { .texts {
position: relative; position: relative;
@ -178,7 +198,7 @@ export default {
} }
@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;
@ -187,12 +207,11 @@ export default {
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,9 +3,11 @@
<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>
@ -13,37 +15,53 @@
<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,22 +106,22 @@ 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;
} }
} }
} }
@ -117,7 +135,7 @@ export default {
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;

@ -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: '站点管理',
@ -102,7 +120,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../../styles/page/page.scss"; @import '../../../styles/page/page.scss';
.share { .share {
position: relative; position: relative;
.inner { .inner {
@ -123,7 +141,7 @@ export default {
margin-top: -35px; margin-top: -35px;
font-size: 45px; font-size: 45px;
font-family: AppleSystemUIFont; font-family: AppleSystemUIFont;
color: #E4E4E4; color: #e4e4e4;
} }
.des { .des {
margin-top: 25px; margin-top: 25px;
@ -144,7 +162,7 @@ export default {
width: 1068px; width: 1068px;
height: 145px; height: 145px;
padding: 20px 0 0 11%; padding: 20px 0 0 11%;
background: #7BACC4; background: #7bacc4;
border-radius: 0px 100px 0px 0px; border-radius: 0px 100px 0px 0px;
opacity: 0.88; opacity: 0.88;
} }

Loading…
Cancel
Save