(function(global,factory){
if(typeof define === 'function' && define.amd){
define(function(){
return factory();
});
}else if(typeof module !== 'undefined' && module.exports){
module.exports = factory();
}else{
global.KeyBoardNum = factory(global);
}
}(typeof window !== 'undefined' ? window : this,function(win){
var idTag = 0;
var keyBoardNum = function(numberId,option){
this.version = '0.0.1';
var me = this,
insertId = 'keyBoardNum'+(++idTag),
payId = 'keyBoardPay'+(idTag),
defaultOpt = {
itemHeight:55,
decimal:2,
integer:4,
fontSize:'25px',
color:'#333',
bgColor:'#fff',
borderColor:'#dcdcdc',
activeColor:'#dcdcdc',
btnText:'确
认',
btnColor:'#d4d4d4',
btnActiveColor:'#ff8f3b',
btnFontSize:'70px',
btnBgColor:'#fff',
btnActiveBgColor:'#fff',
btnTouchBgColor:'#dcdcdc',
btnCallBack:null,
delImg:delImgBase,
hideImg:hideImgBase,
canChangeBtnColor:false,
lightBtnColor:false
};
for(var item in defaultOpt){
if(option[item]){
defaultOpt[item] = option[item];
}
}
this.option = defaultOpt;
var style = '.keyboardNum,.keyboardNum *{-webkit-tap-highlight-color: transparent;-webkit-focus-ring-color: transparent;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;border: 0;font-style: normal;}body {font-family: Hiragino Sans GB, Heiti SC, "微软雅黑", Verdana, sans-serif, SimHei, "黑体";}.keyboardNum.show {-webkit-transform: translateY(0);-moz-transform: translateY(0);-ms-transform: translateY(0);-o-transform: translateY(0);transform: translateY(0);}.keyboardNum:after{content: "";height: 0;visibility: hidden;display: block;clear: both;}.keyboardNum.show-trans {-webkit-transition: all linear 0.2s;-moz-transition: all linear 0.2s;-ms-transition: all linear 0.2s;-o-transition: all linear 0.2s;transition: all linear 0.2s;}.keyboardNum {width: 100%;height: '+me.option.itemHeight*4+'px;position: fixed;bottom: 0;left:0;background-color: '+me.option.bgColor+';z-index: 999;color: '+me.option.color+';font-size: '+me.option.fontSize+';line-height:'+me.option.itemHeight+'px;-webkit-transform: translateY(100%);-moz-transform: translateY(100%);-ms-transform: translateY(100%);-o-transform: translateY(100%);transform: translateY(100%);-webkit-transition: all linear 0.2s;-moz-transition: all linear 0.2s;-ms-transition: all linear 0.2s;-o-transition: all linear 0.2s;transition: all linear 0.2s;}.keyboardNum i {display: block;width: 25%;height: 25%;line-height: 60px;font-size: inherit;color: inherit;text-align: center;transition: all 0.1s;float: left;position: relative;}.keyboardNum i >img {height: 20px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;}.keyboardNum i.del{float: right;height: '+me.option.itemHeight*2+'px;line-height: 1.2;padding: 0px 20px;display: -webkit-box;box-align: center;-webkit-box-align: center;box-pack: center;-webkit-box-pack: center;}.keyboardNum i.keyBoardPay {float: right;height: '+me.option.itemHeight*2+'px;line-height: 1.2;background-color: '+me.option.btnBgColor+';color: '+me.option.btnColor+';font-size: 20px;padding: 0px 20px;display: -webkit-box;box-align: center;-webkit-box-align: center;box-pack: center;-webkit-box-pack: center;}.keyboardNum i.hover,.keyboardNum i:active:not(.keyboardNum i.keyBoardPay) {background-color: '+me.option.activeColor+';}.keyboardNum i.keyBoardPay.active {background-color: '+me.option.btnActiveBgColor+';color:'+me.option.btnActiveColor+';}.keyboardNum i.keyBoardPay.active.hover,.keyboardNum i.keyBoardPay.active:active {background-color: '+me.option.btnTouchBgColor+';}.border-bottom-1px:after,.border-bottom-1px:before,.border-left-1px:after,.border-left-1px:before,.border-right-1px:after,.border-right-1px:before,.border-top-1px:after,.border-top-1px:before{content:"";display:block;position:absolute;-webkit-transform-origin:0 0;transform-origin:0 0}.border-top-1px:before{border-top:1px solid '+me.option.borderColor+';left:0;top:0;width:100%}.border-right-1px:after{border-right:1px solid '+me.option.borderColor+';top:0;right:0;height:100%;-webkit-transform-origin:right 0;transform-origin:right 0}.border-bottom-1px:after{border-bottom:1px solid '+me.option.borderColor+';left:0;bottom:0;width:100%;-webkit-transform-origin:0 bottom;transform-origin:0 bottom}.border-left-1px:before{border-left:1px solid '+me.option.borderColor+';top:0;left:0;height:100%}@media (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2){.border-top-1px:before{width:200%}.border-right-1px:after,.border-top-1px:before{-webkit-transform:scale(.5) translateZ(0);transform:scale(.5) translateZ(0)}.border-right-1px:after{height:200%}.border-bottom-1px:after{width:200%}.border-bottom-1px:after,.border-left-1px:before{-webkit-transform:scale(.5) translateZ(0);transform:scale(.5) translateZ(0)}.border-left-1px:before{height:200%}}@media (-webkit-min-device-pixel-ratio:3),(min-device-pixel-ratio:3){.border-top-1px:before{width:300%}.border-right-1px:after,.border-top-1px:before{-webkit-transform:scale(.333) translateZ(0);transform:scale(.333) translateZ(0)}.border-right-1px:after{height:300%}.border-bottom-1px:after{width:300%}.border-bottom-1px:after,.border-left-1px:before{-webkit-transform:scale(.333) translateZ(0);transform:scale(.333) translateZ(0)}.border-left-1px:before{height:300%}}';
$('head').append('');
var html = ''" class="keyboardNum">'+
' '+
' '">'+
' '+
' 1'+
' 2'+
' 3'+
' 4'+
' 5'+
' 6'+
''" class="keyBoardPay border-top-1px border-right-1px ">'+me.option.btnText+
''+
' 7'+
' 8'+
' 9'+
' '+
' '">'+
' 0'+
' .'+
' ';
$('body').append(html);
this.dom = $('#'+insertId);
this.numDom = $(numberId);
this.payDom = $('#'+payId);
this.init = function(){
me.dom.on('touchstart','i',function(evt){
evt.preventDefault();
var num = $(this).data('num');
switch(num){
case 'del':
if(me.numDom.val() != ""){
me.delete(me.numDom);
me.callback(evt,'del');
}
break;
case 'callback':
me.callback(evt,'sure');
break;
case 'hide':
me.hideBoard(me.dom);
me.callback(evt,'hide');
break;
default:
var beginNum = me.numDom.val();
me.insert(me.numDom,num,me.option);
if(me.numDom.val() != beginNum){
me.callback(evt,'num');
}
}
});
}
this.init();
return this;
}
keyBoardNum.prototype.show = function(){
var me = this;
if(me.option.canChangeBtnColor){
if(me.option.lightBtnColor){
me.payDom.addClass('active');
}else {
me.payDom.removeClass('active');
}
}
me.dom.addClass('show');
return this;
}
keyBoardNum.prototype.delete = function(dom){
var str = dom.val().trim();
if(str !== ''){
dom.val(str.substring(0,str.length-1));
if(this.option.canChangeBtnColor && this.option.lightBtnColor){
}else if(dom.val()==''){
this.payDom.removeClass('active');
}
if(dom.val()==''){
this.num = 0;
}else{
this.num = dom.val();
}
}
return this;
}
keyBoardNum.prototype.callback = function(evt,kind){
this.option.btnCallBack && this.option.btnCallBack(evt,kind,parseFloat(this.num));
};
keyBoardNum.prototype.hideBoard = function(){
this.dom.removeClass('show');
return this;
};
keyBoardNum.prototype.insert = function(dom,num,option){
var str = dom.val();
if(str == ''){
if(num == '.'){
dom.val('0.');
return;
}
}else if(str == '0' && str.length == 1 && num != '.'){
return;
}else if(str.indexOf('.')>-1){
if(num == '.') return;
if(str.substring(str.indexOf('.')+1,str.length).length == option.decimal) return;
}else if(num != '.'){
if(str.length==option.integer) return;
}
this.num = str + num;
dom.val(this.num);
if(this.option.canChangeBtnColor && !this.option.lightBtnColor){
}else {
this.payDom.addClass('active');
}
return this;
}
var delImgBase = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAA2CAYAAABz508/AAAAAXNSR0IArs4c6QAAEX5JREFUaAXNm3uMVdUVxu899/JUg5QgFVAiIZpCsQn+oSYiQ0sbbWtNqmhIMDGQFgQGeUoQlfiKQQsWYQaw1EQJClGaxorW9g95avCBQQFjIhp8v1B887j33H6/xawz+565c+cMiulOzux99tl7r7W+/a2199nnTj53glKlUsmnh7711lvb1C1cuDDdrMN7jVOzjcaqpB/k8/k2dek23LdRrFajrHWh8W60G/roo4+arLFjx9pwmzZtSmSfcsopSTmLrK+++ioxrqGhwcoa37pqfLt3sEJw6oHSKQXaU9IBCI3HcIzGYDf0zTffzA8bNsyG2b9/f75Hjx7HLf+7774zgwcNGlTZs2dPbvDgwXYPSIADMCEoHQFy3IpgjQNAGRCY/TQAbvzHH38c0a5bt24ms2vXrlWyDxw4UHVP21qpT58+ZrA/O3LkiN0fPny4AjgA4yAByieffFIBkDRD0uwo+oCdz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uZLptaLQ/q2e8tyH/H9hxJRAm7fXmAAAAAElFTkSuQmCC';
var hideImgBase = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAYAAADjVADoAAAAAXNSR0IArs4c6QAAE2xJREFUeAHNm1msXlUVx7/hlqHMY8AwCAmgQOIDiT4YGkD0gTlQQiSVBEwcGjUkaoQnID4Q0SrGoECsCWKgCpUhqIFooKgvGEwwgQdiCuUBCEMpU4H2G/z91j3ruM+533e5vb1X2cm5e95rrf8a9j7n27fbWWAaj8fd9tAbbrhhTtt1113XHrYsdWjPWRfa43Zjt9ud09YeY32OIDmoLXgKraD33HNPzLv00ktj+GOPPdZYZ7/99mvUc82lyt9+++2GcGeccUbU4StIwNc4gWqDMw2YiQwnCG3hFVyhU9DNmzd3TznllCC+ZcuW7t577z1xvaUCoL3Oe++9FwAce+yx46effrpz/PHHR12gBEdgJoEyCYyZcvEEwDZBKLV/2GGHdZ988snuq6++2oWBEJq2zptvvhnCH3744Q0QXn/99Ua9pLO75UMOOSQERiGdHTt2jOGhAy9jAOgIzjvvvDOG1zHASGp08sknJyDKhJizbl4C0mDWAaUVsEg3LUBtv/LKKz1X3nPPPbt77LFHF8JRX7FiRawzMzMTOe2NdZ2zlAkAAojBYBD5zp07E5iRwEjrgw8+GKOckcCkhdDccJkSiBDEiYmSZRBUEC2ghwX0BADU+zDg+JnRaDQDEzPU+9aZG4/tPhBY1ifpJF15kBd5sg8Qgld5lndlUBZlqmSj2JQ5NJcgpDs4wYnGAEyupwWo/X322acHwj01T1uv3+93fbZv3x7usu+++2qay2oNIQF/sNDQ/HA4HK9cuXJs7gMIIy2F/tG77747AqCR1gEYI2PIaaedNhIDZO1kINUyaiCmgaAVCAILBwgQ6x944IFdFu9hhgFGr9eLdWgzdiSvy5oDuC4aYGAFAQLuOqJttG3btjEKGgoG4wIMZBhNA0MgGsHSbdGgyISwhARBs9MSzCHSv+KKK1Y9//zza95///3TsKZDeXSR/1tCkBHP1r322uufRx999F233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