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

master
yujialong 1 year ago
parent 9aa6981d56
commit d83017600f
  1. 18
      src/const/modules.js
  2. 2
      src/pages/column/page/deviceIntroBeam.vue
  3. 78
      src/pages/column/page/deviceIntroLayout.vue
  4. 78
      src/pages/column/page/deviceIntroLinear.vue
  5. 91
      src/pages/column/page/exp.vue
  6. 65
      src/pages/column/page/overviewDevHistory.vue
  7. 61
      src/pages/column/page/overviewIntro.vue
  8. 50
      src/pages/column/page/overviewSetup.vue
  9. 2
      src/pages/column/page/talent.vue
  10. 54
      src/pages/column/page/userSharing.vue

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

@ -33,7 +33,7 @@
<div class="block share">
<div class="inner">
<div class="c-wrap">
<h6>{{ modules[1].form.title }}</h6>
<h6 v-html="modules[1].form.title"></h6>
<p class="en"
v-html="modules[1].form.des"></p>
<div class="cover"

@ -3,59 +3,87 @@
<div class="actions">
<p class="page-name">页面设置/装置介绍</p>
<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 type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt="">
<el-carousel-item v-if="item.pic && item.isEnable"
:key="i">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item>
</template>
</el-carousel>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="block share">
<div class="inner">
<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>
<div class="card" v-html="modules[1].form.des"></div>
<div class="cover" @click="toSet(1)">点击更改标题小标题与概述</div>
<div class="card"
v-html="modules[1].form.des"></div>
<div class="cover"
@click="toSet(1)">点击更改标题小标题与概述</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="des" v-html="modules[2].form.des"></div>
<div class="des"
v-html="modules[2].form.des"></div>
</div>
<img class="pic" :src="modules[2].form.pic" alt="">
<div class="cover" @click="toSet(2)">点击更改概述与图片</div>
<img class="pic"
:src="modules[2].form.pic"
alt="">
<div class="cover"
@click="toSet(2)">点击更改概述与图片</div>
</div>
</div>
</div>
<div class="intro">
<img class="bg" src="http://10.10.11.7/images/device/7.png" alt="">
<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>
<img class="bg"
src="http://10.10.11.7/images/device/7.png"
alt="">
<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 class="unit c-wrap">
<h6>{{ modules[4].form.title }}</h6>
<img class="pic" :src="modules[4].form.pic" alt="">
<div class="cover" @click="toSet(4)">点击更改标题与图片</div>
<img class="pic"
:src="modules[4].form.pic"
alt="">
<div class="cover"
@click="toSet(4)">点击更改标题与图片</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>
</template>
@ -95,7 +123,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.wrap {
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-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #E3E3E3;
color: #e3e3e3;
}
.card {
max-width: 1671px;
@ -130,7 +158,7 @@ export default {
font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
color: #ffffff;
line-height: 38px;
background: url(http://10.10.11.7/images/device/5.png) 0 0 / cover no-repeat;
}
@ -173,8 +201,8 @@ export default {
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2A2A2A;
border-left: 4px solid #1583FF;
color: #2a2a2a;
border-left: 4px solid #1583ff;
}
}
</style>

@ -3,40 +3,55 @@
<div class="actions">
<p class="page-name">页面设置/装置介绍</p>
<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 type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt="">
<el-carousel-item v-if="item.pic && item.isEnable"
:key="i">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item>
</template>
</el-carousel>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="block history gray">
<div class="inner">
<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>
<div class="cover" @click="toSet(1)">点击更改标题与概述</div>
<div class="cover"
@click="toSet(1)">点击更改标题与概述</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">
<h6>{{ modules[2].form.title }}</h6>
<div class="line"></div>
<div class="des" v-html="modules[2].form.des"></div>
<div class="cover" @click="toSet(2)">点击更改标题与概述</div>
<div class="des"
v-html="modules[2].form.des"></div>
<div class="cover"
@click="toSet(2)">点击更改标题与概述</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>
@ -45,19 +60,26 @@
<div class="inner">
<div class="left c-wrap">
<h5>{{ modules[3].form.title }}</h5>
<img :src="modules[3].form.pic" alt="">
<div class="cover" @click="toSet(3)">点击更改标题与图片</div>
<img :src="modules[3].form.pic"
alt="">
<div class="cover"
@click="toSet(3)">点击更改标题与图片</div>
</div>
<div class="right c-wrap">
<h6>{{ modules[4].form.title }}</h6>
<img :src="modules[4].form.pic" alt="">
<div class="cover" @click="toSet(4)">点击更改标题与图片</div>
<img :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>
</template>
@ -97,7 +119,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.history {
.inner {
width: 90%;
@ -108,23 +130,23 @@ export default {
font-size: 48px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1C1C1C;
color: #1c1c1c;
}
.en {
margin: -35px 0 40px;
font-size: 48px;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #E3E3E3;
color: #e3e3e3;
}
.texts {
display: flex;
justify-content: space-between;
padding: 82px 0 30px 38px;
margin-top: 20px;
background: #1583FF;
background: #1583ff;
border-radius: 65px 100px 0px 0px;
transition: .3s;
transition: 0.3s;
&:hover {
transform: scale(1.05);
}
@ -136,20 +158,20 @@ export default {
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
color: #ffffff;
}
.line {
width: 214px;
height: 5px;
margin: 54px 0 44px;
background: #FFFFFF;
background: #ffffff;
opacity: 0.52;
}
.des {
font-size: 22px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
color: #ffffff;
line-height: 44px;
overflow: visible;
}
@ -177,7 +199,7 @@ export default {
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2A2A2A;
color: #2a2a2a;
}
h6 {
padding-left: 15px;
@ -185,8 +207,8 @@ export default {
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2A2A2A;
border-left: 4px solid #1583FF;
color: #2a2a2a;
border-left: 4px solid #1583ff;
}
img {
width: 100%;

@ -3,76 +3,110 @@
<div class="actions">
<p class="page-name">页面设置/装置介绍-实验站</p>
<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 type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
<div class="modules">
<div class="relative">
<el-carousel height="480px" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<el-carousel height="480px"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i">
<img width="100%" height="100%" :src="item.pic" alt="">
<el-carousel-item v-if="item.pic && item.isEnable"
:key="i">
<img width="100%"
height="100%"
:src="item.pic"
alt="">
</el-carousel-item>
</template>
</el-carousel>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="block station">
<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>
<template v-if="modules[1].form.pic">
<video v-if="Util.isVideo(modules[1].form.mediaType)" class="pic" ref="video" autoplay controls loop>
<source :src="modules[1].form.pic" type="video/mp4">
<video v-if="Util.isVideo(modules[1].form.mediaType)"
class="pic"
ref="video"
autoplay
controls
loop>
<source :src="modules[1].form.pic"
type="video/mp4">
您的浏览器不支持 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>
<div class="des" v-html="modules[1].form.des"></div>
<div class="cover" @click="toSet(1)">点击更改图片与概述</div>
<div class="des"
v-html="modules[1].form.des"></div>
<div class="cover"
@click="toSet(1)">点击更改图片与概述</div>
</div>
</div>
<ul class="list">
<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>
<div class="cover" @click="toSet(2)">点击更改标题与链接</div>
<div class="cover"
@click="toSet(2)">点击更改标题与链接</div>
</li>
<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>
<div class="cover" @click="toSet(3)">点击更改标题与链接</div>
<div class="cover"
@click="toSet(3)">点击更改标题与链接</div>
</li>
<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>
<div class="cover" @click="toSet(4)">点击更改标题与链接</div>
<div class="cover"
@click="toSet(4)">点击更改标题与链接</div>
</li>
<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>
<div class="cover" @click="toSet(5)">点击更改标题与链接</div>
<div class="cover"
@click="toSet(5)">点击更改标题与链接</div>
</li>
<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>
<div class="cover" @click="toSet(6)">点击更改标题与链接</div>
<div class="cover"
@click="toSet(6)">点击更改标题与链接</div>
</li>
<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>
<div class="cover" @click="toSet(7)">点击更改标题与链接</div>
<div class="cover"
@click="toSet(7)">点击更改标题与链接</div>
</li>
</ul>
</div>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
@ -122,7 +156,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.station {
.inner {
width: 1200px;
@ -139,7 +173,7 @@ export default {
margin-bottom: 20px;
font-size: 45px;
font-family: AppleSystemUIFont;
color: #E4E4E4;
color: #e4e4e4;
line-height: 1;
}
.pic {
@ -175,7 +209,8 @@ export default {
font-weight: 500;
color: #fff;
}
.item1, .item2 {
.item1,
.item2 {
width: 25%;
}
.item3 {

@ -3,9 +3,11 @@
<div class="actions">
<p class="page-name">页面设置/SFEL-概况-发展历程</p>
<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 type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
@ -13,57 +15,76 @@
<div class="modules">
<div class="relative">
<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">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div>
</div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li>
<li :class="{active: i == active}"
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template>
</ul>
<div class="block history">
<div class="inner">
<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>
<div class="cover" @click="toSet(1)">点击更换标题与描述</div>
<div class="cover"
@click="toSet(1)">点击更换标题与描述</div>
</div>
<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">
<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>
</ul>
<div class="right">
<h6 class="year">{{ modules[2].list[curYear].title }}</h6>
<ul class="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">
<p class="date">{{ e.title }}</p>
<p class="text">{{ e.des }}</p>
</div>
<img v-if="e.pic" :src="e.pic" alt="" class="pic">
<img v-if="e.pic"
:src="e.pic"
alt=""
class="pic">
</li>
</template>
</ul>
</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>
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" />
<Module ref="module"
:data.sync="curData"
:visible.sync="diaVisible"
@moduleSubmit="moduleSubmit" />
</div>
</template>
@ -109,7 +130,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.wrap {
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;
@ -128,8 +149,8 @@ export default {
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
@ -139,14 +160,14 @@ export default {
font-size: 2.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1C1C1C;
color: #1c1c1c;
}
.en {
margin: -15px 0 40px;
font-size: 2.2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #E3E3E3;
color: #e3e3e3;
}
}
.event {
@ -168,12 +189,12 @@ export default {
font-weight: 600;
font-family: SFProDisplay-Semibold, SFProDisplay;
color: #666;
box-shadow: inset 0px -1px 0px 0px #DDDDDD;
box-shadow: inset 0px -1px 0px 0px #dddddd;
cursor: pointer;
&.active {
font-weight: 800;
color: #1A81F4;
background: linear-gradient(90deg, #FFFFFF 0%, #F3F8FF 100%);
color: #1a81f4;
background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%);
&:before {
content: '';
width: 18px;
@ -192,7 +213,7 @@ export default {
font-size: 3.8rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1A81F4;
color: #1a81f4;
}
.list {
border-top: 1px solid #ddd;

@ -3,9 +3,11 @@
<div class="actions">
<p class="page-name">页面设置/SFEL-概况-S³FEL介绍</p>
<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 type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
@ -13,44 +15,62 @@
<div class="modules">
<div class="relative">
<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">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div>
</div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li>
<li :class="{active: i == active}"
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template>
</ul>
<div class="tab-content">
<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">
<h6>
{{ modules[1].form.title }}
<img class="title-bg" src="http://10.10.11.7/images/overviewIntro/2.png" alt="">
</h6>
<div class="text" v-html="modules[1].form.des"></div>
<div class="cover" style="min-height: 300px;" @click="toSet(1)">点击更换标题与描述</div>
<div class="relative">
<h6 v-html="modules[1].form.title"></h6>
<img class="title-bg"
src="http://10.10.11.7/images/overviewIntro/2.png"
alt="">
</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 class="intro-bg">
<div class="mask"></div>
<div class="texts">
<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 class="cover" @click="toSet(2)">点击更换标题与描述</div>
<div class="cover"
@click="toSet(2)">点击更换标题与描述</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>
</template>
@ -95,7 +115,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.wrap {
background: url(../../../assets/images/survey2.png) (bottom right) / auto no-repeat;
}
@ -112,8 +132,8 @@ export default {
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
@ -160,7 +180,7 @@ export default {
bottom: 0;
left: 0;
content: '';
background-color: rgba(0, 0, 0, .3);
background-color: rgba(0, 0, 0, 0.3);
}
.texts {
position: relative;
@ -178,7 +198,7 @@ export default {
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
@ -193,6 +213,5 @@ export default {
font-size: 1.35rem;
}
}
}
</style>

@ -3,9 +3,11 @@
<div class="actions">
<p class="page-name">页面设置/SFEL-概况-机构设置</p>
<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 type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
@ -13,37 +15,53 @@
<div class="modules">
<div class="relative">
<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">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
</div>
</div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: i == active}" :key="i" @click="tabChange(i)">{{ item }}</li>
<li :class="{active: i == active}"
:key="i"
@click="tabChange(i)">{{ item }}</li>
</template>
</ul>
<div class="tab-content">
<div class="org c-wrap">
<div class="left">
<h6>{{ modules[1].form.title }}</h6>
<p class="text" v-html="modules[1].form.des"></p>
<h6 v-html="modules[1].form.title"></h6>
<p class="text"
v-html="modules[1].form.des"></p>
</div>
<img class="pic" src="http://10.10.11.7/images/overviewSetup/1.png" alt="">
<div class="cover" style="min-height: 300px;" @click="toSet(1)">点击更换标题与描述</div>
<img class="pic"
src="http://10.10.11.7/images/overviewSetup/1.png"
alt="">
<div class="cover"
style="min-height: 300px;"
@click="toSet(1)">点击更换标题与描述</div>
</div>
<div class="lg-bg">
<img width="100%" :src="modules[2].form.pic" alt="">
<div class="cover" @click="toSet(2)">点击更换图片</div>
<img width="100%"
:src="modules[2].form.pic"
alt="">
<div class="cover"
@click="toSet(2)">点击更换图片</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>
</template>
@ -88,7 +106,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.tabs {
display: flex;
justify-content: center;
@ -102,8 +120,8 @@ export default {
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
@ -117,7 +135,7 @@ export default {
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #FCFCFC;
background: #fcfcfc;
border-radius: 160px;
.left {
width: 705px;

@ -57,7 +57,7 @@
<div class="style c-wrap">
<div class="c-wrap">
<h6>{{ modules[3].form.title }}</h6>
<h6 v-html="modules[3].form.title"></h6>
<div class="cover"
@click="toSet(3)">点击更换标题</div>
</div>

@ -3,9 +3,11 @@
<div class="actions">
<p class="page-name">页面设置/用户共享</p>
<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 type="primary" @click="save(1)">发布</el-button>
<el-button type="primary"
@click="save(1)">发布</el-button>
<el-button @click="back">放弃编辑</el-button>
</div>
</div>
@ -13,24 +15,31 @@
<div class="modules">
<div class="relative">
<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">
<h6 class="banner-title">{{ modules[0].form.title }}</h6>
<p class="banner-des">{{ modules[0].form.des }}</p>
</div>
</div>
<div class="cover" @click="toSet(0)">点击更换banner与链接</div>
<div class="cover"
@click="toSet(0)">点击更换banner与链接</div>
</div>
<div class="block share">
<div class="inner c-wrap">
<div class="left">
<h6>{{ modules[1].form.title }}</h6>
<h6 v-html="modules[1].form.title"></h6>
<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 class="cover" @click="toSet(1)">点击更换描述</div>
<img class="pic" src="@/assets/images/userSharing/1.png" alt="">
<div class="cover"
@click="toSet(1)">点击更换描述</div>
<img class="pic"
src="@/assets/images/userSharing/1.png"
alt="">
<div class="card">
<p class="title">{{ modules[1].form.subTitle }}</p>
<p class="en-text">EFFICIENT OPERATION, CLASSIFICATION OPEN</p>
@ -41,28 +50,37 @@
<div class="block gray">
<ul class="group">
<li>
<img src="@/assets/images/userSharing/2.png" alt="">
<img src="@/assets/images/userSharing/2.png"
alt="">
<h6>{{ modules[2].form.title }}</h6>
<div class="des">{{ modules[2].form.des }}</div>
<div class="cover" @click="toSet(2)">点击更换标题描述与链接</div>
<div class="cover"
@click="toSet(2)">点击更换标题描述与链接</div>
</li>
<li>
<img src="@/assets/images/userSharing/3.png" alt="">
<img src="@/assets/images/userSharing/3.png"
alt="">
<h6>{{ modules[3].form.title }}</h6>
<div class="des">{{ modules[3].form.des }}</div>
<div class="cover" @click="toSet(3)">点击更换标题描述与链接</div>
<div class="cover"
@click="toSet(3)">点击更换标题描述与链接</div>
</li>
<li>
<img src="@/assets/images/userSharing/4.png" alt="">
<img src="@/assets/images/userSharing/4.png"
alt="">
<h6>{{ modules[4].form.title }}</h6>
<div class="des">{{ modules[4].form.des }}</div>
<div class="cover" @click="toSet(4)">点击更换标题描述与链接</div>
<div class="cover"
@click="toSet(4)">点击更换标题描述与链接</div>
</li>
</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>
</template>
@ -102,7 +120,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.share {
position: relative;
.inner {
@ -123,7 +141,7 @@ export default {
margin-top: -35px;
font-size: 45px;
font-family: AppleSystemUIFont;
color: #E4E4E4;
color: #e4e4e4;
}
.des {
margin-top: 25px;
@ -144,7 +162,7 @@ export default {
width: 1068px;
height: 145px;
padding: 20px 0 0 11%;
background: #7BACC4;
background: #7bacc4;
border-radius: 0px 100px 0px 0px;
opacity: 0.88;
}

Loading…
Cancel
Save