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

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

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

@ -18,7 +18,8 @@
<div class="block history gray">
<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"
v-html="modules[1].form.des"></p>
<div class="texts wow fadeInDown"

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

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

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

@ -20,7 +20,7 @@
<div class="tab-content">
<div class="org">
<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>
</div>

File diff suppressed because it is too large Load Diff

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