|
@@ -13,7 +13,7 @@
|
|
|
<img :src='rotationImg[0].url' alt />
|
|
|
<!-- <img src='./3440.jpg' alt /> -->
|
|
|
</div>
|
|
|
- <el-carousel v-else trigger='click' style='height:100%' :interval='5000' arrow='always'>
|
|
|
+ <el-carousel v-else trigger='click' style='height:100%;width:100%' :interval='5000' arrow='always'>
|
|
|
<el-carousel-item v-for='(item,index) in rotationImg' :key='index'>
|
|
|
<img :src='item.url' alt />
|
|
|
</el-carousel-item>
|
|
@@ -77,7 +77,8 @@ export default {
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="less">
|
|
|
-.rotation {
|
|
|
+.rotation,
|
|
|
+.rotationFull {
|
|
|
.el-carousel__item h3 {
|
|
|
color: #475669;
|
|
|
font-size: 14px;
|
|
@@ -93,7 +94,7 @@ export default {
|
|
|
background-color: #d3dce6;
|
|
|
}
|
|
|
.el-carousel__container {
|
|
|
- height: 100%;
|
|
|
+ height: 100% !important;
|
|
|
}
|
|
|
.el-carousel__button {
|
|
|
height: 3px;
|