index.scss 1.36 KB
.index-page {
    width: 750px;
    height: 100vh;
    margin: 0 auto;

    .header-nav {
        padding: 0 40px;

        .page-label {
            font-family: PingFang-SC-Semibold;
            font-size: 68px;
            line-height: 96px;
            color: #000;
            letter-spacing: 0;
        }

        .search-btn {
            width: 48px;
            height: 48px;
        }

        .search {
            float: right;
            position: relative;
            top: 22px;
        }
    }

    .tabs-nav {
        width: 100%;
        height: 100px;
        border-bottom: 2px solid #ddd;
        padding: 0 5px;
        box-sizing: border-box;
        margin-top: 20px;

        .tab-item {
            font-family: PingFang-SC-Medium;
            font-weight: normal;
            font-size: 32px;
            color: #999;
            letter-spacing: 0;
            text-align: center;
            line-height: 96px;
            display: inline-block;
            margin: 0 30px;

            &.actived {
                font-size: 40px;
                color: #000;
                border-bottom: 6px solid #000;
                box-sizing: border-box;
            }
        }
    }

    .goYohoBuy {
        width: 80px;
        height: 160px;
        right: 34px;
        bottom: 148px;
        float: right;
        position: fixed;
        z-index: 9999;
    }
}