摘要: 1 var price = e.detail.value; 2 // if (!(/^\d+\.[0-9]{2}/).test(price)) { 3 if (price.match(/^\d{1,7}(\.\d{0,2})?$|^\.\d{1,2}$/)){ 4 defaultPrice = price; 5 return price; 6 ... 阅读全文
posted @ 2018-07-24 09:12 zwb8032fang 阅读(722) 评论(0) 推荐(0) 编辑