_trend-topics.scss 2 KB
.trend-topic-wrapper {
    background: #fff;
}

.trend-topic-content {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    .swiper-pagination {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 22rem / $pxConvertRem;
        text-align: center;
        .pagination-inner {
            display: inline-block;
        }
        span {
            float: left;
            width: 16rem / $pxConvertRem;
            height: 16rem / $pxConvertRem;
            margin: 0 (8rem / $pxConvertRem);
            background: #efefef;
            border-radius: 50%;
        }
        span.swiper-active-switch {
            background: #b0b0b0;
        }
    }
}

.trend-topic-swiper {
    height: 534rem / $pxConvertRem;
    overflow: hidden;
    ul {
        position: relative;
        li {
            float: left;
            height: 534rem / $pxConvertRem;
            .img-box {
                display: flex;
                display: -webkit-flex;
                height: 360rem / $pxConvertRem;
                margin: 0 (30rem / $pxConvertRem);
                align-items: center;
                justify-content: center;
                img {
                    max-width: 100%;
                    max-height: 100%;
                }
            }
            .item-content {
                margin: (20rem / $pxConvertRem) (30rem / $pxConvertRem) 0;
                .title {
                    line-height: 52rem / $pxConvertRem;
                    font-size: 30rem / $pxConvertRem;
                    color: #000;
                }
                .time {
                    margin: (16rem / $pxConvertRem) 0 0;
                    line-height: 24rem / $pxConvertRem;
                    color: #afafaf;
                    font-size: 18rem / $pxConvertRem;
                    .time-icon {
                        margin-right: 8rem / $pxConvertRem;
                        font-size: 14rem / $pxConvertRem;
                    }
                }
            }
        }
    }
}