diff --git a/static/h5/index.html b/static/h5/index.html index 1013c35..e80e776 100644 --- a/static/h5/index.html +++ b/static/h5/index.html @@ -1,2 +1,2 @@ GOFLY客服
\ No newline at end of file + document.write('')
\ No newline at end of file diff --git a/static/h5/static/js/index.aa54cd74.js b/static/h5/static/js/index.aa54cd74.js new file mode 100644 index 0000000..e1d6088 --- /dev/null +++ b/static/h5/static/js/index.aa54cd74.js @@ -0,0 +1 @@ +(function(n){function e(e){for(var o,r,u=e[0],c=e[1],l=e[2],s=0,f=[];s0&&void 0!==arguments[0]?arguments[0]:"uniList",t=this.$parent,i=t.$options.name;while(i!==e){if(t=t.$parent,!t)return!1;i=t.$options.name}return t},onClick:function(){""===this.to?(this.clickable||this.link)&&this.$emit("click",{data:{}}):this.openPage()},onSwitchChange:function(e){this.$emit("switchChange",e.detail)},openPage:function(){-1!==["navigateTo","redirectTo","reLaunch","switchTab"].indexOf(this.link)?this.pageApi(this.link):this.pageApi("navigateTo")},pageApi:function(e){var t=this;uni[e]({url:this.to,success:function(e){t.$emit("click",{data:e})},fail:function(e){t.$emit("click",{data:e}),console.error(e.errMsg)}})}}};t.default=r},a9fb:function(e,t,i){"use strict";var n=i("4664"),o=i.n(n);o.a},abc0:function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-text",{staticClass:"uni-icons",class:[e.customIcons,e.customIcons?e.type:""],style:{color:e.color,"font-size":e.size+"px"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e._onClick.apply(void 0,arguments)}}},[e._v(e._s(e.icons[e.type]))])},a=[]},b212:function(e,t,i){"use strict";i.r(t);var n=i("5892"),o=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},b6ca:function(e,t,i){"use strict";i.r(t);var n=i("a7e7"),o=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},be42:function(e,t,i){"use strict";i.r(t);var n=i("4f30"),o=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},da18:function(e,t,i){"use strict";i.r(t);var n=i("abc0"),o=i("b212");for(var a in o)"default"!==a&&function(e){i.d(t,e,(function(){return o[e]}))}(a);i("87da");var r,l=i("f0c5"),s=Object(l["a"])(o["default"],n["b"],n["c"],!1,null,"467c48fe",null,!1,n["a"],r);t["default"]=s.exports},df10:function(e,t,i){var n=i("a771");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("1fd2c1de",n,!0,{sourceMap:!1,shadowMode:!1})},f4eb:function(e,t,i){e.exports=i.p+"static/fonts/uni.75745d34.ttf"},fcf5:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return n}));var n={uniIcons:i("da18").default,uniBadge:i("2c53").default},o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"uni-list-item",class:{"uni-list-item--disabled":e.disabled},attrs:{"hover-class":!e.clickable&&!e.link||e.disabled||e.showSwitch?"":"uni-list-item--hover"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.onClick.apply(void 0,arguments)}}},[e.isFirstChild?e._e():i("v-uni-view",{staticClass:"border--left",class:{"uni-list--border":e.border}}),i("v-uni-view",{staticClass:"uni-list-item__container",class:{"container--right":e.showArrow||e.link,"flex--direction":"column"===e.direction}},[e._t("header",[i("v-uni-view",{staticClass:"uni-list-item__header"},[e.thumb?i("v-uni-view",{staticClass:"uni-list-item__icon"},[i("v-uni-image",{staticClass:"uni-list-item__icon-img",class:["uni-list--"+e.thumbSize],attrs:{src:e.thumb}})],1):e.showExtraIcon?i("v-uni-view",{staticClass:"uni-list-item__icon"},[i("uni-icons",{attrs:{color:e.extraIcon.color,size:e.extraIcon.size,type:e.extraIcon.type}})],1):e._e()],1)]),e._t("body",[i("v-uni-view",{staticClass:"uni-list-item__content",class:{"uni-list-item__content--center":e.thumb||e.showExtraIcon||e.showBadge||e.showSwitch}},[e.title?i("v-uni-text",{staticClass:"uni-list-item__content-title",class:[0!==e.ellipsis&&e.ellipsis<=2?"uni-ellipsis-"+e.ellipsis:""]},[e._v(e._s(e.title))]):e._e(),e.note?i("v-uni-text",{staticClass:"uni-list-item__content-note"},[e._v(e._s(e.note))]):e._e()],1)]),e._t("footer",[e.rightText||e.showBadge||e.showSwitch?i("v-uni-view",{staticClass:"uni-list-item__extra",class:{"flex--justify":"column"===e.direction}},[e.rightText?i("v-uni-text",{staticClass:"uni-list-item__extra-text"},[e._v(e._s(e.rightText))]):e._e(),e.showBadge?i("uni-badge",{attrs:{type:e.badgeType,text:e.badgeText}}):e._e(),e.showSwitch?i("v-uni-switch",{attrs:{disabled:e.disabled,checked:e.switchChecked},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.onSwitchChange.apply(void 0,arguments)}}}):e._e()],1):e._e()])],2),e.showArrow||e.link?i("uni-icons",{staticClass:"uni-icon-wrapper",attrs:{size:16,color:"#bbb",type:"arrowright"}}):e._e()],1)},a=[]},feb3:function(e,t,i){"use strict";i("a434"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{title:"Hello",baseUrl:"https://gofly.sopans.com",wsBaseUrl:"wss://gofly.sopans.com/ws_kefu",visitors:[],token:"",timer:null,wsOpen:!1,noticeContent:""}},onShow:function(){var e=uni.getStorageSync("app");console.log(e),e&&(this.token=e.token),this.checkAuth(),this.getOnlineUser()},onLoad:function(){this.initPush()},methods:{onlineIntime:function(){var e=this,t=null;uni.connectSocket({url:this.wsBaseUrl+"?token="+this.token}),uni.onSocketClose((function(e){clearInterval(t),console.log("WebSocket 连接断开")})),uni.onSocketOpen((function(e){console.log("WebSocket 连接已打开");var i={type:"ping",data:""};t=setInterval((function(){uni.sendSocketMessage({data:JSON.stringify(i)})}),5e3)})),uni.onSocketMessage((function(t){var i=JSON.parse(t.data);switch(i.type){case"allUsers":break;case"userOnline":e.addOnlineUser(i.data);break;case"userOffline":e.removeOfflineUser(i.data);break;case"notice":break;case"message":e.recvMessage(i.data);break}}))},getOnlineUser:function(){var e=this,t=this.baseUrl;uni.request({url:t+"/visitors_kefu_online?token="+e.token,method:"GET",success:function(t){console.log(t),t.data.result&&(e.visitors=t.data.result)},fail:function(e){}})},addOnlineUser:function(e){for(var t=this.visitors,i=!1,n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=["label"];n.forEach((function(t){void 0===e[t]&&(e[t]="")}));var r=t;for(var i in e){var a=new RegExp("{"+i+"}");r=r.replace(a,e[i])}return r}function d(e,t){return void 0===e||null===e||("string"===typeof e&&!e||(!(!Array.isArray(e)||e.length)||"object"===t&&!Object.keys(e).length))}var p={integer:function(e){return p.number(e)&&parseInt(e,10)===e},string:function(e){return"string"===typeof e},number:function(e){return!isNaN(e)&&"number"===typeof e},boolean:function(e){return"boolean"===typeof e},float:function(e){return p.number(e)&&!p.integer(e)},array:function(e){return Array.isArray(e)},object:function(e){return"object"===typeof e&&!p.array(e)},date:function(e){return e instanceof Date},timestamp:function(e){return!(!this.integer(e)||Math.abs(e).toString().length>16)&&this.date(e)},file:function(e){return"string"===typeof e.url},email:function(e){return"string"===typeof e&&!!e.match(l.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(l.url)},pattern:function(e,t){try{return new RegExp(e).test(t)}catch(n){return!1}},method:function(e){return"function"===typeof e},idcard:function(e){return"string"===typeof e&&!!e.match(l.idcard)},"url-https":function(e){return this.url(e)&&e.startsWith("https://")},"url-scheme":function(e){return e.startsWith("://")},"url-web":function(e){return!1}},h=function(){function e(t){(0,u.default)(this,e),this._message=t}return(0,s.default)(e,[{key:"validateRule",value:function(){var e=(0,o.default)(regeneratorRuntime.mark((function e(t,n,r,i,a){var o,u,s,l,c,f,d,p,h;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=null,u=n.rules,s=u.findIndex((function(e){return e.required})),!(s<0)){e.next=8;break}if(null!==r&&void 0!==r){e.next=6;break}return e.abrupt("return",o);case 6:if("string"!==typeof r||r.length){e.next=8;break}return e.abrupt("return",o);case 8:if(l=this._message,void 0!==u){e.next=11;break}return e.abrupt("return",l["default"]);case 11:c=0;case 12:if(!(c-1&&(s=!0),s?null:f(e,i||n["enum"])},rangeNumber:function(e,t,n){if(!p.number(t))return f(e,e.errorMessage||n.pattern.mismatch);var r=e.minimum,i=e.maximum,a=e.exclusiveMinimum,o=e.exclusiveMaximum,u=a?t<=r:t=i:t>i;return void 0!==r&&u?f(e,e.errorMessage||n["number"].min):void 0!==i&&s?f(e,e.errorMessage||n["number"].max):void 0!==r&&void 0!==i&&(u||s)?f(e,e.errorMessage||n["number"].range):null},rangeLength:function(e,t,n){if(!p.string(t)&&!p.array(t))return f(e,e.errorMessage||n.pattern.mismatch);var r=e.minLength,i=e.maxLength,a=t.length;return void 0!==r&&ai?f(e,e.errorMessage||n["length"].max):void 0!==r&&void 0!==i&&(ai)?f(e,e.errorMessage||n["length"].range):null},pattern:function(e,t,n){return p["pattern"](e.pattern,t)?null:f(e,e.errorMessage||n.pattern.mismatch)},format:function(e,t,n){var r=Object.keys(p),i=c[e.format]?c[e.format]:e.format||e.arrayType;return r.indexOf(i)>-1&&!p[i](t)?f(e,e.errorMessage||n.typeError):null},arrayTypeFormat:function(e,t,n){if(!Array.isArray(t))return f(e,e.errorMessage||n.typeError);for(var r=0;r0){this.formTrigger=this.trigger,this.formRules=e,this.validator||(this.validator=new u.default(e));var n=function(e){var n=t.childrens.find((function(t){return t.name===e}));n&&(t.formData[e]=t.value[e],n.init())};for(var r in this.value)n(r);Object.keys(this.value).forEach((function(e){t.$watch("value."+e,(function(n){var r=t.childrens.find((function(t){return t.name===e}));r?(t.formData[e]=t._getValue(e,n),r.init()):t.formData[e]=t.value[e]||null}))}))}},setRules:function(e){this.init(e)},setValue:function(e,t,n){var r=this.childrens.find((function(t){return t.name===e}));return r?(t=this._getValue(r.name,t),this.formData[e]=t,r.val=t,this.$emit("input",Object.assign({},this.value,this.formData)),r.triggerCheck(t,n)):null},submitForm:function(e){var t=e.detail.value;return this.validateAll(t||this.formData,"submit")},resetForm:function(e){var t=this;this.childrens.forEach((function(e){e.errMsg="";var n=t.inputChildrens.find((function(t){return t.rename===e.name}));n&&(n.errMsg="",n.$emit("input",n.multiple?[]:""))})),this.childrens.forEach((function(e){e.name&&(t.formData[e.name]=t._getValue(e.name,""))})),this.$emit("input",this.formData),this.$emit("reset",e)},validateCheck:function(e){null===e&&(e=null),this.$emit("validate",e)},validateAll:function(e,t,n){var r=this;return(0,a.default)(regeneratorRuntime.mark((function a(){var o,u,s,l,c,f,d,p,h,m,v,b;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:for(l in r.childrens.forEach((function(e){e.errMsg=""})),!n&&"function"!==typeof n&&Promise&&(o=new Promise((function(e,t){n=function(n,r){n?t(n):e(r)}}))),u={},s=Object.assign({},e),Object.keys(r.formRules).forEach((function(e){for(var t=r.formRules[e],n=t&&t.rules||[],i=!1,a=0;a1&&void 0!==arguments[1]?arguments[1]:1e3,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return console.log(1),function(){console.log(123);var i=this,a=arguments;if(t&&clearTimeout(t),r){var o=!t;t=setTimeout((function(){t=null}),n),o&&e.apply(i,a)}else t=setTimeout((function(){e.apply(i,a)}),n)}};t.debounce=r;var i=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=0;return function(){var a=this,o=arguments;if(1===r){var u=Date.now();u-i>n&&(e.apply(a,o),i=u)}else 2===r&&(t||(t=setTimeout((function(){t=null,e.apply(a,o)}),n)))}};t.throttle=i},"240d":function(e,t,n){"use strict";n.r(t);var r=n("b72d"),i=n("6f34");for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("262c");var o,u=n("f0c5"),s=Object(u["a"])(i["default"],r["b"],r["c"],!1,null,"70a35efc",null,!1,r["a"],o);t["default"]=s.exports},"257e":function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"262c":function(e,t,n){"use strict";var r=n("888f"),i=n.n(r);i.a},"262e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=i(n("b380"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.default)(e,t)}},"2a26":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};t.default=r},"2caf":function(e,t,n){"use strict";n("4ae1"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=o(n("7e84")),i=o(n("d967")),a=o(n("99de"));function o(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=(0,i.default)();return function(){var n,i=(0,r.default)(e);if(t){var o=(0,r.default)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(0,a.default)(this,n)}}},"40dc":function(e,t,n){"use strict";var r=n("bb94"),i=n.n(r);i.a},"53ca":function(e,t,n){"use strict";function r(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?t.default=r=function(e){return typeof e}:t.default=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},5892:function(e,t,n){"use strict";var r=n("4ea4");n("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("2a26")),a={name:"UniIcons",props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customIcons:{type:String,default:""}},data:function(){return{icons:i.default}},methods:{_onClick:function(){this.$emit("click")}}};t.default=a},"5f91":function(e,t,n){"use strict";n("a9e3"),n("ac1f"),n("5319"),n("498a"),n("1e25"),n("eee7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n("1f14");var r={name:"uni-easyinput",props:{name:String,value:[Number,String],type:{type:String,default:"text"},clearable:{type:Boolean,default:!0},autoHeight:{type:Boolean,default:!1},placeholder:String,placeholderStyle:String,focus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},clearSize:{type:[Number,String],default:15},inputBorder:{type:Boolean,default:!0},prefixIcon:{type:String,default:""},suffixIcon:{type:String,default:""},trim:{type:[Boolean,String],default:!0},styles:{type:Object,default:function(){return{color:"#333",disableColor:"#eee",borderColor:"#e5e5e5"}}}},data:function(){return{focused:!1,errMsg:"",val:"",showMsg:"",border:!1,isFirstBorder:!1,showClearIcon:!1,showPassword:!1}},computed:{msg:function(){return this.errorMessage||this.errMsg},inputMaxlength:function(){return Number(this.maxlength)}},watch:{value:function(e){this.errMsg&&(this.errMsg=""),this.val=e,this.form&&this.formItem&&this.formItem.setValue(e)},focus:function(e){var t=this;this.$nextTick((function(){t.focused=t.focus}))}},created:function(){this.val=this.value,this.form=this.getForm("uniForms"),this.formItem=this.getForm("uniFormsItem"),this.form&&this.formItem&&this.formItem.name&&(this.rename=this.formItem.name,this.form.inputChildrens.push(this))},mounted:function(){var e=this;this.$nextTick((function(){e.focused=e.focus}))},methods:{init:function(){},onClickIcon:function(e){this.$emit("iconClick",e)},getForm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniForms",t=this.$parent,n=t.$options.name;while(n!==e){if(t=t.$parent,!t)return!1;n=t.$options.name}return t},onEyes:function(){this.showPassword=!this.showPassword},onInput:function(e){var t=e.detail.value;this.trim&&("boolean"===typeof this.trim&&this.trim&&(t=this.trimStr(t)),"string"===typeof this.trim&&(t=this.trimStr(t,this.trim))),this.errMsg&&(this.errMsg=""),this.val=t,this.$emit("input",t)},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){e.detail.value;this.$emit("blur",e)},onConfirm:function(e){this.$emit("confirm",e.detail.value)},onClear:function(e){this.val="",this.$emit("input","")},fieldClick:function(){this.$emit("click")},trimStr:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return"both"===t?e.trim():"left"===t?e.trimLeft():"right"===t?e.trimRight():"start"===t?e.trimStart():"end"===t?e.trimEnd():"all"===t?e.replace(/\s+/g,""):e}}};t.default=r},6062:function(e,t,n){"use strict";var r=n("6d61"),i=n("6566");e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},6566:function(e,t,n){"use strict";var r=n("9bf2").f,i=n("7c73"),a=n("e2cc"),o=n("0366"),u=n("19aa"),s=n("2266"),l=n("7dd0"),c=n("2626"),f=n("83ab"),d=n("f183").fastKey,p=n("69f3"),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){u(e,c,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=r&&s(r,e[l],e,n)})),p=m(t),v=function(e,t,n){var r,i,a=p(e),o=b(e,t);return o?o.value=n:(a.last=o={index:i=d(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=o),r&&(r.next=o),f?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},b=function(e,t){var n,r=p(e),i=d(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(c.prototype,{clear:function(){var e=this,t=p(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,n=p(t),r=b(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),f?n.size--:t.size--}return!!r},forEach:function(e){var t,n=p(this),r=o(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!b(this,e)}}),a(c.prototype,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&r(c.prototype,"size",{get:function(){return p(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),a=m(r);l(e,t,(function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},"66f6":function(e,t,n){var r=n("932f");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("4f06").default;i("0f81d88c",r,!0,{sourceMap:!1,shadowMode:!1})},6953:function(e,t,n){"use strict";n.r(t);var r=n("b8df"),i=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},"6d61":function(e,t,n){"use strict";var r=n("23e7"),i=n("da84"),a=n("94ca"),o=n("6eeb"),u=n("f183"),s=n("2266"),l=n("19aa"),c=n("861d"),f=n("d039"),d=n("1c7e"),p=n("d44e"),h=n("7156");e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),b=m?"set":"add",g=i[e],y=g&&g.prototype,x=g,w={},k=function(e){var t=y[e];o(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(a(e,"function"!=typeof g||!(v||y.forEach&&!f((function(){(new g).entries().next()})))))x=n.getConstructor(t,e,m,b),u.REQUIRED=!0;else if(a(e,!0)){var _=new x,M=_[b](v?{}:-0,1)!=_,E=f((function(){_.has(1)})),S=d((function(e){new g(e)})),O=!v&&f((function(){var e=new g,t=5;while(t--)e[b](t,t);return!e.has(-0)}));S||(x=t((function(t,n){l(t,x,e);var r=h(new g,t,x);return void 0!=n&&s(n,r[b],r,m),r})),x.prototype=y,y.constructor=x),(E||O)&&(k("delete"),k("has"),m&&k("get")),(O||M)&&k(b),v&&y.clear&&delete y.clear}return w[e]=x,r({global:!0,forced:x!=g},w),p(x,e),v||n.setStrong(x,e,m),x}},"6f34":function(e,t,n){"use strict";n.r(t);var r=n("5f91"),i=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},7188:function(e,t,n){"use strict";n.r(t);var r=n("175c"),i=n("f154");for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("967a");var o,u=n("f0c5"),s=Object(u["a"])(i["default"],r["b"],r["c"],!1,null,"12951a9c",null,!1,r["a"],o);t["default"]=s.exports},"7e84":function(e,t,n){"use strict";function r(e){return t.default=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n("3410"),n("131a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"87da":function(e,t,n){"use strict";var r=n("df10"),i=n.n(r);i.a},"888f":function(e,t,n){var r=n("a1a7");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("4f06").default;i("441d57f4",r,!0,{sourceMap:!1,shadowMode:!1})},"8af3":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var r={uniForms:n("7188").default,uniEasyinput:n("240d").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"loginBox"},[n("uni-forms",{ref:"form",attrs:{value:e.formData}},[n("uni-easyinput",{staticClass:"loginInput",attrs:{type:"text",placeholder:"请输入用户名"},model:{value:e.formData.username,callback:function(t){e.$set(e.formData,"username",t)},expression:"formData.username"}}),n("uni-easyinput",{staticClass:"loginInput",attrs:{type:"password",placeholder:"请输入密码"},model:{value:e.formData.password,callback:function(t){e.$set(e.formData,"password",t)},expression:"formData.password"}}),n("v-uni-button",{staticClass:"loginInput",attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submitForm.apply(void 0,arguments)}}},[e._v("登录")]),n("v-uni-button",{staticClass:"loginInput",attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.downloadApp.apply(void 0,arguments)}}},[e._v("下载APP")])],1)],1)},a=[]},"932f":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */',""]),e.exports=t},"967a":function(e,t,n){"use strict";var r=n("66f6"),i=n.n(r);i.a},"96cf":function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag",l="object"===typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{c=t.regeneratorRuntime=l?e.exports:{},c.wrap=x;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",m={},v={};v[o]=function(){return this};var b=Object.getPrototypeOf,g=b&&b(b(F([])));g&&g!==r&&i.call(g,o)&&(v=g);var y=M.prototype=k.prototype=Object.create(v);_.prototype=y.constructor=M,M.constructor=_,M[s]=_.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(y),e},c.awrap=function(e){return{__await:e}},E(S.prototype),S.prototype[u]=function(){return this},c.AsyncIterator=S,c.async=function(e,t,n,r){var i=new S(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(y),y[s]="Generator",y[o]=function(){return this},y.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=F,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(R),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return u.type="throw",u.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),R(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;R(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:F(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof k?t:k,a=Object.create(i.prototype),o=new I(r||[]);return a._invoke=O(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function k(){}function _(){}function M(){}function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function S(e){function t(n,r,a,o){var u=w(e[n],e,r);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"===typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,a,o)}),(function(e){t("throw",e,a,o)})):Promise.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return t("throw",e,a,o)}))}o(u.arg)}var n;function r(e,r){function i(){return new Promise((function(n,i){t(e,r,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=r}function O(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw a;return P()}n.method=i,n.arg=a;while(1){var o=n.delegate;if(o){var u=j(o,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=w(e,t,n);if("normal"===s.type){if(r=n.done?h:d,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}function j(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,j(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function $(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach($,this),this.reset(!0)}function F(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){while(++r