searchEquipmentPc.scss 3.52 KB
.page_box {
    display: flex;
    flex-direction: column;
    background: #F5F6F7;
    height: 100vh;
    padding: 24px 20px;
    overflow-y: auto;
}

// 顶部菜单栏
.top_menu {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    background: #fff;
    padding: 0 10px;

    .cell {
        position: relative;
        text-align: center;
        height: 44px;
        line-height: 44px;
        padding: 0 10px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        font-size: 14px;
        color: #6c737a;
        cursor: pointer;
    }

    .cell_active {
        font-weight: 500;
        color: #0077FF;
    }

    .cell_active:after {
        display: block;
        content: "";
        position: absolute;
        width: 28px;
        height: 3px;
        background: #0077ff;
        border-radius: 1px;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }
}

.top_menu:after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #f2f2f2;
}

// 顶部搜索框
.search_box {
    padding: 0px 20px 20px 20px;
    // height: 56px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background: #fff;

    .input_box {
        width: 351px;
        height: 44px;
        background: #F5F6F7;
        display: flex;
        align-items: center;
        padding: 12px;
        box-sizing: border-box;
        border-radius: 6px 0 0 6px;

        .img {
            width: 20px;
            height: 20px;
            margin-right: 8px;
        }

        .a_input {
            flex: 1;
            height: 100%;
            background: #F5F6F7;
            border: 0;
            font-family: PingFangSC-Regular;
            font-weight: 400;
            font-size: 14px;
        }

        .close {
            width: 20px;
            height: 20px;
            cursor: pointer;
        }
    }

    .search_btn {
        width: 126px;
        height: 44px;
        background: #0077FF;
        border-radius: 0 6px 6px 0;
        font-family: PingFangSC-SNaNpxibold;
        font-weight: 600;
        font-size: 14px;
        color: #FFFFFF;
        cursor: pointer;
    }
}

.search_result {
    margin-top: 16px;
}

.search_title {
    position: relative;
    background: #fff;
    padding: 12px 20px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    font-size: 14px;
    color: #111111;
}

.search_title:after {
    display: block;
    content: "";
    position: absolute;
    height: 1px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f2f2f2;
}

.result_list {
    background: #fff;
    padding: 20px;

    .cell_list {
        position: relative;
        padding: 16px;

        .h2 {
            font-family: PingFangSC-Medium;
            font-weight: 500;
            font-size: 14px;
            color: #111111;
        }

        .cell {
            // display: flex;
            margin: 8px 0;
            font-family: PingFangSC-Regular;
            font-weight: 400;
            font-size: 14px;
            color: #111111;

            span {
                font-family: PingFangSC-Regular;
                font-weight: 400;
                font-size: 14px;
                color: #111111;
                margin-right: 10px;
            }
        }
    }

    .blue_bg {
        background: #F7FBFF;
    }


    .red_color {

        .h2,
        .cell {
            color: #f00;
            span{
                color: #f00;
            }
        }
    }

}