.swiperBg {
z-index: 1;
.page_swiper {
position: relative;
width: 100%;
height: auto;
margin: 0 auto;
border-radius: 15rpx;
overflow-x: hidden;
z-index: 20;
padding: 5rpx 10rpx 0;
uni-swiper {
height: 1280rpx;
}
swiper-item {
border-radius: 15rpx;
}
.swiper-item,
image,
.acea-row.row-between-wrapper {
width: 100%;
height: 100%;
margin: 0 auto;
border-radius: 15rpx;
}
swiper {
width: 100%;
display: block;
}
image {
height: 1280rpx;
transform: scale(0.93);
transition: all 0.6s ease;
}
swiper-item.active,
swiper-item.scalex {
image {
transform: scale(1);
}
}
修改位置。
1、 image {增加 height: 1280rpx;
2、容器尺寸uni-swiper {
height: 1280rpx;
}
文件位置pages\index\components\homeComb.vue