(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/watch-login/watch-input"],{634:function(t,e,n){"use strict";n.r(e);var r=n(635),i=n(637);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n(639);var s,u=n(11),c=Object(u["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],s);c.options.__file="components/watch-login/watch-input.vue",e["default"]=c.exports},635:function(t,e,n){"use strict";n.r(e);var r=n(636);n.d(e,"render",(function(){return r["render"]})),n.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(e,"components",(function(){return r["components"]}))},636:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"render",(function(){return i})),n.d(e,"staticRenderFns",(function(){return s})),n.d(e,"recyclableRender",(function(){return o})),n.d(e,"components",(function(){return r}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=!1,s=[];i._withStripped=!0},637:function(t,e,n){"use strict";n.r(e);var r=n(638),i=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},638:function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{showPassword:!1,second:0,isRunCode:!1}},props:{type:String,value:String,placeholder:String,maxlength:{type:[Number,String],default:20},isShowPass:{type:[Boolean,String],default:!1},isShowCode:{type:[Boolean,String],default:!1},isShowGet:{type:[Boolean,String],default:!1},codeText:{type:String,default:"获取验证码"},setTime:{type:[Number,String],default:60}},model:{prop:"value",event:"input"},mounted:function(){var t=this;this,this.$on("runCode",(function(e){t.runCode(e)})),clearInterval(r)},methods:{showPass:function(){this.showPassword=!this.showPassword},onInput:function(t){this.$emit("input",t.target.value)},setCode:function(){if(this.isRunCode)return!1;this.$emit("setCode")},setNumberCode:function(){this.$emit("setNumberCode")},runCode:function(t){if("0"==String(t))return this.second=0,clearInterval(r),this.isRunCode=!1,!1;if(this.isRunCode)return!1;this.isRunCode=!0,this.second=this._setTime;var e=this;r=setInterval((function(){e.second--,0==e.second&&(e.isRunCode=!1,clearInterval(r))}),1e3)}},computed:{_type:function(){var t=this.type;return"password"==t?"text":t},_isShowPass:function(){return"false"!==String(this.isShowPass)},_isShowCode:function(){return"false"!==String(this.isShowCode)},_isShowGet:function(){return"false"!==String(this.isShowGet)},_setTime:function(){var t=Number(this.setTime);return t>0?t:60},getVerCodeSecond:function(){return this.second<=0?this.codeText:this.second<10?"0"+this.second:this.second}}};e.default=i},639:function(t,e,n){"use strict";n.r(e);var r=n(640),i=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},640:function(t,e,n){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/watch-login/watch-input.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/watch-login/watch-input-create-component',
    {
        'components/watch-login/watch-input-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('1')['createComponent'](__webpack_require__(634))
        })
    },
    [['components/watch-login/watch-input-create-component']]
]);
