webpackJsonp([6],{"3KXx":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,i=(o=n("KByO"))&&o.__esModule?o:{default:o};var c=function(t){return"string"==typeof t&&i.default.test(t)};e.default=c},J0yf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.unsafeStringify=s;var o,i=(o=n("3KXx"))&&o.__esModule?o:{default:o};const c=[];for(let t=0;t<256;++t)c.push((t+256).toString(16).slice(1));function s(t,e=0){return c[t[e+0]]+c[t[e+1]]+c[t[e+2]]+c[t[e+3]]+"-"+c[t[e+4]]+c[t[e+5]]+"-"+c[t[e+6]]+c[t[e+7]]+"-"+c[t[e+8]]+c[t[e+9]]+"-"+c[t[e+10]]+c[t[e+11]]+c[t[e+12]]+c[t[e+13]]+c[t[e+14]]+c[t[e+15]]}var a=function(t,e=0){const n=s(t,e);if(!(0,i.default)(n))throw TypeError("Stringified UUID is invalid");return n};e.default=a},"K+IK":function(t,e){},KByO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},ScYt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("2CGT"),i=n("Fd2+"),c=(n("c4Wp"),{data:function(){return{phone:"",checked_privacy:"",isDisable:!0}},watch:{},methods:{getVal:function(t,e){this[e]=t.target.value.replace(/ /g,"")},goBack:function(){this.$router.go(-1)},showPrivacyDialog:function(){var t=this;i.a.confirm({confirmButtonColor:"#2660ff",message:"请勾选并同意《用户协议》和《隐私政策》"}).then(function(){t.checked_privacy=!0,t.goNext()}).catch(function(){})},goNext:function(){var t=this,e=this;if(11!=this.phone.length)return Object(i.c)("输入手机号有误"),!1;i.c.loading({message:"加载中...",forbidClick:!0,duration:0}),this.isDisable&&(this.isDisable=!1,Object(o._30)({codeType:1,mobile:this.phone,mobileType:"mobile",sysMobileNum:"android"}).then(function(n){console.log(n),"0"==n.rc?(sessionStorage.setItem("phone",t.phone),t.$router.push({name:"verificationCode"})):Object(i.c)(n.msg),setTimeout(function(){e.isDisable=!0},2e3)}))}}}),s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page"},[n("div",{staticClass:"common_title"},[n("div",{staticClass:"back_img",on:{click:function(e){return t.goBack()}}}),t._v(" "),n("div",{staticClass:"common_title_fl"},[t._v("手机号登录/注册")])]),t._v(" "),n("div",{staticClass:"content"},[n("div",{staticClass:"common_input"},[n("input",{attrs:{type:"text",placeholder:"请输入手机号码"},on:{input:function(e){return t.getVal(e,"phone")}}})]),t._v(" "),n("div",{staticClass:"common_input_bottom"},[t._v("\n      未注册的手机号验证后自动创建宠爱王国账户\n    ")]),t._v(" "),n("div",{class:["commonBtn",11===this.phone.length?"commonBtn_blue":"commonBtn"],on:{click:function(e){return t.goNext()}}},[t._v("\n      下一步\n    ")]),t._v(" "),n("div",{staticClass:"commonBtn_f",on:{click:function(e){return t.goBack()}}},[t._v("账号密码登录")])]),t._v(" "),n("div",{staticClass:"bottom"},[n("van-checkbox",{attrs:{shape:"square","icon-size":"0.3rem","checked-color":"#2660ff"},model:{value:t.checked_privacy,callback:function(e){t.checked_privacy=e},expression:"checked_privacy"}}),t._v(" "),n("div",{staticClass:"title"},[t._v("登录即同意")]),t._v(" "),n("div",{staticClass:"title_blue"},[t._v("《用户协议》")]),t._v(" "),n("div",{staticClass:"title"},[t._v("和")]),t._v(" "),n("div",{staticClass:"title_blue"},[t._v("《隐私政策》")])],1)])},staticRenderFns:[]};var a=n("VU/8")(c,s,!1,function(t){n("K+IK")},"data-v-479a49be",null);e.default=a.exports},c4Wp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,i=(o=n("pj5/"))&&o.__esModule?o:{default:o},c=n("J0yf");let s,a,r=0,u=0;var l=function(t,e,n){let o=e&&n||0;const l=e||new Array(16);let d=(t=t||{}).node||s,f=void 0!==t.clockseq?t.clockseq:a;if(null==d||null==f){const e=t.random||(t.rng||i.default)();null==d&&(d=s=[1|e[0],e[1],e[2],e[3],e[4],e[5]]),null==f&&(f=a=16383&(e[6]<<8|e[7]))}let v=void 0!==t.msecs?t.msecs:Date.now(),_=void 0!==t.nsecs?t.nsecs:u+1;const p=v-r+(_-u)/1e4;if(p<0&&void 0===t.clockseq&&(f=f+1&16383),(p<0||v>r)&&void 0===t.nsecs&&(_=0),_>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");r=v,u=_,a=f;const m=(1e4*(268435455&(v+=122192928e5))+_)%4294967296;l[o++]=m>>>24&255,l[o++]=m>>>16&255,l[o++]=m>>>8&255,l[o++]=255&m;const h=v/4294967296*1e4&268435455;l[o++]=h>>>8&255,l[o++]=255&h,l[o++]=h>>>24&15|16,l[o++]=h>>>16&255,l[o++]=f>>>8|128,l[o++]=255&f;for(let t=0;t<6;++t)l[o+t]=d[t];return e||(0,c.unsafeStringify)(l)};e.default=l},"pj5/":function(t,e,n){"use strict";let o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(!o&&!(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(i)};const i=new Uint8Array(16)}});
//# sourceMappingURL=6.2a02b82f9bee255c318d.js.map