|
|
/* src/components/tip-dialog/index.wxss */
|
|
|
/* src/components/dialog/dialog.wxss */
|
|
|
.wx-mask{
|
|
|
position: fixed;
|
|
|
z-index: 1000;
|
|
|
top: 0;
|
|
|
right: 0;
|
|
|
left: 0;
|
|
|
bottom: 0;
|
|
|
background: rgba(0, 0, 0, 0.3);
|
|
|
}
|
|
|
.wx-dialog{
|
|
|
position: fixed;
|
|
|
z-index: 5000;
|
|
|
width: 560rpx;
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
-webkit-transform: translate(-50%, -50%);
|
|
|
transform: translate(-50%, -50%);
|
|
|
background-color: #FFFFFF;
|
|
|
text-align: center;
|
|
|
border-radius: 3rpx;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.wx-dialog-title{
|
|
|
font-size: 30rpx;
|
|
|
padding: 15rpx 15rpx 5rpx;
|
|
|
}
|
|
|
.wx-dialog-content{
|
|
|
height: 240rpx;
|
|
|
font-size: 30rpx;
|
|
|
display:flex;
|
|
|
align-items:center;/*垂直居中*/
|
|
|
justify-content: center;/*水平居中*/
|
|
|
margin: 0 50rpx;
|
|
|
}
|
|
|
.wx-dialog-footer{
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
position: relative;
|
|
|
height: 100rpx;
|
|
|
font-size: 30rpx;
|
|
|
}
|
|
|
.wx-dialog-footer::before{
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
right: 0;
|
|
|
height: 1px;
|
|
|
border-top: 1rpx solid #D5D5D6;
|
|
|
color: #D5D5D6;
|
|
|
-webkit-transform-origin: 0 0;
|
|
|
transform-origin: 0 0;
|
|
|
-webkit-transform: scaleY(0.5);
|
|
|
transform: scaleY(0.5);
|
|
|
}
|
|
|
.wx-dialog-btn{
|
|
|
display: block;
|
|
|
-webkit-flex: 1;
|
|
|
flex: 1;
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
position: relative;
|
|
|
height:100%;
|
|
|
line-height:100rpx;
|
|
|
}
|
|
|
.wx-dialog-footer .wx-dialog-btn:nth-of-type(1){
|
|
|
color: #000;
|
|
|
}
|
|
|
.wx-dialog-footer .wx-dialog-btn:nth-of-type(2){
|
|
|
color: #000;
|
|
|
}
|
|
|
.wx-dialog-footer .wx-dialog-btn:nth-of-type(2):after{
|
|
|
content: " ";
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
width: 1rpx;
|
|
|
bottom: 0;
|
|
|
border-left: 2rpx solid #D5D5D6;
|
|
|
color: #D5D5D6;
|
|
|
-webkit-transform-origin: 0 0;
|
|
|
transform-origin: 0 0;
|
|
|
-webkit-transform: scaleX(0.5);
|
|
|
transform: scaleX(0.5);
|
|
|
} |
...
|
...
|
|