AppSetInfo.641de357.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["AppSetInfo"],{"006b":function(e,t,r){},"2b6b":function(e,t,r){"use strict";var o=r("006b"),n=r.n(o);n.a},3354:function(e,t,r){},4127:function(e,t,r){"use strict";var o=r("d2334"),n=r("b313"),a=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,f=n["default"],d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:n.formatters[f],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},h=function e(t,r,n,a,i,l,u,f,h,m,y,b,g){var v=t;if("function"===typeof u?v=u(r,v):v instanceof Date?v=m(v):"comma"===n&&s(v)&&(v=v.join(",")),null===v){if(a)return l&&!b?l(r,d.encoder,g):r;v=""}if(p(v)||o.isBuffer(v)){if(l){var w=b?r:l(r,d.encoder,g);return[y(w)+"="+y(l(v,d.encoder,g))]}return[y(r)+"="+y(String(v))]}var j,O=[];if("undefined"===typeof v)return O;if(s(u))j=u;else{var x=Object.keys(v);j=f?x.sort(f):x}for(var k=0;k<j.length;++k){var S=j[k];i&&null===v[S]||(s(v)?c(O,e(v[S],"function"===typeof n?n(r,S):r,n,a,i,l,u,f,h,m,y,b,g)):c(O,e(v[S],r+(h?"."+S:"["+S+"]"),n,a,i,l,u,f,h,m,y,b,g)))}return O},m=function(e){if(!e)return d;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||d.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=n["default"];if("undefined"!==typeof e.format){if(!a.call(n.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var o=n.formatters[r],i=d.filter;return("function"===typeof e.filter||s(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?d.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:d.encode,encoder:"function"===typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:i,formatter:o,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}};e.exports=function(e,t){var r,o,n=e,a=m(t);"function"===typeof a.filter?(o=a.filter,n=o("",n)):s(a.filter)&&(o=a.filter,r=o);var l,u=[];if("object"!==typeof n||null===n)return"";l=t&&t.arrayFormat in i?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=i[l];r||(r=Object.keys(n)),a.sort&&r.sort(a.sort);for(var d=0;d<r.length;++d){var p=r[d];a.skipNulls&&null===n[p]||c(u,h(n[p],p,f,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.formatter,a.encodeValuesOnly,a.charset))}var y=u.join(a.delimiter),b=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),y.length>0?b+y:""}},4328:function(e,t,r){"use strict";var o=r("4127"),n=r("9e6a"),a=r("b313");e.exports={formats:a,parse:n,stringify:o}},5115:function(e,t,r){"use strict";var o=r("3354"),n=r.n(o);n.a},"6e6e":function(e,t,r){"use strict";var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"mheader"},[r("header",{staticClass:"m-nav-header",class:[e.isFixed?"fixed":""]},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isBack,expression:"isBack"}],staticClass:"m-nav-bar__left",on:{click:e.goBack}},[r("van-icon",{staticClass:"arrow-left",attrs:{name:"arrow-left"}})],1),r("div",{staticClass:"m-nav-bar__title"},[e._t("default",[e._v(e._s(e.name?e.name:this.$route.meta.descrition))])],2),r("div",{staticClass:"m-nav-bar__right"},[e._t("right")],2)])])},n=[],a={name:"mheader",props:{name:String,isBack:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!0},backUrl:{type:Object,default:function(){return{callBack:null,path:"",params:{}}}}},methods:{goBack:function(){var e=this.backUrl;"function"==typeof e.callBack?e.callBack():e.path?this.$router.push({path:e.path,query:e.params}):history.go(-1)}}},i=a,s=(r("5115"),r("2877")),l=Object(s["a"])(i,o,n,!1,null,"61d0e2e4",null);t["a"]=l.exports},"9e6a":function(e,t,r){"use strict";var o=r("d2334"),n=Object.prototype.hasOwnProperty,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",c=function(e,t){var r,c={},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]===l?h="utf-8":d[r]===s&&(h="iso-8859-1"),p=r,r=d.length);for(r=0;r<d.length;++r)if(r!==p){var m,y,b=d[r],g=b.indexOf("]="),v=-1===g?b.indexOf("="):g+1;-1===v?(m=t.decoder(b,a.decoder,h),y=t.strictNullHandling?null:""):(m=t.decoder(b.slice(0,v),a.decoder,h),y=t.decoder(b.slice(v+1),a.decoder,h)),y&&t.interpretNumericEntities&&"iso-8859-1"===h&&(y=i(y)),y&&t.comma&&y.indexOf(",")>-1&&(y=y.split(",")),n.call(c,m)?c[m]=o.combine(c[m],y):c[m]=y}return c},u=function(e,t,r){for(var o=t,n=e.length-1;n>=0;--n){var a,i=e[n];if("[]"===i&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var s="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,l=parseInt(s,10);r.parseArrays||""!==s?!isNaN(l)&&i!==s&&String(l)===s&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[],a[l]=o):a[s]=o:a={0:o}}o=a}return o},f=function(e,t,r){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,s=r.depth>0&&a.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!r.plainObjects&&n.call(Object.prototype,l)&&!r.allowPrototypes)return;c.push(l)}var f=0;while(r.depth>0&&null!==(s=i.exec(o))&&f<r.depth){if(f+=1,!r.plainObjects&&n.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+o.slice(s.index)+"]"),u(c,t,r)}},d=function(e){if(!e)return a;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?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.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 n="string"===typeof e?c(e,r):e,a=r.plainObjects?Object.create(null):{},i=Object.keys(n),s=0;s<i.length;++s){var l=i[s],u=f(l,n[l],r);a=o.merge(a,u,r)}return o.compact(a)}},b313:function(e,t,r){"use strict";var o=String.prototype.replace,n=/%20/g,a=r("d2334"),i={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=a.assign({default:i.RFC3986,formatters:{RFC1738:function(e){return o.call(e,n,"+")},RFC3986:function(e){return String(e)}}},i)},d2334:function(e,t,r){"use strict";var o=Object.prototype.hasOwnProperty,n=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),i=function(e){while(e.length>1){var t=e.pop(),r=t.obj[t.prop];if(n(r)){for(var o=[],a=0;a<r.length;++a)"undefined"!==typeof r[a]&&o.push(r[a]);t.obj[t.prop]=o}}},s=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},o=0;o<e.length;++o)"undefined"!==typeof e[o]&&(r[o]=e[o]);return r},l=function e(t,r,a){if(!r)return t;if("object"!==typeof r){if(n(t))t.push(r);else{if(!t||"object"!==typeof t)return[t,r];(a&&(a.plainObjects||a.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(r);var i=t;return n(t)&&!n(r)&&(i=s(t,a)),n(t)&&n(r)?(r.forEach(function(r,n){if(o.call(t,n)){var i=t[n];i&&"object"===typeof i&&r&&"object"===typeof r?t[n]=e(i,r,a):t.push(r)}else t[n]=r}),t):Object.keys(r).reduce(function(t,n){var i=r[n];return o.call(t,n)?t[n]=e(t[n],i,a):t[n]=i,t},i)},c=function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},u=function(e,t,r){var o=e.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(n){return o}},f=function(e,t,r){if(0===e.length)return e;var o=e;if("symbol"===typeof e?o=Symbol.prototype.toString.call(e):"string"!==typeof e&&(o=String(e)),"iso-8859-1"===r)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var n="",i=0;i<o.length;++i){var s=o.charCodeAt(i);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?n+=o.charAt(i):s<128?n+=a[s]:s<2048?n+=a[192|s>>6]+a[128|63&s]:s<55296||s>=57344?n+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s]:(i+=1,s=65536+((1023&s)<<10|1023&o.charCodeAt(i)),n+=a[240|s>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s])}return n},d=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],o=0;o<t.length;++o)for(var n=t[o],a=n.obj[n.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"===typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:a,prop:c}),r.push(u))}return i(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))},m=function(e,t){return[].concat(e,t)};e.exports={arrayToObject:s,assign:c,combine:m,compact:d,decode:u,encode:f,isBuffer:h,isRegExp:p,merge:l}},ec81:function(e,t,r){"use strict";r.r(t);var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"register"},[e.headerStatus?r("m-header"):e._e(),r("van-cell-group",{attrs:{border:!1}},[r("van-field",{attrs:{border:!1,type:"text",label:"您的用户名",placeholder:"请输入用户名"},on:{blur:e.codeBlur},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}}),r("van-field",{attrs:{maxlength:"20",border:!1,type:"password",label:"设置登录密码",placeholder:"请输入密码"},on:{blur:e.codeBlur},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}}),r("van-field",{attrs:{maxlength:"20",border:!1,type:"password",label:"再次输入登录密码",placeholder:"请输入密码"},on:{blur:e.codeBlur},model:{value:e.form.tPassword,callback:function(t){e.$set(e.form,"tPassword",t)},expression:"form.tPassword"}}),r("van-button",{attrs:{round:"",size:"large"},on:{click:e.onCodeLogin}},[e._v("登录")])],1)],1)},n=[],a=r("6e6e"),i=r("b562"),s=r("ff51"),l={name:"register",components:{MHeader:a["a"]},data:function(){return{headerStatus:!0,groupId:this.$route.query.groupId,countDownStatus:!0,codeText:"获取验证码",countDownTime:12e4,form:{username:null,gender:1,password:null,tPassword:null},isClick:!1}},mounted:function(){var e=this.$route.query;e.Authorization&&(localStorage.setItem("Authorization",decodeURI(e.Authorization)),localStorage.setItem("userInfo",decodeURI(e.Authorization))),Object(s["b"])().android||Object(s["b"])().iPhone?this.headerStatus=!1:document.title="注册"},methods:{codeBlur:function(){setTimeout(function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;window.scrollTo(0,Math.max(e-1,0))},100)},onCodeLogin:function(){var e=this,t=this.form;if(t.password.length<6||t.password.length>20)this.$toast("请输入6-20位数字/字母密码");else if(t.password==t.tPassword){if(!this.isClick){this.isClick=!0;var r={username:t.username,password:t.password};Object(i["r"])(r).then(function(t){var r=t.data;e.isClick=!1,200==r.code?e.$router.push({path:"/classDetail",query:{groupId:e.groupId}}):e.$toast(r.msg)})}}else this.$toast("两次输入密码不一致,请重新输入")},onFinished:function(){this.countDownStatus=!0,this.$refs.countdown.reset()},checkPhone:function(e){var t=!0;return/^1(3|4|5|6|7|8|9)\d{9}$/.test(e)||(this.$toast("手机号输入有误"),t=!1),t}}},c=l,u=(r("2b6b"),r("2877")),f=Object(u["a"])(c,o,n,!1,null,"2cc7804c",null);t["default"]=f.exports}}]);