index.scss 2.28 KB
.category {
    border-top: 1px solid #eee;
    margin-top: 40px;

    .floor-header {
        margin-top: 20px;
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .title {
        font-family: PingFang-SC-Medium;
        font-size: 40px;
        color: #000;
        text-align: left;
        line-height: 56px;
    }

    .more {
        font-family: SFProText-Medium;
        font-size: 28px;
        color: #000;
    }

    .arrow-right-icon {
        width: 24px;
        height: 24px;
    }

    .scrollview {
        height: 420px;
        white-space: nowrap;

        .item-group {
            display: inline-block;
            width: 600px;
            height: 420px;
            margin-right: 20px;

            &:last-child {
                margin-right: 0;
            }
        }

        .item {
            width: 600px;
            height: 140px;
            display: flex;
            align-items: center;

            .item-navigator {
                width: 100%;
                display: flex;

                .item-img {
                    height: 140px;
                    margin-right: 20px;
                    display: flex;
                    .img {
                        width: 140px;
                        height: 140px;
                    }
                }

                .product-dec {
                    height: 100%;
                    flex: 4;
                    display: flex;
                    flex-direction: column;
                    word-break: break-all;
                    .item-name {
                        font-family: DINAlternate-Bold;
                        font-size: 28px;
                        // color: #000;
                        // margin-top: 30px;
                        white-space: pre-line;
                        // width: 460px;
                        // flex-grow: 1;
                        // word-break: break-all;
                    }

                    .item-code {
                        // flex-grow: 1;
                        font-family: SFProText-Regular;
                        font-size: 24px;
                        color: #999;
                        margin-top: 22px;
                    }
                }
            }
        }
    }
}