@mixin center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    width: 100%;
    background-color: #fafaf9;
}

a {
    text-decoration: none;
}

.search {
    position: static;
}

.close {
    position: relative;
    height: 44px;
}

.indexHeader {
    position: relative;
    background-image: none;
    background-color: #f9f9fa;
    width: 100%;
    height: 44px;
    line-height: 44px;
    overflow: hidden;
    font-size: 14px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.headerLeft {
    display: block;
    flex-wrap: nowrap;
    z-index: 2;
    height: 44px;
    line-height: 44px;
    position: relative;

    box-sizing: border-box;
    align-items: center;
    width: 44px;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;

    a {
        @include center();
        font-size: 13px;
        padding: 0;
        height: 100%;
        color: #585c64;
        display: block;
    }
}

.headerLeft,.headerRight {
    flex-shrink: 0
}

.headerRight {
    overflow: hidden;
    position: relative;
    float: right;
    display: block;

    width: 44px;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    height: 44px;
    line-height: 44px;
}

.headerTitle {
    overflow: hidden;
    position: relative;
    width: 286px;
    display: block;
    float: left;
    height: 44px;
    line-height: 44px;
    box-sizing: border-box;
    z-index: 1;
    overflow: hidden;
}

.vSearch {
    @include center();
    height: 100%;
    overflow: hidden;

    .searchHeader {
        position: static;
        background-color: transparent;
    }

    .searchbar {
        width: auto;
        overflow: hidden;
        height: 42px;
        line-height: 42px;
        display: block;
        position: relative;
        background-color: transparent;
    }

    .searchbarInner {
        width: 274px;
        margin: 7px auto;
        position: relative;
        z-index: 7;
        padding-right: 0;
        border-radius: 98px;
        display: block;
        height: 28px;
        background-color: #f3f4f5;
        box-sizing: border-box;

        &::before {
            background-color: transparent;
            border-radius: 100px;
            content: "";
            width: 200%;
            height: 200%;
            position: absolute;
            top: 0;
            left: 0;
            border: 1px solid #ccc;
            transform: scale(.5);
            transform-origin: 0 0;
            padding: 1px;
            box-sizing: border-box;
            pointer-events: none;
        }
    }

    .searchbarCore {
        background-color: transparent;
        border: 0;
        outline: 0;
        flex: 1;
        font-size: 14px;
        height: 100%;
        width: 100%;
        padding: 6px 10px;
        box-sizing: border-box;
        background-color: #f3f4f5;
        display: block;
    }

    .placeholder {
        color: #98989f;
        font-size: 14px;
        left: 10px;
        position: absolute;
        top: 50%;
        transform: translate3d(0,-50%,0);
    }
}

.headerRightButton {
    @include center();
    padding: 0;
    height: 100%;
    color: #585c64;
    display: block;
    font-size: 16px;
}

.iconClassify {
    width: 24px;
    height: 24px;
    display: block;

    &::after {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%,-50%,0);
        content: "";
        width: 24px;
        height: 24px;
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEX5+foiIiI6Ojq7u7yLUEQdAAAALElEQVQoz2NgoBhYhoaG5oAJIEcVSEeACSBHBIRFYIyhwkHxAornRsOAYgAAIHchwW23QM8AAAAASUVORK5CYII=);
        display: block;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

.tabBar {
    height: 34px;
    position: relative;
    z-index: 1220;
}

.tabBarInner {
    background-color: #f9f9fa;
    width: 100%;
    height: 34px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    touch-action: none;
    background-position: 0 100%;
    border: 0;
    background-repeat: repeat-x;
    background-size: 100% 1px;
}

.equalTable {
    overflow-y: hidden;

    li {
        display: table-cell;
        white-space: nowrap;
        position: relative;
        background-color: #f9f9fa;
    }

    a {
        display: block;
        height: 26px;
        margin: 0 10px;
        color: #585c64;
        font-size: 13px;
        text-align: center;
        box-sizing: border-box;
        position: relative;
        padding-top: 8px;
    }
}

.tabBarMore {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background-color: #fff;

    .more {
        width: 40px;
        height: 34px;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #f9f9fa;
        z-index: 4;
        text-align: center;
    }
}

.iconArrowDown {
    font-size: 18px;
    display: inline-block;
    margin-top: 7px;

    &::before {
        content: "\E003";
    }
}