payModal.scss 4.21 KB
/* pages/crowdfunding/payModal/payModal.wxss */
page {
    background-color: #F7F8FA;
}

.layout {
    padding: 20rpx;

    .box {
        background: #FFFFFF;
        box-shadow: 0 8rpx 16rpx 0 rgba(224, 224, 224, 0.50);
        border-radius: 8rpx;

        .item {
            border-bottom: 2rpx solid #f1f1f1;
            height: 98rpx;
            color: #282829;
            width: calc(100% - 32rpx);
            padding: 0 16rpx;

            .label {
                font-size: 24rpx;
                width: 172rpx;

                text {
                    color: #f13c3d;
                }
            }

            .value {
                width: calc(100% - 188rpx);
                padding: 0;
                font-size: 24rpx;

                input {
                    flex: 1;
                }

                .clear {
                    width: 58rpx;
                    height: 100%;
                    flex-shrink: 0;
                }

                .icon-mine-arrow {
                    transform: scale(2) translate(10rpx, 8rpx);
                }

                .readonly {
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                .placeholder-class {
                    color: #969799;
                }

                .phone {
                    padding: 0;
                    margin: 0;
                    width: 100%;
                    font-size: 24rpx;
                    color: #969799;
                    text-align: left;
                    font-weight: normal;
                    background-color: #fff !important;

                    &::after {
                        border: none !important;
                    }
                }

                .has {
                    color: #282829;
                }
            }

        }

        .total-price-box {
            height: 108rpx;
            justify-content: flex-end;
            padding: 0 32rpx;

            .total-price {
                display: flex;
                align-items: baseline;
                font-size: 28rpx;
                color: #333333;

                .price {
                    font-weight: 600;
                    font-size: 48rpx;
                    color: #F13C3D;
                    display: flex;
                    align-items: baseline;

                    .decimal,
                    .unit {
                        font-size: 24rpx;
                    }
                }
            }
        }
    }

    .button {
        width: 500rpx;
        height: 88rpx;
        background: #F13C3D;
        border: 2rpx solid #F13C3D;
        box-shadow: 0 4rpx 12rpx 4rpx rgba(241, 60, 61, 0.10);
        border-radius: 8rpx;
        margin: 96rpx auto 40rpx;
        font-weight: 600;
        font-size: 32rpx;
        color: #FFFFFF;
        padding: 0;

        &[disabled]:not([type]) {
            background: #CCCED1 !important;
            border-color: #CCCED1 !important;
            color: #fff !important;
            box-shadow: none;

            &::after {
                border-color: #CCCED1 !important;
            }
        }

        &::after {
            border-color: #F13C3D !important;
        }
    }

    .btn-hover {
        opacity: .75;
    }
}

.tips {
    justify-content: center;

    text {
        color: #5092FF;
    }

    .icon {
        border: 2rpx solid #8A8C90;
        border-radius: 100%;
        width: 24rpx;
        height: 24rpx;
        box-sizing: border-box;
        margin-right: 8rpx;

        image {
            display: none;
        }
    }

    .icon.true {
        border: none;

        image {
            display: block;
        }
    }
}

.submit-box {
    z-index: 999;
    position: fixed;
    width: 330rpx;
    height: 330rpx;
    padding: 10rpx;
    border-radius: 20rpx;
    background: #000000cc;
    left: 210rpx;
    top: 210rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20rpx;
    .submit-icon {
        width: 100rpx;
        height: 100rpx;
    }

    text {
        margin-top: 20rpx;
        font-weight: 600;
        font-size: 32rpx;
        color: #FFFFFF;
        text-align: center;
    }
}