css.less 2.51 KB
.listWrap {
  position: relative;
  background: white;

  .indexList {
    position: absolute;
    right: 0;
    top: .7rem;

    li {
      color: #666;
      font-size: .1rem;
      line-height: .2rem;
      // width: .2rem;
      height: .2rem;
    }
  }

  .btn_confirm {
    overflow: hidden;

    span {
      float: right;
      width: .75rem;
      height: .4rem;
      background: #FF9D5C;
      text-align: center;
      line-height: .3rem;
      border-radius: .04rem;
      color: #fff;
      margin-top: .09rem;
      margin-right: .11rem;
    }

  }

  .btnAdd {
    position: fixed;
    right: .3rem;
    bottom: .1rem;
    width: .6rem;
    height: .6rem;
    background: url(../../assets/image/add-user.png) no-repeat;
    background-size: 100%;
  }

  .search {
    position: relative;
    padding: .1rem .17rem;
    padding-bottom: 0;

    &:before {
      position: absolute;
      width: .15rem;
      height: .15rem;
      content: '';
      background: url(../../assets/image/search.png) no-repeat;
      background-size: 100%;
      left: .35rem;
      top: .19rem;
      z-index: 10;
    }

    input {
      box-sizing: border-box;
      width: 100%;
      border: none;
      border-radius: .16rem;
      background: #F4F4F4;
      height: .32rem;
      line-height: .32rem;
      padding: 0;
      padding-left: .42rem;
      font-size: .14rem;
    }
  }

  .subTip {
    color: #101010;
    font-size: .15rem;
    line-height: .48rem;
    text-align: left;
    margin-left: .11rem;

    i {
      color: #B6B6B6;
      font-style: normal;
    }
  }

  .scrollListWrap {
    background: #f8f8f8;
    height: 70vh;
    overflow-y: scroll;
  }

  // @media only screen and (device-width: 414px) and (device-height: 896px) {
  //   .scrollListWrap {
  //     height: 6.8rem;
  //   }
  // }

  // @media only screen and (device-width: 375px) and (device-height: 812px) {
  //   .scrollListWrap {
  //     height: 6.6rem;
  //   }
  // }

  .list {
    position: relative;
    text-align: left;

    dt {
      background: #F8F8F8;
      line-height: .3rem;
      padding-left: .11rem;
      box-sizing: border-box;
      color: #ABABAB;
      font-size: .13rem;
    }

    dd {
      line-height: .5rem;
      font-size: .15rem;
      background: #fff;
      color: #101010;

      span {
        float: none;
      }

      &:before {
        display: block;
        border-top: 1px solid #F8F8F8;
        content: '';
        overflow: hidden;
      }
    }

    dd:first-of-type {
      &:before {
        display: none;
      }
    }
  }
}