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

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

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

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

@ -1,10 +1,15 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<el-carousel :interval="6000" :arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> <el-carousel :interval="6000"
:arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> <el-carousel-item v-if="item.pic && item.isEnable"
<div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]" @click="openLink(item)"> :key="i">
<img :src="item.pic" alt=""> <div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]"
@click="openLink(item)">
<img :src="item.pic"
alt="">
<p class="banner-name">{{ item.title }}</p> <p class="banner-name">{{ item.title }}</p>
</div> </div>
</el-carousel-item> </el-carousel-item>
@ -15,24 +20,34 @@
<div class="inner"> <div class="inner">
<h6>{{ modules[1].form.title }}</h6> <h6>{{ modules[1].form.title }}</h6>
<p class="en">{{ modules[1].form.subTitle }}</p> <p class="en">{{ modules[1].form.subTitle }}</p>
<div class="card" v-html="modules[1].form.des"></div> <div class="card"
<div class="flex textBox" > v-html="modules[1].form.des"></div>
<div class="flex textBox">
<div class="left"> <div class="left">
<div class="des" v-html="modules[2].form.des"></div> <div class="des"
v-html="modules[2].form.des"></div>
</div> </div>
<img class="pic" :src="modules[2].form.pic" alt=""> <img class="pic"
:src="modules[2].form.pic"
alt="">
</div> </div>
</div> </div>
</div> </div>
<div class="intro"> <div class="intro">
<img class="bg" src="http://10.10.11.7/images/device/7.png" alt=""> <img class="bg"
<img class="pic" :src="modules[3].form.pic" alt=""> src="http://10.10.11.7/images/device/7.png"
alt="">
<img class="pic"
:src="modules[3].form.pic"
alt="">
</div> </div>
<div class="unit"> <div class="unit">
<h6>{{ modules[4].form.title }}</h6> <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>
</div> </div>
</template> </template>
@ -42,17 +57,17 @@ import mixins from '@/mixins/page'
import WOW from 'wow.js' import WOW from 'wow.js'
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return { return {
routes: [] routes: []
} }
}, },
mounted() { mounted () {
new WOW().init() new WOW().init()
}, },
methods: { methods: {
// //
getInfo() { getInfo () {
// / // /
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`) this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`)
.then(({ data }) => { .then(({ data }) => {
@ -73,490 +88,211 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import url(../../plugins/wow/animate.css); @import url(../../plugins/wow/animate.css);
@import "../../styles/page/page.scss"; @import '../../styles/page/page.scss';
.wrap{ .wrap {
background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat; background: url(http://10.10.11.7/images/device/4.png) bottom right/auto no-repeat;
/deep/ .el-carousel { /deep/ .el-carousel {
height: 12.6rem; height: 12.6rem;
.el-carousel__container{ .el-carousel__container {
height: 12.6rem; height: 12.6rem;
}
img {
height: 12.6rem;
}
} }
img{
height: 12.6rem;
}
}
} }
.banner-item { .banner-item {
.banner-name { .banner-name {
font-size: 2.16rem; font-size: 2.16rem;
left: 17%; left: 17%;
bottom: 20%; bottom: 20%;
}
}
.block {
padding: 3.85rem 0;
.inner {
h6 {
font-size: 2.16rem;
} }
.en { }
font-size: 1.76rem; .block {
margin: 0px 0 2rem; padding: 3.85rem 0;
.inner {
h6 {
font-size: 2.16rem;
}
.en {
font-size: 1.76rem;
margin: 0px 0 2rem;
}
} }
}
} }
.share { .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; position: relative;
font-size: 1.76rem; .inner {
font-family: PingFangSC-Medium, PingFang SC; width: 100%;
font-weight: 500; max-width: 1323px;
color: #333333; .textBox {
} position: absolute;
.en { width: 85%;
margin: -25px 0 40px; right: 0;
font-size: 2.2rem; top: 26rem;
font-family: PingFangSC-Light, PingFang SC; .left {
font-weight: 300; flex-grow: 1;
color: #E3E3E3; }
} }
.card { h6 {
position: absolute; font-weight: bold;
left: 0; }
max-width: 1671px; }
width: 85%; .left {
padding: 1.6rem 2.9rem 1.6rem 16%; width: 34.187rem;
font-size: 1.06rem; margin-right: 4.125rem;
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;
} }
.textBox { h6 {
top:23.125rem !important; position: relative;
.des { font-size: 1.76rem;
line-height: 1.1rem; font-family: PingFangSC-Medium, PingFang SC;
} font-weight: 500;
} color: #333333;
}
.intro {
margin-top: 41rem;
.bg {
height: 10rem;
} }
.pic { .en {
height: auto; 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 { .card {
font-size: .9rem; position: absolute;
line-height: 1.1rem; left: 0;
} max-width: 1671px;
.textBox { width: 85%;
top:23.125rem !important; padding: 1.6rem 2.9rem 1.6rem 14%;
.des { font-size: 1.06rem;
line-height: 1.1rem; font-family: PingFangSC-Medium, PingFang SC;
} border-radius: 0 6rem 0 0;
} font-weight: 500;
} color: #ffffff;
.intro { line-height: 2.375rem;
margin-top: 41rem; background: url(http://10.10.11.7/images/device/5.png) 0 0 /100% 100% no-repeat;
.bg { }
height: 13rem; .des {
margin-top: 25px;
font-size: 0.98rem;
-webkit-line-clamp: inherit;
color: #333;
line-height: 37px;
overflow: visible;
} }
.pic { .pic {
height: auto; width: 44.375rem;
height: auto;
border-top-left-radius: 20px;
} }
}
} }
@media (min-width: 375px) and (max-width: 480px) { .intro {
.banner{ position: relative;
height: 12rem; height: 42.625rem;
padding: 6rem 0 0 2rem; margin-bottom: 2.3rem;
} margin-top: 50rem;
.share { width: 85%;
.card {
font-size: .9rem;
line-height: 1.1rem;
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
}
}
.intro {
margin-top: 43rem;
.bg { .bg {
height: 16rem; position: absolute;
top: 0;
left: 0;
width: 65%;
height: 35.73rem;
} }
.pic { .pic {
height: auto; position: absolute;
top: 3.015rem;
left: 30%;
width: 71%;
height: 29.74rem;
} }
}
} }
@media (min-width: 480px) and (max-width: 640px) { .unit {
.banner{ width: 986px;
height: 12rem; padding-bottom: 60px;
padding: 6rem 0 0 2rem; margin: 0 auto;
} h6 {
.share { padding-left: 0.93rem;
.card { margin-bottom: 0.93rem;
font-size: .9rem; font-size: 0.88rem;
line-height: 1.1rem; font-family: PingFangSC-Medium, PingFang SC;
} font-weight: 500;
.textBox { color: #2a2a2a;
top:23.125rem !important; border-left: 4px solid #1583ff;
.des {
line-height: 1.1rem;
}
}
}
.intro {
margin-top: 53rem;
.bg {
height: 22rem;
}
.pic {
height: auto;
} }
}
} }
@media (min-width: 640px) and (max-width: 768px) { @media (max-width: 1400px) {
.banner{ .share {
height: 12rem; .card {
padding: 6rem 0 0 2rem; position: relative;
} margin-left: -2.5%;
.share { }
.card { .inner {
font-size: .9rem; max-width: none;
line-height: 1.1rem; 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 { .bg {
height: 26rem; width: 100%;
} }
.pic { .intro {
height: auto; 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) { @media (max-width: 980px) {
.banner{ .share {
height: 12rem; .pic {
padding: 6rem 0 0 2rem; width: 80%;
} }
.share {
.card {
font-size: .9rem;
line-height: 1.1rem;
}
.textBox {
top:23.125rem !important;
.des {
line-height: 1.1rem;
}
} }
}
.intro {
margin-top: 63rem;
.bg {
height: 30rem;
}
.pic {
height: auto;
}
}
} }
@media (min-width: 980px) and (max-width: 1200px) { @media (max-width: 640px) {
.banner{ .share {
height: 12rem; .inner {
padding: 6rem 0 0 2rem; .textBox {
} margin: 0 auto;
.share { }
.card { }
font-size: .9rem; .left {
line-height: 1.1rem; margin-right: 0;
} }
.textBox { }
top:23.125rem !important; .intro {
.des { height: auto;
line-height: 1.1rem; .bg,
} .pic {
position: static;
width: 100%;
height: auto;
}
} }
}
.intro {
margin-top: 73rem;
.bg {
height: 35rem;
}
.pic {
height: auto;
}
}
} }
</style> </style>

@ -1,10 +1,15 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<el-carousel :interval="6000" :arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> <el-carousel :interval="6000"
:arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list"> <template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> <el-carousel-item v-if="item.pic && item.isEnable"
<div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]" @click="openLink(item)"> :key="i">
<img :src="item.pic" alt=""> <div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]"
@click="openLink(item)">
<img :src="item.pic"
alt="">
<p class="banner-name">{{ item.title }}</p> <p class="banner-name">{{ item.title }}</p>
</div> </div>
</el-carousel-item> </el-carousel-item>
@ -14,14 +19,19 @@
<div class="block history gray"> <div class="block history gray">
<div class="inner"> <div class="inner">
<h2 class="wow fadeInLeft">{{ modules[1].form.title }}</h2> <h2 class="wow fadeInLeft">{{ modules[1].form.title }}</h2>
<p class="en" v-html="modules[1].form.des"></p> <p class="en"
<div class="texts wow fadeInDown" data-wow-delay="0.5s"> v-html="modules[1].form.des"></p>
<div class="texts wow fadeInDown"
data-wow-delay="0.5s">
<div class="left"> <div class="left">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="line"></div> <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> </div>
<img class="bg" src="http://10.10.11.7/images/device/10.png" alt="" /> <img class="bg"
src="http://10.10.11.7/images/device/10.png"
alt="" />
</div> </div>
</div> </div>
</div> </div>
@ -30,11 +40,13 @@
<div class="inner"> <div class="inner">
<div class="left"> <div class="left">
<h5>{{ modules[3].form.title }}</h5> <h5>{{ modules[3].form.title }}</h5>
<img :src="modules[3].form.pic" alt="" /> <img :src="modules[3].form.pic"
alt="" />
</div> </div>
<div class="right"> <div class="right">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
<img :src="modules[4].form.pic" alt="" /> <img :src="modules[4].form.pic"
alt="" />
</div> </div>
</div> </div>
</div> </div>
@ -46,15 +58,15 @@ import mixins from '@/mixins/page';
import WOW from 'wow.js'; import WOW from 'wow.js';
export default { export default {
mixins: [mixins], mixins: [mixins],
data() { data () {
return {}; return {};
}, },
mounted() { mounted () {
new WOW().init(); new WOW().init();
}, },
methods: { methods: {
// //
getInfo() { getInfo () {
// / // /
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`) this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`)
.then(({ data }) => { .then(({ data }) => {
@ -76,289 +88,270 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import url(../../plugins/wow/animate.css); @import url(../../plugins/wow/animate.css);
@import '../../styles/page/page.scss'; @import '../../styles/page/page.scss';
.wrap{ .wrap {
/deep/ .el-carousel { /deep/ .el-carousel {
height: 12.6rem; height: 12.6rem;
.el-carousel__container{ .el-carousel__container {
height: 12.6rem; height: 12.6rem;
} }
img{ img {
height: 12.6rem; height: 12.6rem;
}
} }
}
} }
.banner-item { .banner-item {
.banner-name { .banner-name {
font-size: 2.16rem; font-size: 2.16rem;
left: 17%; left: 17%;
bottom: 20%; bottom: 20%;
}
}
.block {
padding: 3.85rem 0;
.inner {
h2 {
font-size: 1.76rem;
} }
.en { }
font-size: 1.76rem; .block {
margin: 0px 0 2rem; padding: 3.85rem 0;
.inner {
h2 {
font-size: 1.76rem;
}
.en {
font-size: 1.76rem;
margin: 0px 0 2rem;
}
} }
}
} }
.history { .history {
.inner { .inner {
width: 1200px; width: 1200px;
max-width: 1504px; max-width: 1504px;
} }
h2 {
position: relative;
font-size: 1.76rem;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #1c1c1c;
}
.en { h2 {
margin: -25px 0 40px; position: relative;
font-size: 2.2rem; font-size: 1.76rem;
font-family: PingFangSC-Light, PingFang SC; font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 300; font-weight: 600;
color: #e3e3e3; color: #1c1c1c;
} }
.texts { .en {
display: flex; margin: -25px 0 40px;
justify-content: space-between; font-size: 2.2rem;
padding: 5.125rem 0 1.875rem 2.375rem; font-family: PingFangSC-Light, PingFang SC;
margin-top: 20px; font-weight: 300;
background: #1583ff; color: #e3e3e3;
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;
} }
}
&:hover { .texts {
transform: scale(1.05); 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 { .left {
width: 50%; width: 50%;
} }
h6 { h6 {
font-size: 1.4rem; font-size: 1.4rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #ffffff; color: #ffffff;
} }
.line { .line {
width: 214px; width: 214px;
height: 5px; height: 5px;
margin: 54px 0 44px; margin: 54px 0 44px;
background: #ffffff; background: #ffffff;
opacity: 0.52; opacity: 0.52;
} }
.text { .text {
font-size: 1.1rem; font-size: 1.1rem;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #ffffff; color: #ffffff;
line-height: 1.6; line-height: 1.6;
} }
.bg { .bg {
width: 50%; width: 50%;
margin: -8.875rem -3.125rem 0 0; margin: -8.875rem -3.125rem 0 0;
border-top-left-radius: 30px; border-top-left-radius: 30px;
} }
} }
.intro { .intro {
.inner { .inner {
display: flex; display: flex;
} }
.left { .left {
width: 30%; width: 30%;
} }
.right { .right {
width: 68%; width: 68%;
margin-left: 2%; margin-left: 2%;
} }
h5 { h5 {
margin-bottom: .93rem; margin-bottom: 0.93rem;
font-size: .88rem; font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #2a2a2a; color: #2a2a2a;
} }
h6 { h6 {
padding-left: .93rem; padding-left: 0.93rem;
margin-bottom: .93rem; margin-bottom: 0.93rem;
font-size: .88rem; font-size: 0.88rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #2a2a2a; color: #2a2a2a;
border-left: 4px solid #1583ff; border-left: 4px solid #1583ff;
} }
img { img {
width: 100%; width: 100%;
height: 85%; height: 85%;
} }
} }
/* 小于400 */
@media (min-width: 280px) and (max-width: 620px) { @media (min-width: 280px) and (max-width: 620px) {
.inner { .inner {
flex-direction: column; flex-direction: column;
.left, .left,
.right { .right {
width: 50%; width: 50%;
margin: 20px auto; margin: 20px auto;
}
} }
.history {
} .left {
.line {
.history { width: 100%;
.left { }
.line { }
width: 100%;
}
} }
} .block {
.block { padding: 50px 0;
padding: 50px 0; .inner {
.inner{ .texts {
.texts { .bg {
.bg { width: 100%;
width: 100%;height: 200px; height: 200px;
margin: -50px 0px 0 0; margin: -50px 0px 0 0;
}
}
} }
}
} }
}
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
body { body {
width: 100% !important; width: 100% !important;
}
.history {
.bg {
margin: -142px -0px 0 0;
} }
}
.inner { .history {
flex-direction: column; .inner {
width: 95%;
}
.texts {
flex-direction: column;
}
.bg {
margin: 0 auto;
}
}
.left, .inner {
.right { flex-direction: column;
width: 95%; width: 95%;
margin: 20px auto; .left,
.right {
width: 95%;
margin: 20px auto;
}
}
.intro {
img {
height: auto;
}
}
}
@media (max-width: 980px) {
.history {
.bg {
width: 100%;
}
} }
}
} }
@media (max-width: 320px) { @media (max-width: 320px) {
.banner{ .banner {
height: 12rem; height: 12rem;
padding: 6rem 0 0 2rem; padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
} }
}
} }
@media (min-width: 320px) and (max-width: 375px) { @media (min-width: 320px) and (max-width: 375px) {
.banner{ .banner {
height: 12rem; height: 12rem;
padding: 6rem 0 0 2rem; padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
} }
}
} }
@media (min-width: 375px) and (max-width: 480px) { @media (min-width: 375px) and (max-width: 480px) {
.banner{ .banner {
height: 12rem; height: 12rem;
padding: 6rem 0 0 2rem; padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
} }
}
} }
@media (min-width: 480px) and (max-width: 640px) { @media (min-width: 480px) and (max-width: 640px) {
.banner{ .banner {
height: 12rem; height: 12rem;
padding: 6rem 0 0 2rem; padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
} }
}
} }
@media (min-width: 640px) and (max-width: 768px) { @media (min-width: 640px) and (max-width: 768px) {
.banner{ .banner {
height: 12rem; height: 12rem;
padding: 6rem 0 0 2rem; padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
} }
}
} }
@media (min-width: 768px) and (max-width: 980px) { @media (min-width: 768px) and (max-width: 980px) {
.banner{ .banner {
height: 12rem; height: 12rem;
padding: 6rem 0 0 2rem; padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
} }
}
} }
@media (min-width: 980px) and (max-width: 1200px) { @media (min-width: 980px) and (max-width: 1200px) {
.banner{ .banner {
height: 12rem; height: 12rem;
padding: 6rem 0 0 2rem; padding: 6rem 0 0 2rem;
}
.block {
.inner {
width: 100%;
} }
}
} }
</style> </style>

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

File diff suppressed because it is too large Load Diff

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

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

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

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

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

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