_pay.css 4.45 KB
$width: 1150px;
$liWidth: 140px;
$liHeight: 40px;
$liBorderColor: #e6e6e6;
$fontColor: #616161;

.pay-online-wrapper {
    overflow: hidden;

    .title {
        margin-top: 35px;
        margin-bottom: 20px;
        height: 60px;

        .content {
            font-weight: bold;
            height: 40px;
        }

        .footer {
            height: 20px;
        }
    }

    .pay-notice {
        color: #999;
        font-size: 14px;
    }

    .order-detail-ctrl {
        font-size: 14px;
        cursor: pointer;

        .iconfont {
            font-size: 12px;
            margin-left: 10px;
        }
    }

    .order-detail {
        border-top: 1px solid $liBorderColor;
        padding: 20px 30px;
        font-size: 14px;
        display: none;

        .row {
            height: 30px;
            line-height: @height;
            font-weight: bold;

            .item {
                float: left;
                width: calc($width / 2 - 31px);
            }
        }

        .item.receiver-address {
            width: 100%;
        }
    }

    .pay-nav {
        height: calc($liHeight + 2px);
        line-height: calc($liHeight + 2px);
        border-bottom: 1px solid $liBorderColor;
        z-index: 0;
        clear: both;

        .tabs {
            display: inline-block;
            height: $liHeight;

            li {
                width: $liWidth;
                height: $liHeight;
                line-height: $liHeight;
                float: left;
                font-size: 16px;
                text-align: center;
                background-color: #fff;
                color: $fontColor;
                cursor: pointer;
                position: relative;
                font-size: 14px;

                &.active {
                    border: 1px solid $liBorderColor;
                    height: calc($liHeight + 1px);
                    line-height: calc($liHeight - 2px);
                    top: 1px;
                    border-bottom: none;
                    color: #000;
                    z-index: 3;
                }
            }
        }
    }

    .pay-icon-content {
        width: 1200px;

        .pay-icon {
            min-height: 240px;
        }
    }

    .pay-type-icon {
        position: relative;
        float: left;
        width: 250px;
        height: 60px;
        margin-right: 50px;
        margin-top: 30px;
        cursor: pointer;
        border: 1px solid $liBorderColor;
        text-align: center;

        img {
            display: inline-block;
            margin-top: 9px;
        }

        .choose-tag {
            display: none;
            position: absolute;
            bottom: 0;
            right: 0;
            height: 22px;
            width: 23px;
        }

        &.active {
            border: 2px solid black;

            .choose-tag {
                display: inline-block;
            }
        }
    }

    .pay-ctrl {
        height: 40px;
        margin-top: 20px;
        margin-bottom: 20px;
        clear: both;

        .btn-shape {
            width: 160px;
            height: 40px;
            line-height: @height;
        }
    }

    .qr-content {
        border: 1px solid $liBorderColor;
        background-color: #fff;
        padding: 26px 30px 30px;
        margin-top: 6px;
        margin-bottom: 85px;

        .qr-content-gruop {
            width: 300px;
            padding: 15px 670px 30px 0;
            margin: 20px auto;
            overflow: hidden;
            background: resolve("shopping/w-p-phone.png") no-repeat top right;
        }

        .qr-content-left {
            width: 300px;

            .qr-code {
                width: 100%;
                height: 300px;
                padding: 14px;
                border: 1px solid $liBorderColor;
                margin-bottom: 20px;
            }

            .qr-content-footer {
                width: 100%;
                height: 60px;
                color: #fff;
                background: resolve("shopping/w-p-word.png") no-repeat 50px 6px #090909;
                padding-left: 123px;
                line-height: 22px;
                padding-top: 10px;
            }
        }
    }
}

.pay-info-dialog {
    .pay-page-tips {
        text-align: center;

        h3 {
            font-size: 18px;
            font-weight: 700;
            margin: 30px 0;
        }

        p {
            font-size: 14px;
            color: #999;
            margin: 10px 0;
        }

        .btn {
            margin-top: 20px;
        }
    }
}