修改
This commit is contained in:
parent
c79dc45fe7
commit
d663782d98
@ -13,7 +13,7 @@
|
|||||||
<view class="container">
|
<view class="container">
|
||||||
<view>
|
<view>
|
||||||
<swiper :indicator-dots="true" :current="currentIndex" :circular="true" previous-margin="80rpx"
|
<swiper :indicator-dots="true" :current="currentIndex" :circular="true" previous-margin="80rpx"
|
||||||
next-margin="80rpx" :autoplay="autoplay" interval="5000" duration="2000" show-center-play-btn="true"
|
next-margin="80rpx" :autoplay="autoplay" interval="3000" duration="1000" show-center-play-btn="true"
|
||||||
class="swiper-block" circular='true' @change="swiperChange">
|
class="swiper-block" circular='true' @change="swiperChange">
|
||||||
<swiper-item v-for="(item ,index) in swiperImgUrls" :key="index" class="swiper-item">
|
<swiper-item v-for="(item ,index) in swiperImgUrls" :key="index" class="swiper-item">
|
||||||
<view v-show="!splits(item)" wx-if="{item}">
|
<view v-show="!splits(item)" wx-if="{item}">
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<view>
|
<view>
|
||||||
<!-- 轮播图 -->
|
<!-- 轮播图 -->
|
||||||
<swiper indicator-dots="true" indicator-color='#fff' indicator-active-color='#0086d6'
|
<swiper indicator-dots="true" indicator-color='#fff' indicator-active-color='#0086d6'
|
||||||
:autoplay="autoplay" interval="3000" duration="1500" show-center-play-btn="true" class="swiper-box"
|
:autoplay="autoplay" interval="2000" duration="1000" show-center-play-btn="true" class="swiper-box"
|
||||||
circular='true' @change="swiperChange">
|
circular='true' @change="swiperChange">
|
||||||
<swiper-item v-for="(item ,index) in Banners" :key="index">
|
<swiper-item v-for="(item ,index) in Banners" :key="index">
|
||||||
<view class="swiper-item" v-show="!splits(item)" wx-if="{item}">
|
<view class="swiper-item" v-show="!splits(item)" wx-if="{item}">
|
||||||
|
|||||||
@ -4,11 +4,8 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
::v-deep .u-swiper-item{
|
::v-deep .u-swiper-item{
|
||||||
width: 94% !important;
|
|
||||||
left:3%;
|
|
||||||
}
|
}
|
||||||
::v-deep .u-swiper-image {
|
::v-deep .u-swiper-image {
|
||||||
height: 90% !important;
|
|
||||||
}
|
}
|
||||||
::v-deep .u-tabs{
|
::v-deep .u-tabs{
|
||||||
background-color: #F4F5F7 !important;
|
background-color: #F4F5F7 !important;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user