轮播图大小调整
This commit is contained in:
parent
ccb23a9dfe
commit
d8f643b234
|
|
@ -59,15 +59,28 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.banner-section {
|
.banner-section {
|
||||||
padding: 30rpx 100rpx;
|
//padding: 30rpx 100rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swiper {
|
.swiper {
|
||||||
|
width: 750rpx !important;
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 750rpx !important;
|
||||||
|
height: 100% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.swiper {
|
||||||
|
padding: 30rpx 0;
|
||||||
height: 300rpx;
|
height: 300rpx;
|
||||||
width: 550rpx;
|
width: 750rpx !important;
|
||||||
border-radius: 24rpx;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1);
|
// box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
/* 通用指示器样式 - 覆盖所有可能的类名 */
|
/* 通用指示器样式 - 覆盖所有可能的类名 */
|
||||||
:deep([class*='swiper-dot']) {
|
:deep([class*='swiper-dot']) {
|
||||||
|
|
@ -77,15 +90,8 @@ export default {
|
||||||
|
|
||||||
.swiper-item {
|
.swiper-item {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
line-height: 300rpx;
|
line-height: 300rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
image {
|
|
||||||
width: 750rpx;
|
|
||||||
height: 100%;
|
|
||||||
border-radius: 20rpx;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user