index.scss 4.41 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: 26px;
        text-align: center;
        position: relative;
        z-index: 10;
        background-color: #fff;
        top: 0;

        &.isapp {
            position: fixed;
        }

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

            &: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;
        }
    }

    .isapp-margin-bottom {
        margin-bottom: 80px;
    }

    .empty-height {
        height: 72px;
    }

    .resources {
        background: #f6f6f6;

        .title-image {
            a {
                display: block;
            }

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

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

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

            img {
                width: 213px;
                height: 213px;
            }
        }

        .recommend-content-five {
            width: 100%;
            overflow: hidden;

            a {
                width: 50%;
                float: left;

                img {
                    width: 320px;
                    height: 320px;
                }
            }
        }

        .goods {
            background-color: #fff;
            padding: 0 14px;

            .divide {
                float: left;
                height: 50px;
                width: 100%;
                padding: 10px 0;
                color: #ccc;
                text-align: center;
            }
        }
    }

    .banner-top {
        img {
            width: 640px;
            height: 310px;
        }
    }
}