rating.scss 3.05 KB
.service-chat {
    /* 评价 */
    .comment {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);

        &-inner {
            position: absolute;
            bottom: 0;
            width: 100%;
            background: #fff;
            padding: 0 30px;

            .intro {
                height: 90px;
                text-align: center;
                color: #444;
                font-size: 32px;
                line-height: 90px;
                border-bottom: 1px solid #e0e0e0;

                span {
                    float: right;
                    min-width: 80px;
                    text-align: right;
                }
            }

            .stars {
                padding: 50px 0 40px;
                text-align: center;

                i {
                    display: inline-block;
                    height: 50px;
                    width: 53px;
                    margin-left: 40px;
                    background: url("img/service/chat/star-trans.png");
                    background-size: 100% 100%;
                }

                i:nth-child(1) {
                    margin: 0;
                }

                i.rated {
                    background: url("img/service/chat/star-yellow.png");
                    background-size: 100% 100%;
                }
            }

            .rank {
                text-align: center;
                font-size: 32px;
                color: #b0b0b0;
            }

            .cause {
                font-size: 0;

                span {
                    position: relative;
                    display: inline-block;
                    margin: 10px;
                    width: 328px;
                    width: calc(50% - 20px);
                    font-size: 28px;
                    border: 1px solid #000;
                    line-height: 70px;
                    text-align: center;
                    border-radius: 5px;
                }

                .select:after {
                    position: absolute;
                    bottom: -1px;
                    right: -1px;
                    width: 30px;
                    height: 30px;
                    content: "";
                    display: inline-block;
                    background: url("img/service/chat/cause-select.png");
                    background-size: cover;
                }
            }

            .words-to-say {
                height: 110px;
                width: 100%;
                margin: 10px 0 0;
                padding: 16px;
                resize: none;
                border: 1px solid #e0e0e0;
                border-radius: 5px;
            }

            .submit {
                height: 85px;
                width: 100%;
                margin: 25px 0;
                color: #fff;
                background: #444;
                font-size: 32px;
                text-align: center;
                line-height: 85px;
                border-radius: 5px;
            }
        }
    }
}