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

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

    .tab-nav {
        width: 100%;
        height: 80px;
        font-size: 16px;
        text-align: center;

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

    .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: 100px;
            font-size: 28px;
            line-height: 100px;
            text-align: center;
            font-weight: bold;
            border-top: 1px solid #eee;
            margin: 0;
            margin-top: 20px;
            background: #fff;

            .more {
                position: absolute;
                top: 0;
                right: 0;
                width: 100px;
                height: 100px;
            }

            &: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%;
                height: 375px;
            }

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

        .goods-box {
            padding-bottom: 20px;
            background-color: #fff;
        }

        .cardlist {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .card-large {
            .card {
                float: left;
                width: 317px;
                margin-right: 6px;
                &:nth-child(2n) {
                    margin-right: 0;
                }
            }
            .card-pic {
                width: 100%;
                a,
                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }
            .card-bd {
                padding-top: 25px;
                text-align: center;
                font-size: 24px;
            }
            .card-label {
                margin: 0 0 10px;
                font-size: 24px;
                height: 65px;
                font-weight: normal;
            }
        }

        .good-price {
            color: #b0b0b0;
            margin-right: 10px;
            &:last-of-type {
                margin-right: 0;
            }
            &.old-price {
                text-decoration: line-through;
            }
            &.sale-price {
                color: red;
            }
        }


        .empty-tip {
            margin-top: 380px;
            color: #b0b0b0;
            text-align: center;
            .icon-search {
                display: inline-block;
                font-size: 200px;
                margin-bottom: 56px;
            }
        }

        .empty-tip-cn {
            font-size: 34px;
            margin-bottom: 30px;
        }

        .empty-tip-en {
            font-size: 20px;
        }
    }
}