|
|
@ -1,6 +1,7 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="wrap"> |
|
|
|
<el-carousel class="carousel" |
|
|
|
<el-carousel class="carousel" |
|
|
|
|
|
|
|
:style="{height}" |
|
|
|
:interval="6000" |
|
|
|
:interval="6000" |
|
|
|
:arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'" |
|
|
|
: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'"> |
|
|
|
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> |
|
|
@ -295,6 +296,7 @@ export default { |
|
|
|
mixins: [mixins], |
|
|
|
mixins: [mixins], |
|
|
|
data () { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
|
|
|
|
height: 0, |
|
|
|
articles: [], |
|
|
|
articles: [], |
|
|
|
articles1: [], |
|
|
|
articles1: [], |
|
|
|
articles2: [], |
|
|
|
articles2: [], |
|
|
@ -310,6 +312,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted () { |
|
|
|
mounted () { |
|
|
|
|
|
|
|
this.height = window.innerHeight + 'px' |
|
|
|
new WOW().init() |
|
|
|
new WOW().init() |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
@ -418,7 +421,7 @@ export default { |
|
|
|
height: 100%; |
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
/deep/.el-carousel__container { |
|
|
|
/deep/.el-carousel__container { |
|
|
|
height: 100vh; |
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
@ -457,7 +460,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
width: 1444px; |
|
|
|
width: 1444px; |
|
|
|
min-width: 70%; |
|
|
|
// min-width: 70%; |
|
|
|
} |
|
|
|
} |
|
|
|
.card { |
|
|
|
.card { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|