修改wyxd居中和去内边距
This commit is contained in:
@@ -244,7 +244,7 @@ onLoad((options) => {
|
||||
.wyxd-slide-area {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
padding: 20rpx;
|
||||
/* padding: 20rpx; */
|
||||
}
|
||||
|
||||
.wyxd-slide-scroll {
|
||||
@@ -254,10 +254,18 @@ onLoad((options) => {
|
||||
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.wyxd-slide-card {
|
||||
/* .wyxd-slide-card {
|
||||
padding: 32rpx;
|
||||
min-height: 100%;
|
||||
box-sizing: border-box;
|
||||
} */
|
||||
.wyxd-slide-card {
|
||||
min-height: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column; /* 子元素垂直排列 */
|
||||
}
|
||||
|
||||
/* ===== 底部翻页 ===== */
|
||||
|
||||
Reference in New Issue
Block a user