|
@@ -53,6 +53,7 @@ export default {
|
|
|
method: 'post',
|
|
|
url: '/api/web/slideshow/list'
|
|
|
})
|
|
|
+ // eslint-disable-next-line
|
|
|
this.sliceArr = result && result['code'] === 0 && result['data'] || []
|
|
|
}
|
|
|
},
|
|
@@ -83,31 +84,31 @@ export default {
|
|
|
|
|
|
<style lang="less">
|
|
|
.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
|
|
|
- width: 40px;
|
|
|
- height: 40px;
|
|
|
- border-radius: 50%;
|
|
|
- background-color: rgba(0, 0, 0, .7);
|
|
|
+ width: 40px !important;
|
|
|
+ height: 40px !important;
|
|
|
+ border-radius: 50% !important;
|
|
|
+ background-color: rgba(0, 0, 0, .7) !important;
|
|
|
}
|
|
|
.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
|
|
|
- width: 40px;
|
|
|
- height: 40px;
|
|
|
- border-radius: 50%;
|
|
|
- background-color: rgba(0, 0, 0, .7);
|
|
|
+ width: 40px !important;
|
|
|
+ height: 40px !important;
|
|
|
+ border-radius: 50% !important;
|
|
|
+ background-color: rgba(0, 0, 0, .7) !important;
|
|
|
}
|
|
|
.swiper-button-prev::after,
|
|
|
.swiper-button-next::after {
|
|
|
- color: #fff;
|
|
|
- font-size: 16px;
|
|
|
+ color: #fff !important;
|
|
|
+ font-size: 16px !important;
|
|
|
}
|
|
|
-.swiper-pagination-bullet-active {
|
|
|
- background: #fff!important;
|
|
|
-}
|
|
|
.swiper-pagination-bullet{
|
|
|
- background-color: rgba(255,255,255,.4);
|
|
|
- opacity: 1;
|
|
|
- width: 50px;
|
|
|
- height: 5px;
|
|
|
- border-radius: 5px;
|
|
|
+ background-color: rgba(255,255,255,.4) !important;
|
|
|
+ opacity: 1 !important;
|
|
|
+ width: 50px !important;
|
|
|
+ height: 5px !important;
|
|
|
+ border-radius: 5px !important;
|
|
|
}
|
|
|
|
|
|
+ .swiper-pagination-bullet-active {
|
|
|
+ background: #fff!important;
|
|
|
+ }
|
|
|
</style>
|