yujialong 2 years ago
parent aaedf6771a
commit 297928c1fd
  1. 18289
      package-lock.json
  2. 2
      package.json
  3. 33
      public/index.html
  4. 208
      src/layouts/navbar/index.vue
  5. 486
      src/pages/deviceIntroBeam/index.vue
  6. 674
      src/pages/deviceIntroLayout/index.vue
  7. 471
      src/pages/deviceIntroLinear/index.vue
  8. 710
      src/pages/estate/event/index.vue
  9. 1029
      src/pages/estate/index/index.vue
  10. 843
      src/pages/estate/location/index.vue
  11. 702
      src/pages/estate/orgSetup/index.vue
  12. 212
      src/pages/estate/survey/index.vue
  13. 651
      src/pages/overviewDevHistory/index.vue
  14. 323
      src/pages/overviewSetup/index.vue
  15. 300
      src/styles/page/page.scss

18289
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -19,6 +19,7 @@
"jspdf": "^2.4.0",
"lru-cache": "^7.14.1",
"mavon-editor": "^2.9.1",
"node-sass": "^4.14.1",
"vue": "^2.6.14",
"vue-animate-number": "^0.4.2",
"vue-cropperjs": "^3.0.0",
@ -36,7 +37,6 @@
"browserslist": "^4.17.5",
"caniuse-lite": "^1.0.30001271",
"element-theme-chalk": "^2.15.6",
"node-sass": "^4.14.0",
"sass-loader": "^8.0.2",
"vue-template-compiler": "^2.6.14"
}

@ -1,20 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="粒子研究院">
<meta name="description" content="粒子研究院"/>
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<title>粒子研究院</title>
</head>
<body>
<noscript>
<strong>We're sorry but vms doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="keywords" content="粒子研究院" />
<meta name="description" content="粒子研究院" />
<meta name="referrer" content="no-referrer" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>粒子研究院</title>
</head>
<body>
<noscript>
<strong>We're sorry but vms doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

@ -1,31 +1,46 @@
<template>
<div>
<el-menu :class="['nav', {home: isHome, estate: isEstate}]" ref="elMenu" :key="menuRefresh" :mode="$store.getters.getModelType ? 'horizontal' : 'vertical' " :background-color="bgColor" :text-color="textColor" :active-text-color="activeTextColor" @open="jump" @select="jump" :default-active="String(active)">
<menuTree :menuList="menus"/>
<el-submenu :popper-class="isHome ? 'home-menu-popup' : ''" v-show="showMoreBtns" index="522222" >
<template slot="title"><div class="moreBtns">{{ $t('column.more') }}</div></template>
<menuTree :menuList="otherMenus"/>
<el-menu :class="['nav', {home: isHome, estate: isEstate,changing: !showMenu}]"
ref="elMenu"
:key="menuRefresh"
:mode="$store.getters.getModelType ? 'horizontal' : 'vertical' "
:background-color="bgColor"
:text-color="textColor"
:active-text-color="activeTextColor"
@open="jump"
@select="jump"
:default-active="String(active)">
<menuTree :menuList="menus" />
<el-submenu :popper-class="isHome ? 'home-menu-popup' : ''"
v-show="showMoreBtns"
index="522222">
<template slot="title">
<div class="moreBtns">{{ $t('column.more') }}</div>
</template>
<menuTree :menuList="otherMenus" />
</el-submenu>
</el-menu>
</div>
</template>
<script>
import menuTree from '@/components/menuTree'
import mixins from '@/mixins/article'
import { mapState, mapMutations,mapGetters } from 'vuex'
import { mapState, mapMutations, mapGetters } from 'vuex'
export default {
props: ['isHome', 'isEstate', 'updateModelType'],
mixins: [mixins],
data() {
data () {
return {
lastHome: true,
active: this.$route.query.id,
menus: [],
bgColor: '#fff',
textColor: '#333',
activeTextColor: '#1583FF',
menuRefresh: 1,
showMenu: true,
toItem: {},
parentId: 0,
otherMenus: [],
@ -38,12 +53,12 @@ export default {
},
computed: {
...mapGetters(["getNavSum"]),
mapboxMap1() {
mapboxMap1 () {
return this.navSum;
}
},
watch: {
'$route'() {
'$route' () {
const { siteId } = this.$route.query
// siteIdstore
if (siteId && siteId != this.site) {
@ -52,42 +67,42 @@ export default {
}
this.handleColor()
},
isHome() {
isHome () {
this.handleColor()
},
getNavSum() {
getNavSum () {
this.getColumn()
}
},
mounted() {
mounted () {
this.lastHome = this.isHome
this.handleColor()
this.getColumn()
console.log('this.$store.state.navSum=>' ,this.$store.state.navSum)
},
methods: {
...mapMutations('content', [
'setSite'
]),
//
getColumn() {
getColumn () {
this.$post(this.api.listWithTree, {
siteId: this.site,
columnName: '',
templateId: '',
typeId : '',
typeId: '',
isSort: 1
}).then(({ data }) => {
//
const menuVisibleData = data.filter(item=> item.menuVisible ==0)
const menuVisibleData = data.filter(item => item.menuVisible == 0)
if (this.$store.getters.getModelType) {
this.menus = menuVisibleData.slice(0, sessionStorage.getItem('navPageSize'))
this.otherMenus = menuVisibleData.slice(sessionStorage.getItem('navPageSize'), data.length)
if (this.otherMenus.length >=1) {
if (this.otherMenus.length >= 1) {
this.showMoreBtns = true
}else {
} else {
this.showMoreBtns = false
}
}else {
} else {
this.showMoreBtns = false
this.menus = menuVisibleData
}
@ -109,34 +124,38 @@ export default {
}
})
}
}).catch(err => {})
}).catch(err => { })
},
//
handleColor() {
handleColor () {
const home = this.isHome
if (this.lastHome !== home) this.showMenu = false
this.bgColor = home ? 'transparent' : '#fff'
this.textColor = home ? '#f9f9f9' : '#333'
this.lastHome !== home && this.$nextTick(() => {
setTimeout(() => {
this.showMenu = true
}, 200)
})
this.lastHome = home
// this.menuRefresh++
},
//
getPath(data, id) {
getPath (data, id) {
for (const e of data) {
if (e.level === 1) this.parentId = e.id
if (e.id == id) {
this.toItem = e
break
} else {
this.getPath(e.children ,id)
this.getPath(e.children, id)
}
}
},
//
jump(id) {
console.log('id=>',id)
this.getPath(this.otherMenus ,id || this.otherMenus[0].id)
this.getPath(this.menus ,id || this.menus[0].id)
jump (id) {
this.getPath(this.otherMenus, id || this.otherMenus[0].id)
this.getPath(this.menus, id || this.menus[0].id)
this.columnTo(this.toItem)
this.$parent.showSearch = false
}
@ -146,81 +165,88 @@ export default {
<style lang="scss" scoped>
$height: 90px;
.moreBtns{
font-size: 1rem;
font-weight: bold;
padding-top: 0.2rem;
.moreBtns {
font-size: 1rem;
font-weight: bold;
padding-top: 0.2rem;
}
.changing {
opacity: 0;
}
/deep/.nav.el-menu--horizontal {
display: flex;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
border: 0;
outline: none;
.el-menu-item, .el-submenu__title {
height: $height;
line-height: $height;
span {
font-size: 1rem;
font-weight: 600;
}
&:hover {
background-color: transparent !important;
span {
color: #1583FF;
}
}
}
.el-submenu__title {
display: inline-flex;
justify-content: center;
align-items: center;
}
.menu-child {
display: flex;
}
.el-submenu__icon-arrow {
position: static;
margin: 0 0 0 5px;
color: inherit;
}
.is-active {
color: #333 !important;
}
.active, .active .el-submenu__title {
color: #1583ff !important;
}
&.home {
.el-menu-item, .el-submenu__title {
&:hover {
background-color: transparent !important;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
border: 0;
outline: none;
.el-menu-item,
.el-submenu__title {
height: $height;
line-height: $height;
span {
color: #fff;
font-size: 1rem;
font-weight: 600;
}
&:hover {
background-color: transparent !important;
span {
color: #1583ff;
}
}
}
}
.el-submenu__title {
display: inline-flex;
justify-content: center;
align-items: center;
}
.menu-child {
display: flex;
}
.el-submenu__icon-arrow {
position: static;
margin: 0 0 0 5px;
color: inherit;
}
.is-active {
color: #f9f9f9 !important;
color: #333 !important;
}
.active, .active .el-submenu__title {
color: #fff !important;
.active,
.active .el-submenu__title {
color: #1583ff !important;
}
&.home {
.el-menu-item,
.el-submenu__title {
&:hover {
background-color: transparent !important;
span {
color: #fff;
}
}
}
.is-active {
color: #f9f9f9 !important;
}
.active,
.active .el-submenu__title {
color: #fff !important;
}
}
}
}
@media (max-width: 1500px) {
/deep/.nav {
.el-menu-item {
/deep/.nav {
.el-menu-item {
}
}
}
}
@media (min-width: 280px) and (max-width: 1200px) {
/deep/.nav {
.el-menu-item {
padding: 0 8px;color: black !important;
/deep/.nav {
.el-menu-item {
padding: 0 8px;
color: black !important;
}
}
}
}
</style>

@ -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,25 +18,35 @@
<div class="block share">
<h6>{{ modules[1].form.title }}</h6>
<p class="en" v-html="modules[1].form.des"></p>
<p class="en"
v-html="modules[1].form.des"></p>
<div class="sum">{{ modules[2].form.title }}</div>
<div class="flex beamBox">
<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="">
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div>
</div>
<div class="intro">
<!-- <img class="pic" src="http://10.10.11.7/images/device/2.png" alt=""> -->
<img class="pic" src="@/assets/images/2.png" alt="">
<div class="des" v-html="modules[3].form.des"></div>
<div class="intro-inner">
<img class="pic"
:src="modules[3].form.pic"
alt="">
<div class="des"
v-html="modules[3].form.des"></div>
</div>
</div>
<div class="unit">
<h6>{{ modules[4].form.title }}</h6>
<img class="pic" :src="modules[4].form.pic" alt="">
<img class="pic"
:src="modules[4].form.pic"
alt="">
</div>
</div>
</template>
@ -41,17 +56,17 @@ import mixins from '@/mixins/page'
import WOW from 'wow.js'
export default {
mixins: [mixins],
data() {
data () {
return {
}
},
mounted() {
mounted () {
new WOW().init()
},
methods: {
//
getInfo() {
getInfo () {
// /
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`)
.then(({ data }) => {
@ -72,314 +87,203 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@import "../../styles/page/page.scss";
.wrap{
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
/deep/ .el-carousel {
height: 12.6rem;
.el-carousel__container{
height: 12.6rem;
}
img{
height: 12.6rem;
@import '../../styles/page/page.scss';
.wrap {
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
/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;
}
.en {
font-size: 1.76rem;
margin: 0px 0 2rem;
.banner-name {
font-size: 2.16rem;
left: 17%;
bottom: 20%;
}
.sum {
margin-top: 3rem;
font-size: .96rem;
}
.block {
padding: 3.85rem 0;
.inner {
h6 {
font-size: 1.76rem;
}
.en {
font-size: 1.76rem;
margin: 0px 0 2rem;
}
.sum {
margin-top: 3rem;
font-size: 0.96rem;
}
}
}
}
.beamBox {
position: relative;
.imgText {
position: absolute;
right: 2rem;
bottom: 2.25rem;
display: flex;
font-size: .9rem;
font-weight: 400;
.readio {
width: 7px;
height: 7px;
background-color: #2A2A2A;
border-radius: 50%;
margin-right: 10px;
margin-top: 8px;
position: relative;
.imgText {
position: absolute;
right: 2rem;
bottom: 2.25rem;
display: flex;
font-size: 0.9rem;
font-weight: 400;
.readio {
width: 7px;
height: 7px;
background-color: #2a2a2a;
border-radius: 50%;
margin-right: 10px;
margin-top: 8px;
}
}
}
}
}
.share {
position: relative;
width: 80%;
padding-left: 12%;
.beamBox {
align-items: center;
}
.left {
min-width: 468px;
width: 468px;
margin-right: 66px;
}
h6 {
position: relative;
font-size: 1.92rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #333333;
}
.en {
margin-top: -25px;
font-size: 2.4rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #E3E3E3;
}
.sum {
margin-top: 60px;
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 44px;
}
.des {
margin-top: 1.25rem;
font-size: .88rem;
color: #333;
line-height: 1.85rem;
-webkit-line-clamp: inherit;
overflow: visible;
}
.pic {
width: calc(100% - 536px);
margin-top: 10px;
border-top-left-radius: 20px;
}
}
.intro {
display: flex;
align-items: center;
width: 80%;
height: 19.65rem;
padding-left: 12%;
margin-bottom: 67px;
background-color: #05607d;
.pic {
width: 468px;
height: 100%;
}
.des {
height: 19.65rem;
padding: 2.85rem 3rem 1rem 3rem;
font-size: .96rem;
color: #fff;
line-height: 2rem;
background: #2E4984;
-webkit-line-clamp: 7; //3
}
}
.unit {
width: 986px;
padding-bottom: 60px;
margin: 0 auto;
h6 {
padding-left: .93rem;
margin-bottom: .93rem;
font-size: .88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2A2A2A;
border-left: 4px solid #1583FF;
}
}
@media (max-width: 1200px) {
.inner{
padding: 0 20px;
width: 90% !important;
.sum{
line-height: 25px;
margin-top: 40px;
width: 80%;
padding-left: 14%;
.beamBox {
align-items: center;
}
}
.beamBox{
display: flex;
flex-direction: column;
position: relative;
.left {
width: 100%;
width: 50%;
padding-right: 66px;
}
.des{
-webkit-line-clamp: 100
h6 {
position: relative;
font-size: 1.92rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #333333;
}
.pic{
margin-top: 10px;
width: 100%;
height: auto;
.en {
margin-top: -25px;
font-size: 2.4rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #e3e3e3;
}
}
.intro{
height: auto;
flex-direction: column;
.pic {
width: 100%;
.sum {
margin-top: 60px;
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 44px;
}
.des {
-webkit-line-clamp: 100
margin-top: 1.25rem;
font-size: 0.88rem;
color: #333;
line-height: 1.85rem;
-webkit-line-clamp: inherit;
overflow: visible;
}
}
.unit {
width: 100%;
img{
width: 100%;
}
}
}
@media (max-width: 320px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.beamBox {
.imgText {
bottom: 1rem;
right: 1rem;
}
}
.intro {
width: 100%;
.des {
height: auto;
.pic {
width: 50%;
margin-top: 10px;
border-top-left-radius: 20px;
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.beamBox {
.imgText {
bottom: 1rem;
right: 1rem;
}
}
.intro {
width: 100%;
.des {
height: auto;
.intro {
width: 80%;
height: 19.65rem;
padding-left: 14%;
margin-bottom: 67px;
background-color: #2e4984;
.intro-inner {
display: flex;
align-items: center;
height: 100%;
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.beamBox {
.imgText {
bottom: 2rem;
right: 2rem;
.pic {
width: 50%;
height: 100%;
}
}
.intro {
width: 100%;
.des {
height: auto;
width: 50%;
height: 19.65rem;
padding: 2.85rem 3rem 1rem 3rem;
font-size: 0.96rem;
color: #fff;
line-height: 2rem;
-webkit-line-clamp: 7; //3
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.beamBox {
.imgText {
bottom: 3rem;
right: 3rem;
}
}
.intro {
width: 100%;
.des {
height: auto;
.unit {
width: 986px;
padding-bottom: 60px;
margin: 0 auto;
h6 {
padding-left: 0.93rem;
margin-bottom: 0.93rem;
font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
border-left: 4px solid #1583ff;
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.beamBox {
.imgText {
bottom: 3rem;
right: 3rem;
@media (max-width: 1200px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
.intro {
width: 100%;
.des {
height: auto;
.beamBox {
.imgText {
bottom: 4rem;
right: 4rem;
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.beamBox {
.imgText {
bottom: 3rem;
right: 3rem;
.share {
width: 90%;
padding-left: 0;
margin: 0 auto;
}
}
.intro {
width: 100%;
.des {
height: auto;
.beamBox {
display: flex;
flex-direction: column;
position: relative;
.left {
width: 100%;
}
.des {
-webkit-line-clamp: 100;
}
.pic {
margin-top: 10px;
width: 100%;
height: auto;
}
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.beamBox {
.imgText {
bottom: 4rem;
right: 4rem;
.intro {
width: 90%;
padding: 1rem 0;
height: auto;
.intro-inner {
flex-direction: column;
}
.pic {
width: 80%;
}
.des {
width: 80%;
height: auto;
padding: 2rem 0 0;
-webkit-line-clamp: 100;
}
}
}
.intro {
width: 100%;
.des {
height: auto;
.unit {
width: 95%;
img {
width: 100%;
}
}
}
}
</style>

@ -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>
@ -15,24 +20,34 @@
<div class="inner">
<h6>{{ 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="flex textBox" >
<div class="card"
v-html="modules[1].form.des"></div>
<div class="flex textBox">
<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="">
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div>
</div>
</div>
<div class="intro">
<img class="bg" src="http://10.10.11.7/images/device/7.png" alt="">
<img class="pic" :src="modules[3].form.pic" alt="">
<img class="bg"
src="http://10.10.11.7/images/device/7.png"
alt="">
<img class="pic"
:src="modules[3].form.pic"
alt="">
</div>
<div class="unit">
<h6>{{ modules[4].form.title }}</h6>
<img class="pic" :src="modules[4].form.pic" alt="">
<img class="pic"
:src="modules[4].form.pic"
alt="">
</div>
</div>
</template>
@ -42,17 +57,17 @@ import mixins from '@/mixins/page'
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 }) => {
@ -73,490 +88,211 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@import "../../styles/page/page.scss";
.wrap{
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
/deep/ .el-carousel {
height: 12.6rem;
.el-carousel__container{
height: 12.6rem;
@import '../../styles/page/page.scss';
.wrap {
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
/deep/ .el-carousel {
height: 12.6rem;
.el-carousel__container {
height: 12.6rem;
}
img {
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: 2.16rem;
.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: 2.16rem;
}
.en {
font-size: 1.76rem;
margin: 0px 0 2rem;
}
}
}
}
.share {
position: relative;
.inner {
width: 90%;
max-width: 1323px;
.textBox{
margin-top: 12.125rem;
position: absolute;
width: 85%;
right: 0;
top: 16.125rem;
.left {
flex-grow: 1;
}
}
h6 {
font-weight: bold;
}
}
.left {
width: 34.187rem;
margin-right: 4.125rem;
}
h6 {
position: relative;
font-size: 1.76rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.en {
margin: -25px 0 40px;
font-size: 2.2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #E3E3E3;
}
.card {
position: absolute;
left: 0;
max-width: 1671px;
width: 85%;
padding: 1.6rem 2.9rem 1.6rem 16%;
font-size: 1.06rem;
font-family: PingFangSC-Medium, PingFang SC;
border-radius: 0 6rem 0 0;
font-weight: 500;
color: #FFFFFF;
line-height: 2.375rem;
background: url(http://10.10.11.7/images/device/5.png) 0 0/cover no-repeat;
}
.des {
margin-top: 25px;
font-size: .98rem;
-webkit-line-clamp: inherit;
color: #333;
line-height: 37px;
overflow: visible;
}
.pic {
width: 44.375rem;
height: auto;
border-top-left-radius: 20px;
}
}
.intro {
position: relative;
height: 42.625rem;
margin-bottom: 2.3rem;
margin-top: 50rem;
width: 85%;
.bg {
position: absolute;
top: 0;
left: 0;
width: 65%;
height: 35.73rem;
}
.pic {
position: absolute;
top: 3.015rem;
left: 30%;
width: 71%;
height: 29.74rem;
}
}
.unit {
width: 986px;
padding-bottom: 60px;
margin: 0 auto;
h6 {
padding-left: .93rem;
margin-bottom: .93rem;
font-size: .88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2A2A2A;
border-left: 4px solid #1583FF;
}
}
@media screen and (min-width:351px) and (max-width:420px) {
.intro {
height: 18rem !important;
}
.block {
padding: 50px 0;
}
}
@media (min-width:421px) and (max-width:490px) {
.intro {
height: 22rem !important;
}
.block {
padding: 50px 0;
}
}
@media screen and (min-width:491px) and (max-width:620px) {
.intro {
height: 28rem !important;
}
.block {
padding: 50px 0;
}
}
@media screen and (min-width:621px) and (max-width:720px) {
.intro {
height: 32rem !important;
}
.block {
padding: 50px 0;
}
}
@media screen and (min-width:721px) and (max-width:820px) {
.intro {
height: 36rem !important;
}
.block {
padding: 50px 0;
}
}
@media screen and (min-width:821px) and (max-width:920px) {
.intro {
height: 40rem !important;
}
.block {
padding: 50px 0;
}
}
@media screen and (min-width:921px) and (max-width:1020px) {
.intro {
height: 44rem !important;
}
.block {
padding: 50px 0;
}
}
@media screen and (min-width:1021px) and (max-width:1120px) {
.intro {
height: 48rem !important;
}
.block {
padding: 50px 0;
}
}/* 大于960 小于1200 */
@media screen and (min-width:1121px) and (max-width:1220px) {
.intro {
height: 52rem !important;
}
.block {
padding: 50px 0;
}
}
@media (min-width: 280px) and (max-width: 1200px) {
body{
width: 100% !important;
}
.unit{
width: 100%;
img{
width: 100%;
}
}
.card{
width: 100% !important;position: relative !important;margin-left: -50px;;
}
.textBox{
margin-top: 40px !important;
}
.textBox{
display: flex;
flex-direction: column;
.left{
width: 100%;
.des{
-webkit-line-clamp: 100
}
}
.pic{
width: 100%;
height: auto;
margin-top: 20px;
}
}
.bg{
width:100%
}
.intro {
height: 45rem;
.pic{
width: 100% !important;
left: 0;
top: 6%;
}
}
}
@media (min-width: 280px) and (max-width: 375px) {
body{
width: 100% !important;
}
.block{
padding: 50px 0;
}
.unit{
width: 100%;
img{
width: 100%;
}
}
.card{
width: 100% !important;position: relative !important;margin-left: -50px;;
}
.textBox{
margin-top: 40px !important;
}
.textBox{
display: flex;
flex-direction: column;
.left{
width: 100%;
.des{
-webkit-line-clamp: 100
}
}
.pic{
width: 100%;
height: auto;
margin-top: 20px;
}
}
.bg{
width:100%
}
.intro {
height: 15rem;
.pic{
width: 100% !important;
left: 0;
top: 6%;
}
}
}
@media (max-width: 320px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.share {
.card {
font-size: .9rem;
line-height: 1.1rem;
.inner {
width: 100%;
max-width: 1323px;
.textBox {
position: absolute;
width: 85%;
right: 0;
top: 26rem;
.left {
flex-grow: 1;
}
}
h6 {
font-weight: bold;
}
}
.left {
width: 34.187rem;
margin-right: 4.125rem;
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
}
}
.intro {
margin-top: 41rem;
.bg {
height: 10rem;
h6 {
position: relative;
font-size: 1.76rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.pic {
height: auto;
.en {
margin: -25px 0 40px;
font-size: 2.2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #e3e3e3;
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.share {
.card {
font-size: .9rem;
line-height: 1.1rem;
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
}
}
.intro {
margin-top: 41rem;
.bg {
height: 13rem;
position: absolute;
left: 0;
max-width: 1671px;
width: 85%;
padding: 1.6rem 2.9rem 1.6rem 14%;
font-size: 1.06rem;
font-family: PingFangSC-Medium, PingFang SC;
border-radius: 0 6rem 0 0;
font-weight: 500;
color: #ffffff;
line-height: 2.375rem;
background: url(http://10.10.11.7/images/device/5.png) 0 0 /100% 100% no-repeat;
}
.des {
margin-top: 25px;
font-size: 0.98rem;
-webkit-line-clamp: inherit;
color: #333;
line-height: 37px;
overflow: visible;
}
.pic {
height: auto;
width: 44.375rem;
height: auto;
border-top-left-radius: 20px;
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.share {
.card {
font-size: .9rem;
line-height: 1.1rem;
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
}
}
.intro {
margin-top: 43rem;
.intro {
position: relative;
height: 42.625rem;
margin-bottom: 2.3rem;
margin-top: 50rem;
width: 85%;
.bg {
height: 16rem;
position: absolute;
top: 0;
left: 0;
width: 65%;
height: 35.73rem;
}
.pic {
height: auto;
position: absolute;
top: 3.015rem;
left: 30%;
width: 71%;
height: 29.74rem;
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.share {
.card {
font-size: .9rem;
line-height: 1.1rem;
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
}
}
.intro {
margin-top: 53rem;
.bg {
height: 22rem;
}
.pic {
height: auto;
.unit {
width: 986px;
padding-bottom: 60px;
margin: 0 auto;
h6 {
padding-left: 0.93rem;
margin-bottom: 0.93rem;
font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
border-left: 4px solid #1583ff;
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.share {
.card {
font-size: .9rem;
line-height: 1.1rem;
@media (max-width: 1400px) {
.share {
.card {
position: relative;
margin-left: -2.5%;
}
.inner {
max-width: none;
width: 95%;
.textBox {
position: static;
display: flex;
flex-direction: column;
align-items: flex-end;
margin-left: 15%;
.left {
width: 100%;
.des {
-webkit-line-clamp: 100;
}
}
}
}
.pic {
width: 50%;
margin-top: 20px;
}
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
}
}
.intro {
margin-top: 53rem;
.bg {
height: 26rem;
}
.pic {
height: auto;
width: 100%;
}
.intro {
height: 36rem;
margin-top: 0;
.pic {
width: 100%;
left: 0;
top: 6%;
}
}
.unit {
width: 95%;
img {
width: 100%;
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.share {
.card {
font-size: .9rem;
line-height: 1.1rem;
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
@media (max-width: 980px) {
.share {
.pic {
width: 80%;
}
}
}
.intro {
margin-top: 63rem;
.bg {
height: 30rem;
}
.pic {
height: auto;
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.share {
.card {
font-size: .9rem;
line-height: 1.1rem;
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
@media (max-width: 640px) {
.share {
.inner {
.textBox {
margin: 0 auto;
}
}
.left {
margin-right: 0;
}
}
.intro {
height: auto;
.bg,
.pic {
position: static;
width: 100%;
height: auto;
}
}
}
.intro {
margin-top: 73rem;
.bg {
height: 35rem;
}
.pic {
height: auto;
}
}
}
</style>

@ -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>
@ -14,14 +19,19 @@
<div class="block history gray">
<div class="inner">
<h2 class="wow fadeInLeft">{{ modules[1].form.title }}</h2>
<p class="en" v-html="modules[1].form.des"></p>
<div class="texts wow fadeInDown" data-wow-delay="0.5s">
<p class="en"
v-html="modules[1].form.des"></p>
<div class="texts wow fadeInDown"
data-wow-delay="0.5s">
<div class="left">
<h6>{{ modules[2].form.title }}</h6>
<div class="line"></div>
<div class="text" v-html="modules[2].form.des"></div>
<div class="text"
v-html="modules[2].form.des"></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>
@ -30,11 +40,13 @@
<div class="inner">
<div class="left">
<h5>{{ modules[3].form.title }}</h5>
<img :src="modules[3].form.pic" alt="" />
<img :src="modules[3].form.pic"
alt="" />
</div>
<div class="right">
<h6>{{ modules[4].form.title }}</h6>
<img :src="modules[4].form.pic" alt="" />
<img :src="modules[4].form.pic"
alt="" />
</div>
</div>
</div>
@ -46,15 +58,15 @@ import mixins from '@/mixins/page';
import WOW from 'wow.js';
export default {
mixins: [mixins],
data() {
data () {
return {};
},
mounted() {
mounted () {
new WOW().init();
},
methods: {
//
getInfo() {
getInfo () {
// /
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`)
.then(({ data }) => {
@ -76,289 +88,270 @@ 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;
.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 {
h2 {
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 {
h2 {
font-size: 1.76rem;
}
.en {
font-size: 1.76rem;
margin: 0px 0 2rem;
}
}
}
}
.history {
.inner {
width: 1200px;
max-width: 1504px;
}
h2 {
position: relative;
font-size: 1.76rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1c1c1c;
}
.inner {
width: 1200px;
max-width: 1504px;
}
.en {
margin: -25px 0 40px;
font-size: 2.2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #e3e3e3;
}
h2 {
position: relative;
font-size: 1.76rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1c1c1c;
}
.texts {
display: flex;
justify-content: space-between;
padding: 5.125rem 0 1.875rem 2.375rem;
margin-top: 20px;
background: #1583ff;
border-radius: 65px 100px 0px 0px;
transition: 0.3s;
position: relative;
.imgText {
position: absolute;
right: 0rem;
bottom: 4.25rem;
display: flex;
font-size: .9rem;
color: #FFFFFF;
font-weight: 400;
.readio {
width: 7px;
height: 7px;
background-color: #FFFFFF;
border-radius: 50%;
margin-right: 10px;
margin-top: 8px;
.en {
margin: -25px 0 40px;
font-size: 2.2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #e3e3e3;
}
}
&:hover {
transform: scale(1.05);
.texts {
display: flex;
justify-content: space-between;
padding: 5.125rem 0 1.875rem 2.375rem;
margin-top: 20px;
background: #1583ff;
border-radius: 65px 100px 0px 0px;
transition: 0.3s;
position: relative;
.imgText {
position: absolute;
right: 0rem;
bottom: 4.25rem;
display: flex;
font-size: 0.9rem;
color: #ffffff;
font-weight: 400;
.readio {
width: 7px;
height: 7px;
background-color: #ffffff;
border-radius: 50%;
margin-right: 10px;
margin-top: 8px;
}
}
&:hover {
transform: scale(1.05);
}
}
}
.left {
width: 50%;
}
.left {
width: 50%;
}
h6 {
font-size: 1.4rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
}
h6 {
font-size: 1.4rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
}
.line {
width: 214px;
height: 5px;
margin: 54px 0 44px;
background: #ffffff;
opacity: 0.52;
}
.line {
width: 214px;
height: 5px;
margin: 54px 0 44px;
background: #ffffff;
opacity: 0.52;
}
.text {
font-size: 1.1rem;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
line-height: 1.6;
}
.text {
font-size: 1.1rem;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
line-height: 1.6;
}
.bg {
width: 50%;
margin: -8.875rem -3.125rem 0 0;
border-top-left-radius: 30px;
}
.bg {
width: 50%;
margin: -8.875rem -3.125rem 0 0;
border-top-left-radius: 30px;
}
}
.intro {
.inner {
display: flex;
}
.left {
width: 30%;
}
.right {
width: 68%;
margin-left: 2%;
}
h5 {
margin-bottom: .93rem;
font-size: .88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
}
.inner {
display: flex;
}
.left {
width: 30%;
}
.right {
width: 68%;
margin-left: 2%;
}
h5 {
margin-bottom: 0.93rem;
font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
}
h6 {
padding-left: .93rem;
margin-bottom: .93rem;
font-size: .88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
border-left: 4px solid #1583ff;
}
h6 {
padding-left: 0.93rem;
margin-bottom: 0.93rem;
font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #2a2a2a;
border-left: 4px solid #1583ff;
}
img {
width: 100%;
height: 85%;
}
img {
width: 100%;
height: 85%;
}
}
/* 小于400 */
@media (min-width: 280px) and (max-width: 620px) {
.inner {
flex-direction: column;
.inner {
flex-direction: column;
.left,
.right {
width: 50%;
margin: 20px auto;
.left,
.right {
width: 50%;
margin: 20px auto;
}
}
}
.history {
.left {
.line {
width: 100%;
}
.history {
.left {
.line {
width: 100%;
}
}
}
}
.block {
padding: 50px 0;
.inner{
.texts {
.bg {
width: 100%;height: 200px;
margin: -50px 0px 0 0;
.block {
padding: 50px 0;
.inner {
.texts {
.bg {
width: 100%;
height: 200px;
margin: -50px 0px 0 0;
}
}
}
}
}
}
}
@media (max-width: 1200px) {
body {
width: 100% !important;
}
.history {
.bg {
margin: -142px -0px 0 0;
body {
width: 100% !important;
}
}
.inner {
flex-direction: column;
.history {
.inner {
width: 95%;
}
.texts {
flex-direction: column;
}
.bg {
margin: 0 auto;
}
}
.left,
.right {
width: 95%;
margin: 20px auto;
.inner {
flex-direction: column;
width: 95%;
.left,
.right {
width: 95%;
margin: 20px auto;
}
}
.intro {
img {
height: auto;
}
}
}
@media (max-width: 980px) {
.history {
.bg {
width: 100%;
}
}
}
}
@media (max-width: 320px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
@media (min-width: 375px) and (max-width: 480px) {
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.banner{
height: 12rem;
padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
.banner {
height: 12rem;
padding: 6rem 0 0 2rem;
}
}
}
</style>

@ -2,7 +2,9 @@
<!-- 产业光源-大事记 -->
<div class="wrap">
<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>
@ -10,7 +12,9 @@
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: item.id == active}" :key="i" @click="tabChange(item)">{{ item.columnName }}</li>
<li :class="{active: item.id == active}"
:key="i"
@click="tabChange(item)">{{ item.columnName }}</li>
</template>
</ul>
@ -19,22 +23,32 @@
<h2 class="wow fadeInLeft">大事记</h2>
<p class="en">DEVELOPMENT HISTORY</p>
<div v-if="modules[1].list.length" class="event">
<div v-if="modules[1].list.length"
class="event">
<ul class="time">
<template v-for="(item, i) in modules[1].list">
<li v-if="item.isEnable" :key="i" :class="{active: curYear == i}" @click="yearClick(i)">{{ item.title }}</li>
<li v-if="item.isEnable"
:key="i"
:class="{active: curYear == i}"
@click="yearClick(i)">{{ item.title }}</li>
</template>
</ul>
<div class="right">
<h6 class="year">{{ modules[1].list[curYear].title }}</h6>
<ul class="list">
<template v-for="(e, j) in modules[1].list[curYear].list">
<li v-if="e.isEnable" :key="j" :class="{'cursor-pointer': isLink(e.link.linkName)}" @click="openLink(e)">
<li v-if="e.isEnable"
:key="j"
:class="{'cursor-pointer': isLink(e.link.linkName)}"
@click="openLink(e)">
<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>
@ -51,17 +65,17 @@ import overview from '@/mixins/estate'
import WOW from 'wow.js'
export default {
mixins: [mixins, overview],
data() {
data () {
return {
curYear: 0
}
},
mounted() {
mounted () {
new WOW().init()
},
methods: {
//
yearClick(i) {
yearClick (i) {
this.curYear = i
}
}
@ -70,448 +84,364 @@ export default {
<style lang="scss" scoped>
@import url(../../../plugins/wow/animate.css);
@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;
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;
}
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.history {
h2 {
position: relative;
font-size: 2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1C1C1C;
}
.en {
margin: -15px 0 40px;
font-size: 2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #E3E3E3;
}
h2 {
position: relative;
font-size: 2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1c1c1c;
}
.en {
margin: -15px 0 40px;
font-size: 2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #e3e3e3;
}
}
.event {
display: flex;
justify-content: center;
.time {
width: 200px;
padding-right: 10px;
margin-right: 20px;
border-right: 1px solid #ddd;
li {
display: flex;
justify-content: flex-end;
align-items: center;
width: 190px;
padding-right: 45px;
line-height: 60px;
font-size: 1.4rem;
font-weight: 600;
font-family: SFProDisplay-Semibold, SFProDisplay;
color: #666;
box-shadow: inset 0px -1px 0px 0px #DDDDDD;
cursor: pointer;
&.active {
font-weight: 800;
color: #1A81F4;
background: linear-gradient(90deg, #FFFFFF 0%, #F3F8FF 100%);
&:before {
content: '';
width: 18px;
height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
display: flex;
justify-content: center;
.time {
width: 200px;
padding-right: 10px;
margin-right: 20px;
border-right: 1px solid #ddd;
li {
display: flex;
justify-content: flex-end;
align-items: center;
width: 190px;
padding-right: 45px;
line-height: 60px;
font-size: 1.4rem;
font-weight: 600;
font-family: SFProDisplay-Semibold, SFProDisplay;
color: #666;
box-shadow: inset 0px -1px 0px 0px #dddddd;
cursor: pointer;
&.active {
font-weight: 800;
color: #1a81f4;
background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%);
&:before {
content: '';
width: 18px;
height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
}
}
}
}
}
}
.right {
width: 1000px;
}
.year {
margin: 0 0 20px 20px;
font-size: 3.2rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1A81F4;
}
.list {
border-top: 1px solid #ddd;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 1px solid #ddd;
}
.texts {
width: 500px;
}
.date {
margin-bottom: 15px;
font-size: 1.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
.right {
width: 1000px;
}
.text {
font-size: 1.1rem;
color: #333;
@include mul-ellipsis(3);
&:before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
}
.pic {
width: 300px;
height: 195px;
.year {
margin: 0 0 20px 20px;
font-size: 3.2rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1a81f4;
}
.list {
border-top: 1px solid #ddd;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 1px solid #ddd;
}
.texts {
width: 500px;
}
.date {
margin-bottom: 15px;
font-size: 1.2rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
}
.text {
font-size: 1.1rem;
color: #333;
@include mul-ellipsis(3);
&:before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
}
.pic {
width: 300px;
height: 195px;
}
}
}
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
.tab-content{
padding: 20px 0;
.org{
width: 100%;
padding:15px;
flex-direction: column;
.left{
width: 100%;
}
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
}
.block {
padding: 2rem 0;
.inner {
width: 90%;
.event {
flex-direction: column;
.time {
width: 100%;
li {
.tab-content {
padding: 20px 0;
.org {
width: 100%;
justify-content: flex-start;
}
}
.right {
width: 100%;
.list {
li {
padding: 1.25rem;
flex-direction: column;
.texts {
width: 100%;
}
.pic {
padding: 15px;
flex-direction: column;
.left {
width: 100%;
margin-top: 1rem;
}
}
}
}
}
}
}
.block {
padding: 2rem 0;
.inner {
width: 90%;
.event {
flex-direction: column;
.time {
width: 100%;
li {
width: 100%;
justify-content: flex-start;
}
}
.right {
width: 100%;
.list {
li {
padding: 1.25rem;
flex-direction: column;
.texts {
width: 100%;
}
.pic {
width: 100%;
margin-top: 1rem;
}
}
}
}
}
}
}
}
@media (max-width: 320px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 13rem;
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 13rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 15rem;
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 15rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.wrap {
.single-banner {
.banner-img {
height: 15rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 18rem;
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 18rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.single-banner {
.banner-img {
height: 18rem;
}
.texts {
top: 10rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 20rem;
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 20rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.single-banner {
.banner-img {
height: 22rem;
}
.texts {
top: 12rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 22rem;
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 22rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.wrap {
.single-banner {
.banner-img {
height: 25rem;
}
.texts {
top: 15rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 25rem;
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 25rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.wrap {
.single-banner {
.banner-img {
height: 32rem;
}
.texts {
top: 20rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 27rem;
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 27rem;
}
}
}
}
}
}
}
}
}
}
}
</style>

File diff suppressed because it is too large Load Diff

@ -2,7 +2,9 @@
<!-- 产业光源-地理位置 -->
<div class="wrap">
<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>
@ -10,32 +12,49 @@
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: item.id == active}" :key="i" @click="tabChange(item)">{{ item.columnName }}</li>
<li :class="{active: item.id == active}"
:key="i"
@click="tabChange(item)">{{ item.columnName }}</li>
</template>
</ul>
<div class="tab-content">
<div class="item wow bounceInLeft" data-wow-delay="0.5s" :class="{'cursor-pointer': isLink(modules[1].form.link.linkName)}" @click="openLink(modules[1].form)">
<div class="item wow bounceInLeft"
data-wow-delay="0.5s"
:class="{'cursor-pointer': isLink(modules[1].form.link.linkName)}"
@click="openLink(modules[1].form)">
<div class="img-wrap">
<img class="pic" :src="modules[1].form.pic" alt="">
<img class="pic"
:src="modules[1].form.pic"
alt="">
</div>
<div class="texts">
<h6>{{ modules[1].form.title }}</h6>
<div class="des">{{ modules[1].form.des }}</div>
</div>
</div>
<div class="item wow bounceInRight" data-wow-delay="0.6s" :class="{'cursor-pointer': isLink(modules[2].form.link.linkName)}" @click="openLink(modules[2].form)">
<div class="item wow bounceInRight"
data-wow-delay="0.6s"
:class="{'cursor-pointer': isLink(modules[2].form.link.linkName)}"
@click="openLink(modules[2].form)">
<div class="img-wrap">
<img class="pic" :src="modules[2].form.pic" alt="">
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div>
<div class="texts">
<h6>{{ modules[2].form.title }}</h6>
<div class="des">{{ modules[2].form.des }}</div>
</div>
</div>
<div class="item wow bounceInLeft" data-wow-delay="0.5s" :class="{'cursor-pointer': isLink(modules[3].form.link.linkName)}" @click="openLink(modules[3].form)">
<div class="item wow bounceInLeft"
data-wow-delay="0.5s"
:class="{'cursor-pointer': isLink(modules[3].form.link.linkName)}"
@click="openLink(modules[3].form)">
<div class="img-wrap">
<img class="pic" :src="modules[3].form.pic" alt="">
<img class="pic"
:src="modules[3].form.pic"
alt="">
</div>
<div class="texts">
<h6>{{ modules[3].form.title }}</h6>
@ -52,556 +71,416 @@ import overview from '@/mixins/estate'
import WOW from 'wow.js'
export default {
mixins: [mixins, overview],
data() {
data () {
return {
}
},
mounted() {
mounted () {
new WOW().init()
},
methods: {
}
};
</script>
<style lang="scss" scoped>
@import url(../../../plugins/wow/animate.css);
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.tab-content {
width: 70%;
max-width: 1504px;
padding-bottom: 100px;
margin: 30px auto 0;
.item {
display: flex;
padding: 42px;
margin-bottom: 36px;
color: #333;
background: #F5F5F5 url(http://10.10.11.7/images/overviewSetup/1.png) right bottom/auto no-repeat;
transition: .5s;
&:nth-child(even) {
justify-content: space-between;
flex-direction: row-reverse;
background-position: 30% 100%;
.texts {
padding-left: 0;
}
width: 70%;
max-width: 1504px;
padding-bottom: 100px;
margin: 30px auto 0;
.item {
display: flex;
padding: 42px;
margin-bottom: 36px;
color: #333;
background: #f5f5f5 url(http://10.10.11.7/images/overviewSetup/1.png) right bottom/auto no-repeat;
transition: 0.5s;
&:nth-child(even) {
justify-content: space-between;
flex-direction: row-reverse;
background-position: 30% 100%;
.texts {
padding-left: 0;
}
}
&:hover {
.pic {
transform: scale(1.1);
}
}
}
&:hover {
// color: #fff;
// background: #005388;
.pic {
transform: scale(1.1);
}
.img-wrap {
height: 383px;
overflow: hidden;
}
}
.img-wrap {
height: 465px;
overflow: hidden;
}
.pic {
width: 100%;
height: 100%;
transition: .5s;
}
.texts {
width: 707px;
padding: 98px 72px 30px 80px;
}
h6 {
margin-bottom: 24px;
font-size: 2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
}
.des {
font-size: 1rem;
line-height: 33px;
-webkit-line-clamp: 8;
}
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
.pic {
width: 100%;
height: 100%;
transition: 0.5s;
}
}
.tab-content{
padding: 20px 0;
.org{
width: 100%;
padding:15px;
flex-direction: column;
.left{
width: 100%;
.texts {
width: 707px;
padding: 98px 72px 30px 80px;
}
h6 {
margin-bottom: 24px;
font-size: 2rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
}
.des {
font-size: 1rem;
line-height: 33px;
-webkit-line-clamp: 8;
}
}
}
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
}
.tab-content{
padding: 20px 0;
.org{
width: 100%;
padding:15px;
flex-direction: column;
.left{
width: 100%;
}
img{
width: 100%;
}
.block {
padding: 2rem 0;
.inner {
width: 90%;
.event {
flex-direction: column;
.time {
width: 100%;
li {
width: 100%;
justify-content: flex-start;
}
}
.right {
width: 100%;
.list {
li {
padding: 1.25rem;
flex-direction: column;
.texts {
width: 100%;
}
.pic {
width: 100%;
margin-top: 1rem;
}
}
}
}
}
}
}
}
.block {
padding: 2rem 0;
.inner {
width: 90%;
.event {
flex-direction: column;
.time {
width: 100%;
li {
width: 100%;
justify-content: flex-start;
}
}
.right {
width: 100%;
.list {
li {
padding: 1.25rem;
flex-direction: column;
.texts {
width: 100%;
}
.pic {
.tab-content {
padding: 1.25rem 0;
.item {
padding: 0.85rem;
flex-direction: column !important;
.texts {
margin-top: 0.5rem;
width: 100%;
margin-top: 1rem;
}
padding: 0;
}
}
}
}
}
}
.tab-content {
padding: 1.25rem 0;
.item {
padding: .85rem;
flex-direction: column !important;
.texts {
margin-top: .5rem;
width: 100%;
padding: 0;
}
.img-wrap {
height: auto;
}
}
}
}
@media (max-width: 320px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 13rem;
}
}
.item {
.img-wrap {
height: 13rem;
}
.texts {
h6 {
font-size: 1.5rem;
}
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 13rem;
}
}
}
}
}
.item {
.texts {
h6 {
font-size: 1.5rem;
}
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 13rem;
}
}
}
}
}
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 18rem;
}
}
.item {
.img-wrap {
height: 15rem;
}
.texts {
h6 {
font-size: 1.5rem;
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.org {
img {
width: 100%;
margin-top: 1rem;
height: 15rem;
}
height: 18rem;
}
}
.item {
.texts {
h6 {
font-size: 1.5rem;
}
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 15rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.wrap {
.single-banner {
.banner-img {
height: 15rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 20rem;
}
}
.item {
.img-wrap {
height: 18rem;
}
.texts {
h6 {
font-size: 1.5rem;
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.org {
img {
width: 100%;
margin-top: 1rem;
height: 18rem;
}
height: 20rem;
}
}
.item {
.texts {
h6 {
font-size: 1.5rem;
}
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 18rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.single-banner {
.banner-img {
height: 18rem;
}
.texts {
top: 10rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 24rem;
}
}
.item {
.img-wrap {
height: 22rem;
}
.texts {
h6 {
font-size: 1.5rem;
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.org {
img {
width: 100%;
margin-top: 1rem;
height: 20rem;
}
height: 24rem;
}
}
.item {
.texts {
h6 {
font-size: 1.5rem;
}
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 20rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.single-banner {
.banner-img {
height: 22rem;
}
.texts {
top: 12rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 28rem;
}
}
.item {
.img-wrap {
height: 25rem;
}
.texts {
h6 {
font-size: 1.5rem;
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.org {
img {
width: 100%;
margin-top: 1rem;
height: 22rem;
}
height: 28rem;
}
}
.item {
.texts {
h6 {
font-size: 1.5rem;
}
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 22rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.wrap {
.single-banner {
.banner-img {
height: 25rem;
}
.texts {
top: 15rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 30rem;
}
}
.item {
.img-wrap {
height: 28rem;
}
.texts {
h6 {
font-size: 1.5rem;
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.org {
img {
width: 100%;
margin-top: 1rem;
height: 25rem;
}
height: 30rem;
}
}
.item {
.texts {
h6 {
font-size: 1.5rem;
}
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 25rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.wrap {
.single-banner {
.banner-img {
height: 32rem;
}
.texts {
top: 20rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 32rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 27rem;
}
height: 32rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 27rem;
}
}
}
}
}
}
}
}
}
}
}
</style>

@ -2,7 +2,9 @@
<!-- 产业光源-机构设置 -->
<div class="wrap">
<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>
@ -10,7 +12,9 @@
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: item.id == active}" :key="i" @click="tabChange(item)">{{ item.columnName }}</li>
<li :class="{active: item.id == active}"
:key="i"
@click="tabChange(item)">{{ item.columnName }}</li>
</template>
</ul>
@ -18,12 +22,17 @@
<div class="org">
<div class="left">
<h6>{{ modules[1].form.title }}</h6>
<p class="text" v-html="modules[1].form.des"></p>
<p class="text"
v-html="modules[1].form.des"></p>
</div>
<img class="pic" src="http://10.10.11.7/images/overviewSetup/1.png" alt="">
<img class="pic"
src="http://10.10.11.7/images/overviewSetup/1.png"
alt="">
</div>
<div class="lg-bg">
<img width="100%" :src="modules[2].form.pic" alt="">
<img width="100%"
:src="modules[2].form.pic"
alt="">
</div>
</div>
</div>
@ -35,465 +44,380 @@ import overview from '@/mixins/estate'
import WOW from 'wow.js'
export default {
mixins: [mixins, overview],
data() {
data () {
return {
}
},
mounted() {
mounted () {
new WOW().init()
},
methods: {
}
};
</script>
<style lang="scss" scoped>
@import url(../../../plugins/wow/animate.css);
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.tab-content {
padding: 77px 0;
padding: 77px 0;
}
.org {
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #FCFCFC;
border-radius: 160px;
.left {
width: 705px;
}
h6 {
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
.pic {
width: 320px;
height: 282px;
}
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #fcfcfc;
border-radius: 160px;
.left {
width: 705px;
}
h6 {
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
.pic {
width: 320px;
height: 282px;
}
}
.lg-bg {
width: 85%;
margin: 0 auto;
width: 85%;
margin: 0 auto;
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
}
.tab-content{
padding: 20px 0;
.org{
width: 100%;
padding:15px;
flex-direction: column;
.left{
width: 100%;
.tab-content {
padding: 20px 0;
.org {
width: 100%;
padding: 15px;
flex-direction: column;
.left {
width: 100%;
}
}
}
}
}
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
.tab-content{
padding: 20px 0;
.org{
width: 100%;
padding:15px;
flex-direction: column;
.left{
width: 100%;
}
img{
width: 100%;
}
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
}
.block {
padding: 2rem 0;
.inner {
width: 90%;
.event {
flex-direction: column;
.time {
width: 100%;
li {
.tab-content {
padding: 20px 0;
.org {
width: 100%;
justify-content: flex-start;
}
}
.right {
width: 100%;
.list {
li {
padding: 1.25rem;
flex-direction: column;
.texts {
padding: 15px;
flex-direction: column;
.left {
width: 100%;
}
.pic {
}
img {
width: 100%;
margin-top: 1rem;
}
}
}
}
}
}
}
.block {
padding: 2rem 0;
.inner {
width: 90%;
.event {
flex-direction: column;
.time {
width: 100%;
li {
width: 100%;
justify-content: flex-start;
}
}
.right {
width: 100%;
.list {
li {
padding: 1.25rem;
flex-direction: column;
.texts {
width: 100%;
}
.pic {
width: 100%;
margin-top: 1rem;
}
}
}
}
}
}
}
}
@media (max-width: 320px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 13rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 13rem;
}
}
}
}
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 13rem;
}
}
}
}
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 18rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 15rem;
}
height: 18rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 15rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.wrap {
.single-banner {
.banner-img {
height: 15rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 20rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 18rem;
}
height: 20rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 18rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.single-banner {
.banner-img {
height: 18rem;
}
.texts {
top: 10rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 24rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 20rem;
}
height: 24rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 20rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.single-banner {
.banner-img {
height: 22rem;
}
.texts {
top: 12rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 28rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 22rem;
}
height: 28rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 22rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.wrap {
.single-banner {
.banner-img {
height: 25rem;
}
.texts {
top: 15rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 30rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 25rem;
}
height: 30rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 25rem;
}
}
}
}
}
}
}
}
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.wrap {
.single-banner {
.banner-img {
height: 32rem;
}
.texts {
top: 20rem;
left: 5rem;
}
}
}
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org{
img{
width: 100%;
height: 32rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
.tab-content {
.survey {
padding: 1.25rem;
width: 100%;
margin-bottom: 2rem;
}
.org {
img {
width: 100%;
margin-top: 1rem;
height: 27rem;
}
height: 32rem;
}
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
margin-top: 1rem;
height: 27rem;
}
}
}
}
}
}
}
}
}
}
}
</style>

@ -2,7 +2,9 @@
<!-- 产业光源-产业光源概况 -->
<div class="wrap">
<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>
@ -10,7 +12,9 @@
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: item.id == active}" :key="i" @click="tabChange(item)">{{ item.columnName }}</li>
<li :class="{active: item.id == active}"
:key="i"
@click="tabChange(item)">{{ item.columnName }}</li>
</template>
</ul>
@ -18,12 +22,17 @@
<div class="survey">
<h6>
{{ modules[1].form.title }}
<img class="title-bg" src="http://10.10.11.7/images/overviewIntro/2.png" alt="">
<img class="title-bg"
src="http://10.10.11.7/images/overviewIntro/2.png"
alt="">
</h6>
<p class="text" v-html="modules[1].form.des"></p>
<p class="text"
v-html="modules[1].form.des"></p>
</div>
<div class="lg-bg">
<img width="100%" src="http://10.10.11.7/images/estate/3.png" alt="">
<img width="100%"
src="http://10.10.11.7/images/estate/3.png"
alt="">
</div>
</div>
</div>
@ -35,158 +44,101 @@ import overview from '@/mixins/estate'
import WOW from 'wow.js'
export default {
mixins: [mixins, overview],
data() {
data () {
return {
}
},
mounted() {
mounted () {
new WOW().init()
},
methods: {
}
};
</script>
<style lang="scss" scoped>
@import url(../../../plugins/wow/animate.css);
@import "../../../styles/page/page.scss";
@import '../../../styles/page/page.scss';
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.tab-content {
padding-top: 70px;
padding-top: 70px;
}
.survey {
width: 1294px;
min-height: 500px;
padding: 80px 86px 29px 597px;
margin: 0 auto 200px;
background: url(http://10.10.11.7/images/estate/2.png) 0 0/100% 100% no-repeat;
border-radius: 160px;
h6 {
position: relative;
margin-bottom: 30px;
font-size: 1.2rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.title-bg {
position: absolute;
top: -40px;
left: -20px;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
width: 1294px;
min-height: 500px;
padding: 80px 86px 29px 597px;
margin: 0 auto 200px;
background: url(http://10.10.11.7/images/estate/2.png) 0 0/100% 100% no-repeat;
border-radius: 160px;
h6 {
position: relative;
margin-bottom: 30px;
font-size: 1.2rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.title-bg {
position: absolute;
top: -40px;
left: -20px;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
}
.lg-bg {
width: 40%;
width: 40%;
}
@media (max-width: 1300px) {
.wrap {
.single-banner {
.banner-img {
height: 35rem;
}
.texts {
top: 20rem;
left: 9rem;
}
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
}
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
.tab-content {
padding: 20px 0;
}
}
.tab-content {
padding: 20px 0;
}
.lg-bg {
width: 100%;
}
.survey {
width: 100%;
padding: 80px 86px 29px 47%;
margin-bottom: 2rem;
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.wrap {
.single-banner {
.banner-img {
height: 15rem;
}
}
}
}
@media (max-width: 480px) {
.survey {
padding: 30px;
background: none;
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.single-banner {
.banner-img {
height: 18rem;
}
.lg-bg {
width: 100%;
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.single-banner {
.banner-img {
height: 20rem;
}
.survey {
width: 95%;
padding: 80px 86px 29px 47%;
margin-bottom: 2rem;
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.wrap {
.single-banner {
.banner-img {
height: 25rem;
}
@media (max-width: 768px) {
.survey {
padding: 30px;
background: none;
}
}
}
</style>

@ -1,7 +1,9 @@
<template>
<div class="wrap">
<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>
@ -9,7 +11,9 @@
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: item.id == active}" :key="i" @click="tabChange(item)">{{ item.columnName }}</li>
<li :class="{active: item.id == active}"
:key="i"
@click="tabChange(item)">{{ item.columnName }}</li>
</template>
</ul>
@ -17,22 +21,33 @@
<div class="inner">
<h2 class="wow fadeInLeft">{{ modules[1].form.title }}</h2>
<p class="en">{{ modules[1].form.des }}</p>
<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}" @click="yearClick(i)">{{ item.title }}</li>
<li v-if="item.isEnable"
:key="i"
:class="{active: curYear == i}"
@click="yearClick(i)">{{ item.title }}</li>
</template>
</ul>
<div v-if="modules[2].list[curYear]" class="right">
<div v-if="modules[2].list[curYear]"
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" :class="{'cursor-pointer': isLink(e.link.linkName)}" @click="openLink(e)">
<li v-if="e.isEnable"
:key="j"
:class="{'cursor-pointer': isLink(e.link.linkName)}"
@click="openLink(e)">
<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>
@ -49,17 +64,17 @@ import overview from '@/mixins/overview'
import WOW from 'wow.js'
export default {
mixins: [mixins, overview],
data() {
data () {
return {
curYear: 0
}
},
mounted() {
mounted () {
new WOW().init()
},
methods: {
//
yearClick(i) {
yearClick (i) {
this.curYear = i
}
}
@ -68,483 +83,211 @@ export default {
<style lang="scss" scoped>
@import url(../../plugins/wow/animate.css);
@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;
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;
}
.single-banner {
.banner-img {
height: 24rem;
}
.texts {
top: auto !important;
bottom: 2rem;
h6 {
font-size: 2.16rem
.banner-img {
height: 24rem;
}
}
}
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 1.25rem .95rem;
margin: 0 .5rem;
font-size: 1.05rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
.texts {
top: auto !important;
bottom: 2rem;
h6 {
font-size: 2.16rem;
}
}
}
}
.history {
padding: 3.85rem 0;
h2 {
position: relative;
font-size: 1.75rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1C1C1C;
}
.en {
margin: 0 0 2rem;
font-size: 1.75rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #E3E3E3;
}
}
.event {
display: flex;
justify-content: center;
.time {
width: 12.5rem;
padding-right: .625rem;
margin-right: 1.25rem;
flex-shrink: 1;
border-right: 1px solid #ddd;
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
display: flex;
justify-content: center;
align-items: center;
padding-right: 2.25rem;
line-height: 3rem;
font-size: 1.32rem;
font-weight: 600;
font-family: SFProDisplay-Semibold, SFProDisplay;
color: #666;
box-shadow: inset 0px -1px 0px 0px #DDDDDD;
cursor: pointer;
&.active {
font-weight: 800;
color: #1A81F4;
background: linear-gradient(90deg, #FFFFFF 0%, #F3F8FF 100%);
&:before {
content: '';
width: 18px;
height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
padding: 1.25rem 0.95rem;
margin: 0 0.5rem;
font-size: 1.05rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.right {
// width: 1000px;
flex-grow: 1;
}
.year {
margin: 0 0 1rem 1rem;
font-size: 2.35rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1A81F4;
}
.list {
border-top: 1px solid #ddd;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem;
border-bottom: 1px solid #ddd;
}
.texts {
width: 31.25rem;
}
.date {
width: 31.25rem;
margin-bottom: .75rem;
font-size: 1.26rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all
}
.text {
font-size: 1.08rem;
color: #333;
@include mul-ellipsis(3);
&:before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
}
.pic {
width: 17.5rem;
height: 9.75rem;
}
}
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
.tab-content{
width: 90%;
span {
font-size: 1.35rem;
}
}
.block {
padding: 1.25rem 0;
.inner {
width: 90%;
.history {
padding: 3.85rem 0;
h2 {
font-size: 1.5rem;
}
p {
font-size: 1rem;
margin: 10px 0 1.25rem;
position: relative;
font-size: 1.75rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1c1c1c;
}
.en {
margin: 0 0 2rem;
font-size: 1.75rem;
font-family: PingFangSC-Light, PingFang SC;
font-weight: 300;
color: #e3e3e3;
}
.event {
flex-direction: column;
.time {
width: 100%;
}
.event {
display: flex;
justify-content: center;
.time {
width: 12.5rem;
padding-right: 0.625rem;
margin-right: 1.25rem;
flex-shrink: 1;
border-right: 1px solid #ddd;
li {
width: 100%;
justify-content: flex-start;
}
}
.right {
margin-top: 1.25rem;
width: 100%;
h6{
font-size: 2rem;
}
.list {
li {
padding: 1.25rem;
flex-direction: column;
align-items: flex-start;
.texts {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
padding-right: 2.25rem;
line-height: 3rem;
font-size: 1.32rem;
font-weight: 600;
font-family: SFProDisplay-Semibold, SFProDisplay;
color: #666;
box-shadow: inset 0px -1px 0px 0px #dddddd;
cursor: pointer;
&.active {
font-weight: 800;
color: #1a81f4;
background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%);
&:before {
content: '';
width: 18px;
height: 18px;
background: url(http://10.10.11.7/images/overviewDevHistory/3.png) no-repeat;
margin-right: 20px;
}
}
.pic {
width: 100%;
}
}
}
}
}
}
}
}
@media (min-width: 280px) and (max-width: 1200px) {
.single-banner {
.banner-img {
height: 15rem;
.right {
// width: 1000px;
flex-grow: 1;
}
}
}
@media (max-width: 320px) {
.wrap {
.banner-img {
height: 12rem;
}
.single-banner {
.texts {
bottom: 2rem !important;
left: 2rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
}
.tabs {
li {
padding: 1rem .5rem;
font-size: .85rem;
.year {
margin: 0 0 1rem 1rem;
font-size: 2.35rem;
font-family: ToppanBunkyuMidashiGothicStdN-ExtraBold, ToppanBunkyuMidashiGothicStdN;
font-weight: 800;
color: #1a81f4;
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
height: 9.75rem;
}
}
}
.list {
border-top: 1px solid #ddd;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem;
border-bottom: 1px solid #ddd;
}
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.banner-img {
height: 12rem;
}
.single-banner {
.texts {
bottom: 2rem !important;
left: 2rem !important;
.banner-title {
font-size: 1.5rem;
.texts {
width: 31.25rem;
}
}
}
}
.tabs {
li {
padding: 1rem .5rem;
font-size: .85rem;
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
height: 9.75rem;
}
}
}
.date {
width: 31.25rem;
margin-bottom: 0.75rem;
font-size: 1.26rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.wrap {
.banner-img {
height: 12rem;
}
.single-banner {
.texts {
bottom: 2rem !important;
left: 2rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
}
.tabs {
li {
padding: 1rem .5rem;
font-size: .85rem;
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
height: 9.75rem;
}
.text {
font-size: 1.08rem;
color: #333;
@include mul-ellipsis(3);
&:before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin: 0 10px;
background-color: #666;
transform: rotate(45deg);
}
}
}
}
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.banner-img {
height: 12rem;
}
.single-banner {
.texts {
bottom: 2rem !important;
left: 2rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
}
.tabs {
li {
padding: 1rem .5rem;
font-size: .85rem;
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
height: 9.75rem;
}
}
}
.pic {
width: 17.5rem;
height: 9.75rem;
}
}
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.banner-img {
height: 12rem;
}
.single-banner {
.texts {
bottom: 2rem !important;
left: 2rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
}
.tabs {
li {
padding: 1rem .5rem;
font-size: .85rem;
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
height: 11.75rem;
}
}
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.wrap {
.banner-img {
height: 12rem;
}
.single-banner {
.texts {
bottom: 2rem !important;
left: 2rem !important;
.banner-title {
font-size: 1.5rem;
.tab-content {
width: 90%;
span {
font-size: 1.35rem;
}
}
}
}
.tabs {
li {
padding: 1rem .5rem;
font-size: .85rem;
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
height: auto
}
.block {
padding: 1.25rem 0;
.inner {
width: 90%;
h2 {
font-size: 1.5rem;
}
}
}
}
}
}
}
@media (min-width: 980px) and (max-width: 1200px) {
.wrap {
.banner-img {
height: 12rem;
}
.single-banner {
.texts {
bottom: 2rem !important;
left: 2rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
}
.tabs {
li {
padding: 1rem .5rem;
font-size: .85rem;
}
}
.block {
.inner {
.event {
.right {
.list {
li {
.pic {
width: 100%;
height: auto
}
p {
font-size: 1rem;
margin: 10px 0 1.25rem;
}
.event {
flex-direction: column;
.time {
width: 100%;
li {
width: 100%;
justify-content: flex-start;
}
}
.right {
margin-top: 1.25rem;
width: 100%;
h6 {
font-size: 2rem;
}
.list {
li {
padding: 1.25rem;
flex-direction: column;
align-items: flex-start;
.texts {
width: 100%;
}
.pic {
width: 100%;
height: auto;
}
}
}
}
}
}
}
}
}
}
}
</style>

@ -1,7 +1,9 @@
<template>
<div class="wrap">
<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>
@ -9,7 +11,9 @@
<ul class="tabs wow fadeInLeft">
<template v-for="(item, i) in tabs">
<li :class="{active: item.id == active}" :key="i" @click="tabChange(item)">{{ item.columnName }}</li>
<li :class="{active: item.id == active}"
:key="i"
@click="tabChange(item)">{{ item.columnName }}</li>
</template>
</ul>
@ -17,14 +21,19 @@
<div class="org">
<div class="left">
<h6>{{ modules[1].form.title }}</h6>
<p class="text" v-html="modules[1].form.des"></p>
<p class="text"
v-html="modules[1].form.des"></p>
</div>
<img class="pic" src="http://10.10.11.7/images/overviewSetup/1.png" alt="">
<img class="pic"
src="http://10.10.11.7/images/overviewSetup/1.png"
alt="">
</div>
<div class="lg-bg">
<img width="100%" :src="modules[2].form.pic" alt="">
<img width="100%"
:src="modules[2].form.pic"
alt="">
</div>
</div>
</div>
</template>
@ -35,256 +44,114 @@ import overview from '@/mixins/overview'
import WOW from 'wow.js'
export default {
mixins: [mixins, overview],
data() {
data () {
return {
}
},
mounted() {
mounted () {
new WOW().init()
},
methods: {
}
};
</script>
<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: 24rem;
}
.texts {
top: auto !important;
bottom: 2rem;
h6 {
font-size: 2.16rem
.banner-img {
height: 24rem;
}
.texts {
top: auto !important;
bottom: 2rem;
h6 {
font-size: 2.16rem;
}
}
}
}
.tabs {
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223,223,223,0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167,167,167,0.26);
cursor: pointer;
&.active {
color: #1583FF;
border-bottom-color: #1583FF;
display: flex;
justify-content: center;
box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
li {
padding: 25px 19px;
margin: 0 10px;
font-size: 1.1rem;
color: #333;
border-bottom: 4px solid transparent;
text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
cursor: pointer;
&.active {
color: #1583ff;
border-bottom-color: #1583ff;
}
}
}
}
.tab-content {
padding: 77px 0;
padding: 77px 0;
}
.org {
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #FCFCFC;
border-radius: 160px;
.left {
width: 705px;
}
h6 {
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
.pic {
width: 320px;
height: 282px;
}
}
.lg-bg {
width: 85%;
margin: 0 auto;
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
display: flex;
justify-content: space-between;
align-items: center;
width: 1294px;
padding: 9px 86px 29px 116px;
margin: 0 auto 50px;
background: #fcfcfc;
border-radius: 160px;
.left {
width: 705px;
}
}
.tab-content{
padding: 20px 0;
.org{
width: 100%;
padding:15px;
flex-direction: column;
.pic {
width: 100%;
}
.left{
width: 100%;
}
}
}
}
@media (min-width: 280px) and (max-width: 1200px) {
.single-banner {
.banner-img {
height: 15rem;
}
.texts{
top: 8rem !important;
left: 22rem !important;
}
}
}
@media (max-width: 320px) {
.single-banner {
.banner-img {
height: 13rem;
h6 {
font-size: 1.4rem;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
font-weight: bold;
color: #333;
}
.texts {
top: 9rem !important;
left: 8rem !important;
.banner-title {
font-size: 1.5rem;
}
.text {
margin-top: 10px;
font-size: 1rem;
color: #020202;
line-height: 2rem;
}
}
.tab-content{
.org{
.pic {
width: 100%;
height: 13rem;
width: 320px;
height: 282px;
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.single-banner {
.banner-img {
height: 15rem;
}
.texts {
top: 11rem !important;
left: 10rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.single-banner {
.banner-img {
height: 18rem;
}
.texts {
top: 14rem !important;
left: 13rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.single-banner {
.banner-img {
height: 22rem;
}
.texts {
top: 18rem !important;
left: 25rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.single-banner {
.banner-img {
height: 25rem;
}
.texts {
top: 21rem !important;
left: 37rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
.tab-content{
.org{
.pic {
width: 100%;
height: 25rem;
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.single-banner {
.banner-img {
height: 28rem;
}
.texts {
top: 21rem !important;
left: 37rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
.tab-content{
.org{
.pic {
width: 100%;
height: 28rem;
}
}
}
.lg-bg {
width: 85%;
margin: 0 auto;
}
@media (min-width: 980px) and (max-width: 1200px) {
.single-banner {
.banner-img {
height: 32rem;
}
.texts {
top: 21rem !important;
left: 37rem !important;
.banner-title {
font-size: 1.5rem;
}
}
}
.tab-content{
.org{
.pic {
width: 100%;
height: 32rem;
}
@media (max-width: 1200px) {
.tabs {
overflow: hidden;
overflow-x: auto;
white-space: normal;
justify-content: normal;
display: -webkit-box;
li {
white-space: normal;
}
}
.tab-content {
padding: 20px 0;
.org {
width: 95%;
padding: 15px;
flex-direction: column;
.pic {
width: 100%;
height: auto;
}
.left {
width: 100%;
}
}
}
}
}
</style>

@ -1,118 +1,224 @@
@import "../var.scss";
@import '../var.scss';
.block {
padding: 118px 0;
.b-title {
position: relative;
margin-bottom: 50px;
font-size: 3rem;
font-family: SFProDisplay-Bold, SFProDisplay;
font-weight: bold;
color: #333333;
line-height: 60px;
text-align: center;
color: #1F1F1F;
&:after {
content: '';
position: absolute;
top: 70px;
left: 50%;
width: 136px;
height: 4px;
transform: translateX(-50%);
background: #1583FF;
}
}
.intro {
margin-bottom: 80px;
font-size: 1.6rem;
text-align: center;
color: #5B5B5E;
line-height: 40px;
@include mul-ellipsis(2);
}
padding: 118px 0;
.b-title {
position: relative;
margin-bottom: 50px;
font-size: 3rem;
font-family: SFProDisplay-Bold, SFProDisplay;
font-weight: bold;
color: #333333;
line-height: 60px;
text-align: center;
color: #1f1f1f;
&:after {
content: '';
position: absolute;
top: 70px;
left: 50%;
width: 136px;
height: 4px;
transform: translateX(-50%);
background: #1583ff;
}
}
.intro {
margin-bottom: 80px;
font-size: 1.6rem;
text-align: center;
color: #5b5b5e;
line-height: 40px;
@include mul-ellipsis(2);
}
}
.inner {
width: 1200px;
margin: 0 auto;
width: 1200px;
margin: 0 auto;
}
.banner {
height: 280px;
padding: 123px 0 0 243px;
font-size: 2rem;
color: #fff;
height: 280px;
padding: 123px 0 0 243px;
font-size: 2rem;
color: #fff;
}
.banner-item {
position: relative;
width: 100%;
height: 100%;
img {
position: relative;
width: 100%;
height: 100%;
}
.banner-name {
position: absolute;
bottom: 87px;
left: 213px;
font-size: 2rem;
font-family: SFProDisplay-Bold;
font-weight: bold;
line-height: 58px;
color: #fff;
cursor: pointer;
}
img {
width: 100%;
height: 100%;
}
.banner-name {
position: absolute;
bottom: 87px;
left: 213px;
font-size: 2rem;
font-family: SFProDisplay-Bold;
font-weight: bold;
line-height: 58px;
color: #fff;
cursor: pointer;
}
}
.single-banner {
position: relative;
color: #fff;
.banner-img {
width: 100%;
height: 480px;
}
.texts {
position: absolute;
top: 160px;
left: 267px;
}
&.single-banner-overview .texts {
top: 332px;
left: 278px;
}
.banner-title {
margin-bottom: 19px;
font-size: 2.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.banner-des {
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
position: relative;
color: #fff;
.banner-img {
width: 100%;
height: 480px;
}
.texts {
position: absolute;
top: 160px;
left: 267px;
}
&.single-banner-overview .texts {
top: 332px;
left: 278px;
}
.banner-title {
margin-bottom: 19px;
font-size: 2.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
.banner-des {
font-size: 1.2rem;
font-family: PingFangSC-Medium, PingFang SC;
}
}
.des {
@include mul-ellipsis(3);
@include mul-ellipsis(3);
}
.gray {
background-color: #F2F6F8;
background-color: #f2f6f8;
}
.arrow {
transition: .3s;
cursor: pointer;
transition: 0.3s;
cursor: pointer;
}
.all-link {
text-align: right;
span {
display: inline-flex;
align-items: center;
font-size: 16px;
color: #707070;
cursor: pointer;
}
.icon {
width: 20px;
margin-left: 8px;
}
text-align: right;
span {
display: inline-flex;
align-items: center;
font-size: 16px;
color: #707070;
cursor: pointer;
}
.icon {
width: 20px;
margin-left: 8px;
}
}
@media (max-width: 1410px) {
.inner {
width: 80%;
}
}
.inner {
width: 80%;
}
}
@media (max-width: 1300px) {
.wrap {
.single-banner {
.banner-img {
height: 35rem;
}
.texts {
top: 20rem;
left: 9rem;
}
}
}
}
@media (max-width: 980px) {
.wrap {
.single-banner {
.banner-img {
height: 32rem;
}
.texts {
top: 20rem;
left: 5rem;
}
}
}
}
@media (min-width: 768px) and (max-width: 980px) {
.wrap {
.single-banner {
.banner-img {
height: 25rem;
}
.texts {
top: 15rem;
left: 5rem;
}
}
}
}
@media (min-width: 640px) and (max-width: 768px) {
.wrap {
.single-banner {
.banner-img {
height: 22rem;
}
.texts {
top: 12rem;
left: 5rem;
}
}
}
}
@media (min-width: 480px) and (max-width: 640px) {
.wrap {
.single-banner {
.banner-img {
height: 18rem;
}
.texts {
top: 10rem;
left: 5rem;
}
}
}
}
@media (min-width: 375px) and (max-width: 480px) {
.wrap {
.single-banner {
.banner-img {
height: 15rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
}
@media (min-width: 320px) and (max-width: 375px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
}
@media (max-width: 320px) {
.wrap {
.single-banner {
.banner-img {
height: 13rem;
}
.texts {
top: 6rem;
left: 5rem;
}
}
}
}

Loading…
Cancel
Save