zhongping-miniprogram/miniprogram/components/shadow/shadow.scss

25 lines
394 B
SCSS

/* components/shadow/shadow.wxss */
.shadow-cmp{
position: fixed;
z-index: 150;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba($color: #000000, $alpha: 0.35);
// background: rgba($color: #000000, $alpha: 0.85);
display: flex;
justify-content: center;
}
.center{
align-items: center;
}
.top{
align-items: flex-start;
}
.bottom{
align-items: flex-end;
}