@ui-prefix-inputnumber: yyui-inputnumber;
//表单下的数字框对齐填充宽度
form .ant-input-number{
  width: 100%;
}
.@{ui-prefix-inputnumber}{

  // 处理数字输入框前后置样式
  .ant-input-group .ant-input-number {
    position: relative;
    z-index: 2;
    width: 100%;
    display: table-cell;
    //存在前后置内容
    &:not(:first-child):not(:last-child){
      border-radius: 0;
    }
    //只存在后置内容
    &:first-child{
      border-bottom-right-radius: 0;
      border-top-right-radius: 0;
    }
    //只存在前置内容
    &:last-child{
      border-bottom-left-radius: 0;
      border-top-left-radius: 0;
    }
  }

  //  去除input type = 'number'的浏览器默认样式
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button{
    -webkit-appearance: none !important;
    margin: 0;
  }
  .ant-input-number-focused{
    box-shadow: none;
  }
}
//---------精确数字框----------
.yyui-inputcurrency{
  .ant-input{
    padding-right:20px;
  }
  &.text-right{
    .ant-input{
      text-align: right;
    }
  }
}