(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"0244":function(e,t,n){"use strict";n.r(t);var i=n("4d65"),o=n("1fa8");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var c,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],c);t["default"]=s.exports},"0268":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","content"),attrs:{_i:0}},[n("view",{style:e._$s(1,"s",{height:e.statusBarHeight+44+"px",paddingTop:e.statusBarHeight+"px"}),attrs:{_i:1}})])},a=[]},"0741":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verificationType=t.codePurpose=t.accountType=void 0;var i={WX:1,PHONE:2,EMAIL:3,APPLEID:4,CUSTOM:5};t.accountType=i;var o={CERTIFICATION:1,RESET_LOGIN_PASSWORD:2,RESET_PHONE:3,BIND_BANK_CARD:4,RESET_CREDIT_PASSWORD:5};t.codePurpose=o;var a={PHONE:1,EMAIL:2};t.verificationType=a},"0de9":function(e,t,n){"use strict";function i(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function o(){return"string"===typeof __channelId__&&__channelId__}function a(e,t){switch(i(t)){case"Function":return"function() { [native code] }";default:return t}}function c(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1){var u=r.pop();s=r.join("---COMMA---"),0===u.indexOf(" at ")?s+=u:s+="---COMMA---"+u}else s=r[0];console[c](s)}n.r(t),n.d(t,"log",(function(){return c})),n.d(t,"default",(function(){return r}))},"0de90":function(e,t,n){"use strict";n.r(t);var i=n("29e4"),o=n("7a72");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var c,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],c);t["default"]=s.exports},"0e26":function(e,t,n){"use strict";n.r(t);var i=n("59c3"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"104c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("9288"));function o(e){return e&&e.__esModule?e:{default:e}}var a={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""}},data:function(){return{icons:i.default.glyphs}},computed:{unicode:function(){var e=this,t=this.icons.find((function(t){return t.font_class===e.type}));return t?unescape("%u".concat(t.unicode)):""}},methods:{_onClick:function(){this.$emit("click")}}};t.default=a},"11cd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(!e)throw new Error("\u65e5\u671f\u4e0d\u6b63\u786e");var n,i={"y+":e.getFullYear().toString(),"m+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"h+":e.getHours().toString(),"M+":e.getMinutes().toString(),"s+":e.getSeconds().toString()};for(var o in i)n=new RegExp("("+o+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?i[o]:i[o].padStart(n[1].length,"0")));return t},o={dateTimeFormat:i},a=o;t.default=a},"120c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={appid:"__UNI__8C1E198"};t.default=i},"16ac":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","content"),attrs:{_i:0}})},a=[]},"18f0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"UniStatusBar",data:function(){return{statusBarHeight:20}},mounted:function(){this.statusBarHeight=uni.getSystemInfoSync().statusBarHeight+"px"}};t.default=i},"19dd":function(e,t,n){"undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))}),uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/client-list/index",(function(){return Vue.extend(n("a8f3").default)})),__definePage("pages/search/index",(function(){return Vue.extend(n("9882").default)})),__definePage("pages/add-user/index",(function(){return Vue.extend(n("2af2").default)})),__definePage("pages/trade/index",(function(){return Vue.extend(n("0244").default)})),__definePage("pages/mall/index",(function(){return Vue.extend(n("2714").default)})),__definePage("pages/mine/index",(function(){return Vue.extend(n("0de90").default)})),__definePage("pages/login/index",(function(){return Vue.extend(n("5bb8").default)})),__definePage("pages/agreement/index",(function(){return Vue.extend(n("b229").default)}))},"1eb4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"uni-easyinput",emits:["click","iconClick","update:modelValue","input","focus","blur","confirm"],model:{prop:"modelValue",event:"update:modelValue"},props:{name:String,value:[Number,String],modelValue:[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},passwordIcon:{type:Boolean,default:!0},styles:{type:Object,default:function(){return{color:"#333",disableColor:"#F7F6F6",borderColor:"#e5e5e5"}}},errorMessage:{type:[String,Boolean],default:""}},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.is_reset&&(this.is_reset=!1,this.formItem.setValue(e))},modelValue:function(e){this.errMsg&&(this.errMsg=""),this.val=e,this.form&&this.formItem&&!this.is_reset&&(this.is_reset=!1,this.formItem.setValue(e))},focus:function(e){var t=this;this.$nextTick((function(){t.focused=t.focus}))}},created:function(){this.value||(this.val=this.modelValue),this.modelValue||(this.val=this.value),this.form=this.getForm("uniForms"),this.formItem=this.getForm("uniFormsItem"),this.form&&this.formItem&&this.formItem.name&&(this.is_reset||(this.is_reset=!1,this.formItem.setValue(this.val)),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),this.$emit("update:modelValue",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",""),this.$emit("update:modelValue","")},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=i},"1fa8":function(e,t,n){"use strict";n.r(t);var i=n("8837"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},2521:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{location:{type:Object,required:!1,default:function(){return{}}},items:{type:Array,default:function(){return[]}}},data:function(){return{timer:null,mapContext:null,centerPoint:{longitude:113.395996,latitude:23.119967},markers:[],selectedId:-1,scale:14}},created:function(){this.init()},mounted:function(){e("log","mounted"," at components/qn-map/qn-map.nvue:46"),this.mapContext=uni.createMapContext("qnMap",this)},watch:{items:function(t){var n=this;this.markers=t.map((function(e){return n.causeMarker(e)})),this.mapContext.addMarkers({markers:this.markers,clear:!0,success:function(t){e("log","success",t," at components/qn-map/qn-map.nvue:59")},fail:function(t){e("log","fail",t," at components/qn-map/qn-map.nvue:62")}})},location:{handler:function(e){var t={longitude:e.longitude,latitude:e.latitude,scale:this.scale};this.mapContext&&this.mapContext.moveToLocation({longitude:e.longitude,latitude:e.latitude}),this.$emit("reset",t)},deep:!0}},methods:{causeMarker:function(e){var t={};return t=this.scale>=15?{latitude:e.latitude-0,longitude:e.longitude-0,id:e.enterpriseId,iconPath:"/static/imgs/client/location-".concat(e.whetherCooperation?"red":"blue",".png"),width:22,height:26,label:{x:-20,y:-42,anchorX:-20,anchorY:-42,content:e.enterpriseName,fontSize:13,color:"#ffffff",borderRadius:20,bgColor:e.whetherCooperation?"#F5222D":"#2B74FF",padding:10,textAlign:"center"}}:{latitude:e.latitude-0,longitude:e.longitude-0,id:e.enterpriseId,iconPath:"/static/imgs/client/location-".concat(e.whetherCooperation?"red":"blue",".png"),width:22,height:26},t},init:function(){var e=this;this.location.longitude&&this.location.latitude&&(this.centerPoint.longitude=this.location.longitude,this.centerPoint.latitude=this.location.latitude),this.items.length>0&&(this.markers=this.items.map((function(t){return e.causeMarker(t)})))},labeltap:function(e){this.selectedId!=e.detail.markerId&&(this.$emit("labeltap",e.detail.markerId),this.selectedId=e.detail.markerId)},dragMap:function(){var e=this;this.mapContext.getCenterLocation({success:function(t){e.$emit("dragMap",{longitude:t.longitude,latitude:t.latitude,scale:e.scale}),e.centerPoint.longitude=t.longitude,e.centerPoint.latitude=t.latitude}})},scaleMap:function(){var t=this;this.mapContext.getScale({success:function(n){t.scale=Math.ceil(n.scale),e("log","scale:",t.scale," at components/qn-map/qn-map.nvue:163"),t.$emit("scaleMap",{longitude:t.centerPoint.longitude,latitude:t.centerPoint.latitude,scale:t.scale})}})},regionchange:function(e){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){switch(e.causedBy){case"drag":t.dragMap();break;case"scale":t.scaleMap();break;default:break}}),500)}}};t.default=n}).call(this,n("0de9")["default"])},"26cb":function(e,t,n){"use strict";(function(t){ /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function n(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var i="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function c(e,t){return e.filter(t)[0]}function r(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=c(t,(function(t){return t.original===e}));if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(n){i[n]=r(e[n],t)})),i}function s(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function u(e){return null!==e&&"object"===typeof e}function l(e){return e&&"function"===typeof e.then}function d(e,t){return function(){return e(t)}}var f=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},_={namespaced:{configurable:!0}};_.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(e,t){this._children[e]=t},f.prototype.removeChild=function(e){delete this._children[e]},f.prototype.getChild=function(e){return this._children[e]},f.prototype.hasChild=function(e){return e in this._children},f.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},f.prototype.forEachChild=function(e){s(this._children,e)},f.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},f.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},f.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(f.prototype,_);var p=function(e){this.register([],e,!1)};function h(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;h(e.concat(i),t.getChild(i),n.modules[i])}}p.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},p.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},p.prototype.update=function(e){h([],this.root,e)},p.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var o=new f(t,n);if(0===e.length)this.root=o;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],o)}t.modules&&s(t.modules,(function(t,o){i.register(e.concat(o),t,n)}))},p.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},p.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var m;var v=function(e){var t=this;void 0===e&&(e={}),!m&&"undefined"!==typeof window&&window.Vue&&I(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var o=this,c=this,r=c.dispatch,s=c.commit;this.dispatch=function(e,t){return r.call(o,e,t)},this.commit=function(e,t,n){return s.call(o,e,t,n)},this.strict=i;var u=this._modules.root.state;S(this,u,[],this._modules.root),w(this,u),n.forEach((function(e){return e(t)}));var l=void 0!==e.devtools?e.devtools:m.config.devtools;l&&a(this)},g={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function b(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;S(e,n,[],e._modules.root,!0),w(e,n,t)}function w(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,a={};s(o,(function(t,n){a[n]=d(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var c=m.config.silent;m.config.silent=!0,e._vm=new m({data:{$$state:t},computed:a}),m.config.silent=c,e.strict&&j(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),m.nextTick((function(){return i.$destroy()})))}function S(e,t,n,i,o){var a=!n.length,c=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[c],e._modulesNamespaceMap[c]=i),!a&&!o){var r=P(t,n.slice(0,-1)),s=n[n.length-1];e._withCommit((function(){m.set(r,s,i.state)}))}var u=i.context=k(e,c,n);i.forEachMutation((function(t,n){var i=c+n;x(e,i,t,u)})),i.forEachAction((function(t,n){var i=t.root?n:c+n,o=t.handler||t;O(e,i,o,u)})),i.forEachGetter((function(t,n){var i=c+n;C(e,i,t,u)})),i.forEachChild((function(i,a){S(e,t,n.concat(a),i,o)}))}function k(e,t,n){var i=""===t,o={dispatch:i?e.dispatch:function(n,i,o){var a=T(n,i,o),c=a.payload,r=a.options,s=a.type;return r&&r.root||(s=t+s),e.dispatch(s,c)},commit:i?e.commit:function(n,i,o){var a=T(n,i,o),c=a.payload,r=a.options,s=a.type;r&&r.root||(s=t+s),e.commit(s,c,r)}};return Object.defineProperties(o,{getters:{get:i?function(){return e.getters}:function(){return $(e,t)}},state:{get:function(){return P(e.state,n)}}}),o}function $(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,i)===t){var a=o.slice(i);Object.defineProperty(n,a,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function x(e,t,n,i){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,i.state,t)}))}function O(e,t,n,i){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return l(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}function C(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function j(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function P(e,t){return t.reduce((function(e,t){return e[t]}),e)}function T(e,t,n){return u(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function I(e){m&&e===m||(m=e,n(m))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(e){0},v.prototype.commit=function(e,t,n){var i=this,o=T(e,t,n),a=o.type,c=o.payload,r=(o.options,{type:a,payload:c}),s=this._mutations[a];s&&(this._withCommit((function(){s.forEach((function(e){e(c)}))})),this._subscribers.slice().forEach((function(e){return e(r,i.state)})))},v.prototype.dispatch=function(e,t){var n=this,i=T(e,t),o=i.type,a=i.payload,c={type:o,payload:a},r=this._actions[o];if(r){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(c,n.state)}))}catch(u){0}var s=r.length>1?Promise.all(r.map((function(e){return e(a)}))):r[0](a);return new Promise((function(e,t){s.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(c,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(c,n.state,e)}))}catch(u){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},v.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),S(this,this.state,e,this._modules.get(e),n.preserveState),w(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=P(t.state,e.slice(0,-1));m.delete(n,e[e.length-1])})),b(this)},v.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},v.prototype[[104,111,116,85,112,100,97,116,101].map(e=>String.fromCharCode(e)).join("")]=function(e){this._modules.update(e),b(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,g);var M=B((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,o=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=L(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof o?o.call(this,t,n):t[o]},n[i].vuex=!0})),n})),D=B((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,o=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var a=L(this.$store,"mapMutations",e);if(!a)return;i=a.context.commit}return"function"===typeof o?o.apply(this,[i].concat(t)):i.apply(this.$store,[o].concat(t))}})),n})),E=B((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,o=t.val;o=e+o,n[i]=function(){if(!e||L(this.$store,"mapGetters",e))return this.$store.getters[o]},n[i].vuex=!0})),n})),q=B((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,o=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var a=L(this.$store,"mapActions",e);if(!a)return;i=a.context.dispatch}return"function"===typeof o?o.apply(this,[i].concat(t)):i.apply(this.$store,[o].concat(t))}})),n})),N=function(e){return{mapState:M.bind(null,e),mapGetters:E.bind(null,e),mapMutations:D.bind(null,e),mapActions:q.bind(null,e)}};function R(e){return A(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function A(e){return Array.isArray(e)||u(e)}function B(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function L(e,t,n){var i=e._modulesNamespaceMap[n];return i}function F(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var o=e.mutationTransformer;void 0===o&&(o=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var c=e.actionTransformer;void 0===c&&(c=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var u=e.logActions;void 0===u&&(u=!0);var l=e.logger;return void 0===l&&(l=console),function(e){var d=r(e.state);"undefined"!==typeof l&&(s&&e.subscribe((function(e,a){var c=r(a);if(n(e,d,c)){var s=U(),u=o(e),f="mutation "+e.type+s;H(l,f,t),l.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",i(c)),V(l)}d=c})),u&&e.subscribeAction((function(e,n){if(a(e,n)){var i=U(),o=c(e),r="action "+e.type+i;H(l,r,t),l.log("%c action","color: #03A9F4; font-weight: bold",o),V(l)}})))}}function H(e,t,n){var i=n?e.groupCollapsed:e.group;try{i.call(e,t)}catch(o){e.log(t)}}function V(e){try{e.groupEnd()}catch(t){e.log("\u2014\u2014 log end \u2014\u2014")}}function U(){var e=new Date;return" @ "+z(e.getHours(),2)+":"+z(e.getMinutes(),2)+":"+z(e.getSeconds(),2)+"."+z(e.getMilliseconds(),3)}function G(e,t){return new Array(t+1).join(e)}function z(e,t){return G("0",t-e.toString().length)+e}var J={Store:v,install:I,version:"3.6.2",mapState:M,mapMutations:D,mapGetters:E,mapActions:q,createNamespacedHelpers:N,createLogger:F};e.exports=J}).call(this,n("c8ba"))},2714:function(e,t,n){"use strict";n.r(t);var i=n("a666"),o=n("d169");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var c,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],c);t["default"]=s.exports},"29e4":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","content"),attrs:{_i:0}})},a=[]},"2af2":function(e,t,n){"use strict";n.r(t);var i=n("8b15"),o=n("2d64");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var c,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],c);t["default"]=s.exports},"2d64":function(e,t,n){"use strict";n.r(t);var i=n("bdbf"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"315d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={};t.default=i},3729:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("fa54"));function o(e){return e&&e.__esModule?e:{default:e}}var a={name:"UniNavBar",components:{statusBar:i.default},emits:["clickLeft","clickRight","clickTitle"],props:{title:{type:String,default:""},leftText:{type:String,default:""},rightText:{type:String,default:""},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""},fixed:{type:[Boolean,String],default:!1},color:{type:String,default:"#000000"},backgroundColor:{type:String,default:"#FFFFFF"},statusBar:{type:[Boolean,String],default:!1},shadow:{type:[Boolean,String],default:!1},border:{type:[Boolean,String],default:!0}},mounted:function(){uni.report&&""!==this.title&&uni.report("title",this.title)},methods:{onClickLeft:function(){this.$emit("clickLeft")},onClickRight:function(){this.$emit("clickRight")},onClickTitle:function(){this.$emit("clickTitle")}}};t.default=a},"3fc5":function(e,t,n){"use strict";n.r(t);var i=n("d60a"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"44a6":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var i={uniNavBar:n("9228").default,uniEasyinput:n("c118").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",[n("uni-nav-bar",{attrs:{fixed:!0,color:"#ffffff","background-color":"#ffffff","status-bar":!0,border:!1,"left-icon":"closeempty",_i:1},on:{clickLeft:e.close}}),n("view",{staticClass:e._$s(2,"sc","logo_area"),attrs:{_i:2}},[n("image",{staticClass:e._$s(3,"sc","logo"),attrs:{_i:3}}),n("text",{staticClass:e._$s(4,"sc","title"),attrs:{_i:4}})]),n("view",{staticClass:e._$s(5,"sc","form"),attrs:{_i:5}},[n("view",{staticClass:e._$s(6,"sc","phone"),attrs:{_i:6}},[n("uni-easyinput",{attrs:{inputBorder:!1,placeholderStyle:"font-size:32rpx;",placeholder:"\u8bf7\u8f93\u5165\u624b\u673a\u53f7\u7801",maxlength:11,type:"number",_i:7},model:{value:e._$s(7,"v-model",e.phoneNumber),callback:function(t){e.phoneNumber=t},expression:"phoneNumber"}})],1),n("view",{staticClass:e._$s(8,"sc","captcha"),attrs:{_i:8}},[n("uni-easyinput",{attrs:{inputBorder:!1,placeholderStyle:"font-size:32rpx;",placeholder:"\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801",maxlength:6,type:"number",_i:9},model:{value:e._$s(9,"v-model",e.captcha),callback:function(t){e.captcha=t},expression:"captcha"}}),n("view",{directives:[{name:"show",rawName:"v-show",value:e._$s(10,"v-show",e.timer>0),expression:"_$s(10,'v-show',timer > 0)"}],staticClass:e._$s(10,"sc","timer_area"),attrs:{_i:10}},[n("text",{staticClass:e._$s(11,"sc","timer"),attrs:{_i:11}},[e._v(e._$s(11,"t0-0",e._s("("+e.timer+"S\u540e) ")))]),n("text",{staticClass:e._$s(12,"sc","timer_text"),attrs:{_i:12}})]),n("text",{directives:[{name:"show",rawName:"v-show",value:e._$s(13,"v-show",e.timer<=0),expression:"_$s(13,'v-show',timer <= 0)"}],staticClass:e._$s(13,"sc","code"),attrs:{_i:13},on:{click:e.getCode}})],1),n("view",{staticClass:e._$s(14,"sc","login-button"),style:e._$s(14,"s",{opacity:e.disabled?"0.5":""}),attrs:{_i:14},on:{click:e.login}})]),n("view",{staticClass:e._$s(15,"sc","agreement_area"),attrs:{_i:15}},[n("checkbox-group",{attrs:{_i:16},on:{change:e.onCheck}},[n("checkbox",{attrs:{checked:e._$s(17,"a-checked",e.checked),_i:17}})]),n("view",{staticClass:e._$s(18,"sc","agreement"),attrs:{_i:18}},[n("text",{staticClass:e._$s(19,"sc","agreement_text"),attrs:{_i:19},on:{click:e.jumpAgreement}})])])],1)},a=[]},"4d65":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","content"),attrs:{_i:0}})},a=[]},"520f":function(e,t,n){"use strict";n.r(t);var i=n("3729"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"53f5":function(e,t,n){"use strict";n.r(t);var i=n("e65f"),o=n("e6d5");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var c,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],c);t["default"]=s.exports},"59c3":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("e383"),o=a(n("ce8c"));function a(e){return e&&e.__esModule?e:{default:e}}var c={components:{qnMap:o.default},data:function(){return{userName:"zhangsan",isList:!1,location:{name:"\u5e7f\u5dde",latitude:23.1023,longitude:113.3345},packingList:[{enterpriseId:1,enterpriseName:"\u5929\u6cb3\u91d1\u8857",latitude:23.1023,longitude:113.3345,whetherCooperation:0},{enterpriseId:2,enterpriseName:"\u8272\u5370\u52a1\u6709\u9650\u516c\u53f8",latitude:23.1023,longitude:113.336,whetherCooperation:1}]}},methods:{getSupplier:function(t){e("log","e:",t.detail.markerId," at pages/client-list/index.vue:61")},mapChange:function(t){e("log","data:",t," at pages/client-list/index.vue:64"),this.packingList.push({enterpriseId:3,enterpriseName:"guangzhou",latitude:23.1023,longitude:113.338,whetherCooperation:1})},showList:function(){this.isList=!0},goSearch:function(){(0,i.go2)("login")}},computed:{hasLogin:function(){return""!=this.$store.state.qnToken}}};t.default=c}).call(this,n("0de9")["default"])},"5bb8":function(e,t,n){"use strict";n.r(t);var i=n("44a6"),o=n("9c91");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var c,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],c);t["default"]=s.exports},"5e89":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var i={uniIcons:n("53f5").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","uni-navbar"),attrs:{_i:0}},[n("view",{staticClass:e._$s(1,"sc","uni-navbar__content"),class:e._$s(1,"c",{"uni-navbar--fixed":e.fixed,"uni-navbar--shadow":e.shadow,"uni-navbar--border":e.border}),style:e._$s(1,"s",{"background-color":e.backgroundColor}),attrs:{_i:1}},[e._$s(2,"i",e.statusBar)?n("status-bar",{attrs:{_i:2}}):e._e(),n("view",{staticClass:e._$s(3,"sc","uni-navbar__header uni-navbar__content_view"),style:e._$s(3,"s",{color:e.color,backgroundColor:e.backgroundColor}),attrs:{_i:3}},[n("view",{staticClass:e._$s(4,"sc","uni-navbar__header-btns uni-navbar__header-btns-left uni-navbar__content_view"),attrs:{_i:4},on:{click:e.onClickLeft}},[e._$s(5,"i",e.leftIcon.length)?n("view",{staticClass:e._$s(5,"sc","uni-navbar__content_view"),attrs:{_i:5}},[n("uni-icons",{attrs:{color:e.color,type:e.leftIcon,size:"22",color:"#333",_i:6}})],1):e._e(),e._$s(7,"i",e.leftText.length)?n("view",{staticClass:e._$s(7,"sc","uni-navbar-btn-text uni-navbar__content_view"),class:e._$s(7,"c",{"uni-navbar-btn-icon-left":!e.leftIcon.length}),attrs:{_i:7}},[n("text",{style:e._$s(8,"s",{color:e.color,fontSize:"12px"}),attrs:{_i:8}},[e._v(e._$s(8,"t0-0",e._s(e.leftText)))])]):e._e(),e._t("left",null,{_i:9})],2),n("view",{staticClass:e._$s(10,"sc","uni-navbar__header-container uni-navbar__content_view"),attrs:{_i:10},on:{click:e.onClickTitle}},[e._$s(11,"i",e.title.length)?n("view",{staticClass:e._$s(11,"sc","uni-navbar__header-container-inner uni-navbar__content_view"),attrs:{_i:11}},[n("text",{staticClass:e._$s(12,"sc","uni-nav-bar-text"),style:e._$s(12,"s",{color:e.color}),attrs:{_i:12}},[e._v(e._$s(12,"t0-0",e._s(e.title)))])]):e._e(),e._t("default",null,{_i:13})],2),n("view",{staticClass:e._$s(14,"sc","uni-navbar__header-btns uni-navbar__content_view"),class:e._$s(14,"c",e.title.length?"uni-navbar__header-btns-right":""),attrs:{_i:14},on:{click:e.onClickRight}},[e._$s(15,"i",e.rightIcon.length)?n("view",{staticClass:e._$s(15,"sc","uni-navbar__content_view uni-navbar__header-btns-right"),attrs:{_i:15}},[n("uni-icons",{attrs:{color:e.color,type:e.rightIcon,size:"22",_i:16}})],1):e._e(),e._$s(17,"i",e.rightText.length&&!e.rightIcon.length)?n("view",{staticClass:e._$s(17,"sc","uni-navbar-btn-text uni-navbar__content_view"),attrs:{_i:17}},[n("text",{staticClass:e._$s(18,"sc","uni-nav-bar-right-text"),attrs:{_i:18}},[e._v(e._$s(18,"t0-0",e._s(e.rightText)))])]):e._e(),e._t("right",null,{_i:19})],2)])],1),e._$s(20,"i",e.fixed)?n("view",{staticClass:e._$s(20,"sc","uni-navbar__placeholder"),attrs:{_i:20}},[e._$s(21,"i",e.statusBar)?n("status-bar",{attrs:{_i:21}}):e._e(),n("view",{staticClass:e._$s(22,"sc","uni-navbar__placeholder-view"),attrs:{_i:22}})],1):e._e()])},a=[]},"66b9":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("b6bf"),o=a(n("f8cf"));function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.reqInterceptor,o=n.resInterceptor,a=n.tranformConfig;u(this,t),this.baseUrl=e.baseUrl,this.header=e.header||{"content-type":"application/json;charset=UTF-8"},this.requestOption=e.requestOption||{},this.reqInterceptor=i,this.resInterceptor=o,this.tranformConfig=a}return d(t,[{key:"post",value:function(e,t){return this.request(r({method:"POST"},e),t)}},{key:"get",value:function(e,t){return this.request(r({method:"GET"},e),t)}},{key:"request",value:function(t,n){var o=Object.assign({},t),a=this.tranformConfig,c=this.reqInterceptor,r=this.resInterceptor;a&&(0,i.isFunction)(a)&&(o=a(this,t));var s=Object.assign({},this.requestOption,n);return c&&(0,i.isFunction)(c)&&(o=c(o,s)),new Promise((function(e,t){uni.request({url:o.url,data:o.data,header:o.header,method:o.method,success:function(t){var n=r(t,s);e(n)},fail:function(e){uni.showToast({title:"\u53d1\u751f\u672a\u77e5\u9519\u8bef\uff0c\u8bf7\u8054\u7cfb\u5ba2\u670d"}),t(e)}})})).catch((function(t){e("log","native response error",t," at utils/http/http.js:69")}))}},{key:"uploadFile",value:function(t,n){var o=this;return new Promise((function(e,a){var c=Object.assign({},t);c.url=_;var s=o.reqInterceptor,u=Object.assign({},o.requestOption,n);s&&(0,i.isFunction)(s)&&(c=s(c,u)),delete c.header["Content-Type"],uni.uploadFile({url:c.url,header:r(r({},c.header),{},{image:t.data.filePath}),filePath:t.data.filePath,name:t.data.fileName||"image",formData:{image:t.data.filePath},success:function(t){uni.hideLoading(),e(t.data)},fail:function(e){reject(e)}})})).catch((function(t){e("log","upload native err",t," at utils/http/http.js:104")}))}}]),t}();t.default=p}).call(this,n("0de9")["default"])},"71f9":function(e,t,n){"use strict";n.r(t);var i=n("1eb4"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"767d":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var i={uniNavBar:n("9228").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","content"),attrs:{_i:0}},[n("uni-nav-bar",{attrs:{fixed:!0,color:"#ffffff","background-color":"#ffffff","status-bar":!0,_i:1}},[n("view",{slot:"left"},[n("text",{staticClass:e._$s(3,"sc","nav-title"),attrs:{_i:3}})]),n("view",{staticClass:e._$s(4,"sc","nav-search"),attrs:{_i:4},on:{click:e.goSearch}},[n("image",{staticClass:e._$s(5,"sc","search-icon"),attrs:{_i:5}}),n("text",{staticClass:e._$s(6,"sc","search-text"),attrs:{_i:6}})]),n("view",{slot:"right"},[e._$s(8,"i",e.hasLogin)?n("view",[n("image",{attrs:{_i:9}})]):n("view",[n("text",{staticClass:e._$s(11,"sc","nav-login"),attrs:{_i:11}})])])])],1)},a=[]},"7a72":function(e,t,n){"use strict";n.r(t);var i=n("315d"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},8189:function(e){e.exports=JSON.parse('{"_from":"@dcloudio/uni-stat@next","_id":"@dcloudio/uni-stat@2.0.1-33320211224001","_inBundle":false,"_integrity":"sha512-Vhx6GDXG5wqvPoE+mOKFgI9Cg8tylfWwF5Z/SwTbgKeW+pVCnrc6JMsFRIn9+o2Fg9AAXzCFVm17WK8q6oHcKQ==","_location":"/@dcloudio/uni-stat","_phantomChildren":{},"_requested":{"type":"tag","registry":true,"raw":"@dcloudio/uni-stat@next","name":"@dcloudio/uni-stat","escapedName":"@dcloudio%2funi-stat","scope":"@dcloudio","rawSpec":"next","saveSpec":null,"fetchSpec":"next"},"_requiredBy":["#USER","/","/@dcloudio/vue-cli-plugin-uni"],"_resolved":"https://registry.npmjs.org/@dcloudio/uni-stat/-/uni-stat-2.0.1-33320211224001.tgz","_shasum":"f113225ccd28b4452b19ca6865ee39787936e9d1","_spec":"@dcloudio/uni-stat@next","_where":"/Users/guoshengqiang/Documents/hbx-plugins/uniapp-cli","author":"","bugs":{"url":"https://github.com/dcloudio/uni-app/issues"},"bundleDependencies":false,"deprecated":false,"description":"","devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","eslint":"^6.1.0","rollup":"^1.19.3","rollup-plugin-babel":"^4.3.3","rollup-plugin-clear":"^2.0.7","rollup-plugin-commonjs":"^10.0.2","rollup-plugin-copy":"^3.1.0","rollup-plugin-eslint":"^7.0.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-replace":"^2.2.0","rollup-plugin-uglify":"^6.0.2"},"files":["dist","package.json","LICENSE"],"gitHead":"30f3c9d6642904e10fa2ea878ad02a348ecb137d","homepage":"https://github.com/dcloudio/uni-app#readme","license":"Apache-2.0","main":"dist/index.js","name":"@dcloudio/uni-stat","repository":{"type":"git","url":"git+https://github.com/dcloudio/uni-app.git","directory":"packages/uni-stat"},"scripts":{"build":"NODE_ENV=production rollup -c rollup.config.js","dev":"NODE_ENV=development rollup -w -c rollup.config.js"},"version":"2.0.1-33320211224001"}')},8430:function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("map",{ref:"qnMap",staticClass:e._$s(0,"sc","qn-map"),attrs:{id:"qnMap",longitude:e._$s(0,"a-longitude",e.centerPoint.longitude),latitude:e._$s(0,"a-latitude",e.centerPoint.latitude),markers:e._$s(0,"a-markers",e.markers),scale:e._$s(0,"a-scale",e.scale),_i:0},on:{labeltap:e.labeltap,regionchange:e.regionchange}})},a=[]},8837:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={};t.default=i},8862:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n("66b9")),o=a(n("f8cf"));function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t=200&&n<300?0==i.code?i.data:(uni.showToast({title:i.message,icon:"none"}),null):(uni.showToast({title:"\u670d\u52a1\u5668\u9519\u8bef\uff0c\u8bf7\u8054\u7cfb\u5ba2\u670d"}),null)},h=function(e,t){var n=r({},t);return n.baseUrl=t.baseUrl||e.baseUrl||"",n.header=t.header||e.header,n.method=t.method||"GET",n.data=t.data||t.params||{},n.dataType=t.dataType||"json",n.responseType=t.responseType||"text",n},m=new i.default(f,{reqInterceptor:_,resInterceptor:p,tranformConfig:h}),v=m;t.default=v}).call(this,n("0de9")["default"])},"8b15":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","content"),attrs:{_i:0}})},a=[]},"8bb1":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("967e"),o=n("0741"),a=r(n("f9dc")),c=n("e383");function r(e){return e&&e.__esModule?e:{default:e}}var s={data:function(){return{phoneNumber:"",captcha:"",timer:0,checked:!1}},methods:{close:function(){(0,c.back)()},onCheck:function(e){e.detail.value.length>0?this.checked=!0:this.checked=!1},jumpAgreement:function(){(0,c.go2)("agreement")},getCode:function(){""!==this.phoneNumber.trim()?11===this.phoneNumber.trim().length?(this.countdown(),(0,i.getAuthCaptcha)({purpose:o.codePurpose.CERTIFICATION,verifiableAccount:this.phoneNumber,verifiableAccountType:o.verificationType.PHONE}).then((function(t){e("log",t," at pages/login/index.vue:126")}))):uni.showToast({title:"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\u7801",icon:"none"}):uni.showToast({title:"\u8bf7\u8f93\u5165\u624b\u673a\u53f7\u7801",icon:"none"})},countdown:function(){var e=this;this.timer=60;var t=setInterval((function(){e.timer--,e.timer<=0&&clearInterval(t)}),1e3)},login:function(){this.disabled||(this.checked?(0,i.loginByPhone)({accountType:o.accountType.PHONE,account:this.phoneNumber,captcha:this.captcha}).then((function(e){e&&(a.default.commit("setUecToken",e.token),(0,i.getQnToken)({loginToken:e.token}).then((function(e){e&&uni.showToast({title:"\u767b\u5f55\u6210\u529f",icon:"success",complete:function(){setTimeout((function(){a.default.commit("setToken",e);var t=a.default.state.nextPage;t.name?(0,c.go2)(t.name,t.data):(0,c.go2)("mine"),a.default.commit("removeNextPage")}),1e3)}})})))})):uni.showToast({title:"\u8bf7\u540c\u610f\u7528\u6237\u4e0e\u9690\u79c1\u534f\u8bae",icon:"none"}))}},computed:{disabled:function(){return""===this.phoneNumber.trim()||11!=this.phoneNumber.trim().length||""===this.captcha.trim()}}};t.default=s}).call(this,n("0de9")["default"])},"8bbf":function(e,t){e.exports=Vue},"8c10":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={pages:{},globalStyle:{}};t.default=i},"921b":function(e,t,n){"use strict";var i=n("8189");function o(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&&a(e,t)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=u();return function(){var n,i=l(e);if(t){var o=l(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return r(this,n)}}function r(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;ny;return{residenceTime:t,overtime:n}}if("page"===e){var i=t>g;return{residenceTime:t,overtime:i}}return{residenceTime:t}},Q=function(){var e=getCurrentPages(),t=e[e.length-1];if(!t)return"";var n=t.$vm;return"bd"===P()?n.$mp&&n.$mp.page.is:n.$scope&&n.$scope.route||n.$mp&&n.$mp.page.route},Y=function(e){var t=getCurrentPages(),n=t[t.length-1];if(!n)return"";var i=n.$vm,o=e._query,a=o&&"{}"!==JSON.stringify(o)?"?"+JSON.stringify(o):"";return e._query="","bd"===P()?i.$mp&&i.$mp.page.is+a:i.$scope&&i.$scope.route+a||i.$mp&&i.$mp.page.route+a},Z=function(e){return!!("page"===e.mpType||e.$mp&&"page"===e.$mp.mpType||"page"===e.$options.mpType)},ee=function(e,t){return e?"string"!==typeof e?(console.error("uni.report [eventName] \u53c2\u6570\u7c7b\u578b\u9519\u8bef,\u53ea\u80fd\u4e3a String \u7c7b\u578b"),!0):e.length>255?(console.error("uni.report [eventName] \u53c2\u6570\u957f\u5ea6\u4e0d\u80fd\u5927\u4e8e 255"),!0):"string"!==typeof t&&"object"!==typeof t?(console.error("uni.report [options] \u53c2\u6570\u7c7b\u578b\u9519\u8bef,\u53ea\u80fd\u4e3a String \u6216 Object \u7c7b\u578b"),!0):"string"===typeof t&&t.length>255?(console.error("uni.report [options] \u53c2\u6570\u957f\u5ea6\u4e0d\u80fd\u5927\u4e8e 255"),!0):"title"===e&&"string"!==typeof t?(console.error("uni.report [eventName] \u53c2\u6570\u4e3a title \u65f6\uff0c[options] \u53c2\u6570\u53ea\u80fd\u4e3a String \u7c7b\u578b"),!0):void 0:(console.error("uni.report \u7f3a\u5c11 [eventName] \u53c2\u6570"),!0)},te="Report_Data_Time",ne="Report_Status",ie=function(){return new Promise((function(e,t){var n="",i=(new Date).getTime(),o=w,a=1;try{n=uni.getStorageSync(te),a=uni.getStorageSync(ne)}catch(c){n="",a=1}""!==a?(1===a&&e(),n||(uni.setStorageSync(te,i),n=i),i-n>o&&oe((function(e){var t=e.enable;uni.setStorageSync(te,i),uni.setStorageSync(ne,t)}))):oe((function(t){var n=t.enable;uni.setStorageSync(te,i),uni.setStorageSync(ne,n),1===n&&e()}))}))},oe=function(e){var t={usv:h,conf:JSON.stringify({ak:S.appid})};uni.request({url:m,method:"GET",data:t,success:function(t){var n=t.data;0===n.ret&&"function"===typeof e&&e({enable:n.enable})},fail:function(t){var n=1;try{n=uni.getStorageSync(ne)}catch(t){n=1}""===n&&(n=1),"function"===typeof e&&e({enable:n})}})},ae=n("8c10").default,ce=n("120c").default||n("120c"),re=uni.getSystemInfoSync(),se=function(){function e(){d(this,e),this.self="",this._retry=0,this._platform="",this._query={},this._navigationBarTitle={config:"",page:"",report:"",lt:""},this._operatingTime=0,this._reportingRequestData={1:[],11:[]},this.__prevent_triggering=!1,this.__licationHide=!1,this.__licationShow=!1,this._lastPageRoute="",this.statData={uuid:x(),ut:P(),mpn:T(),ak:ce.appid,usv:h,v:I(),ch:M(),cn:"",pn:"",ct:"",t:j(),tt:"",p:"android"===re.platform?"a":"i",brand:re.brand||"",md:re.model,sv:re.system.replace(/(Android|iOS)\s/,""),mpsdk:re.SDKVersion||"",mpv:re.version||"",lang:re.language,pr:re.pixelRatio,ww:re.windowWidth,wh:re.windowHeight,sw:re.screenWidth,sh:re.screenHeight}}return _(e,[{key:"getIsReportData",value:function(){return ie()}},{key:"_applicationShow",value:function(){if(this.__licationHide){K();var e=X("app");if(e.overtime){var t={path:this._lastPageRoute,scene:this.statData.sc};this._sendReportRequest(t)}this.__licationHide=!1}}},{key:"_applicationHide",value:function(e,t){this.__licationHide=!0,K();var n=X();W();var i=Y(this);this._sendHideRequest({urlref:i,urlref_ts:n.residenceTime},t)}},{key:"_pageShow",value:function(){var e=Y(this),t=Q();if(this._navigationBarTitle.config=ae&&ae.pages[t]&&ae.pages[t].titleNView&&ae.pages[t].titleNView.titleText||ae&&ae.pages[t]&&ae.pages[t].navigationBarTitleText||"",this.__licationShow)return W(),this.__licationShow=!1,void(this._lastPageRoute=e);K(),this._lastPageRoute=e;var n=X("page");if(n.overtime){var i={path:this._lastPageRoute,scene:this.statData.sc};this._sendReportRequest(i)}W()}},{key:"_pageHide",value:function(){if(!this.__licationHide){K();var e=X("page");return this._sendPageRequest({url:this._lastPageRoute,urlref:this._lastPageRoute,urlref_ts:e.residenceTime}),void(this._navigationBarTitle={config:"",page:"",report:"",lt:""})}}},{key:"_login",value:function(){this._sendEventRequest({key:"login"},0)}},{key:"_share",value:function(){this._sendEventRequest({key:"share"},0)}},{key:"_payment",value:function(e){this._sendEventRequest({key:e},0)}},{key:"_sendReportRequest",value:function(e){this._navigationBarTitle.lt="1";var t=e.query&&"{}"!==JSON.stringify(e.query)?"?"+JSON.stringify(e.query):"";this.statData.lt="1",this.statData.url=e.path+t||"",this.statData.t=j(),this.statData.sc=D(e.scene),this.statData.fvts=N(),this.statData.lvts=R(),this.statData.tvc=U(),"n"===P()?this.getProperty():this.getNetworkInfo()}},{key:"_sendPageRequest",value:function(e){var t=e.url,n=e.urlref,i=e.urlref_ts;this._navigationBarTitle.lt="11";var o={ak:this.statData.ak,uuid:this.statData.uuid,lt:"11",ut:this.statData.ut,url:t,tt:this.statData.tt,urlref:n,urlref_ts:i,ch:this.statData.ch,usv:this.statData.usv,t:j(),p:this.statData.p};this.request(o)}},{key:"_sendHideRequest",value:function(e,t){var n=e.urlref,i=e.urlref_ts,o={ak:this.statData.ak,uuid:this.statData.uuid,lt:"3",ut:this.statData.ut,urlref:n,urlref_ts:i,ch:this.statData.ch,usv:this.statData.usv,t:j(),p:this.statData.p};this.request(o,t)}},{key:"_sendEventRequest",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key,n=void 0===t?"":t,i=e.value,o=void 0===i?"":i,a=this._lastPageRoute,c={ak:this.statData.ak,uuid:this.statData.uuid,lt:"21",ut:this.statData.ut,url:a,ch:this.statData.ch,e_n:n,e_v:"object"===typeof o?JSON.stringify(o):o.toString(),usv:this.statData.usv,t:j(),p:this.statData.p};this.request(c)}},{key:"getNetworkInfo",value:function(){var e=this;uni.getNetworkType({success:function(t){e.statData.net=t.networkType,e.getLocation()}})}},{key:"getProperty",value:function(){var e=this;plus.runtime.getProperty(plus.runtime.appid,(function(t){e.statData.v=t.version||"",e.getNetworkInfo()}))}},{key:"getLocation",value:function(){var e=this;ce.getLocation?uni.getLocation({type:"wgs84",geocode:!0,success:function(t){t.address&&(e.statData.cn=t.address.country,e.statData.pn=t.address.province,e.statData.ct=t.address.city),e.statData.lat=t.latitude,e.statData.lng=t.longitude,e.request(e.statData)}}):(this.statData.lat=0,this.statData.lng=0,this.request(this.statData))}},{key:"request",value:function(e,t){var n=this,i=j(),o=this._navigationBarTitle;e.ttn=o.page,e.ttpj=o.config,e.ttc=o.report;var a=this._reportingRequestData;if("n"===P()&&(a=uni.getStorageSync("__UNI__STAT__DATA")||{}),a[e.lt]||(a[e.lt]=[]),a[e.lt].push(e),"n"===P()&&uni.setStorageSync("__UNI__STAT__DATA",a),!(H()1?uni.navigateBack({delta:1}):s("client")}function s(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t){var o="";Object.keys(n).forEach((function(e){""===o?o="".concat(e,"=").concat(n[e]):o+="&".concat(e,"=").concat(n[e])})),a.includes(t)?uni.switchTab({url:"/pages/".concat(t,"/index").concat(o?"?"+o:"")}):i?uni.redirectTo({url:"/pages/".concat(t,"/index").concat(o?"?"+o:"")}):uni.navigateTo({url:"/pages/".concat(t,"/index").concat(o?"?"+o:"")})}else e("error","\u8bf7\u9009\u62e9\u9875\u9762"," at utils/hook.js:39")}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=i.default.state.qnToken;o?s(e,t,n):(i.default.commit("setNextPage",{name:e,data:t}),s("login"))}}).call(this,n("0de9")["default"])},e65f:function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("text",{staticClass:e._$s(0,"sc","uni-icons"),class:e._$s(0,"c",["uniui-"+e.type,e.customPrefix,e.customPrefix?e.type:""]),style:e._$s(0,"s",{color:e.color,"font-size":e.size+"px"}),attrs:{_i:0},on:{click:e._onClick}})},a=[]},e6d5:function(e,t,n){"use strict";n.r(t);var i=n("104c"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},f0c5:function(e,t,n){"use strict";function i(e,t,n,i,o,a,c,r,s,u){var l,d="function"===typeof e?e.options:e;if(s){d.components||(d.components={});var f=Object.prototype.hasOwnProperty;for(var _ in s)f.call(s,_)&&!f.call(d.components,_)&&(d.components[_]=s[_])}if(u&&((u.beforeCreate||(u.beforeCreate=[])).unshift((function(){this[u.__module]=this})),(d.mixins||(d.mixins=[])).push(u)),t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),c?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},d._ssrRegister=l):o&&(l=r?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(d.functional){d._injectStyles=l;var p=d.render;d.render=function(e,t){return l.call(t),p(e,t)}}else{var h=d.beforeCreate;d.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:d}}n.d(t,"a",(function(){return i}))},f8cf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="test",o=i;t.default=o},f9ac:function(e,t,n){"use strict";n.r(t);var i=n("2521"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},f9dc:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(n("8bbf")),o=c(n("26cb")),a=n("b6bf");function c(e){return e&&e.__esModule?e:{default:e}}var r=null,s=null,u=null,l=null;try{l=uni.getStorageSync("uecToken"),r=uni.getStorageSync("qnToken"),s=uni.getStorageSync("userInfo"),s&&(s=JSON.parse(s)),u=uni.getStorageSync("supplierInfo"),u&&(u=JSON.parse(u))}catch(_){e("error","\u521d\u59cb\u5316\u9519\u8bef:",_," at store/index.js:21")}i.default.use(o.default);var d=new o.default.Store({state:{uecToken:l||"",qnToken:r||"",userInfo:s||{},supplierInfo:u||{},nextPage:{name:"",data:{}}},mutations:{setUecToken:function(t,n){try{uni.setStorageSync("uecToken",n),t.uecToken=n}catch(_){e("error","\u66f4\u6539uecToken\u5931\u8d25:",_," at store/index.js:42")}},removeUecToken:function(t){try{uni.removeStorageSync("uecToken"),t.uecToken=""}catch(_){e("error","\u5220\u9664uecToken\u5931\u8d25:",_," at store/index.js:50")}},setToken:function(t,n){try{uni.setStorageSync("qnToken",n),t.qnToken=n}catch(_){e("error","\u66f4\u6539token\u5931\u8d25:",_," at store/index.js:58")}},removeToken:function(t){try{uni.removeStorageSync("qnToken"),t.qnToken=""}catch(_){e("error","\u5220\u9664token\u5931\u8d25:",_," at store/index.js:66")}},setUserInfo:function(t,n){if((0,a.isObject)(n))try{uni.setStorageSync("userInfo",JSON.stringify(n)),t.userInfo=n}catch(_){e("error","\u66f4\u6539userInfo\u5931\u8d25:",_," at store/index.js:78")}else e("error","userInfo\u5fc5\u987b\u662f\u5bf9\u8c61"," at store/index.js:71")},removeUserInfo:function(t){try{uni.removeStorageSync("userInfo"),t.userInfo={}}catch(_){e("error","\u5220\u9664userInfo\u5931\u8d25:",_," at store/index.js:86")}},setSupplierInfo:function(t,n){if((0,a.isObject)(n))try{uni.setStorageSync("supplierInfo",JSON.stringify(n)),t.supplierInfo=n}catch(_){e("error","\u66f4\u6539supplierInfo\u5931\u8d25:",_," at store/index.js:98")}else e("error","supplierInfo\u5fc5\u987b\u662f\u5bf9\u8c61"," at store/index.js:91")},removeSupplierInfo:function(t){try{uni.removeStorageSync("supplierInfo"),t.supplierInfo={}}catch(_){e("error","\u5220\u9664supplierInfo\u5931\u8d25:",_," at store/index.js:106")}},setNextPage:function(t,n){(0,a.isObject)(n)?(t.nextPage.name=n.name||"",t.nextPage.data=n.data||{}):e("error","nextPage\u5fc5\u987b\u662f\u5bf9\u8c61"," at store/index.js:111")},removeNextPage:function(e){e.nextPage.name="",e.nextPage.data={}}},actions:{logout:function(e){var t=e.commit;t("removeUecToken"),t("removeToken"),t("removeUserInfo"),t("removeSupplierInfo")}}}),f=d;t.default=f}).call(this,n("0de9")["default"])},fa54:function(e,t,n){"use strict";n.r(t);var i=n("926e"),o=n("b36b");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var c,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"32a6b07c",null,!1,i["a"],c);t["default"]=s.exports},fe5e:function(e,t,n){"use strict";n.r(t);var i=n("dc88"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a}},[["d43c","app-config"]]]);