_index.scss 2.85 KB
.index-page {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    .index-header {
        padding: 0 20rem / $pxConvertRem;
        width: 100%;
        height: 96rem / $pxConvertRem;
        line-height: 96rem / $pxConvertRem;

        .index-logo {
            float: left;
            font-size: 50rem / $pxConvertRem;
            width: 216rem / $pxConvertRem;
            color: #343434;
        }

        .index-search {
            float: right;
            width: 384rem / $pxConvertRem;
            .search-box {
                float: left;
                position: relative;
                top: 20rem / $pxConvertRem;
                width: 352rem / $pxConvertRem;
                height: 56rem / $pxConvertRem;
                padding-right: 40rem / $pxConvertRem;
                z-index: 1;
                transition: width 400ms;
                box-sizing: border-box;
                border: 1px solid #ccc;
                overflow: hidden;
            }
            input {
                float: left;
                width: 100%;
                font-size: 28rem / $pxConvertRem;
                padding: 10rem / $pxConvertRem;
                color: #999;
                overflow: hidden;
                border: none;
            }
            .iconfont {
                position: absolute;
                top: 8rem / $pxConvertRem;
                width: 40rem / $pxConvertRem;
                font-size: 28rem / $pxConvertRem;
                z-index: 1;
                line-height: 40rem / $pxConvertRem;
            }
            .clear-text {
                display: none;
                right: 50rem / $pxConvertRem;
                color: #ccc;
            }
            .search-icon {
                right: 10rem / $pxConvertRem;
                color: #e6e6e6;
            }
        }

        .no-search {
            display: none;
            float: left;
            margin-right: 10rem / $pxConvertRem;
            color: #999;
            font-size: 28rem / $pxConvertRem;
        }
    }
    .index-container {
        position: relative;
        @include transition(transform 0.5s);
        background-color: white;

        .index_header {
            height: 80rem / $pxConvertRem;
            line-height: 80rem / $pxConvertRem;
            overflow: hidden;
            padding: 0 10rem / $pxConvertRem;;

            
        }

        .index-channel {
           color: #FFF;
           text-align: center;
           position:relative;
           background-color: #000000;

           .index-channel-list {
               padding-top: 50%;
               width: 100%;
               position: absolute;
               top: 0;

               .homestyle {
                  margin-bottom: 50rem / $pxConvertRem;
                  width: 287.3rem / $pxConvertRem;
              }    
           }
        }
    }
   
}

@import "search","footer";