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

master
yujialong 1 year ago
parent 52bb3feb3c
commit 14e2083f8d
  1. 2
      src/pages/deviceIntroBeam/index.vue
  2. 2
      src/pages/deviceIntroLayout/index.vue
  3. 3
      src/pages/deviceIntroLinear/index.vue
  4. 816
      src/pages/exp/index.vue
  5. 3
      src/pages/overviewDevHistory/index.vue
  6. 6
      src/pages/overviewIntro/index.vue
  7. 2
      src/pages/overviewSetup/index.vue
  8. 956
      src/pages/talent/index.vue
  9. 839
      src/pages/userSharing/index.vue

@ -17,7 +17,7 @@
</el-carousel> </el-carousel>
<div class="block share"> <div class="block share">
<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="sum">{{ modules[2].form.title }}</div> <div class="sum">{{ modules[2].form.title }}</div>

@ -18,7 +18,7 @@
<div class="block share"> <div class="block share">
<div class="inner"> <div class="inner">
<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" <div class="card"
v-html="modules[1].form.des"></div> v-html="modules[1].form.des"></div>

@ -18,7 +18,8 @@
<div class="block history gray"> <div class="block history gray">
<div class="inner"> <div class="inner">
<h2 class="wow fadeInLeft">{{ modules[1].form.title }}</h2> <h2 class="wow fadeInLeft"
v-html="modules[1].form.title"></h2>
<p class="en" <p class="en"
v-html="modules[1].form.des"></p> v-html="modules[1].form.des"></p>
<div class="texts wow fadeInDown" <div class="texts wow fadeInDown"

@ -1,10 +1,15 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<el-carousel :interval="6000" :arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> <el-carousel :interval="6000"
:arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'"
: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"
<div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]" @click="openLink(item)"> :key="i">
<img :src="item.pic" alt=""> <div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]"
@click="openLink(item)">
<img :src="item.pic"
alt="">
<p class="banner-name">{{ item.title }}</p> <p class="banner-name">{{ item.title }}</p>
</div> </div>
</el-carousel-item> </el-carousel-item>
@ -13,42 +18,67 @@
<div class="block station"> <div class="block station">
<div class="inner"> <div class="inner">
<h6 class="wow fadeInUp">{{ modules[1].form.title }}</h6> <h6 class="wow fadeInUp"
<p class="en wow fadeInUp" data-wow-delay="0.5s">{{ modules[1].form.subTitle }}</p> v-html="modules[1].form.title"></h6>
<div v-if="modules[1].form.pic" class="text-center"> <p class="en wow fadeInUp"
<video v-if="Util.isVideo(modules[1].form.mediaType)" class="pic" ref="video" autoplay controls loop> data-wow-delay="0.5s">{{ modules[1].form.subTitle }}</p>
<source :src="modules[1].form.pic" type="video/mp4"> <div v-if="modules[1].form.pic"
class="text-center">
<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 标签
</video> </video>
<img v-else class="pic" :src="modules[1].form.pic" alt=""> <img v-else
class="pic"
:src="modules[1].form.pic"
alt="">
</div> </div>
<div class="des" v-html="modules[1].form.des"></div> <div class="des"
v-html="modules[1].form.des"></div>
</div> </div>
</div> </div>
<ul class="list"> <ul class="list">
<li :class="['item1', {'cursor-pointer': isLink(modules[2].form.link.linkName)}]" @click="openLink(modules[2].form)"> <li :class="['item1', {'cursor-pointer': isLink(modules[2].form.link.linkName)}]"
<img src="@/assets/images/exp/2.png" alt=""> @click="openLink(modules[2].form)">
<img src="@/assets/images/exp/2.png"
alt="">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
</li> </li>
<li :class="['item2', {'cursor-pointer': isLink(modules[3].form.link.linkName)}]" @click="openLink(modules[3].form)"> <li :class="['item2', {'cursor-pointer': isLink(modules[3].form.link.linkName)}]"
<img src="@/assets/images/exp/3.png" alt=""> @click="openLink(modules[3].form)">
<img src="@/assets/images/exp/3.png"
alt="">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
</li> </li>
<li :class="['item3', {'cursor-pointer': isLink(modules[4].form.link.linkName)}]" @click="openLink(modules[4].form)"> <li :class="['item3', {'cursor-pointer': isLink(modules[4].form.link.linkName)}]"
<img src="@/assets/images/exp/4.png" alt=""> @click="openLink(modules[4].form)">
<img src="@/assets/images/exp/4.png"
alt="">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
</li> </li>
<li :class="['item4', {'cursor-pointer': isLink(modules[5].form.link.linkName)}]" @click="openLink(modules[5].form)"> <li :class="['item4', {'cursor-pointer': isLink(modules[5].form.link.linkName)}]"
<img src="@/assets/images/exp/5.png" alt=""> @click="openLink(modules[5].form)">
<img src="@/assets/images/exp/5.png"
alt="">
<h6>{{ modules[5].form.title }}</h6> <h6>{{ modules[5].form.title }}</h6>
</li> </li>
<li :class="['item5', {'cursor-pointer': isLink(modules[6].form.link.linkName)}]" @click="openLink(modules[6].form)"> <li :class="['item5', {'cursor-pointer': isLink(modules[6].form.link.linkName)}]"
<img src="@/assets/images/exp/6.png" alt=""> @click="openLink(modules[6].form)">
<img src="@/assets/images/exp/6.png"
alt="">
<h6>{{ modules[6].form.title }}</h6> <h6>{{ modules[6].form.title }}</h6>
</li> </li>
<li :class="['item6', {'cursor-pointer': isLink(modules[7].form.link.linkName)}]" @click="openLink(modules[7].form)"> <li :class="['item6', {'cursor-pointer': isLink(modules[7].form.link.linkName)}]"
<img src="@/assets/images/exp/7.png" alt=""> @click="openLink(modules[7].form)">
<img src="@/assets/images/exp/7.png"
alt="">
<h6>{{ modules[7].form.title }}</h6> <h6>{{ modules[7].form.title }}</h6>
</li> </li>
</ul> </ul>
@ -62,18 +92,18 @@ import Util from '@/libs/util'
import WOW from 'wow.js' import WOW from 'wow.js'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
routes: [], routes: [],
Util Util
} }
}, },
mounted() { mounted () {
new WOW().init() new WOW().init()
}, },
methods: { methods: {
// //
getInfo() { getInfo () {
// / // /
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => { this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) { if (data.length) {
@ -84,7 +114,7 @@ export default {
this.modules = json this.modules = json
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json) console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json)
} }
}).catch(err => {}) }).catch(err => { })
}, },
} }
}; };
@ -92,442 +122,436 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import url(../../plugins/wow/animate.css); @import url(../../plugins/wow/animate.css);
@import "../../styles/page/page.scss"; @import '../../styles/page/page.scss';
.wrap{ .wrap {
/deep/ .el-carousel { /deep/ .el-carousel {
height: 12.6rem; height: 12.6rem;
.el-carousel__container{ .el-carousel__container {
height: 12.6rem; height: 12.6rem;
} }
img{ img {
height: 12.6rem; height: 12.6rem;
}
} }
}
} }
.banner-item { .banner-item {
.banner-name { .banner-name {
font-size: 2.16rem; font-size: 2.16rem;
left: 17%; left: 17%;
bottom: 20%; bottom: 20%;
}
}
.block {
padding: 3.85rem 0;
.inner {
h6 {
font-size: 1.76rem;
} }
.en { }
font-size: 1.76rem; .block {
margin: 0px 0 2rem; padding: 3.85rem 0;
.inner {
h6 {
font-size: 1.76rem;
}
.en {
font-size: 1.76rem;
margin: 0px 0 2rem;
}
} }
}
} }
.station { .station {
h6 { h6 {
position: relative; position: relative;
font-size: 2rem; font-size: 2rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold; font-weight: bold;
color: #333333; color: #333333;
line-height: 1; line-height: 1;
}
.en {
margin-bottom: 20px;
font-size: 1.7rem;
font-family: AppleSystemUIFont;
color: #E4E4E4;
line-height: 1;
}
.pic {
width: 64%;
height: auto;
margin: 0 auto;
}
.des {
margin-top: 2.75rem;
font-size: .98rem;
color: #333;
line-height: 1.7rem;
-webkit-line-clamp: inherit;
}
}
.list {
display: flex;
flex-wrap: wrap;
margin-top: 1.5rem;
width: 1200px;
margin: auto;
li {
position: relative;
height: 20.1rem;
overflow: hidden;
&:hover {
img {
transform: scale(1.3);
}
} }
} .en {
img { margin-bottom: 20px;
width: 100%; font-size: 1.7rem;
height: 100%; font-family: AppleSystemUIFont;
transition: .5s; color: #e4e4e4;
} line-height: 1;
h6 {
position: absolute;
top: 192px;
left: 60px;
font-size: 1.12rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #fff;
}
.item1, .item2 {
width: 25%;
}
.item3 {
width: 50%;
}
.item4 {
width: 40%;
}
.item5 {
width: 32%;
}
.item6 {
width: 28%;
}
}
@media (min-width: 280px) and (max-width: 768px) {
.wrap{
/deep/ .el-carousel {
height: 15rem;
.el-carousel__container{
height: 15rem;
}
img{
height: 15rem;
}
} }
}
.station{
.pic { .pic {
height: 20rem; width: 64%;
height: auto;
margin: 0 auto;
} }
} .des {
.list { margin-top: 2.75rem;
li { font-size: 0.98rem;
height: 20rem; color: #333;
h6 { line-height: 1.7rem;
top: 5rem; -webkit-line-clamp: inherit;
}
} }
}
} }
@media (max-width: 320px) { .list {
.wrap { display: flex;
/deep/ .el-carousel { flex-wrap: wrap;
height: 13rem !important; margin-top: 1.5rem;
} width: 1200px;
/deep/ .el-carousel__item { margin: auto;
height: 13rem !important; li {
} position: relative;
/deep/ .el-carousel__container { height: 20.1rem;
height: 13rem !important; overflow: hidden;
&:hover {
img {
transform: scale(1.3);
}
}
} }
}
.banner-item{
img { img {
height: 13rem !important; width: 100%;
height: 100%;
transition: 0.5s;
} }
.banner-name { h6 {
padding: 7rem 0 0 1rem; position: absolute;
font-size: 1.5rem; top: 192px;
} left: 60px;
} font-size: 1.12rem;
.block { font-family: PingFangSC-Medium, PingFang SC;
padding: 2rem 0; font-weight: 500;
.inner { color: #fff;
width: 90%;
.text-center {
.pic {
width: 100%;
height: auto;
}
}
} }
} .item1,
.list { .item2 {
width: 80%; width: 25%;
margin: 0 auto;
li {
margin-top: 1rem;
width: 100% !important;
} }
} .item3 {
} width: 50%;
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
/deep/ .el-carousel {
height: 13rem !important;
} }
/deep/ .el-carousel__item { .item4 {
height: 13rem !important; width: 40%;
} }
/deep/ .el-carousel__container { .item5 {
height: 13rem !important; width: 32%;
} }
} .item6 {
.banner-item{ width: 28%;
img {
height: 13rem !important;
} }
.banner-name { }
padding: 7rem 0 0 1rem;
font-size: 1.5rem; @media (min-width: 280px) and (max-width: 768px) {
.wrap {
/deep/ .el-carousel {
height: 15rem;
.el-carousel__container {
height: 15rem;
}
img {
height: 15rem;
}
}
} }
} .station {
.block {
padding: 2rem 0;
.inner {
width: 90%;
.text-center {
.pic { .pic {
width: 100%; height: 20rem;
height: auto;
} }
}
} }
} .list {
.list { li {
width: 80%; height: 20rem;
margin: 0 auto; h6 {
li { top: 5rem;
margin-top: 1rem; }
width: 100% !important; }
} }
}
} }
@media (min-width: 375px) and (max-width: 480px) { @media (max-width: 320px) {
.wrap { .wrap {
/deep/ .el-carousel { /deep/ .el-carousel {
height: 13rem !important; height: 13rem !important;
}
/deep/ .el-carousel__item {
height: 13rem !important;
}
/deep/ .el-carousel__container {
height: 13rem !important;
}
} }
/deep/ .el-carousel__item { .banner-item {
height: 13rem !important; img {
height: 13rem !important;
}
.banner-name {
padding: 7rem 0 0 1rem;
font-size: 1.5rem;
}
} }
/deep/ .el-carousel__container { .block {
height: 13rem !important; padding: 2rem 0;
.inner {
width: 90%;
.text-center {
.pic {
width: 100%;
height: auto;
}
}
}
} }
} .list {
.banner-item{ width: 80%;
img { margin: 0 auto;
height: 13rem !important; li {
margin-top: 1rem;
width: 100% !important;
}
} }
.banner-name { }
padding: 7rem 0 0 1rem; @media (min-width: 320px) and (max-width: 375px) {
font-size: 1.5rem; .wrap {
/deep/ .el-carousel {
height: 13rem !important;
}
/deep/ .el-carousel__item {
height: 13rem !important;
}
/deep/ .el-carousel__container {
height: 13rem !important;
}
} }
} .banner-item {
.block { img {
padding: 2rem 0; height: 13rem !important;
.inner { }
width: 90%; .banner-name {
.text-center { padding: 7rem 0 0 1rem;
.pic { font-size: 1.5rem;
width: 100%;
height: auto;
} }
}
} }
} .block {
.list { padding: 2rem 0;
width: 80%; .inner {
margin: 0 auto; width: 90%;
li { .text-center {
margin-top: 1rem; .pic {
width: 100% !important; width: 100%;
height: auto;
}
}
}
}
.list {
width: 80%;
margin: 0 auto;
li {
margin-top: 1rem;
width: 100% !important;
}
} }
}
} }
@media (min-width: 480px) and (max-width: 640px) { @media (min-width: 375px) and (max-width: 480px) {
.wrap { .wrap {
/deep/ .el-carousel { /deep/ .el-carousel {
height: 13rem !important; height: 13rem !important;
}
/deep/ .el-carousel__item {
height: 13rem !important;
}
/deep/ .el-carousel__container {
height: 13rem !important;
}
} }
/deep/ .el-carousel__item { .banner-item {
height: 13rem !important; img {
height: 13rem !important;
}
.banner-name {
padding: 7rem 0 0 1rem;
font-size: 1.5rem;
}
} }
/deep/ .el-carousel__container { .block {
height: 13rem !important; padding: 2rem 0;
.inner {
width: 90%;
.text-center {
.pic {
width: 100%;
height: auto;
}
}
}
} }
} .list {
.banner-item{ width: 80%;
img { margin: 0 auto;
height: 13rem !important; li {
margin-top: 1rem;
width: 100% !important;
}
} }
.banner-name { }
padding: 7rem 0 0 1rem; @media (min-width: 480px) and (max-width: 640px) {
font-size: 1.5rem; .wrap {
/deep/ .el-carousel {
height: 13rem !important;
}
/deep/ .el-carousel__item {
height: 13rem !important;
}
/deep/ .el-carousel__container {
height: 13rem !important;
}
} }
} .banner-item {
.block { img {
padding: 2rem 0; height: 13rem !important;
.inner { }
width: 90%; .banner-name {
.text-center { padding: 7rem 0 0 1rem;
.pic { font-size: 1.5rem;
width: 100%;
height: auto;
} }
}
} }
} .block {
.list { padding: 2rem 0;
width: 80%; .inner {
margin: 0 auto; width: 90%;
li { .text-center {
margin-top: 1rem; .pic {
width: 100% !important; width: 100%;
height: auto;
}
}
}
}
.list {
width: 80%;
margin: 0 auto;
li {
margin-top: 1rem;
width: 100% !important;
}
} }
}
} }
@media (min-width: 640px) and (max-width: 768px) { @media (min-width: 640px) and (max-width: 768px) {
.wrap { .wrap {
/deep/ .el-carousel { /deep/ .el-carousel {
height: 13rem !important; height: 13rem !important;
} }
/deep/ .el-carousel__item { /deep/ .el-carousel__item {
height: 13rem !important; height: 13rem !important;
} }
/deep/ .el-carousel__container { /deep/ .el-carousel__container {
height: 13rem !important; height: 13rem !important;
} }
}
.banner-item{
img {
height: 13rem !important;
} }
.banner-name { .banner-item {
padding: 7rem 0 0 1rem; img {
font-size: 1.5rem; height: 13rem !important;
}
.banner-name {
padding: 7rem 0 0 1rem;
font-size: 1.5rem;
}
} }
} .block {
.block { padding: 2rem 0;
padding: 2rem 0; .inner {
.inner { width: 90%;
width: 90%; .text-center {
.text-center { .pic {
.pic { width: 100%;
width: 100%; height: auto;
height: auto; }
}
} }
}
} }
} .list {
.list { width: 80%;
width: 80%; margin: 0 auto;
margin: 0 auto; li {
li { margin-top: 1rem;
margin-top: 1rem; width: 100% !important;
width: 100% !important; }
} }
}
} }
@media (min-width: 768px) and (max-width: 980px) { @media (min-width: 768px) and (max-width: 980px) {
.wrap { .wrap {
/deep/ .el-carousel { /deep/ .el-carousel {
height: 13rem !important; height: 13rem !important;
} }
/deep/ .el-carousel__item { /deep/ .el-carousel__item {
height: 13rem !important; height: 13rem !important;
} }
/deep/ .el-carousel__container { /deep/ .el-carousel__container {
height: 13rem !important; height: 13rem !important;
}
} }
} .banner-item {
.banner-item{ img {
img { height: 13rem !important;
height: 13rem !important; }
.banner-name {
padding: 7rem 0 0 1rem;
font-size: 1.5rem;
}
} }
.banner-name { .block {
padding: 7rem 0 0 1rem; padding: 2rem 0;
font-size: 1.5rem; .inner {
width: 90%;
.text-center {
.pic {
width: 100%;
height: auto;
}
}
}
} }
} .list {
.block { display: flex;
padding: 2rem 0; width: 100%;
.inner { li {
width: 90%; width: 25%;
.text-center {
.pic {
width: 100%;
height: auto;
} }
}
} }
} .item3 {
.list { width: 50% !important;
display: flex;
width: 100%;
li {
width: 25% ;
} }
}
.item3 {
width: 50% !important;
}
} }
@media (min-width: 980px) and (max-width: 1200px) { @media (min-width: 980px) and (max-width: 1200px) {
.wrap { .wrap {
/deep/ .el-carousel { /deep/ .el-carousel {
height: 13rem !important; height: 13rem !important;
} }
/deep/ .el-carousel__item { /deep/ .el-carousel__item {
height: 13rem !important; height: 13rem !important;
} }
/deep/ .el-carousel__container { /deep/ .el-carousel__container {
height: 13rem !important; height: 13rem !important;
}
} }
} .banner-item {
.banner-item{ img {
img { height: 13rem !important;
height: 13rem !important; }
.banner-name {
padding: 7rem 0 0 1rem;
font-size: 1.5rem;
}
} }
.banner-name { .block {
padding: 7rem 0 0 1rem; padding: 2rem 0;
font-size: 1.5rem; .inner {
width: 90%;
.text-center {
.pic {
width: 100%;
height: auto;
}
}
}
} }
} .list {
.block { display: flex;
padding: 2rem 0; width: 100%;
.inner { li {
width: 90%; width: 25%;
.text-center {
.pic {
width: 100%;
height: auto;
} }
}
} }
} .item3 {
.list { width: 50% !important;
display: flex;
width: 100%;
li {
width: 25% ;
} }
}
.item3 {
width: 50% !important;
}
} }
</style> </style>

@ -19,7 +19,8 @@
<div class="block history"> <div class="block history">
<div class="inner"> <div class="inner">
<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 v-if="modules[2].list.length" <div v-if="modules[2].list.length"
class="event"> class="event">

@ -24,12 +24,12 @@
src="http://10.10.11.7/images/overviewIntro/1.png" src="http://10.10.11.7/images/overviewIntro/1.png"
alt=""> alt="">
<div class="right"> <div class="right">
<h6> <div class="relative">
{{ modules[1].form.title }} <h6 v-html="modules[1].form.title"></h6>
<img class="title-bg" <img class="title-bg"
src="http://10.10.11.7/images/overviewIntro/2.png" src="http://10.10.11.7/images/overviewIntro/2.png"
alt=""> alt="">
</h6> </div>
<div class="text" <div class="text"
v-html="modules[1].form.des"></div> v-html="modules[1].form.des"></div>
</div> </div>

@ -20,7 +20,7 @@
<div class="tab-content"> <div class="tab-content">
<div class="org"> <div class="org">
<div class="left"> <div class="left">
<h6>{{ modules[1].form.title }}</h6> <h6 v-html="modules[1].form.title"></h6>
<p class="text" <p class="text"
v-html="modules[1].form.des"></p> v-html="modules[1].form.des"></p>
</div> </div>

File diff suppressed because it is too large Load Diff

@ -1,7 +1,9 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<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>
@ -11,12 +13,19 @@
<div class="block share"> <div class="block share">
<div class="inner"> <div class="inner">
<div class="left"> <div class="left">
<h6 class="wow fadeInUp">{{ modules[1].form.title }}</h6> <h6 class="wow fadeInUp"
<p class="en wow fadeInUp" data-wow-delay="0.5s">USERS SHARE</p> v-html="modules[1].form.title"></h6>
<div class="des wow fadeInUp" data-wow-delay="0.8s">{{ modules[1].form.des }}</div> <p class="en wow fadeInUp"
data-wow-delay="0.5s">USERS SHARE</p>
<div class="des wow fadeInUp"
data-wow-delay="0.8s">{{ modules[1].form.des }}</div>
</div> </div>
<img class="pic wow bounceInRight" data-wow-delay="0.8s" src="@/assets/images/userSharing/1.png" alt=""> <img class="pic wow bounceInRight"
<div class="card wow bounceInLeft" data-wow-delay="0.8s"> data-wow-delay="0.8s"
src="@/assets/images/userSharing/1.png"
alt="">
<div class="card wow bounceInLeft"
data-wow-delay="0.8s">
<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>
</div> </div>
@ -25,18 +34,29 @@
<div class="block gray"> <div class="block gray">
<ul class="group"> <ul class="group">
<li class="wow bounceInDown" :class="{'cursor-pointer': isLink(modules[2].form.link.linkName)}" @click="openLink(modules[2].form)"> <li class="wow bounceInDown"
<img src="@/assets/images/userSharing/2.png" alt=""> :class="{'cursor-pointer': isLink(modules[2].form.link.linkName)}"
@click="openLink(modules[2].form)">
<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>
</li> </li>
<li class="wow bounceInDown" data-wow-delay="0.1s" :class="{'cursor-pointer': isLink(modules[3].form.link.linkName)}" @click="openLink(modules[3].form)"> <li class="wow bounceInDown"
<img src="@/assets/images/userSharing/3.png" alt=""> data-wow-delay="0.1s"
:class="{'cursor-pointer': isLink(modules[3].form.link.linkName)}"
@click="openLink(modules[3].form)">
<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>
</li> </li>
<li class="wow bounceInDown" data-wow-delay="0.2s" :class="{'cursor-pointer': isLink(modules[4].form.link.linkName)}" @click="openLink(modules[4].form)"> <li class="wow bounceInDown"
<img src="@/assets/images/userSharing/4.png" alt=""> data-wow-delay="0.2s"
:class="{'cursor-pointer': isLink(modules[4].form.link.linkName)}"
@click="openLink(modules[4].form)">
<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>
</li> </li>
@ -52,17 +72,17 @@ import Util from '@/libs/util'
import WOW from 'wow.js' import WOW from 'wow.js'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
routes: [] routes: []
} }
}, },
mounted() { mounted () {
new WOW().init() new WOW().init()
}, },
methods: { methods: {
// //
getInfo() { getInfo () {
// / // /
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => { this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
if (data.length) { if (data.length) {
@ -73,7 +93,7 @@ export default {
this.modules = json this.modules = json
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json) console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json)
} }
}).catch(err => {}) }).catch(err => { })
}, },
} }
}; };
@ -81,464 +101,463 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import url(../../plugins/wow/animate.css); @import url(../../plugins/wow/animate.css);
@import "../../styles/page/page.scss"; @import '../../styles/page/page.scss';
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 21.6rem; height: 21.6rem;
}
.texts {
h6 {
font-size: 2.16rem;
margin-bottom: .95rem;
} }
.banner-des { .texts {
font-size: .96rem; h6 {
font-size: 2.16rem;
margin-bottom: 0.95rem;
}
.banner-des {
font-size: 0.96rem;
}
} }
}
} }
.block { .block {
padding: 3.85rem 0; padding: 3.85rem 0;
} }
.share { .share {
position: relative;
.inner {
display: flex;
}
.left {
width: 40%;
}
h6 {
position: relative; position: relative;
font-size: 1.76rem; .inner {
font-family: PingFangSC-Medium, PingFang SC; display: flex;
font-weight: 500; }
color: #333333; .left {
} width: 40%;
.en { }
margin-top: 0; h6 {
font-size: 1.28rem; position: relative;
font-family: AppleSystemUIFont; font-size: 1.76rem;
color: #E4E4E4; font-family: PingFangSC-Medium, PingFang SC;
} font-weight: 500;
.des { color: #333333;
margin-top: 25px; }
font-size: .81rem; .en {
color: #333; margin-top: 0;
line-height: 1.75rem; font-size: 1.28rem;
-webkit-line-clamp:5; font-family: AppleSystemUIFont;
} color: #e4e4e4;
.pic { }
width: 60%; .des {
height: auto; margin-top: 25px;
border-top-left-radius: 20px; font-size: 0.81rem;
} color: #333;
.card { line-height: 1.75rem;
position: absolute; -webkit-line-clamp: 5;
bottom: 5.2rem; }
left: 0; .pic {
width: 66.75rem; width: 60%;
padding: 1.875rem 0 1.875rem 21.5%; height: auto;
background: #7BACC4; border-top-left-radius: 20px;
border-radius: 0px 100px 0px 0px; }
opacity: 0.88; .card {
} position: absolute;
.title { bottom: 5.2rem;
margin-bottom: .625rem; left: 0;
font-size: 1.44rem; width: 66.75rem;
font-family: PingFangSC-Medium, PingFang SC; padding: 1.875rem 0 1.875rem 21.5%;
font-weight: 500; background: #7bacc4;
color: #fff; border-radius: 0px 100px 0px 0px;
} opacity: 0.88;
.en-text { }
font-size: 1.04rem; .title {
font-family: AppleSystemUIFont; margin-bottom: 0.625rem;
color: #fff; font-size: 1.44rem;
letter-spacing: 2px; font-family: PingFangSC-Medium, PingFang SC;
} font-weight: 500;
color: #fff;
}
.en-text {
font-size: 1.04rem;
font-family: AppleSystemUIFont;
color: #fff;
letter-spacing: 2px;
}
} }
.group { .group {
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
li { li {
position: relative; position: relative;
flex: 1; flex: 1;
height: 15rem; height: 15rem;
padding: 5.5rem 1rem 0 1.6rem; padding: 5.5rem 1rem 0 1.6rem;
margin-right: 1rem; margin-right: 1rem;
color: #fff; color: #fff;
overflow: hidden; overflow: hidden;
&:last-child { &:last-child {
margin-right: 0; margin-right: 0;
} }
&:hover { &:hover {
img { img {
transform: scale(1.3); transform: scale(1.3);
} }
}
} }
} img {
img { position: absolute;
position: absolute; top: 0;
top: 0; left: 0;
left: 0;
width: 100%;
height: 100%;
transition: .5s;
}
h6 {
position: relative;
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.des {
position: relative;
margin-top: 1rem;
font-size: 0.72rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
line-height: 31px;
}
}
@media (max-width: 1200px) {
body{
width: 100% !important;
}
.share{
width: 100%;
.inner{
width: 100%;
flex-direction: column;
.left{
width: 100%; width: 100%;
} height: 100%;
transition: 0.5s;
}
h6 {
position: relative;
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
} }
.des{ .des {
display: block; position: relative;
padding: 0 10px; margin-top: 1rem;
font-size: 0.72rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
line-height: 31px;
} }
.pic{ }
width: 100%; @media (max-width: 1200px) {
body {
width: 100% !important;
} }
.card{ .share {
width: 100%; width: 100%;
.inner {
width: 100%;
flex-direction: column;
.left {
width: 100%;
}
}
.des {
display: block;
padding: 0 10px;
}
.pic {
width: 100%;
}
.card {
width: 100%;
}
} }
} .group {
.group { width: 100%;
width: 100%; flex-direction: column;
flex-direction: column; li {
li{ width: 100%;
width: 100%; margin-top: 20px;
margin-top: 20px; }
} }
}
} }
@media (max-width: 320px) { @media (max-width: 320px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts { .texts {
top: 7rem; top: 7rem;
left: 2rem; left: 2rem;
.banner-title{ .banner-title {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: .5rem; margin-bottom: 0.5rem;
} }
.banner-des{ .banner-des {
font-size: .85rem; font-size: 0.85rem;
}
}
} }
}
} }
} .block {
.block { padding: 2rem 0;
padding: 2rem 0; .inner {
.inner { .pic {
.pic { height: auto;
height: auto; }
} .card {
.card{ padding: 1.875rem 0 1.875rem 18.5%;
padding: 1.875rem 0 1.875rem 18.5%; bottom: 0;
bottom: 0; .title {
.title { font-size: 1.4rem;
font-size: 1.4rem; }
.en-text {
font-size: 0.9rem;
}
}
} }
.en-text {
font-size: .9rem;
}
}
} }
}
} }
@media (min-width: 320px) and (max-width: 375px) { @media (min-width: 320px) and (max-width: 375px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts { .texts {
top: 7rem; top: 7rem;
left: 2rem; left: 2rem;
.banner-title{ .banner-title {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: .5rem; margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
} }
.banner-des{
font-size: .85rem;
}
}
} }
} .block {
.block { padding: 2rem 0;
padding: 2rem 0; .inner {
.inner { .pic {
.pic { height: auto;
height: auto; }
} .card {
.card{ padding: 1.875rem 0 1.875rem 18.5%;
padding: 1.875rem 0 1.875rem 18.5%; bottom: 0;
bottom: 0; .title {
.title { font-size: 1.4rem;
font-size: 1.4rem; }
} .en-text {
.en-text { font-size: 0.9rem;
font-size: .9rem; }
}
} }
}
} }
} .group {
.group { li {
li { height: auto;
height: auto; }
} }
}
} }
@media (min-width: 375px) and (max-width: 480px) { @media (min-width: 375px) and (max-width: 480px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts { .texts {
top: 7rem; top: 7rem;
left: 2rem; left: 2rem;
.banner-title{ .banner-title {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: .5rem; margin-bottom: 0.5rem;
}
.banner-des {
font-size: 0.85rem;
}
}
} }
.banner-des{
font-size: .85rem;
}
}
} }
} .block {
.block { padding: 2rem 0;
padding: 2rem 0; .inner {
.inner { .pic {
.pic { height: auto;
height: auto; }
} .card {
.card{ padding: 1.875rem 0 1.875rem 18.5%;
padding: 1.875rem 0 1.875rem 18.5%; bottom: 0;
bottom: 0; .title {
.title { font-size: 1.4rem;
font-size: 1.4rem; }
} .en-text {
.en-text { font-size: 0.9rem;
font-size: .9rem; }
}
} }
}
} }
} .group {
.group { li {
li { height: auto;
height: auto; }
} }
}
} }
@media (min-width: 480px) and (max-width: 640px) { @media (min-width: 480px) and (max-width: 640px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts { .texts {
top: 7rem; top: 7rem;
left: 2rem; left: 2rem;
.banner-title{ .banner-title {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: .5rem; margin-bottom: 0.5rem;
} }
.banner-des{ .banner-des {
font-size: .85rem; font-size: 0.85rem;
}
}
} }
}
} }
} .block {
.block { padding: 2rem 0;
padding: 2rem 0; .inner {
.inner { .pic {
.pic { height: auto;
height: auto; }
} .card {
.card{ padding: 1.875rem 0 1.875rem 18.5%;
padding: 1.875rem 0 1.875rem 18.5%; bottom: 0;
bottom: 0; .title {
.title { font-size: 1.4rem;
font-size: 1.4rem; }
} .en-text {
.en-text { font-size: 0.9rem;
font-size: .9rem; }
}
} }
}
} }
} .group {
.group { li {
li { height: auto;
height: auto; }
} }
}
} }
@media (min-width: 640px) and (max-width: 768px) { @media (min-width: 640px) and (max-width: 768px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts { .texts {
top: 7rem; top: 7rem;
left: 2rem; left: 2rem;
.banner-title{ .banner-title {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: .5rem; margin-bottom: 0.5rem;
} }
.banner-des{ .banner-des {
font-size: .85rem; font-size: 0.85rem;
}
}
} }
}
} }
} .block {
.block { padding: 2rem 0;
padding: 2rem 0; .inner {
.inner { .pic {
.pic { height: auto;
height: auto; }
} .card {
.card{ padding: 1.875rem 0 1.875rem 18.5%;
padding: 1.875rem 0 1.875rem 18.5%; bottom: 0;
bottom: 0; .title {
.title { font-size: 1.4rem;
font-size: 1.4rem; }
} .en-text {
.en-text { font-size: 0.9rem;
font-size: .9rem; }
}
} }
}
} }
} .group {
.group { flex-direction: row;
flex-direction: row; li {
li { .des {
.des { line-height: 1rem;
line-height: 1rem; }
} }
} }
}
} }
@media (min-width: 768px) and (max-width: 980px) { @media (min-width: 768px) and (max-width: 980px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts { .texts {
top: 7rem; top: 7rem;
left: 2rem; left: 2rem;
.banner-title{ .banner-title {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: .5rem; margin-bottom: 0.5rem;
} }
.banner-des{ .banner-des {
font-size: .85rem; font-size: 0.85rem;
}
}
} }
}
} }
} .block {
.block { padding: 2rem 0;
padding: 2rem 0; .inner {
.inner { .pic {
.pic { height: auto;
height: auto; }
} .card {
.card{ padding: 1.875rem 0 1.875rem 18.5%;
padding: 1.875rem 0 1.875rem 18.5%; bottom: 0;
bottom: 0; .title {
.title { font-size: 1.4rem;
font-size: 1.4rem; }
.en-text {
font-size: 0.9rem;
}
}
} }
.en-text {
font-size: .9rem;
}
}
} }
} .group {
.group { flex-direction: row;
flex-direction: row; li {
li { .des {
.des { line-height: 1rem;
line-height: 1rem; }
} }
} }
}
} }
@media (min-width: 980px) and (max-width: 1200px) { @media (min-width: 980px) and (max-width: 1200px) {
.wrap { .wrap {
.single-banner { .single-banner {
.banner-img { .banner-img {
height: 13rem; height: 13rem;
} }
.texts { .texts {
top: 7rem; top: 7rem;
left: 2rem; left: 2rem;
.banner-title{ .banner-title {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: .5rem; margin-bottom: 0.5rem;
} }
.banner-des{ .banner-des {
font-size: .85rem; font-size: 0.85rem;
}
}
} }
}
} }
} .block {
.block { padding: 2rem 0;
padding: 2rem 0; .inner {
.inner { .pic {
.pic { height: auto;
height: auto; }
} .card {
.card{ padding: 1.875rem 0 1.875rem 18.5%;
padding: 1.875rem 0 1.875rem 18.5%; bottom: 0;
bottom: 0; .title {
.title { font-size: 1.4rem;
font-size: 1.4rem; }
.en-text {
font-size: 0.9rem;
}
}
} }
.en-text {
font-size: .9rem;
}
}
} }
} .group {
.group { flex-direction: row;
flex-direction: row; li {
li { .des {
.des { line-height: 1rem;
line-height: 1rem; }
} }
} }
}
} }
</style> </style>
Loading…
Cancel
Save