效果如下:
1.轮播图效果
2.背景颜色会随着轮播图变化
代码实现:
HTML:
<view class="tab-list-movie" style="background:{
{
bgColor[swiperIndex]}}">
<swiper class="movie-swiper" autoplay interval="3000" circular indicator-dots indicator-active-color
效果如下:
1.轮播图效果
2.背景颜色会随着轮播图变化
代码实现:
HTML:
<view class="tab-list-movie" style="background:{
{
bgColor[swiperIndex]}}">
<swiper class="movie-swiper" autoplay interval="3000" circular indicator-dots indicator-active-color