_index.css 3.95 KB
.plusstar-page {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    max-width: 640px;
    width: 100%;

    .margin-top-0 {
        margin-top: 0;
    }

    .tab-nav {
        width: 100%;
        max-width: inherit;
        height: 80px;
        font-size: 16px;
        text-align: center;
        position: fixed;
        z-index: 10;
        background-color: #fff;

        li {
            display: block;
            float: left;
            height: 100%;
            width: 33.33%;
            line-height: 60px;
            color: #999;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;

            &:first-child {
                margin-left: -10px;
            }

            &:last-child {
                border-right: none;
            }

            &.focus {
                color: #000;

                span {
                    border-bottom: 4px solid #000;
                }
            }
        }

        span {
            line-height: 80px;
            padding-bottom: 10px;
        }
    }

    .plusstar-resources:before {
        height: 72px;
        content: "";
        display: inline-block;
    }

    .resources {
        background: #f6f6f6;

        .title-image {

            a {
                display: block;
            }

            .image {
                width: 100%;
                height: 364px;
            }

            img {
                width: 100%;
                height: 100%;
            }
        }

        .header-title {
            position: relative;
            width: 100%;
            height: 80px;
            font-size: 28px;
            line-height: 80px;
            text-align: center;
            font-weight: bold;
            margin: 0;

            .more {
                position: absolute;
                top: 0;
                right: 0;
                width: 100px;
                height: 100px;
                color: #b0b0b0;
                font-size: 50px;
            }

            &:first-child {
                margin-top: 0;
            }
        }

        .focus {

            .swipe {
                height: 100%;
            }

            .swipe-1 {

                .swipe-indicators {
                    display: none;
                }

            }

            .swipe-item {

                a {
                    display: block;
                }

                img {
                    width: 100%;
                    height: 100%;
                }

            }

            .swipe-indicators {
                left: initial;
                right: 20px;
            }

            .swipe-indicator {
                width: 8px;
                height: 8px;
                background: #ccc;
                opacity: 1;
                vertical-align: middle;

                &.active {
                    width: 12px;
                    height: 12px;
                    background: #fff;
                }
            }
        }

        .focus-left-right {
            padding: 30px 15px;
            width: 100%;
            overflow-x: auto;
            white-space: nowrap;
            font-size: 0;
            background: #fff;
            border-bottom: 1px solid #eee;
            -webkit-overflow-scrolling: touch;

            /* stylelint-disable */
            &::-webkit-scrollbar {
                display:none;
            }
            /* stylelint-enable */

            a {
                display: inline-block;
                margin: 0 15px;
                width: 250px;
                height: 250px;
            }

            img {
                width: 100%;
                height: 100%;
            }
        }

        .recommend-content-five {
            width: 100%;
            font-size: 0;

            a {
                display: inline-block;
                width: 50%;
                overflow: hidden;
            }
        }

        .goods {
            background-color: #fff;
        }
    }
}