_spread.css 7.04 KB
.spread-me-page {
    font-size: 12px;

    .spread > .title {
        font-size: 14px;
        font-weight: bold;
    }

    .spread-wrap {
        padding: 10px;

        .item-card {
            width: 252px;
            float: left;
            height: 180px;
            box-sizing: border-box;
            border: 1px solid #dedede;
            position: relative;
            margin-left: 11px;

            > p {
                text-align: center;
                line-height: 1.4;
            }
        }

        .item-card:first-child {
            margin-left: 0;
        }

        .tag {
            width: 252px;
            margin-left: -1px;
            height: 25px;
            line-height: 25px;
            background-color: #000;
            color: #fff;
            text-align: center;
            position: absolute;
            font-weight: 300;
        }

        .card-main {
            height: 80px;
            line-height: 80px;
            padding-top: 30px;
            text-align: center;

            > * {
                display: inline-block;
            }
        }

        .spread-code {
            width: 74px;
            height: 74px;
        }

        .spread-id {
            font-size: 36px;
            max-width: 190px;
            word-break: break-all;
            display: inline-block;
            vertical-align: middle;
            line-height: 1.2;
            position: relative;
        }

        .new-tip:before {
            content: "";
            position: absolute;
            left: 50%;
            top: -20px;
            width: 50px;
            height: 26px;
            background: url(/home/new-tip.png);
        }

        .edit-word {
            position: absolute;
            width: 30px;
            height: 30px;
            line-height: 30px;
            top: 55px;
            right: 10px;
            cursor: pointer;

            > .iconfont {
                padding: 0 2px;
                border-bottom: 2px solid #2b2b2b;
            }
        }

        .spread-url {
            width: 94%;
            height: 34px;
            line-height: 32px;
            border: 1px solid #dedede;
            background-color: #f5f5f5;
            position: relative;
            cursor: pointer;

            > input {
                width: 100%;
                height: 100%;
                border: 0;
                padding: 0 10px;
                box-sizing: border-box;
                background: none;
            }

            .succ-tip {
                position: absolute;
                width: 100%;
                height: 32px;
                color: #89c54d;
                overflow: hidden;
                background-color: #f5f5f5;
                top: 1px;
                display: none;
            }
        }
    }

    .my-spread-list {
        padding: 10px;
        margin-bottom: 10px;

        table {
            width: 100%;
        }

        tr {
            border: 1px solid #dedede;
        }

        th {
            background-color: #efefef;
            line-height: 30px;
            text-align: center;
        }

        td {
            line-height: 20px;
            padding: 14px 0;
            text-align: center;
        }

        .coupon-status {
            position: relative;
        }

        .help-icon {
            display: block;
            width: 16px;
            height: 16px;
            background: url(/cart/help-mark.png);
            position: absolute;
            right: 3%;
            top: 50%;
            margin-top: -8px;
            cursor: pointer;

            &:hover + .coin-tip-help {
                display: block;
            }
        }

        .coin-tip-help {
            width: 200px;
            padding: 6px 10px;
            line-height: 2;
            border: 1px solid #000;
            background-color: #fff;
            text-align: center;
            position: absolute;
            top: 38px;
            right: -100px;
            display: none;
            z-index: 1000;
        }

        .coin-tip-help:before {
            content: "";
            width: 12px;
            height: 6px;
            background-image: url(../img/sprite.cart.png);
            background-position: -325px -76px;
            display: block;
            position: absolute;
            top: -6px;
            right: 106px;
        }
    }

    .spread-rules {
        border: 1px solid #dedede;
        padding: 10px 20px;
        width: 736px;
        margin: 0 auto;

        h2 {
            font-size: 14px;
            font-weight: 600;
        }

        p {
            line-height: 18px;
        }
    }
}

.edit-trendword-dialog {
    width: 360px;
    box-sizing: border-box;
    border: 0;
    border-radius: 6px;
    padding: 0;
    background-color: #fff;

    .close {
        display: none;
    }

    .cover-img {
        height: 130px;
        position: relative;
        margin-bottom: 60px;

        .img-block {
            width: 100%;
            position: absolute;
            bottom: 0;
        }

        img {
            width: 100%;
            height: 100%;
            display: block;
        }

        &:after {
            content: "";
            position: absolute;
            width: 213px;
            height: 25px;
            background: url(/home/word-title.png);
            left: 50%;
            bottom: -40px;
            margin-left: -106px;
        }
    }

    .cont-wrap {
        padding: 0 14px;

        .trend-word-input {
            height: 40px;
            width: 100%;
            font-size: 16px;
            color: #fff;
            background: #d2d2d2;
            padding: 0;
            border: 0;
            border-radius: 6px;
            box-sizing: border-box;
            text-align: center;
        }

        input::-webkit-input-placeholder {
            color: #fff;
        }

        input:-moz-placeholder {
            color: #fff;
        }

        input::-moz-placeholder {
            color: #fff;
        }

        input:-ms-input-placeholder {
            color: #fff;
        }

        .err-tip {
            color: #ec000e;
            font-size: 14px;
            line-height: 1.5;
        }
    }

    .ext-info {
        h3 {
            line-height: 60px;
            font-size: 18px;
            font-weight: 700;
        }

        div {
            padding: 0 20px;
            text-align: left;
            line-height: 2;
            color: #444;
            font-weight: 700;
            font-size: 14px;
        }

        .red {
            font-size: 16px;
            color: #ec000e;
        }
    }

    .btns {
        padding: 10px 14px;
        margin-bottom: 10px;
        height: 52px;

        > * {
            display: block;
            float: left;
            width: 160px;
            height: 52px;
            line-height: 52px;
            border: 0;
            padding: 0;
            border-radius: 6px;
            font-size: 16px;
            color: #fff;
            background-color: #252525;
        }

        .trend-edit-sure {
            float: right;
            background-color: #ec000e;
        }
    }
}