You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
2.7 KiB
114 lines
2.7 KiB
5 years ago
|
.wux-popup {
|
||
|
position: fixed;
|
||
|
z-index: 1000;
|
||
|
width: 80%;
|
||
|
max-width: 600rpx
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--center .wux-popup {
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%,-50%)
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--center .wux-popup__content {
|
||
|
border-radius: 8rpx
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--center .wux-popup__hd {
|
||
|
padding: 1.3em 1.6em .5em
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--center .wux-popup__bd {
|
||
|
padding: 0 1.6em .8em
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--center .wux-popup__ft::after {
|
||
|
content: " ";
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
height: 1PX;
|
||
|
border-top: 1PX solid #d9d9d9;
|
||
|
color: #d9d9d9;
|
||
|
transform-origin: 0 0;
|
||
|
transform: scaleY(.5)
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--top .wux-popup {
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
width: 100%;
|
||
|
max-width: 100%
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--right .wux-popup {
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
width: 80%;
|
||
|
max-width: 100%;
|
||
|
height: 100%;
|
||
|
max-height: 100%
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--bottom .wux-popup {
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
width: 100%;
|
||
|
max-width: 100%
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--left .wux-popup {
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
width: 80%;
|
||
|
max-width: 100%;
|
||
|
height: 100%;
|
||
|
max-height: 100%
|
||
|
}
|
||
|
.wux-popup-position.wux-popup-position--is-iphonex .wux-popup__content {
|
||
|
padding-bottom: 68rpx
|
||
|
}
|
||
|
.wux-popup__content {
|
||
|
position: relative;
|
||
|
background-color: #fff;
|
||
|
border: 0;
|
||
|
background-clip: padding-box;
|
||
|
height: 100%;
|
||
|
text-align: center;
|
||
|
overflow: hidden
|
||
|
}
|
||
|
.wux-popup__title {
|
||
|
font-weight: 400;
|
||
|
font-size: 36rpx;
|
||
|
color: rgba(0,0,0,.85)
|
||
|
}
|
||
|
.wux-popup__bd {
|
||
|
min-height: 80rpx;
|
||
|
font-size: 30rpx;
|
||
|
line-height: 1.3;
|
||
|
word-wrap: break-word;
|
||
|
word-break: break-all;
|
||
|
color: rgba(0,0,0,.45)
|
||
|
}
|
||
|
.wux-popup__ft {
|
||
|
position: relative;
|
||
|
line-height: 96rpx;
|
||
|
font-size: 36rpx;
|
||
|
display: flex
|
||
|
}
|
||
|
.wux-popup__close {
|
||
|
border: 0;
|
||
|
padding: 6rpx;
|
||
|
background-color: transparent;
|
||
|
outline: 0;
|
||
|
position: absolute;
|
||
|
top: 12rpx;
|
||
|
right: 12rpx;
|
||
|
height: 42rpx;
|
||
|
width: 42rpx
|
||
|
}
|
||
|
.wux-popup__close-x {
|
||
|
display: inline-block;
|
||
|
width: 30rpx;
|
||
|
height: 30rpx;
|
||
|
background-repeat: no-repeat;
|
||
|
background-size: cover;
|
||
|
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%23888%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M1.414%200l28.284%2028.284-1.414%201.414L0%201.414z%22%2F%3E%3Cpath%20d%3D%22M28.284%200L0%2028.284l1.414%201.414L29.698%201.414z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")
|
||
|
}
|