@mixin featureBg {
  display: flex;
  padding: 5px 14px;
  background: #fff;
  border-radius: 10px;
  margin: 10px;
}

.searchContent{
  display: flex;
  align-items: center;
  background-color: #c8e5ff;
  padding: 7px 10px 90px;
  i{
    flex-basis: 24px;
  }
  .indexSearchBar{
    flex: auto;
  }
}
.featureContent{
  @include featureBg;
  padding-top: 10px;
  ul{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    li{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 0;
      flex:0 0 25%;
      margin-bottom: 10px;
      font-size: 14px;
      color: #666;
      >div:first-child{
          width: 48px;
      }
    }
  }
}
.noticeContent{
  @include featureBg;
  padding: 13px 14px;
  align-items: center;
  justify-content: space-between;
  div{
    display: flex;
    align-items: center;
    span{
      margin-left: 9px;
    }
    .icon-fanhui{
      transform: rotate(180deg);
    }
  }
}
.hotProductLists,.onlineProductLists{
  @include featureBg;
  h4{
    position: relative;
    font-size: 18px;
    color: #333;
    padding-left: 7px;
    &:before{
      position: absolute;
      left: 0;
      top: 1px;
      display: inline-block;
      content: '';
      width: 2px;
      height:16px;
      background-color:  #5F83FF;
      border-radius: 2px;
    }
  }
}

.hotProductLists{
  flex-direction: column;
  >ul{
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-top: 10px;
    >li{
      width: 0;
      flex: 0 0 35%;
      border-radius: 10px;
      min-height: 143px;
      padding: 11px 8px;
      margin-right: 8px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      .minPrice{
        min-width: 98px;
        height: 25px;
        line-height: 25px;
        border-radius: 12px;
        color:#fff;
        background-color: #9BBCF8;
        font-size: 14px;
        text-align: center;
      }
      &:nth-of-type(3n+1){
        background-color: #FAF6EA;
        .minPrice{
          background: #E7AA47;
        }
      }
      &:nth-of-type(3n+2){
        background-color: #EDF1FD;
      }
      &:nth-of-type(3n+3){
        background-color: #FAF0EE;
      }
      h5{
        height: 23px;
        font-size: 15px;
        font-weight: 500;
        color: #6A6A6A;
        line-height: 18px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      p{
        height: 21px;
        font-size: 14px;
        font-weight: 500;
        color: #C9C9C9;
        line-height: 16px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: flex;
        align-items: center;
      }
    }
  }
}













.onlineProductLists{
  flex-direction: column;
  overflow: hidden;
  >div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    .viewMore{
      color: #999;
      font-size: 12px;
      .icon-fanhui{
        display: inline-block;
        transform: rotate(180deg);
      }
    }

  }

  >ul{
    display: flex;
    margin-top: 10px;
    >li{
      width: 0;
      flex: 0 0 50%;
      padding: 8px 5px 11px;
      min-height: 69px;
      background: #FFFFFF;
      box-shadow: 0px 1px 4px 1px rgba(0,0,0,.08);
      border-radius: 10px 10px 10px 10px;
      margin-right: 8px;
      >h5{
        font-size: 14px;
        font-weight: 500;
        color: #333333;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 18px;
      }
      .desc{
        display: flex;
        justify-content: space-between;
        >div{
          p{
            font-size: 12px;
            font-weight: 400;
            color: #666666;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          img{
            width: 44px;
          }
        }
      }
      
    }
  }
  
}