摘要: var bankcardList = [{ bankName: "中国邮政储蓄银行", bankCode: "PSBC", patterns: [{ reg: /^(621096|621098|622150|622151|622181|622188|622199|955100|621095|620062|621285|621798|621799|621797|... 阅读全文
posted @ 2017-08-19 09:57 一夜梦想 阅读(15991) 评论(9) 推荐(2) 编辑
摘要: function formatNum(num) { num=(num+'').match(/^(?:\s*)(\-?\d+)(\.(\d+))?(?:\s*)$/); if(!num)return ''; var int=num[1].split(''); for(var i=int.length; 阅读全文
posted @ 2017-08-19 09:51 一夜梦想 阅读(251) 评论(0) 推荐(0) 编辑