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

.pay-online-wrapper {
    .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;

        /* 默认情况为收起状态 箭头方向为上 */
        &.shrink {

            .up {
                display: inline-block;
            }

            .down {
                display: none;
            }
        }

        .up {
            display: none;
        }

        .down {
            display: inline-block;
        }

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

    .order-detail {
        border: 1px solid $liBorderColor;
        margin-bottom: 30px;
        height: calc(135px + 2px);
        padding: 20px 30px;
        .row {
            height: 30px;
            line-height: @height;
            font-weight: bold;
            .item {
                float: left;
                width: calc($width / 2 - 31px);
            }
        }
    }

    .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;

                &.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-type-icon {
        position: relative;
        float: left;
        width: 250px;
        height: 80px;
        margin-bottom: 30px;
        margin-right: 50px;
        margin-top: 30px;
        cursor: pointer;
        border: 1px solid $liBorderColor;
        text-align: center;

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

        .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;
        }
    }

}

.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;
        }
    }
}