u-car-keyboard.js 2.7 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-car-keyboard/u-car-keyboard"],{"2b8a":function(t,n,e){},"9e6c":function(t,n,e){"use strict";e.r(n);var a=e("a5a3"),i=e.n(a);for(var r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=i.a},a5a3:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={name:"u-keyboard",props:{random:{type:Boolean,default:!1}},data:function(){return{abc:!1}},computed:{areaList:function(){var t=["京","沪","粤","津","冀","豫","云","辽","黑","湘","皖","鲁","苏","浙","赣","鄂","桂","甘","晋","陕","蒙","吉","闽","贵","渝","川","青","琼","宁","挂","藏","港","澳","新","使","学"],n=[];return this.random&&(t=this.$u.randomArray(t)),n[0]=t.slice(0,10),n[1]=t.slice(10,20),n[2]=t.slice(20,30),n[3]=t.slice(30,36),n},EngKeyBoardList:function(){var t=[1,2,3,4,5,6,7,8,9,0,"Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M"],n=[];return this.random&&(t=this.$u.randomArray(t)),n[0]=t.slice(0,10),n[1]=t.slice(10,20),n[2]=t.slice(20,30),n[3]=t.slice(30,36),n}},methods:{carInputClick:function(t,n){var e="";e=this.abc?this.EngKeyBoardList[t][n]:this.areaList[t][n],this.$emit("change",e)},changeCarInputMode:function(){this.abc=!this.abc},backspaceClick:function(){var t=this;this.$emit("backspace"),clearInterval(this.timer),this.timer=null,this.timer=setInterval((function(){t.$emit("backspace")}),250)},clearTimer:function(){clearInterval(this.timer),this.timer=null}}};n.default=a},c23c:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return a}));var a={uIcon:function(){return e.e("uview-ui/components/u-icon/u-icon").then(e.bind(null,"f728"))}},i=function(){var t=this,n=t.$createElement;t._self._c;t._isMounted||(t.e0=function(t){t.stopPropagation(),t.preventDefault()})},r=[]},f0d2:function(t,n,e){"use strict";var a=e("2b8a"),i=e.n(a);i.a},fb30:function(t,n,e){"use strict";e.r(n);var a=e("c23c"),i=e("9e6c");for(var r in i)"default"!==r&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("f0d2");var c,u=e("f0c5"),o=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"2d89a270",null,!1,a["a"],c);n["default"]=o.exports}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'uview-ui/components/u-car-keyboard/u-car-keyboard-create-component',
  4. {
  5. 'uview-ui/components/u-car-keyboard/u-car-keyboard-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("fb30"))
  7. })
  8. },
  9. [['uview-ui/components/u-car-keyboard/u-car-keyboard-create-component']]
  10. ]);