(function(t){function n(n){for(var a,i,m=n[0],p=n[1],d=n[2],l=0,c=[];l1&&void 0!==arguments[1]?arguments[1]:2,e=0;if("string"===typeof t?e=Number(t):"number"===typeof t&&(e=t),isNaN(e)||0===e)return 0;var a=Math.pow(10,n)-1;return e>a?"".concat(a,"+"):e},formatNumberAddZero:function(t){var n=0;return"string"===typeof t?n=Number(t):"number"===typeof t&&(n=t),isNaN(n)||+n<10?"0"+n:String(n)},formatNumberAddPriceUnit:function(t){var n,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,a=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e4,symbol:"W"}],r=/\.0+$|(\.[0=9]*[1-9])0+$/,o=0;for("string"===typeof t?o=Number(t):"number"===typeof t&&(o=t),n=a.length-1;n>0;n--)if(o>=a[n].value)break;return(o/a[n].value).toFixed(e).replace(r,"$1")+a[n].symbol},random:function(t,n){if(t>=0&&n>0&&n>=t){var e=n-t;return Math.random()*e+t}return 0},randomInt:function(t,n){if(t>=0&&n>0&&n>=t){var e=n-t+1;return Math.floor(Math.random()*e+t)}return 0}};n.default=a},"033a":function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(e("53ca"));function o(t){switch((0,r.default)(t)){case"undefined":return!0;case"string":if(0==t.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!t)return!0;break;case"number":if(0===t||isNaN(t))return!0;break;case"object":if(null===t||0===t.length)return!0;for(var n in t)return!1;return!0}return!1}e("ac1f"),e("00b4"),e("d401"),e("d3b7"),e("25f0"),e("c975"),e("5319"),e("4d63"),e("c607"),e("2c3e");var i={email:function(t){return/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/.test(t)},mobile:function(t){return/^1[3-9]\d{9}$/.test(t)},url:function(t){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(t)},date:function(t){return!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(t)},digits:function(t){return/^\d+$/.test(t)},idCard:function(t){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(t)},carNo:function(t){return 7===t.length?/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/.test(t):8===t.length&&/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/.test(t)},amount:function(t){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(t)},chinese:function(t){return/^[\u4e00-\u9fa5]+$/gi.test(t)},letter:function(t){return/^[a-zA-Z]*$/.test(t)},enOrNum:function(t){return/^[0-9a-zA-Z]*$/g.test(t)},contains:function(t,n){return t.indexOf(n)>=0},range:function(t,n){return t>=n[0]&&t<=n[1]},rangeLength:function(t,n){return t.length>=n[0]&&t.length<=n[1]},empty:o,isEmpty:o,jsonString:function(t){if("string"==typeof t)try{var n=JSON.parse(t);return!("object"!=(0,r.default)(n)||!n)}catch(e){return!1}return!1},landline:function(t){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(t)},object:function(t){return"[object Object]"===Object.prototype.toString.call(t)},array:function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},code:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(n,"}$")).test(t)}};n.default=i},"071d":function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("d3b7");var a=function(){return new Promise((function(t,n){uni.getSystemInfo({success:function(n){var e,a=0;e=n.statusBarHeight,a="android"==n.platform?n.statusBarHeight+50:n.statusBarHeight+45,t({statusBarHeight:e,customBarHeight:a})},fail:function(t){console.log("获取设备信息失败",t),n()}})}))};n.default=a},"07ce":function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(e=e||a.length,t)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:"both";return"both"===n?t.replace(/^\s+|\s+$/g,""):"left"===n?t.replace(/^\s*/g,""):"right"===n?t.replace(/(\s*$)/g,""):"all"===n?t.replace(/\s+/g,""):t},getLengthUnitValue:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rpx";return t?/(%|px|rpx|auto)$/.test(t)?t:t+n:""},humpConvertChar:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return t&&n?t.replace(/([A-Z])/g,"".concat(n,"$1")).toLowerCase():""},charConvertHump:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";if(!t||!n)return"";var e=RegExp(n+"(\\w)","g");return t.replace(e,(function(t,n){return n.toUpperCase()}))}};n.default=a},"3c0b":function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=p(t);return m.interceptor.request((function(t,n){var a=uni.getStorageSync("token");if(r.auth&&!a)throw i.default.dispatch("showAuthModal"),uni.hideLoading(),"暂未登录,已阻止此次API请求: '".concat(r.url,"'");return a&&m.setConfig((function(t){t.header.token=a})),""!==e&&uni.showLoading({title:e,mask:!0}),t})),m.interceptor.response((function(t){if(uni.hideLoading(),1===t.code&&a&&uni.showToast({title:t.msg||"请求出错,稍后重试",icon:"none",mask:!0}),t.code,10401===t.code)throw i.default.dispatch("logout"),uni.removeStorageSync("token"),i.default.dispatch("autoLogin"),"登录已过期或注销,已阻止此次API请求: '".concat(r.url,"'");return t})),m.request({url:r.url,data:n,method:r.method})},e("d3b7"),e("159b");var r=a(e("6645")),o=a(e("cdcc")),i=a(e("1c6f")),m=new r.default;function p(t){var n=t.split("."),e=o.default;return n.forEach((function(t){e=e[t]})),e}},"40cb":function(t,n,e){(function(t){var a,r,o,i=e("7037").default;e("7a82"),e("a4d3"),e("e01a"),e("d3b7"),e("944a"),e("0c47"),e("23dc"),e("d28b"),e("3ca3"),e("ddb0"),e("d9e2"),e("d401"),e("3410"),e("131a"),e("159b"),e("25f0"),e("14d9"),e("fb6a"),e("d81d"),function(e,m){try{window.ClipboardJS=m()}catch(m){}"object"==i(n)&&"object"==i(t)?t.exports=m():(r=[],a=m,o="function"===typeof a?a.apply(n,r):a,void 0===o||(t.exports=o))}(0,(function(){return function(t){var n={};function e(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return e.m=t,e.c=n,e.d=function(t,n,a){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:a})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==i(t)&&t&&t.__esModule)return t;var a=Object.create(null);if(e.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(a,r,function(n){return t[n]}.bind(null,r));return a},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=0)}([function(t,n,e){"use strict";var a="function"==typeof Symbol&&"symbol"==i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)},r=function(){function t(t,n){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:"");return new Promise((function(t,o){console.log(r),r&&uni.setStorageSync("token",r),(0,i.default)("user.info").then((function(e){if(0===e.code){var r=a.isLogin;n("userInfo",e.data),n("isLogin",!0),!r&&m.default.setShareInfo();var o=uni.getStorageSync("spm");o&&((0,i.default)("commission.addTeam",{spm:o}),uni.removeStorageSync("spm")),t(e.data)}})).then((function(){r&&e("getUserData")})).catch((function(t){o(t)}))}))},getUserData:function(t){var n=t.commit;return new Promise((function(t,e){(0,i.default)("user.userData").then((function(e){n("USER_DATA",e.data),t(e)})).catch((function(t){e(t)}))}))},autoLogin:function(t){return(0,o.default)((0,r.default)().mark((function n(){var e,a,o;return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.getters,o=t.dispatch,null===(e=a.initWechat)||void 0===e||!e.autologin||a.isLogin){n.next=9;break}if("",n.t0="",!n.t0){n.next=7;break}return n.next=7,o("getUserInfo","");case 7:n.next=12;break;case 9:if(!a.isLogin){n.next=12;break}return n.next=12,o("getUserInfo");case 12:m.default.setShareInfo();case 13:case"end":return n.stop()}}),n)})))()},logout:function(t){var n=t.commit;t.dispatch;uni.getStorageSync("token"),n("token",""),uni.removeStorageSync("chatSessionId"),n("isLogin",!1),n("userInfo",{}),n("USER_DATA",{}),m.default.setShareInfo()},getMessageIds:function(t){var n=t.commit;t.state;(0,i.default)("conf.getGroupConf",{group:"system.notification"}).then((function(t){n("formatMessage",t.data),Promise.resolve(t.data)})).catch((function(t){Promise.reject(t)}))}},s={token:function(t,n){t.token=n,uni.setStorageSync("token",n)},isLogin:function(t,n){t.isLogin=n,uni.setStorageSync("isLogin",n)},userInfo:function(t,n){t.userInfo=n,uni.setStorageSync("userInfo",n)},MESSAGE_IDS:function(t,n){t.subscribeMessageIds=n},USER_DATA:function(t,n){t.userData=n,uni.setStorageSync("userData",n)},AUTH_TYPE:function(t,n){n?uni.hideTabBar():uni.showTabBar(),t.authType=n},subscribeMessage:function(t,n){var e=t.subscribeMessageIdsMap[n];e.length&&uni.requestSubscribeMessage({tmplIds:e,success:function(t){},fail:function(t){}})},formatMessage:function(t,n){var e={unread_msg:["pay_suc","examine_result","company_examine"]},a={};Object.keys(e).forEach((function(t){a[t]=[],e[t].forEach((function(e){a[t].push(n[e])}))})),t.subscribeMessageIdsMap=a}},l={state:p,mutations:s,actions:d,getters:{token:function(t){return t.token},isLogin:function(t){return t.isLogin},userInfo:function(t){return t.userInfo},authType:function(t){return t.authType},userData:function(t){return t.userData},tabbarList:function(t){return t.tabbarList},subscribeMessageIdsMap:function(t){return t.subscribeMessageIdsMap}}};n.default=l},"5fd6":function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={mainColor:"#00ca88",reverseMainColor:"#FFF00D",femaleColor:"#FF71D2",maleColor:"#82B2FF",mainOrange:"#FBBD12",bgColor:"#FFFFFF",spaceColor:"#F8F7F8",fontColor:"#080808",fontSubColor:"#AAAAAA",contentColor:"#838383",fontHolderColor:"#E6E6E6",maskBgColor:"rgba(0, 0, 0, 0.4)"}},6645:function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.UNIACID=n.IMG_URL=n.API_URL=n.API_ROOT=void 0,n.apiurl=b,n.default=void 0;var r=a(e("c7eb")),o=a(e("5530")),i=a(e("1da1")),m=a(e("d4ec")),p=a(e("bee2"));e("99af"),e("d3b7"),e("e9c4"),e("c975"),e("ac1f"),e("00b4"),e("159b"),e("b64b");var d=a(e("9cb9")),s=siteConfig,l=1;s.uniacid?(uni.setStorageSync("uniacid",s.uniacid),l=s.uniacid):l=uni.getStorageSync("uniacid");var c="".concat(s.root);n.API_ROOT=c;var g="".concat(s.root,"mobile.php/index/index.html?uniacid=").concat(l);n.API_URL=g;var f="".concat(l);n.UNIACID=f;var u="".concat(s.root,"static/mobile/images");function b(t){return s.siteroot+"api."+t+"?uniacid="+l+"&"}n.IMG_URL=u;var h=function(){function t(){var n=this;(0,m.default)(this,t),this.config={baseUrl:s.siteroot,header:{"content-type":"application/json",platform:d.default.get(),uniacid:l},url:"",data:{},params:{},method:"GET",dataType:"json",responseType:"text",custom:{}},this.interceptor={request:function(t){n.requestBefore=t||function(t){return t}},response:function(t){n.requestAfter=t||function(t){return t}}}}return(0,p.default)(t,[{key:"setConfig",value:function(t){return t(this.config)}},{key:"request",value:function(){var n=(0,i.default)((0,r.default)().mark((function n(){var e,a=this,i=arguments;return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e=i.length>0&&void 0!==i[0]?i[0]:{},e=(0,o.default)((0,o.default)((0,o.default)({},e),this.config),this.requestBefore(e)),n.abrupt("return",new Promise((function(n,r){var o=b(e.url);if("{}"!==JSON.stringify(e.params)){var i=t.addQueryString(e.params);o+=-1===o.indexOf("?")?"?".concat(i):"&".concat(i)}e.url=o,e.success=function(t){n(a.requestAfter(t.data))},e.fail=function(t){r(a.requestAfter(t))},uni.request(e)})));case 3:case"end":return n.stop()}}),n,this)})));return function(){return n.apply(this,arguments)}}()},{key:"get",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request((0,o.default)({url:t,method:"GET"},n))}},{key:"post",value:function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request((0,o.default)({url:t,data:n,method:"POST"},e))}}],[{key:"isUrl",value:function(t){return/(http|https):\/\/([\w.]+\/?)\S*/.test(t)}},{key:"addQueryString",value:function(t){var n="";return Object.keys(t).forEach((function(e){n+=e+"="+encodeURIComponent(t[e])+"&"})),n.substring(0,n.length-1)}},{key:"requestBefore",value:function(t){return t}},{key:"requestAfter",value:function(t){return t}}]),t}();n.default=h},"68e5":function(t,n,e){"use strict";var a=e("4ea4").default,r=a(e("c7eb")),o=a(e("5530")),i=a(e("1da1"));e("e260"),e("e6cf"),e("cca6"),e("a79d"),e("e969"),e("1c31");var m=a(e("e143")),p=a(e("7ab8")),d=a(e("f441")),s=a(e("1c6f")),l=e("4122"),c=a(e("b951")),g=a(e("da8e")),f=a(e("d37f")),u=a(e("149b")),b=e("d4e2");function h(){return h=(0,i.default)((0,r.default)().mark((function t(){var n;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:p.default.mpType="app",m.default.use(l.router),m.default.use(d.default),m.default.use(c.default),m.default.prototype.$ws=u.default,m.default.use(g.default),m.default.mixin(b),n=new m.default((0,o.default)({store:s.default,Tuniaostore:f.default},p.default)),(0,l.RouterMount)(n,l.router,"#app");case 9:case"end":return t.stop()}}),t)}))),h.apply(this,arguments)}(function(){h.apply(this,arguments)})()},"6b48":function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("d3b7"),e("caad"),e("2532"),e("2ca0"),e("99af"),e("14d9"),e("ac1f"),e("00b4"),e("fb6a"),e("e25e"),e("5319"),e("d81d"),e("a9e3"),e("d401"),e("25f0");var a=["red","purplered","purple","bluepurple","aquablue","blue","indigo","cyan","teal","green","yellowgreen","lime","yellow","orangeyellow","orange","orangered","brown","grey","gray"];function r(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;if(t=t.toLowerCase(),t&&e.test(t)){if(4===t.length){for(var a="#",r=1;r<4;r++)a+=t.slice(r,r+1).concat(t.slice(r,r+1));t=a}for(var o=[],i=1;i<7;i+=2)o.push(parseInt("0x"+t.slice(i,i+2)));return n?"rgb(".concat(o[0],", ").concat(o[1],", ").concat(o[2],")"):o}if(/^(rgb|RGB)/.test(t)){var m=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return m.map((function(t){return Number(t)}))}return t}function o(t){if(/^(rgb|RGB)/.test(t)){for(var n=t.replace(/(?:\(|\)|rgb|GRB)*/g,"").split(","),e="#",a=0;a0&&void 0!==arguments[0]?arguments[0]:"bg",n=Math.floor(Math.random()*a.length),e=a[n];return"tn-"+t+"-"+e},getRandomCoolBgClass:function(){var t=16*Math.random()+1;return"tn-cool-bg-color-"+Math.floor(t)},getBackgroundColorInternalClass:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t&&["tn-bg","tn-dynamic-bg","tn-main-gradient","tn-cool-bg"].some((function(n){return t.includes(n)}))?t:""},getBackgroundColorStyle:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t&&(!t.startsWith("tn-")||["#","rgb","rgba"].some((function(n){return t.includes(n)})))?t:""},getFontColorInternalClass:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t&&["tn-color"].some((function(n){return t.includes(n)}))?t:""},getFontColorStyle:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t&&(!t.startsWith("tn-")||["#","rgb","rgba"].some((function(n){return t.includes(n)})))?t:""},colorGradient:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,a=r(t,!1),i=a[0],m=a[1],p=a[2],d=r(n,!1),s=d[0],l=d[1],c=d[2],g=(s-i)/e,f=(l-m)/e,u=(c-p)/e,b=[],h=0;h1&&void 0!==arguments[1]?arguments[1]:.3;t=o(t);var e=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;if(t=t.toLowerCase(),t&&e.test(t)){if(4===t.length){for(var a="#",r=1;r<4;r++)a+=t.slice(r,r+1).concat(t.slice(r,r+1));t=a}for(var i=[],m=1;m<7;m+=2)i.push(parseInt("0x"+t.slice(m,m+2)));return"rgba(".concat(i[0],", ").concat(i[1],", ").concat(i[2],", ").concat(n,")")}return t}};n.default=i},7257:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("4e82"),e("d3b7");var a={random:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.sort((function(){return Math.random()-.5}))},isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)}};n.default=a},"7ab8":function(t,n,e){"use strict";e.r(n);var a=e("103b"),r=e("0d9b");for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);e("852d");var i=e("f0c5"),m=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=m.exports},"7da1":function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(e("c7eb")),o=a(e("1da1")),i=a(e("3c0b")),m=(a(e("a718")),a(e("149b")),{appInfo:{},wechat:{autologin:!0},share:{},payment:{},recharge:uni.getStorageSync("recharge")||{},shareInfo:{},homeTemplate:[]}),p={appInit:function(t,n){return(0,o.default)((0,r.default)().mark((function e(){var a,o;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.commit,o=t.dispatch,"system.config",e.next=4,(0,i.default)("conf.getGroupConf",{group:"system.config"}).then((function(t){var e;return 0===t.code&&(a("appInfo",t.data),uni.setStorageSync("appInfo",t.data),null!==n&&void 0!==n&&null!==(e=n.query)&&void 0!==e&&e.token||o("autoLogin"),t.data)}));case 4:e.sent;case 5:case"end":return e.stop()}}),e)})))()},getTemplate:function(t,n){return(0,o.default)((0,r.default)().mark((function n(){var e,a;return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e=t.commit,n.next=3,(0,i.default)("common.template");case 3:if(a=n.sent,0!==a.code){n.next=10;break}return e("TEMPLATE",a.data),uni.setStorageSync("homeTemplate",a.data),n.abrupt("return",a.data);case 10:return n.abrupt("return",!1);case 11:case"end":return n.stop()}}),n)})))()}},d={state:m,mutations:{appInfo:function(t,n){t.appInfo=n},shareInfo:function(t,n){t.shareInfo=n},TEMPLATE:function(t,n){t.template=n,t.homeTemplate=n}},actions:p,getters:{appInfo:function(t){return t.appInfo},initWechat:function(t){return t.wechat},initShare:function(t){return t.share},shareInfo:function(t){return t.shareInfo},homeTemplate:function(t){return t.homeTemplate}}};n.default=d},"7f91":function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("e9c4"),e("99af");var r=a(e("c7eb")),o=a(e("1da1")),i=(a(e("3c0b")),a(e("9cb9"))),m=a(e("1c6f")),p=e("6645"),d={eventMap:function(t){var n="";switch(t){case"login":n="登录中...";break;case"refresh":n="更新中...";break;case"bind":n="绑定中...";break}return n},login:function(){var t=this;return(0,o.default)((0,r.default)().mark((function n(){return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:"",t.wxOfficialAccountOauth("login");case 2:case"end":return n.stop()}}),n)})))()},refresh:function(){var t=this;return(0,o.default)((0,r.default)().mark((function n(){return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:"",t.wxOfficialAccountOauth("refresh");case 2:case"end":return n.stop()}}),n)})))()},bind:function(){var t=this;return(0,o.default)((0,r.default)().mark((function n(){return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:"",t.wxOfficialAccountOauth("bind");case 2:case"end":return n.stop()}}),n)})))()},wxOfficialAccountOauth:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"login";if("wxOfficialAccount"!==i.default.get())throw uni.showToast({title:"请在微信浏览器中打开",icon:"none"}),!1;var n=i.default.host();console.log(n);var e={host:n,event:t,token:"login"!==t&&m.default.getters.isLogin?uni.getStorageSync("token"):""},a=encodeURIComponent(JSON.stringify(e)),r=encodeURIComponent("".concat(n,"pages/user/signin?payload=").concat(a,"&uniacid=").concat(p.UNIACID)),o="https://open.weixin.qq.com/connect/oauth2/authorize?appid="+m.default.getters.appInfo.wechat_appid+"&redirect_uri=".concat(r,"&response_type=code&scope=snsapi_userinfo&state=1&uniacid=").concat(p.UNIACID);uni.setStorageSync("lastPage",window.location.href),window.location=o,console.log(window.location)},wxOfficialAccountBaseLogin:function(){var t=encodeURIComponent(window.location.href);throw window.location="https://open.weixin.qq.com/connect/oauth2/authorize?appid="+m.default.getters.initWechat.appid+"&redirect_uri=".concat(p.API_URL,"user/wxOfficialAccountBaseLogin&response_type=code&scope=snsapi_base&state=").concat(t),"stop"}};n.default=d},"852d":function(t,n,e){"use strict";var a=e("b83f"),r=e.n(a);r.a},"880c":function(t,n,e){e("ac1f"),e("00b4"),e("d81d"),e("a434"),e("d3b7"),e("b64b"),t.exports={data:function(){return{}},onLoad:function(){this.$t.getRect=this._tGetRect},beforeDestory:function(){var t=this;if(this.parent&&uni.$t.test.array(this.parent.children)){var n=this.parent.children;n.map((function(e,a){e===t&&n.splice(a,1)}))}},methods:{_tGetRect:function(t,n){var e=this;return new Promise((function(a){uni.createSelectorQuery().in(e)[n?"selectAll":"select"](t).boundingClientRect((function(t){n&&Array.isArray(t)&&t.length&&a(t),!n&&t&&a(t)})).exec()}))},getParentData:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent=!1),this.parent=this.$t.$parent.call(this,n),this.parent&&Object.keys(this.parentData).map((function(n){t.parentData[n]=t.parent[n]}))},preventEvent:function(t){t&&t.stopPropagation&&t.stopPropagation()}}}},"891f":function(t,n,e){(function(t){var a,r,o,i=e("7037").default;e("4d63"),e("c607"),e("ac1f"),e("2c3e"),e("25f0"),e("466d"),e("14d9"),e("fb6a"),e("5319"),e("d401"),e("d3b7"),e("d9e2"),e("38cf"),e("e9c4"),e("00b4"),e("ddb0"),e("7a82"),e("b64b"),e("caad"),e("2532"),e("07ac"),e("131a"),e("c975"),e("a4d3"),e("159b"),e("99af"),e("4fad"),e("26e9"),e("a434"),e("498a"),e("4de4"),e("5b81"),e("c760"),e("f8c9"),e("5d41"),e("d81d"),e("2ca0"),e("af93"),e("e01a"),e("d28b"),e("3ca3"),function(e,m){"object"==i(n)&&"object"==i(t)?t.exports=m():(r=[],a=m,o="function"===typeof a?a.apply(n,r):a,void 0===o||(t.exports=o))}(self,(function(){return t={779:function(t,n,e){var a=e(173);t.exports=function t(n,e,r){return a(e)||(r=e||r,e=[]),r=r||{},n instanceof RegExp?function(t,n){var e=t.source.match(/\((?!\?)/g);if(e)for(var a=0;a0?n.vueEachArray[e](t,a,(function(){r&&r()})):n.myEachHook(t,a,(function(o){!1===o?r(!1):n.vueEachArray[e](t,a,(function(t){r(o)}))}),n.router,!0)}},n}(Array);n.MyArray=r,n.proxyEachHook=function(t,n){for(var e=["beforeHooks","afterHooks"],a=0;a0)return!1;window.location.reload()}),0)}else t.mount[0].app.$mount(),t.mount=[]}},814:function(t,n){"use strict";var e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var n,e=1,a=arguments.length;e0)return v}if(""!==m)return f(n);throw new Error(e+" 路径无法在路由表中找到!检查跳转路径及路由表")},n.getDataType=u,n.copyData=function(t){return JSON.parse(JSON.stringify(t))},n.getUniCachePage=function(t){var n=getCurrentPages();if(null==t)return n;if(0===n.length)return n;var e=n.reverse()[t];return null==e?[]:e},n.urlToJson=function(t){var n={},e=t.split("?"),a=e[0],r=e[1];if(null!=r)for(var o=0,i=r.split("&");o3},n.baseClone=b,n.deepClone=h,n.lockDetectWarn=function(t,n,e,a,r){if("afterHooks"===r)a();else{var o=t.options.detectBeforeLock;o&&o(t,n,e),t.$lockStatus?t.options.routerErrorEach({type:2,msg:"当前页面正在处于跳转状态,请稍后再进行跳转...."},t):a()}},n.replaceHook=function(t,n,e,a){var r=n.$options,o=t[e][a],i={};if("[object Array]"===u(o)&&(i={beforeCreate:[],created:[],beforeMount:[],mounted:[],beforeDestroy:[],destroyed:[]}),null!=o){for(var p=m.proxyVueSortHookName[a],d=function(e){var d=p[e],s=r[d];if("[object Array]"===u(s)){if(1===s.length&&s.toString().includes("UNI-SIMPLE-ROUTER"))return"continue";var l={options:[],hook:Function},c=s.splice(s.length-1,1,(function(){for(var t=[],n=0;n0?i[d]=[l]:o[d]=[l]}},s=0;s0&&o.push(i)}},n.callHook=y,n.resetPageHook=function(t,n){var e=n.trim().match(/^(\/?[^\?\s]+)(\?[\s\S]*$)?$/);if(null==e)throw new Error("还原hook失败。请检查 【"+n+"】 路径是否正确。");n=e[1];var a="appletsProxyHook";"app-plus"===t.options.platform&&(a="appProxyHook");for(var r=[],o=0,i=Object.entries(t[a]);o0){var m=void 0;switch("h5"===t.options.platform?m=i.$options.beforeRouteLeave:null!=i.$vm&&(m=i.$vm.$options.beforeRouteLeave),r.getDataType(m)){case"[object Array]":o=(o=m[0]).bind(i);break;case"[object Function]":o=m.bind(i.$vm)}}return s(o,n,e,t,a)}function s(t,n,e,a,r,o){void 0===o&&(o=!0),null!=t&&t instanceof Function?!0===o?t(n,e,r,a,!1):(t(n,e,(function(){}),a,!1),r()):r()}function l(t,n,e,a,o,i){var m=r.forMatNextToFrom(t,n,e),p=m.matTo,d=m.matFrom;"h5"===t.options.platform?c(o,0,i,t,p,d,a):c(o.slice(0,4),0,(function(){i((function(){c(o.slice(4),0,r.voidFun,t,p,d,a)}))}),t,p,d,a)}function c(t,e,m,d,s,l,g){var f=r.routesForMapRoute(d,s.path,["finallyPathMap","pathMap"]);if(t.length-1{[propName: string]: any;}",n):t[e]=i}else{if(!r.assertDeepObject(a))return t;var p=JSON.stringify(a);t[e]={query:p}}return t},n.parseQuery=function(t,n){var e=n.options.parseQuery;if(e)t=e(r.copyData(t)),"[object Object]"!==r.getDataType(t)&&m.warn("请按格式返回参数: parseQuery?:(jsonQuery:{[propName: string]: any;})=>{[propName: string]: any;}",n);else if(Reflect.get(t,"query")){var a=Reflect.get(t,"query");if("string"==typeof a)try{a=JSON.parse(a)}catch(t){m.warn("尝试解析深度对象失败,按原样输出。"+t,n)}if("object"==i(a))return r.deepDecodeQuery(a)}return t},n.stringifyQuery=function(t){var n=t?Object.keys(t).map((function(n){var e=t[n];if(void 0===e)return"";if(null===e)return l(n);if(Array.isArray(e)){var a=[];return e.forEach((function(t){void 0!==t&&(null===t?a.push(l(n)):a.push(l(n)+"="+l(t)))})),a.join("&")}return l(n)+"="+l(e)})).filter((function(t){return t.length>0})).join("&"):null;return n?"?"+n:""}},314:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.rewriteMethod=void 0;var a=e(366),r=e(789),o=e(883),i=e(809),m=["navigateTo","redirectTo","reLaunch","switchTab","navigateBack"];n.rewriteMethod=function(t){!1===t.options.keepUniOriginNav&&m.forEach((function(n){var e=uni[n];uni[n]=function(m,p,d,s){void 0===p&&(p=!1),p?i.uniOriginJump(t,e,n,m,d,s):("app-plus"===t.options.platform&&0===Object.keys(t.appMain).length&&(t.appMain={NAVTYPE:n,path:m.url}),function(t,n,e){if("app-plus"===e.options.platform){var i=null;t&&(i=t.openType),null!=i&&"appLaunch"===i&&(n="reLaunch")}if("reLaunch"===n&&'{"url":"/"}'===JSON.stringify(t)&&(o.warn("uni-app 原生方法:reLaunch({url:'/'}) 默认被重写啦!你可以使用 this.$Router.replaceAll() 或者 uni.reLaunch({url:'/?xxx=xxx'})",e,!0),n="navigateBack",t={from:"backbutton"}),"navigateBack"===n){var m=1;null==t&&(t={delta:1}),"[object Number]"===r.getDataType(t.delta)&&(m=t.delta),e.back(m,t)}else{var p=a.rewriteMethodToggle[n],d=t.url;if(!d.startsWith("/")){var s=r.resolveAbsolutePath(d,e);d=s,t.url=s}if("switchTab"===n){var l=r.routesForMapRoute(e,d,["pathMap","finallyPathList"]),c=r.getRoutePath(l,e).finallyPath;if("[object Array]"===r.getDataType(c)&&o.warn("uni-app 原生方法跳转路径为:"+d+"。此路为是tab页面时,不允许设置 alias 为数组的情况,并且不能为动态路由!当然你可以通过通配符*解决!",e,!0),"*"===c&&o.warn("uni-app 原生方法跳转路径为:"+d+"。在路由表中找不到相关路由表!当然你可以通过通配符*解决!",e,!0),"h5"===e.options.platform){var g=t.success;t.success=function(){for(var n=[],e=0;e0&&Reflect.has(n,"index")){var e=r.getUniCachePage(0);if(0===Object.keys(e).length)return!1;var a=e,o=a.$options.onTabItemTap;if(o)for(var i=0;i0&&r[r.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&void 0!==arguments[0]?arguments[0]:{title:"",desc:"",image:"",params:{}},n=this,e={title:"",desc:"",image:"",path:"",copyLink:"",query:""},a=o.default.getters.appInfo;e.title=""!==t.title?t.title:a.share_title,e.image=""!==t.image?t.image:a.share_img_path,e.desc=""!==t.desc?t.desc:a.share_des;var p=n.setShareQuery(t.params),d=window.location.href.split("/h5")[0]+"/h5?uniacid="+r.UNIACID;return e.path="".concat(d,"&").concat(p),console.log(e),"wxOfficialAccount"===i.default.get()&&m.default.share(e),o.default.commit("shareInfo",e),e},setShareQuery:function(t){var n="0";t&&t.shareId&&(n=o.default.getters.userInfo.id),void 0===t.shareId&&o.default.getters.isLogin&&(n=o.default.getters.userInfo.id);var e="1";void 0!==t.page&&(e=t.page);var a="0";void 0!==t.pageId&&(a=t.pageId);var r=["H5","wxOfficialAccount","wxMiniProgram","App"].indexOf(i.default.get())+1;return"spm=".concat(n,".").concat(e,".").concat(a,".").concat(r,".").concat("1")},getShareQuery:function(t){var n={},e=t.split(".");switch("0"!=e[0]&&(n.shareUserId=e[0]),e[1]){case"1":break;case"2":n.page="/pages/tasklist/taskdetails";break;case"3":n.page="/pages/activity/groupon/detail";break}return"0"!==e[2]&&(n.pageId=e[2]),n.platform=e[3],n.from=e[4],n}};n.default=p},b83f:function(t,n,e){var a=e("002c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=e("4f06").default;r("aef3cc60",a,!0,{sourceMap:!1,shadowMode:!1})},b872:function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("ac1f"),e("466d");var r=a(e("3c0b")),o=(a(e("9cb9")),e("ad28")),i={isWechat:function(){var t=window.navigator.userAgent.toLowerCase();return"micromessenger"==t.match(/micromessenger/i)},initJssdk:function(t){var n=window.location.href.split("#")[0];(0,r.default)("wechat.wechatJssdk",{uri:n}).then((function(n){o.config({debug:n.data.debug,appId:n.data.appId,timestamp:n.data.timestamp,nonceStr:n.data.nonceStr,signature:n.data.signature,jsApiList:n.data.jsApiList,openTagList:n.data.openTagList}),t&&t(n.data)}))},getLocation:function(t){this.isWechat()&&this.initJssdk((function(n){o.ready((function(){o.getLocation({type:"gcj02",success:function(n){t(n)},fail:function(t){console.log("%c微信H5sdk,getLocation失败:","color:green;background:yellow")}})}))}))},openAddress:function(t){this.isWechat()&&this.initJssdk((function(n){o.ready((function(){o.openAddress({success:function(n){t(n)},fail:function(t){console.log("%c微信H5sdk,openAddress失败:","color:green;background:yellow")},complete:function(t){}})}))}))},scanQRCode:function(t){this.isWechat()&&this.initJssdk((function(n){o.ready((function(){o.scanQRCode({needResult:1,scanType:["qrCode","barCode"],success:function(n){t(n)},fail:function(t){console.log("%c微信H5sdk,scanQRCode失败:","color:green;background:yellow")}})}))}))},share:function(t,n){console.log("1",t),this.isWechat()&&this.initJssdk((function(n){o.ready((function(){var n={title:t.title,desc:t.desc,link:t.path,imgUrl:t.image,success:function(t){},cancel:function(t){}};o.updateAppMessageShareData(n),o.updateTimelineShareData(n)}))}))},openLocation:function(t,n){this.isWechat()&&this.initJssdk((function(n){o.ready((function(){o.openLocation({latitude:t.latitude,longitude:t.longitude})}))}))},chooseImage:function(t){this.isWechat()&&this.initJssdk((function(n){o.ready((function(){o.chooseImage({count:1,sizeType:["compressed"],sourceType:["album"],success:function(n){t(n)}})}))}))},wxpay:function(t,n){this.isWechat()&&this.initJssdk((function(e){o.ready((function(){o.chooseWXPay({timestamp:t.timeStamp,nonceStr:t.nonceStr,package:t.package,signType:t.signType,paySign:t.paySign,success:function(t){n(t)},fail:function(t){console.log("%c微信H5sdk,chooseWXPay失败:","color:green;background:yellow"),n(t)},cancel:function(t){}})}))}))}};n.default=i},b951:function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.init=function(t){return c.apply(this,arguments)};var r=a(e("c7eb")),o=a(e("1da1")),i=a(e("1c6f")),m=a(e("3c0b")),p=a(e("9cb9")),d=a(e("e66c")),s=a(e("fd11")),l=a(e("b872"));a(e("81d9"));e("40cb");a(e("7f91"));function c(){return c=(0,o.default)((0,r.default)().mark((function t(n){return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return p.default.entry(),t.next=3,i.default.dispatch("appInit",n);case 3:return t.next=5,i.default.dispatch("getTemplate",n);case 5:case"end":return t.stop()}}),t)}))),c.apply(this,arguments)}var g={install:function(t){t.prototype.$http=m.default,t.prototype.$platform=p.default,t.prototype.$tools=d.default,t.mixin(s.default),t.prototype.$wxsdk=l.default}};n.default=g},c3c5:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={toast:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1500;uni.showToast({title:t,icon:a,mask:n,duration:r,success:function(){setTimeout((function(){e&&e()}),r)}})},loading:function(t){uni.showLoading({title:t,mask:!0})},modal:function(t,n,e){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"确定",i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"取消";uni.showModal({title:t,content:n,showCancel:a,cancelText:i,confirmText:o,success:function(t){t.cancel?r&&r():t.confirm&&e&&e()}})},closeToast:function(){uni.hideToast()},closeLoading:function(){uni.hideLoading()}};n.default=a},cdcc:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={conf:{getGroupConf:{url:"conf/getGroupConf",auth:!1,method:"GET"}},template:{list:{url:"template/list",auth:!1,method:"GET"},info:{url:"template/info",auth:!1,method:"GET"}},ai:{chat:{url:"ai/chat",auth:!0,method:"POST"},getProxy:{url:"ai/getProxy",auth:!0,method:"GET"},test:{url:"ai/test",auth:!1,method:"POST"},getAddress:{url:"ai/getAddress",auth:!0,method:"GET"},checkText:{url:"ai/checkText",auth:!0,method:"GET"}},commission:{addTeam:{url:"commission/addTeam",auth:!1,method:"POST"},teamList:{url:"commission/teamList",auth:!1,method:"GET"},auth:{url:"commission/auth",auth:!1,method:"GET"},apply:{url:"commission/apply",auth:!1,method:"POST"},incomeLog:{url:"commission/incomeLog",auth:!1,method:"GET"},cashoutLog:{url:"commission/cashoutLog",auth:!1,method:"GET"},extract:{url:"commission/extract",auth:!1,method:"POST"},ranking:{url:"commission/ranking",auth:!1,method:"GET"}},question:{list:{url:"question/list",auth:!1,method:"GET"},my:{url:"question/my",auth:!1,method:"GET"},add:{url:"question/add",auth:!1,method:"POST"}},city:{list:{url:"city/list",auth:!1,method:"GET"}},common:{upload:{url:"common/upload",auth:!1,method:"POST"},del_pic:{url:"common/del_pic",auth:!1,method:"POST"},template:{url:"common/template",auth:!1,method:"GET"},sendMobileCode:{url:"common/sendMobileCode",auth:!1,method:"POST"},qrcodePath:{url:"common/qrcodePath",auth:!1,method:"GET"}},wechat:{miniappSilenceAuth:{url:"wechat/miniappSilenceAuth",auth:!1,method:"POST"},miniappAuth:{url:"wechat/miniappAuth",auth:!1,method:"POST"},authBindindPhone:{url:"wechat/authBindindPhone",auth:!1,method:"POST"},wechatJssdk:{url:"wechat/wechatJssdk",auth:!1,method:"GET"},wechatAuth:{url:"wechat/wechatAuth",auth:!1,method:"GET"},authBindindPhoneCode:{url:"wechat/authBindindPhoneCode",auth:!1,method:"POST"}},user:{info:{url:"user/info",auth:!0,method:"POST"},profile:{url:"user/profile",auth:!0,method:"POST"},userData:{url:"user/userData",auth:!0,method:"GET"},login:{url:"user/login",auth:!1,method:"POST"},register:{url:"user/register",auth:!1,method:"POST"}},order:{create:{url:"order/create",auth:!0,method:"POST"},detail:{url:"order/detail",auth:!0,method:"GET"}},pay:{prepay:{url:"pay/prepay",auth:!0,method:"POST"}},member:{list:{url:"member/list",auth:!1,method:"GET"},addCoin:{url:"member/addCoin",auth:!1,method:"POST"},reduceCoin:{url:"member/reduceCoin",auth:!1,method:"POST"},bill:{url:"member/bill",auth:!1,method:"GET"},kami:{url:"member/kami",auth:!1,method:"POST"}},more:{list:{url:"more/list",auth:!1,method:"GET"},visit:{url:"more/visit",auth:!1,method:"POST"}},messageSystem:{list:{url:"messageSystem/list",auth:!1,method:"GET"},detail:{url:"messageSystem/detail",auth:!1,method:"GET"},new:{url:"messageSystem/new",auth:!1,method:"GET"}},chat:{getList:{url:"chat/getList",auth:!1,method:"GET"},getChatHistoryConent:{url:"chat/getChatHistoryConent",auth:!1,method:"GET"},getHead:{url:"chat/getHead",auth:!1,method:"GET"},saveMessage:{url:"chat/saveMessage",auth:!1,method:"POST"},setRead:{url:"chat/setRead",auth:!1,method:"POST"},getChatCode:{url:"chat/getChatCode",auth:!1,method:"GET"}}}},d37f:function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("c975");var r=a(e("e143")),o=a(e("26cb"));r.default.use(o.default);var i={};try{i=uni.getStorageSync("lifeData")}catch(s){}var m=["vuex_user"],p=new o.default.Store({state:{vuex_user:i.vuex_user?i.vuex_user:{name:"图鸟"},vuex_version:"1.0.0",vuex_custom_nav_bar:!0,vuex_status_bar_height:0,vuex_custom_bar_height:0},mutations:{$tStore:function(t,n){var e=n.name.split("."),a="",r=e.length;if(r>=2){for(var o=t[e[0]],i=1;i0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;uni.previewImage({urls:t,current:n,indicator:"default",loop:!0,fail:function(n){console.log("previewImage出错",t,n)}})},splitData:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,e=[],a=[];return t.forEach((function(t){a.length===n&&(a=[]),0===a.length&&e.push(a),a.push(t)})),e},format:function(t){var n={d:"00",h:"00",m:"00",s:"00"};if(t>0){var e=Math.floor(t/86400),a=Math.floor(t/3600%24),r=Math.floor(t/60%60),o=Math.floor(t%60);n.d=e<10?"0"+e:e,n.h=a<10?"0"+a:a,n.m=r<10?"0"+r:r,n.s=o<10?"0"+o:o}return n},callPhone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=t.toString();uni.makePhoneCall({phoneNumber:n,fail:function(t){console.log("makePhoneCall出错",t)}})},checkMPUrl:function(t){return t}};n.default=r},e969:function(t,n,e){"use strict";(function(t){var n=e("4ea4").default;e("13d5"),e("d3b7"),e("ddb0"),e("ac1f"),e("5319");var a=n(e("e143")),r={keys:function(){return[]}};t["____5E42A0C____"]=!0,delete t["____5E42A0C____"],t.__uniConfig={easycom:{"^u-(.*)":"uview-ui/components/u-$1/u-$1.vue","^ins-(.*)":"@/components/ins-$1.vue","^wike-(.*)":"@/components/wike-$1/wike-$1.vue","^tn-(.*)":"@/tuniao-ui/components/tn-$1/tn-$1.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue","^unicloud-db$":"@dcloudio/uni-cli-shared/components/unicloud-db.vue","^uniad$":"@dcloudio/uni-cli-shared/components/uniad.vue","^ad-rewarded-video$":"@dcloudio/uni-cli-shared/components/ad-rewarded-video.vue","^ad-fullscreen-video$":"@dcloudio/uni-cli-shared/components/ad-fullscreen-video.vue","^ad-interstitial$":"@dcloudio/uni-cli-shared/components/ad-interstitial.vue","^ad-interactive$":"@dcloudio/uni-cli-shared/components/ad-interactive.vue","^page-meta$":"@dcloudio/uni-cli-shared/components/page-meta.vue","^navigation-bar$":"@dcloudio/uni-cli-shared/components/navigation-bar.vue","^uni-match-media$":"@dcloudio/uni-cli-shared/components/uni-match-media.vue"},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"首页",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},tabBar:{color:"#979797",selectedColor:"#26B3A0",borderStyle:"white",backgroundColor:"#fff",list:[{pagePath:"pages/index/index",text:"",iconPath:"",selectedIconPath:"",redDot:!1,badge:""},{pagePath:"pages/template/template",text:"",iconPath:"",selectedIconPath:"",redDot:!1,badge:""},{pagePath:"pages/signin/signin",text:"",iconPath:"",selectedIconPath:"",redDot:!1,badge:""},{pagePath:"pages/user/user",text:"",iconPath:"",selectedIconPath:"",redDot:!1,badge:""}]}},t.__uniConfig.compilerVersion="3.7.3",t.__uniConfig.darkmode=!1,t.__uniConfig.themeConfig={},t.__uniConfig.uniPlatform="h5",t.__uniConfig.appId="__UNI__5E42A0C",t.__uniConfig.appName="AI智能问答机器人",t.__uniConfig.appVersion="1.0.0",t.__uniConfig.appVersionCode="100",t.__uniConfig.router={mode:"history",base:siteConfig.root+"/h5/"},t.__uniConfig.publicPath=siteConfig.root+"/h5/",t.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},t.__uniConfig.debug=!1,t.__uniConfig.networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},t.__uniConfig.sdkConfigs={maps:{qqmap:{key:"EDJBZ-G5CCP-RCNDN-VROAR-KDCV2-J5FK4"}}},t.__uniConfig.qqMapKey="EDJBZ-G5CCP-RCNDN-VROAR-KDCV2-J5FK4",t.__uniConfig.googleMapKey=void 0,t.__uniConfig.aMapKey=void 0,t.__uniConfig.aMapSecurityJsCode=void 0,t.__uniConfig.aMapServiceHost=void 0,t.__uniConfig.locale="",t.__uniConfig.fallbackLocale=void 0,t.__uniConfig.locales=r.keys().reduce((function(t,n){var e=n.replace(/\.\/(uni-app.)?(.*).json/,"$2"),a=r(n);return Object.assign(t[e]||(t[e]={}),a.common||a),t}),{}),t.__uniConfig.nvue={"flex-direction":"column"},t.__uniConfig.__webpack_chunk_load__=e.e,a.default.component("pages-index-index",(function(t){var n={component:Promise.all([e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~7a6881a5"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~bdd94371"),e.e("pages-index-index~pages-signin-signin~pages-template-detail~pages-template-template~pages-user-user"),e.e("pages-chat-chat~pages-index-index"),e.e("pages-index-index")]).then(function(){return t(e("ccee"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-user",(function(t){var n={component:Promise.all([e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~7a6881a5"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~bdd94371"),e.e("pages-index-index~pages-signin-signin~pages-template-detail~pages-template-template~pages-user-user"),e.e("pages-user-user")]).then(function(){return t(e("2743"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-chat-chat",(function(t){var n={component:Promise.all([e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~7a6881a5"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~bdd94371"),e.e("pages-chat-chat~pages-template-template~pages-user-commission-team~pages-user-member-member~pages-us~46760104"),e.e("pages-chat-chat~pages-index-index"),e.e("pages-chat-chat")]).then(function(){return t(e("bcdf"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-signin",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~7a6881a5"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~bdd94371"),e.e("pages-user-signin")]).then(function(){return t(e("062e"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-public-agreement",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-user-public-agreement")]).then(function(){return t(e("0332"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-member-member",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~7a6881a5"),e.e("pages-chat-chat~pages-template-template~pages-user-commission-team~pages-user-member-member~pages-us~46760104"),e.e("pages-user-member-member")]).then(function(){return t(e("0b99"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-public-paymentdetail",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-user-public-paymentdetail")]).then(function(){return t(e("1ab0"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-member-record",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-user-commission-rankings~pages-user-commission-team~pages-user-commission-withdraw-log~pages-u~73b175ee"),e.e("pages-user-member-record")]).then(function(){return t(e("f71a"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-wx-wx",(function(t){var n={component:e.e("pages-wx-wx").then(function(){return t(e("ba89"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-wx-newsdetail",(function(t){var n={component:e.e("pages-wx-newsdetail").then(function(){return t(e("8c05"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-public-kefu",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-user-public-kefu")]).then(function(){return t(e("6102"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-public-webview",(function(t){var n={component:e.e("pages-user-public-webview").then(function(){return t(e("3c98"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-takenotes-takenotes",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-user-commission-rankings~pages-user-commission-team~pages-user-commission-withdraw-log~pages-u~73b175ee"),e.e("pages-chat-chat~pages-template-template~pages-user-commission-team~pages-user-member-member~pages-us~46760104"),e.e("pages-user-takenotes-takenotes")]).then(function(){return t(e("6d3c"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-commission-team",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-user-commission-rankings~pages-user-commission-team~pages-user-commission-withdraw-log~pages-u~73b175ee"),e.e("pages-chat-chat~pages-template-template~pages-user-commission-team~pages-user-member-member~pages-us~46760104"),e.e("pages-user-commission-team")]).then(function(){return t(e("ec14"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-commission-index",(function(t){var n={component:Promise.all([e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~7a6881a5"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~bdd94371"),e.e("pages-user-commission-index")]).then(function(){return t(e("31cf"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-commission-commission-log",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~7a6881a5"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~bdd94371"),e.e("pages-user-commission-commission-log~pages-user-commission-withdraw"),e.e("pages-user-commission-commission-log")]).then(function(){return t(e("ddd5"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-commission-withdraw",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~7a6881a5"),e.e("pages-chat-chat~pages-index-index~pages-user-commission-commission-log~pages-user-commission-index~p~bdd94371"),e.e("pages-user-commission-commission-log~pages-user-commission-withdraw"),e.e("pages-user-commission-withdraw")]).then(function(){return t(e("0d76"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-commission-withdraw-log",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-user-commission-rankings~pages-user-commission-team~pages-user-commission-withdraw-log~pages-u~73b175ee"),e.e("pages-user-commission-withdraw-log")]).then(function(){return t(e("7b11"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-commission-rankings",(function(t){var n={component:Promise.all([e.e("pages-user-commission-commission-log~pages-user-commission-rankings~pages-user-commission-team~pages~f5c69bf0"),e.e("pages-user-commission-rankings~pages-user-commission-team~pages-user-commission-withdraw-log~pages-u~73b175ee"),e.e("pages-user-commission-rankings")]).then(function(){return t(e("a41f"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-user-userinfo",(function(t){var n={component:e.e("pages-user-userinfo").then(function(){return t(e("5b3d"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-template-template",(function(t){var n={component:Promise.all([e.e("pages-index-index~pages-signin-signin~pages-template-detail~pages-template-template~pages-user-user"),e.e("pages-chat-chat~pages-template-template~pages-user-commission-team~pages-user-member-member~pages-us~46760104"),e.e("pages-template-template")]).then(function(){return t(e("288a"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-template-detail",(function(t){var n={component:Promise.all([e.e("pages-index-index~pages-signin-signin~pages-template-detail~pages-template-template~pages-user-user"),e.e("pages-template-detail")]).then(function(){return t(e("1d0b"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-signin-signin",(function(t){var n={component:Promise.all([e.e("pages-index-index~pages-signin-signin~pages-template-detail~pages-template-template~pages-user-user"),e.e("pages-signin-signin")]).then(function(){return t(e("ced0"))}.bind(null,e)).catch(e.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),n})),t.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0},__uniConfig.globalStyle,{navigationBarTextStyle:"black",navigationBarTitleText:"首页",navigationBarBackgroundColor:"#F5FFFD",backgroundColor:"#fff",onReachBottomDistance:20,navigationStyle:"custom",enablePullDownRefresh:!1})},[t("pages-index-index",{slot:"page"})])}},meta:{id:1,name:"pages-index-index",isNVue:!1,maxWidth:0,pagePath:"pages/index/index",isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,windowTop:0}},{path:"/pages/user/user",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:3},__uniConfig.globalStyle,{navigationBarTitleText:"个人中心",enablePullDownRefresh:!1,navigationBarTextStyle:"black",navigationStyle:"custom",navigationBarBackgroundColor:"#F5FFFD",backgroundColor:"#F2F2F2"})},[t("pages-user-user",{slot:"page"})])}},meta:{id:2,name:"pages-user-user",isNVue:!1,maxWidth:0,pagePath:"pages/user/user",isQuit:!0,isTabBar:!0,tabBarIndex:3,windowTop:0}},{path:"/pages/chat/chat",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",navigationBarTextStyle:"black",navigationBarBackgroundColor:"#fff",backgroundColor:"#F1F1F1"})},[t("pages-chat-chat",{slot:"page"})])}},meta:{name:"pages-chat-chat",isNVue:!1,maxWidth:0,pagePath:"pages/chat/chat",windowTop:0}},{path:"/pages/user/signin",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationBarTextStyle:"white",navigationStyle:"custom"})},[t("pages-user-signin",{slot:"page"})])}},meta:{name:"pages-user-signin",isNVue:!1,maxWidth:0,pagePath:"pages/user/signin",windowTop:0}},{path:"/pages/user/public/agreement",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#ffffff",navigationBarTextStyle:"white",navigationStyle:"custom"})},[t("pages-user-public-agreement",{slot:"page"})])}},meta:{name:"pages-user-public-agreement",isNVue:!1,maxWidth:0,pagePath:"pages/user/public/agreement",windowTop:0}},{path:"/pages/user/member/member",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#26B3A0",navigationBarTextStyle:"white",navigationStyle:"custom",backgroundColor:"#fff"})},[t("pages-user-member-member",{slot:"page"})])}},meta:{name:"pages-user-member-member",isNVue:!1,maxWidth:0,pagePath:"pages/user/member/member",windowTop:0}},{path:"/pages/user/public/paymentdetail",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationBarTextStyle:"black",navigationStyle:"custom"})},[t("pages-user-public-paymentdetail",{slot:"page"})])}},meta:{name:"pages-user-public-paymentdetail",isNVue:!1,maxWidth:0,pagePath:"pages/user/public/paymentdetail",windowTop:0}},{path:"/pages/user/member/record",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#26B3A0",navigationBarTextStyle:"white",navigationStyle:"custom",backgroundColor:"#F6F7FB"})},[t("pages-user-member-record",{slot:"page"})])}},meta:{name:"pages-user-member-record",isNVue:!1,maxWidth:0,pagePath:"pages/user/member/record",windowTop:0}},{path:"/pages/wx/wx",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationStyle:"custom"})},[t("pages-wx-wx",{slot:"page"})])}},meta:{name:"pages-wx-wx",isNVue:!1,maxWidth:0,pagePath:"pages/wx/wx",windowTop:0}},{path:"/pages/wx/newsdetail",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"详情",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#fff",navigationStyle:"default"})},[t("pages-wx-newsdetail",{slot:"page"})])}},meta:{name:"pages-wx-newsdetail",isNVue:!1,maxWidth:0,pagePath:"pages/wx/newsdetail",windowTop:44}},{path:"/pages/user/public/kefu",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationBarTextStyle:"white",navigationStyle:"custom"})},[t("pages-user-public-kefu",{slot:"page"})])}},meta:{name:"pages-user-public-kefu",isNVue:!1,maxWidth:0,pagePath:"pages/user/public/kefu",windowTop:0}},{path:"/pages/user/public/webview",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1})},[t("pages-user-public-webview",{slot:"page"})])}},meta:{name:"pages-user-public-webview",isNVue:!1,maxWidth:0,pagePath:"pages/user/public/webview",windowTop:44}},{path:"/pages/user/takenotes/takenotes",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#fff",navigationBarTextStyle:"white",navigationStyle:"custom"})},[t("pages-user-takenotes-takenotes",{slot:"page"})])}},meta:{name:"pages-user-takenotes-takenotes",isNVue:!1,maxWidth:0,pagePath:"pages/user/takenotes/takenotes",windowTop:0}},{path:"/pages/user/commission/team",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#ffffff"})},[t("pages-user-commission-team",{slot:"page"})])}},meta:{name:"pages-user-commission-team",isNVue:!1,maxWidth:0,pagePath:"pages/user/commission/team",windowTop:0}},{path:"/pages/user/commission/index",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#ffffff"})},[t("pages-user-commission-index",{slot:"page"})])}},meta:{name:"pages-user-commission-index",isNVue:!1,maxWidth:0,pagePath:"pages/user/commission/index",windowTop:0}},{path:"/pages/user/commission/commission-log",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#ffffff"})},[t("pages-user-commission-commission-log",{slot:"page"})])}},meta:{name:"pages-user-commission-commission-log",isNVue:!1,maxWidth:0,pagePath:"pages/user/commission/commission-log",windowTop:0}},{path:"/pages/user/commission/withdraw",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#ffffff"})},[t("pages-user-commission-withdraw",{slot:"page"})])}},meta:{name:"pages-user-commission-withdraw",isNVue:!1,maxWidth:0,pagePath:"pages/user/commission/withdraw",windowTop:0}},{path:"/pages/user/commission/withdraw-log",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#ffffff"})},[t("pages-user-commission-withdraw-log",{slot:"page"})])}},meta:{name:"pages-user-commission-withdraw-log",isNVue:!1,maxWidth:0,pagePath:"pages/user/commission/withdraw-log",windowTop:0}},{path:"/pages/user/commission/rankings",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#ffffff"})},[t("pages-user-commission-rankings",{slot:"page"})])}},meta:{name:"pages-user-commission-rankings",isNVue:!1,maxWidth:0,pagePath:"pages/user/commission/rankings",windowTop:0}},{path:"/pages/user/userinfo",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1,navigationBarBackgroundColor:"#ffffff"})},[t("pages-user-userinfo",{slot:"page"})])}},meta:{name:"pages-user-userinfo",isNVue:!1,maxWidth:0,pagePath:"pages/user/userinfo",windowTop:0}},{path:"/pages/template/template",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:1},__uniConfig.globalStyle,{navigationBarTitleText:"提问模板",navigationBarBackgroundColor:"#F5FFFD",navigationStyle:"custom",enablePullDownRefresh:!1,backgroundColor:"#fff"})},[t("pages-template-template",{slot:"page"})])}},meta:{id:3,name:"pages-template-template",isNVue:!1,maxWidth:0,pagePath:"pages/template/template",isQuit:!0,isTabBar:!0,tabBarIndex:1,windowTop:0}},{path:"/pages/template/detail",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",enablePullDownRefresh:!1,navigationStyle:"custom",backgroundColor:"#fff"})},[t("pages-template-detail",{slot:"page"})])}},meta:{name:"pages-template-detail",isNVue:!1,maxWidth:0,pagePath:"pages/template/detail",windowTop:0}},{path:"/pages/signin/signin",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:2},__uniConfig.globalStyle,{navigationBarTitleText:"每日任务",navigationBarBackgroundColor:"#F5FFFD",navigationStyle:"custom",enablePullDownRefresh:!1,backgroundColor:"#F2F2F2"})},[t("pages-signin-signin",{slot:"page"})])}},meta:{id:4,name:"pages-signin-signin",isNVue:!1,maxWidth:0,pagePath:"pages/signin/signin",isQuit:!0,isTabBar:!0,tabBarIndex:2,windowTop:0}},{path:"/choose-location",component:{render:function(t){return t("Page",{props:{navigationStyle:"custom"}},[t("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(t){return t("Page",{props:{navigationStyle:"custom"}},[t("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],t.UniApp&&new t.UniApp}).call(this,e("c8ba"))},fc6f:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=this.$parent;while(n){if(!n.$options||n.$options.name===t)return n;n=n.$parent}return!1}},fd11:function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("ac1f"),e("5319");var r=a(e("1c6f")),o=a(e("a718")),i=a(e("3c0b")),m=(a(e("9cb9")),e("4122")),p={onLoad:function(t){if(null!==t&&void 0!==t&&t.page&&m.router.replace({path:decodeURIComponent(t.page)}),null!==t&&void 0!==t&&t.custom_id&&m.router.replace({path:"/pages/index/view",query:{id:t.custom_id}}),null!==t&&void 0!==t&&t.spm){var n=o.default.getShareQuery(t.spm);n.shareUserId&&(r.default.getters.isLogin?(0,i.default)("commission.addTeam",{spm:t.spm}):uni.setStorageSync("spm",t.spm));var e={};n.page&&(e.path=n.page),n.pageId&&(e.query={id:n.pageId}),e.path&&m.router.replace(e)}}};n.default=p}});