chunk-2f748d8c.6f451246.js 14 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2f748d8c"],{"18b7":function(e,t,r){e.exports=r.p+"img/head.317b5ed3.png"},"20d0":function(e,t,r){"use strict";var n=r("7b05"),o=r("aaf3"),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,s=Array.prototype.push,l=function(e,t){s.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,formatter:o.formatters[o["default"]],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,r,o,i,a,s,u,d,p,h,y,m,v){var b=t;if("function"===typeof u?b=u(r,b):b instanceof Date?b=h(b):"comma"===o&&c(b)&&(b=b.join(",")),null===b){if(i)return s&&!m?s(r,f.encoder,v):r;b=""}if("string"===typeof b||"number"===typeof b||"boolean"===typeof b||n.isBuffer(b)){if(s){var g=m?r:s(r,f.encoder,v);return[y(g)+"="+y(s(b,f.encoder,v))]}return[y(r)+"="+y(String(b))]}var w,S=[];if("undefined"===typeof b)return S;if(c(u))w=u;else{var j=Object.keys(b);w=d?j.sort(d):j}for(var O=0;O<w.length;++O){var C=w[O];a&&null===b[C]||(c(b)?l(S,e(b[C],"function"===typeof o?o(r,C):r,o,i,a,s,u,d,p,h,y,m,v)):l(S,e(b[C],r+(p?"."+C:"["+C+"]"),o,i,a,s,u,d,p,h,y,m,v)))}return S},p=function(e){if(!e)return f;if(null!==e.encoder&&void 0!==e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o["default"];if("undefined"!==typeof e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=o.formatters[r],a=f.filter;return("function"===typeof e.filter||c(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?f.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:f.encode,encoder:"function"===typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:a,formatter:n,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}};e.exports=function(e,t){var r,n,o=e,i=p(t);"function"===typeof i.filter?(n=i.filter,o=n("",o)):c(i.filter)&&(n=i.filter,r=n);var s,u=[];if("object"!==typeof o||null===o)return"";s=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=a[s];r||(r=Object.keys(o)),i.sort&&r.sort(i.sort);for(var h=0;h<r.length;++h){var y=r[h];i.skipNulls&&null===o[y]||l(u,d(o[y],y,f,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.formatter,i.encodeValuesOnly,i.charset))}var m=u.join(i.delimiter),v=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),m.length>0?v+m:""}},2377:function(e,t,r){"use strict";r("8253")},"73fb":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"main",style:{height:e.scrollerHeight},attrs:{id:"mainContainer"}},[r("div",{staticClass:"form"},[e._m(0),e.controlShow?r("div",{staticClass:"control"},[r("mu-text-field",{attrs:{type:"number",placeholder:"请输入手机号"},on:{blur:function(t){return e.onBlurInput()}},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.CheckPhone()}},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}}),e.controlShow?r("div",{staticClass:"controlButtons"},[e.btnShow?r("mu-button",{attrs:{color:"info",small:"",round:""},on:{click:e.errorToast}},[e._v("继续")]):r("mu-button",{attrs:{color:"primary",small:"",round:""},on:{click:e.stepVertify}},[e._v("继续")])],1):e._e()],1):e._e(),e.vertifyShow?r("div",{staticClass:"vertify"},[r("vue-simple-verify",{ref:"verify",on:{success:e.success}})],1):e._e(),e.codeShow?r("div",{staticClass:"code"},[r("div",{staticClass:"cubesContainer"},[r("mu-text-field",{ref:"vcodeInput",model:{value:e.vcode,callback:function(t){e.vcode=t},expression:"vcode"}}),r("ul",{on:{click:e.focusVcode}},[r("li"),r("li"),r("li"),r("li"),r("li"),r("li")])],1),e.tipsState?r("div",{staticClass:"tips"},[e.codeState?r("span",{staticStyle:{color:"#E75296"}},[e._v("验证码错误")]):r("span",{staticStyle:{color:"#AACC03"}},[e._v("验证码正确")])]):e._e(),e.codeShow?r("div",{staticClass:"codeButtons"},[e.codebtnShow?r("mu-button",{attrs:{color:"info",small:"",round:""},on:{click:e.errorCodeToast}},[e._v("继续")]):r("mu-button",{attrs:{color:"primary",small:"",round:""},on:{click:e.stepCode}},[e._v("继续")])],1):e._e()]):e._e()])])},o=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"topImg"},[n("img",{attrs:{src:r("18b7")}})])}],i=(r("379d"),r("b8a1")),a=r("fed1"),c={data:function(){return{controlShow:!0,btnShow:!0,vertifyShow:!1,codeShow:!1,codebtnShow:!1,tipsState:!1,codeState:!0,input:"",vcode:"",scrollerHeight:document.documentElement.clientHeight||document.body.clientHeight}},watch:{input:{handler:function(e,t){var r=this;globalCheckPhone(e)?r.btnShow=!1:r.btnShow=!0},deep:!0,immediate:!0},vcode:{handler:function(e,t){var r=this;6==e.length?r.codebtnShow=!1:r.codebtnShow=!0},deep:!0,immediate:!0}},created:function(){var e=document.documentElement.clientHeight;window.onload=function(){document.getElementById("mainContainer").style.height=e+"px",console.log(e)}},mounted:function(){},methods:{CheckPhone:function(){var e=this,t=e.input;globalCheckPhone(t)?(e.btnShow=!1,e.stepVertify()):(e.btnShow=!0,e.errorToast())},errorToast:function(){this.Toast("手机号格式不正确")},errorCodeToast:function(){this.Toast("验证码不正确")},success:function(){var e=this,t=this,r={token:localStorage.token,phone:t.input,codeType:1},n=a.stringify(r);Object(i["d"])(n).then((function(t){var r=t;0==r.Code?(e.Toast("短信已发送","success"),e.vertifyShow=!1,e.codeShow=!0):(e.Toast(r.Memo),e.vertifyShow=!0,e.codeShow=!1,e.btnShow=!0,e.controlShow=!0,e.vertifyShow=!1)}))},stepVertify:function(){this.btnShow=!1,this.vertifyShow=!0,this.controlShow=!1},stepCode:function(){var e=this,t=this,r={phone:t.input,smsCode:t.vcode},n=a.stringify(r);Object(i["j"])(n).then((function(t){var r=t;0==r.Code?(e.tipsState=!0,localStorage.token=r.Rs.token,e.$router.push({path:"/"})):(e.tipsState=!0,e.Toast(r.Memo))}))},focusVcode:function(){var e=this;this.$nextTick((function(){e.$refs.vcodeInput.focus()}))},onBlurInput:function(){window.scroll(0,0)}}},s=c,l=(r("2377"),r("5d22")),u=Object(l["a"])(s,n,o,!1,null,"1049a927",null);t["default"]=u.exports},"7b05":function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e){while(e.length>1){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i<r.length;++i)"undefined"!==typeof r[i]&&n.push(r[i]);t.obj[t.prop]=n}}},c=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeof e[n]&&(r[n]=e[n]);return r},s=function e(t,r,i){if(!r)return t;if("object"!==typeof r){if(o(t))t.push(r);else{if(!t||"object"!==typeof t)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(r);var a=t;return o(t)&&!o(r)&&(a=c(t,i)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var a=t[o];a&&"object"===typeof a&&r&&"object"===typeof r?t[o]=e(a,r,i):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var a=r[o];return n.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),a)},l=function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},u=function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(o){return n}},f=function(e,t,r){if(0===e.length)return e;var n="string"===typeof e?e:String(e);if("iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<n.length;++a){var c=n.charCodeAt(a);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=n.charAt(a):c<128?o+=i[c]:c<2048?o+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?o+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&n.charCodeAt(a)),o+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return o},d=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],c=Object.keys(i),s=0;s<c.length;++s){var l=c[s],u=i[l];"object"===typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:l}),r.push(u))}return a(t),e},p=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},h=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},y=function(e,t){return[].concat(e,t)};e.exports={arrayToObject:c,assign:l,combine:y,compact:d,decode:u,encode:f,isBuffer:h,isRegExp:p,merge:s}},8253:function(e,t,r){},aaf3:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},b8a1:function(e,t,r){"use strict";r.d(t,"d",(function(){return a})),r.d(t,"j",(function(){return c})),r.d(t,"m",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return f}));var n=r("82ae"),o=r.n(n);r("379d");function i(e,t){return o.a.post(e,t).then((function(e){var t=e.data;return t}),(function(e){console.info(e)}))}function a(e){var t=headapi+"v1/Auth/GetPhoneVFCode";return i(t,e)}function c(e){var t=headapi+"v1/Auth/PhoneSignIn";return i(t,e)}function s(e){var t=headapi+"v1/User/UserSelfQuery";return i(t,e)}function l(e){var t=headapi+"v1/User/GetDuInfoAndUserInfoByUserMd5";return i(t,e)}function u(e){var t=headapi+"v1/HrSensors/HrSensorsUpdate";return i(t,e)}function f(e){var t=headapi+"v1/HrSensors/AddAppHeartRate";return i(t,e)}},df17:function(e,t,r){"use strict";var n=r("7b05"),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c="utf8=%26%2310003%3B",s="utf8=%E2%9C%93",l=function(e,t){var r,l={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,f),p=-1,h=t.charset;if(t.charsetSentinel)for(r=0;r<d.length;++r)0===d[r].indexOf("utf8=")&&(d[r]===s?h="utf-8":d[r]===c&&(h="iso-8859-1"),p=r,r=d.length);for(r=0;r<d.length;++r)if(r!==p){var y,m,v=d[r],b=v.indexOf("]="),g=-1===b?v.indexOf("="):b+1;-1===g?(y=t.decoder(v,i.decoder,h),m=t.strictNullHandling?null:""):(y=t.decoder(v.slice(0,g),i.decoder,h),m=t.decoder(v.slice(g+1),i.decoder,h)),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=a(m)),m&&t.comma&&m.indexOf(",")>-1&&(m=m.split(",")),o.call(l,y)?l[y]=n.combine(l[y],m):l[y]=m}return l},u=function(e,t,r){for(var n=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(c,10);r.parseArrays||""!==c?!isNaN(s)&&a!==c&&String(s)===c&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(i=[],i[s]=n):i[c]=n:i={0:n}}n=i}return n},f=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=i.exec(n),s=c?n.slice(0,c.index):n,l=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;l.push(s)}var f=0;while(null!==(c=a.exec(n))&&f<r.depth){if(f+=1,!r.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+n.slice(c.index)+"]"),u(l,t,r)}},d=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?i.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:i.comma,decoder:"function"===typeof e.decoder?e.decoder:i.decoder,delimiter:"string"===typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"===typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}};e.exports=function(e,t){var r=d(t);if(""===e||null===e||"undefined"===typeof e)return r.plainObjects?Object.create(null):{};for(var o="string"===typeof e?l(e,r):e,i=r.plainObjects?Object.create(null):{},a=Object.keys(o),c=0;c<a.length;++c){var s=a[c],u=f(s,o[s],r);i=n.merge(i,u,r)}return n.compact(i)}},fed1:function(e,t,r){"use strict";var n=r("20d0"),o=r("df17"),i=r("aaf3");e.exports={formats:i,parse:o,stringify:n}}}]);
  2. //# sourceMappingURL=chunk-2f748d8c.6f451246.js.map