2020-06-09 16:17:23 +08:00

136 lines
2.8 KiB
Plaintext

@import "../area/index.wxss";
.van-popup {
position: fixed;
top: 50%;
left: 50%;
overflow-y: auto;
background-color: #fff;
box-sizing: border-box;
animation: ease both;
-webkit-overflow-scrolling: touch;
transition-timing-function: ease;
}
.van-popup--center {
transform: translate3d(-50%,-50%,0);
}
.van-popup--top {
top: 0;
right: auto;
bottom: auto;
left: 50%;
width: 100%;
transform: translate3d(-50%,0,0);
}
.van-popup--right {
top: 50%;
right: 0;
bottom: auto;
left: auto;
transform: translate3d(0,-50%,0);
}
.van-popup--bottom {
top: auto;
right: auto;
bottom: 0;
left: 50%;
width: 100%;
transform: translate3d(-50%,0,0);
}
.van-popup--left {
top: 50%;
right: auto;
bottom: auto;
left: 0;
transform: translate3d(0,-50%,0);
}
.van-popup--bottom.van-popup--safe {
padding-bottom: 34px;
}
.van-popup--left .van-popup__safe-top,.van-popup--right .van-popup__safe-top,.van-popup--top .van-popup__safe-top {
height: 44px;
}
.van-popup--bottom .van-popup__safe-top,.van-popup--center .van-popup__safe-top {
padding-top: 0!important;
}
.van-scale-enter-active,.van-scale-leave-active {
transition-property: opacity,-webkit-transform;
transition-property: opacity,transform;
transition-property: opacity,transform,-webkit-transform;
}
.van-scale-enter,.van-scale-leave-to {
opacity: 0;
transform: translate3d(-50%,-50%,0) scale(.7);
}
.van-fade-enter-active,.van-fade-leave-active {
transition-property: opacity;
}
.van-fade-enter,.van-fade-leave-to {
opacity: 0;
}
.van-center-enter-active,.van-center-leave-active {
transition-property: opacity;
}
.van-center-enter,.van-center-leave-to {
opacity: 0;
}
.van-bottom-enter-active,.van-bottom-leave-active,.van-left-enter-active,.van-left-leave-active,.van-right-enter-active,.van-right-leave-active,.van-top-enter-active,.van-top-leave-active {
transition-property: transform;
transition-property: transform,-webkit-transform;
transition-property: transform,-webkit-transform;
}
.van-bottom-enter,.van-bottom-leave-to {
transform: translate3d(-50%,100%,0);
}
.van-top-enter,.van-top-leave-to {
transform: translate3d(-50%,-100%,0);
}
.van-left-enter,.van-left-leave-to {
transform: translate3d(-100%,-50%,0);
}
.van-right-enter,.van-right-leave-to {
transform: translate3d(100%,-50%,0);
}
.van-popup .van-popup-closable {
z-index: 10000;
position: absolute;
right: 0;
top: 0;
color: #666;
width: 40px;
height: 40px;
text-align: center;
padding-left: 10px;
}
.van-popup .van-popup-title {
z-index: 10000;
font-size: 14px;
border-bottom: 1px solid #e5e5e5;
background: #F8F8F8;
color: #333;
height: 39px;
padding: 0 12px;
line-height: 39px;
overflow: hidden;
}