Skip to content

Commit

Permalink
feat: demo样式完善
Browse files Browse the repository at this point in the history
  • Loading branch information
weifang.jiagweifan committed Aug 29, 2024
1 parent 2529244 commit 736c51e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
7 changes: 6 additions & 1 deletion compiled/alipay/demo/pages/Popup/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
.ant-popup-content {
background: none;
}
.ant-popup-transform-bottom {
padding-bottom: 0;
}
}
.customize-content {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
padding: 140rpx 24rpx 100rpx 24rpx;
padding: 140rpx 24rpx 0rpx 24rpx;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
&-image {
width: 666rpx;
}
Expand Down
2 changes: 2 additions & 0 deletions compiled/alipay/src/Popup/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
bottom: 0;
animation-name: ant-popup-transform-bottom;
border-radius: @popup-radius @popup-radius 0 0;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
&-close {
animation-name: ant-popup-transform-bottom-close;
}
Expand Down
7 changes: 6 additions & 1 deletion compiled/wechat/demo/pages/Popup/index.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
.customize-top-image-popup .ant-popup-content {
background: none;
}
.customize-top-image-popup .ant-popup-transform-bottom {
padding-bottom: 0;
}
.customize-content {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
padding: 140rpx 24rpx 100rpx 24rpx;
padding: 140rpx 24rpx 0rpx 24rpx;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
.customize-content-image {
width: 666rpx;
Expand Down
7 changes: 6 additions & 1 deletion demo/pages/Popup/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
.ant-popup-content {
background: none;
}
.ant-popup-transform-bottom {
padding-bottom: 0;
}
}
.customize-content {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
padding: 140rpx 24rpx 100rpx 24rpx;
padding: 140rpx 24rpx 0rpx 24rpx;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
&-image {
width: 666rpx;
}
Expand Down

0 comments on commit 736c51e

Please sign in to comment.