index.wxss 1.94 KB
/**index.wxss**/
.blk {
    background: #111111;
    opacity: 0.5;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.van_dialog {
    background: #fff;
    border-radius: 16rpx;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 80%;
    overflow: hidden;
}

.dialog_head {
    text-align: center;
    font-size: 32rpx;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #111111;
    padding: 48rpx 0 32rpx 0;
}

.van-dialog__footer .van-button--large {
    width: 100%;
    box-sizing: border-box;
}

.dialog_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 64rpx;
}

.dialog_content .img {
    width: 128rpx;
    height: 128rpx;
    margin: 0 0 24rpx 0;
}

.dialog_content .title {
    font-size: 28rpx;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #111111;
}

.dialog_content .sub_title {
    font-size: 24rpx;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #9FA6AD;
    margin: 16rpx 0;
}

.dialog_footer {
    position: relative;
    display: flex;
    align-items: center;
}

.dialog_footer:after {
    display: block;
    content: "";
    height: 1rpx;
    background: #d8d8d8;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.2;
    border: 0;
}

.dialog_footer .btn {
    position: relative;
    background: #fff;
    border-radius: 0;
    font-size: 32rpx;
    font-weight: normal;
    height: 100rpx;
    line-height: 100rpx;
    padding: 0;
    box-sizing: border-box;
}

.dialog_footer .btn_confirm {
    color: #0077FF;
}

.dialog_footer .btn_cancel:after {
    display: block;
    content: "";
    width: 1rpx;
    background: #d8d8d8;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: auto;
    border: 0;
    opacity: 0.5;
}