section.less 2.76 KB
.m-section {
    .section-head {
        line-height: 45px;
        padding: 0 10px;
        background-color: #fff;
        font-size: 14px;
        color: #666;
        text-align: left;
        font-weight: bold;
        margin-bottom: 10px;
        &:first-letter {
            font-size: 18px;
            color: #23ac38;
        }
    }
}
.section-items {
    margin-bottom: 10px;
    .section-item {
        display: block;
        margin-bottom: 5px;
        width: 100%;
        img {
            width: 100%;
            max-width: 100%;
        }
    }
}
.product-items {
  background-color: #FFF;
  margin-bottom: 10px;
    .items {
        .item {
            width: 33.33%;
            float: left;
            font-size: 13px;
            text-align: center;
            padding: 8px 0;
            a {
                display: block;
                position: relative;
                z-index: 2;
            }
            h3 {
                font-size: 13px;
                padding: 0 5px;
                font-weight: 700;
                color: #333;
                text-align: left;
                line-height: 16px;
                overflow: hidden;
                padding: 0 10px;
                text-align: left;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
            }
            p{
              padding: 0 10px;
              text-align: left;
            }
            em {
                text-align: left;
                display: block;
                font-size: 13px;
                font-weight: 700;
                font-style: normal;
                color: #FA4535;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
            }
            span {
                display: block;
                text-align: center;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
            .pic {
                max-width: 100%;
                height: 60px;
                display: inline-block;
                vertical-align: middle;
            }
            &:after {
                border-left: none;
                border-top: none;
            }
        }
    }
}
.scroll-wrap{
  overflow-y: hidden;
  overflow-x:scroll;
  -webkit-overflow-scrolling: touch;
  .m-goods-items{
    white-space: nowrap;
    li{
      float: none;
      display: inline;
      width: 110px !important;
      a{
        display: inline-block;
        width: 100px;
      }
    }
  }
  .m-tab, .m-nav{
    white-space: nowrap;
    overflow: visible;
    width: auto;
    li{
      float: none;
      display: inline;
      width: 90px;
      a{
        display: inline-block;
      }
    }
  }
}