1.价格、金额
let reg = /((^[1-9]d*)|^0)(.d{0,2}){0,1}$/
2.正整数和0
let reg = /^(0|+?[1-9][0-9]*)$/
3.0-100的整数(包括0和100)
let percent = /^(?:[1-9]?d|100)$/