fix: 修复图片预览组件在刘海屏下安全间距的问题以及多个文字颜色问题

This commit is contained in:
xushengni
2020-01-16 18:45:46 +08:00
parent 1034346aa8
commit f923afbff0
6 changed files with 40 additions and 26 deletions

33
dist/style/weui.css vendored
View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

@@ -71,6 +71,7 @@
overflow: hidden;
word-break:normal;
word-wrap: break-word;
color:rgba(0,0,0,.9);
}
.weui-form-preview__btn {
position: relative;

View File

@@ -60,6 +60,7 @@
.weui-textarea-counter{
color: @weuiTextColorTips;
text-align: right;
font-size:14px;
.weui-cell_warn &{
color: @weuiTextColorWarn;
}

View File

@@ -27,27 +27,32 @@
background-color: #000000;
z-index: 1000;
}
.weui-gallery__img {
.weui-gallery__img,
.weui-gallery__opr {
position: absolute;
top: constant(safe-area-inset-top);
top: env(safe-area-inset-top);
right: constant(safe-area-inset-right);
right: env(safe-area-inset-right);
bottom: calc(@weuiGalleryOprHeight ~"+ constant(safe-area-inset-bottom)");
bottom: calc(@weuiGalleryOprHeight ~"+ env(safe-area-inset-bottom)");
left:0;
left: constant(safe-area-inset-left);
left: env(safe-area-inset-left);
right:0;
right: constant(safe-area-inset-right);
right: env(safe-area-inset-right);
}
.weui-gallery__img {
top:0;
top: constant(safe-area-inset-top);
top: env(safe-area-inset-top);
bottom:@weuiGalleryOprHeight;
bottom: calc(@weuiGalleryOprHeight ~"+ constant(safe-area-inset-bottom)");
bottom: calc(@weuiGalleryOprHeight ~"+ env(safe-area-inset-bottom)");
width:100%;
background: center center no-repeat;
background-size: contain;
}
.weui-gallery__opr {
position: absolute;
right: constant(safe-area-inset-right);
right: env(safe-area-inset-right);
bottom:0;
bottom: constant(safe-area-inset-bottom);
bottom: env(safe-area-inset-bottom);
left: constant(safe-area-inset-left);
left: env(safe-area-inset-left);
background-color: #0D0D0D;
color: #FFFFFF;
line-height: @weuiGalleryOprHeight;

View File

@@ -30,7 +30,7 @@
background-color:#FFFFFF;
.weui-footer,.weui-footer__link{
font-size:12px;
font-size:14px;
}
.weui-agree{
padding:0;