_index.scss 1.62 KB
// slider styles
.swipe {
    overflow: hidden;
    visibility: hidden;
    position: relative;
}
.swipe-wrap {
    overflow: hidden;
    position: relative;
}
.swipe-wrap > div {
    float:left;
    width:100%;
    position: relative;
}

.swipe-wrap img {
    width: 100%;
}

.slider-nav {
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr='#3c000000',endColorstr='#3c000000');
    height: 12px;
    line-height: 7px;
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: center;
    span {
        display: inline-block;
        width: 6px;
        height: 6px;
        @include border-radius(50%);
        background-color: $YOHO-dot-color;
    }
    span.on {
        background-color: $YOHO-white-color;
    }
}

.indexFirstColumn {
    border-bottom: 1px solid $YOHO-border-color;
    li {
        float: left;
        width: 106px;
        border-right: 1px solid $YOHO-border-color;
    }
    li:last-of-type {
        border: 0;
    }
    a {
        width: 100%;
        background-color: $YOHO-white-color;
        float: left;
        height: 58px;
        padding: 20px 0 0 0;
        text-align: center;
        font-size: 12px;
    }
    em {
        font-size: 22px;
    }
    strong {
        display: block;
    }
}

.indexList {
    background-color: $YOHO-body-color;
    padding: 10px;
}
.indexItem {
    background-color: $YOHO-white-color;
    text-align: center;
    margin-bottom: 10px;
    p {
        padding: 20px 0;
    }
    a {
        font-weight: bold;
    }
}

.detail-img {
    padding: 0 10px;
    margin-bottom: 10px;
}