diff --git a/components/banner/index.wxml b/components/banner/index.wxml
index ec33294..5e1d529 100644
--- a/components/banner/index.wxml
+++ b/components/banner/index.wxml
@@ -5,8 +5,8 @@
- -->
-
+ autoplay -->
+
diff --git a/components/banner/index.wxss b/components/banner/index.wxss
index a4ed2bf..cffb808 100644
--- a/components/banner/index.wxss
+++ b/components/banner/index.wxss
@@ -56,24 +56,25 @@
}
.itemImg{
position: absolute;
- width: 670rpx;
- height: 238rpx;
+ width: 640rpx;
+ height: 248rpx;
border-radius: 15rpx;
overflow: hidden;
z-index: 5;
opacity: 0.7;
top: 15%;
+ margin: 0 20rpx;
}
.active{
opacity: 1;
z-index: 10;
- width: 670rpx;
- height: 304rpx;
- top: 7%;
+ width: 640rpx;
+ height: 270rpx;
+ top: 11%;
transition:all .2s ease-in 0s;
}
.item{
- width: 670rpx!important;
+ width: 100%;
height: 304rpx;
overflow: hidden;
border-radius: 16rpx;