@import "../styles/imgVar.less";
.counter {
  &__sub,
  &__add {
    display: inline-block;
    width: 72px;
    height: 72px;
    background: url(@btn_del_nor_2x) no-repeat;
    background-size: 100%;
  }
  &__sub.dis {
    background-image: url(@btn_del_dis_2x);
  }
  &__add {
    background-image: url(@btn_add_2x);
  }
  &__add.dis {
    background-image: url(@btn_add_dis_2x);
  }
  &__inp {
    margin: 0 8px;
    // height: 84px;  //ios光标偏移
    // line-height: 84px;
    padding: 14px !important;
    width: 140px;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    border-radius: 2px;
  }
  &__inp.auto {
    width: 100%;
  }
  &__inp.md {
    width: 140px;
  }
  &__inp.sm {
    width: 70px;
  }
}