index.scss 1.45 KB
.header-nav {
    padding: 0 40px;
    position: fixed;
    z-index: 999;
    background-color: white;
    width:100%;
    height: 96px;
    display: flex;
    align-items: center;

    .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;
    }
}

.index-page {
    width: 750px;
    height: 100vh;
    margin: 0 auto;
    padding-top: 100px;

    .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;
    }
}