text: !function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=36)}([function(t,e,n){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.weexPlus=e.default=void 0,o="function"==typeof getUni?getUni:function(){var t=function(t){return"function"==typeof t},e=/^\$|^on|^create|Sync$|Manager$|^pause/,n=["os","getCurrentSubNVue","getSubNVueById","stopRecord","stopVoice","stopBackgroundAudio","stopPullDownRefresh","hideKeyboard","hideToast","hideLoading","showNavigationBarLoading","hideNavigationBarLoading","canIUse","navigateBack","closeSocket","pageScrollTo","drawCanvas"],o=function(t){return!(e.test(t)&&"createBLEConnection"!==t||~n.indexOf(t))},a=function(e){return function(){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(a.success)||t(a.fail)||t(a.complete)?e.apply(void 0,[a].concat(o)):new Promise(function(t,n){e.apply(void 0,[Object.assign({},a,{success:t,fail:n})].concat(o)),Promise.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){throw n})})}}).then(function(t){return[null,t]}).catch(function(t){return[t]})}},r=[],s=void 0;function u(t){r.forEach(function(e){return e({origin:s,data:t})})}var c=i.webview.currentWebview().id,l=new BroadcastChannel("UNI-APP-SUBNVUE");function p(t){t.$processed=!0;var e=i.webview.currentWebview().id===t.id,n="uniNView"===t.__uniapp_origin_type&&t.__uniapp_origin_id,o=t.id;if(t.postMessage=function(t){n?l.postMessage({data:t,to:e?n:o}):S({type:"UniAppSubNVue",data:t})},t.onMessage=function(t){r.push(t)},t.__uniapp_mask_id){s=t.__uniapp_host;var a=t.__uniapp_mask,u=i.webview.getWebviewById(t.__uniapp_mask_id);u=u.parent()||u;var c=t.show,p=t.hide,f=t.close,d=function(){u.setStyle({mask:"none"})};t.show=function(){u.setStyle({mask:a});for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return c.apply(t,n)},t.hide=function(){d();for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return p.apply(t,n)},t.close=function(){d();for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return f.apply(t,n)}}}function f(t){var e=i.webview.getWebviewById(t);return e&&!e.$processed&&p(e),e}l.onmessage=function(t){t.data.to===c&&u(t.data.data)};var d=weex.requireModule("plus"),g=weex.requireModule("globalEvent"),h=0,v={},y="__uniapp__service";g.addEventListener("plusMessage",function(t){"UniAppJsApi"===t.data.type?_(t.data.id,t.data.data):"UniAppSubNVue"===t.data.type?u(t.data.data,t.data.options):"onNavigationBarButtonTap"===t.data.type?"function"==typeof w&&w(t.data.data):"onNavigationBarSearchInputChanged"===t.data.type?"function"==typeof N&&N(t.data.data):"onNavigationBarSearchInputConfirmed"===t.data.type?"function"==typeof T&&T(t.data.data):"onNavigationBarSearchInputClicked"===t.data.type&&"function"==typeof k&&k(t.data.data)});var _=function(t,e){var n=v[t];n?(n(e),n.keepAlive||delete v[t]):console.error("callback["+t+"] is undefined")},m=function(e){var n,o,i=e.id,a=e.type,r=e.params;v[i]=(o=function(e){t(n)?n(e):n&&(~e.errMsg.indexOf(":ok")?t(n.success)&&n.success(e):~e.errMsg.indexOf(":fail")&&t(n.fail)&&n.fail(e),t(n.complete)&&n.complete(e))},(t(n=r)||n&&t(n.callback))&&(o.keepAlive=!0),o),d.postMessage({id:i,type:a,params:r},y)};function S(t){d.postMessage(t,y)}var b=function(t){return function(e){m({id:h++,type:t,params:e})}},w=void 0,N=void 0,T=void 0,k=void 0;function D(t){w=t}function C(t){N=t}function x(t){T=t}function I(t){k=t}function B(t){return weex.requireModule(t)}var O=weex.requireModule("dom"),q=weex.requireModule("globalEvent"),P=[];function R(t){"function"==typeof t&&(this.isUniAppReady?t():P.push(t))}q.addEventListener("plusMessage",function(t){"UniAppReady"===t.data.type&&(R.isUniAppReady=!0,P.length&&(P.forEach(function(t){return t()}),P=[]))});var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},M=weex.requireModule("stream"),$="GET",E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/x-www-form-urlencoded";return"object"===(void 0===t?"undefined":j(t))?"POST"===e.toUpperCase()&&"application/json"===n.toLowerCase()?JSON.stringify(t):Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&"):t},A=weex.requireModule("plusstorage"),V="__TYPE",U=weex.requireModule("clipboard"),L=function(){if("function"==typeof getUniEmitter)return getUniEmitter;var t={$on:function(){console.warn("uni.$on failed")},$off:function(){console.warn("uni.$off failed")},$once:function(){console.warn("uni.$once failed")},$emit:function(){console.warn("uni.$emit failed")}};return function(){return t}}();function H(t,e,n){return t[e].apply(t,n)}var F=Object.freeze({loadFontFace:function(e){var n=e.family,o=e.source,i=(e.desc,e.success),a=(e.fail,e.complete);O.addRule("fontFace",{fontFamily:n,src:o.replace(/"/g,"'")});var r={errMsg:"loadFontFace:ok",status:"loaded"};t(i)&&i(r),t(a)&&a(r)},ready:R,request:function(e){var n=e.url,o=e.data,i=e.header,a=e.method,r=void 0===a?"GET":a,s=e.dataType,u=void 0===s?"json":s,c=(e.responseType,e.success),l=e.fail,p=e.complete,f=!1,d=!1,g={};if(i)for(var h in i)d||"content-type"!==h.toLowerCase()?g[h]=i[h]:(d=!0,g["Content-Type"]=i[h]);return r===$&&o&&(n=n+(~n.indexOf("?")?"&"===n.substr(-1)||"?"===n.substr(-1)?"":"&":"?")+E(o)),M.fetch({url:n,method:r,headers:g,type:"json"===u?"json":"text",body:r!==$?E(o,r,g["Content-Type"]):""},function(e){var n=e.status,o=(e.ok,e.statusText,e.data),i=e.headers,a={};!n||-1===n||f?(a.errMsg="request:fail",t(l)&&l(a)):(a.data=o,a.statusCode=n,a.header=i,t(c)&&c(a)),t(p)&&p(a)}),{abort:function(){f=!0}}},getStorage:function(e){var n=e.key,o=(e.data,e.success),i=e.fail,a=e.complete;A.getItem(n+V,function(e){if("success"===e.result){var r=e.data;A.getItem(n,function(e){if("success"===e.result){var n=e.data;r&&n?("String"!==r&&(n=JSON.parse(n)),t(o)&&o({errMsg:"getStorage:ok",data:n})):(e.errMsg="setStorage:fail",t(i)&&i(e))}else e.errMsg="setStorage:fail",t(i)&&i(e);t(a)&&a(e)})}else e.errMsg="setStorage:fail",t(i)&&i(e),t(a)&&a(e)})},setStorage:function(e){var n=e.key,o=e.data,i=e.success,a=e.fail,r=e.complete,s="String";"object"===(void 0===o?"undefined":j(o))&&(s="Object",o=JSON.stringify(o)),A.setItem(n,o,function(e){"success"===e.result?A.setItem(n+V,s,function(e){"success"===e.result?t(i)&&i({errMsg:"setStorage:ok"}):(e.errMsg="setStorage:fail",t(a)&&a(e))}):(e.errMsg="setStorage:fail",t(a)&&a(e)),t(r)&&r(e)})},removeStorage:function(e){var n=e.key,o=(e.data,e.success),i=e.fail,a=e.complete;A.removeItem(n,function(e){"success"===e.result?t(o)&&o({errMsg:"removeStorage:ok"}):(e.errMsg="removeStorage:fail",t(i)&&i(e)),t(a)&&a(e)}),A.removeItem(n+V)},clearStorage:function(t){t.key,t.data,t.success,t.fail,t.complete},getClipboardData:function(e){var n=e.success,o=(e.fail,e.complete);U.getString(function(e){var i={errMsg:"getClipboardData:ok",data:e.data};t(n)&&n(i),t(o)&&o(i)})},setClipboardData:function(e){var n=e.data,o=e.success,i=(e.fail,e.complete),a={errMsg:"setClipboardData:ok"};U.setString(n),t(o)&&o(a),t(i)&&i(a)},onSubNVueMessage:u,getSubNVueById:f,getCurrentSubNVue:function(){return f(i.webview.currentWebview().id)},$on:function(){return H(L(),"$on",[].concat(Array.prototype.slice.call(arguments)))},$off:function(){return H(L(),"$off",[].concat(Array.prototype.slice.call(arguments)))},$once:function(){return H(L(),"$once",[].concat(Array.prototype.slice.call(arguments)))},$emit:function(){return H(L(),"$emit",[].concat(Array.prototype.slice.call(arguments)))}}),J={os:{nvue:!0}},z={};return"undefined"!=typeof Proxy?z=new Proxy({},{get:function(t,e){if("os"===e)return{nvue:!0};if("postMessage"===e)return S;if("requireNativePlugin"===e)return B;if("onNavigationBarButtonTap"===e)return D;if("onNavigationBarSearchInputChanged"===e)return C;if("onNavigationBarSearchInputConfirmed"===e)return x;if("onNavigationBarSearchInputClicked"===e)return I;var n=F[e];return n||(n=b(e)),o(e)?a(n):n}}):(Object.keys(J).forEach(function(t){z[t]=J[t]}),z.postMessage=S,z.requireNativePlugin=B,z.onNavigationBarButtonTap=D,z.onNavigationBarSearchInputChanged=C,z.onNavigationBarSearchInputConfirmed=x,z.onNavigationBarSearchInputClicked=I,Object.keys({uploadFile:!0,downloadFile:!0,chooseImage:!0,previewImage:!0,getImageInfo:!0,saveImageToPhotosAlbum:!0,chooseVideo:!0,saveVideoToPhotosAlbum:!0,saveFile:!0,getSavedFileList:!0,getSavedFileInfo:!0,removeSavedFile:!0,openDocument:!0,setStorage:!0,getStorage:!0,getStorageInfo:!0,removeStorage:!0,clearStorage:!0,getLocation:!0,chooseLocation:!0,openLocation:!0,getSystemInfo:!0,getNetworkType:!0,makePhoneCall:!0,scanCode:!0,setScreenBrightness:!0,getScreenBrightness:!0,setKeepScreenOn:!0,vibrateLong:!0,vibrateShort:!0,addPhoneContact:!0,showToast:!0,showLoading:!0,hideToast:!0,hideLoading:!0,showModal:!0,showActionSheet:!0,setNavigationBarTitle:!0,setNavigationBarColor:!0,navigateTo:!0,redirectTo:!0,reLaunch:!0,switchTab:!0,navigateBack:!0,getProvider:!0,login:!0,getUserInfo:!0,share:!0,requestPayment:!0,subscribePush:!0,unsubscribePush:!0,onPush:!0,offPush:!0}).forEach(function(t){var e=F[t];e||(e=b(t)),o(t)?z[t]=a(e):z[t]=e})),z};var i=new WeexPlus(weex);e.weexPlus=i;var a=o(weex,i,BroadcastChannel);e.default=a},function(t,e,n){"use strict";n.r(e),e.default={appid:"__UNI__010C860"}},function(t,e,n){"use strict";function o(t,e,n,o,i,a,r,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),r?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:c}}n.d(e,"a",function(){return o})},function(t,e,n){"use strict";(function(t,e){function o(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var c=n(4).version,l="__DC_STAT_UUID",p="__DC_UUID_VALUE";function f(){var n="";if("n"===h()){try{n=t.runtime.getDCloudId()}catch(t){n=""}return n}try{n=e.getStorageSync(l)}catch(t){n=p}if(!n){n=Date.now()+""+Math.floor(1e7*Math.random());try{e.setStorageSync(l,n)}catch(t){e.setStorageSync(l,p)}}return n}var d,g=function(){return parseInt((new Date).getTime()/1e3)},h=function(){return"n"},v=function(){var t="";return"wx"!==h()&&"qq"!==h()||(t=e.getAccountInfoSync().miniProgram.appId||""),t},y=function(){return"n"===h()?t.runtime.version:""},_=function(){var e="";return"n"===h()&&(e=t.runtime.channel),e},m=0,S=0,b=function(){return m=g(),"n"===h()&&e.setStorageSync("__page__residence__time",g()),m},w=0,N=0,T=function(){var t=(new Date).getTime();return w=t,N=0,t},k=function(){var t=(new Date).getTime();return N=t,t},D=function(t){var e=0;return 0!==w&&(e=N-w),e=(e=parseInt(e/1e3))<1?1:e,"app"===t?{residenceTime:e,overtime:e>300}:"page"===t?{residenceTime:e,overtime:e>1800}:{residenceTime:e}},C=function(t){var e=getCurrentPages(),n=e[e.length-1].$vm,o=t._query,i=o&&"{}"!==JSON.stringify(o)?"?"+JSON.stringify(o):"";return t._query="","bd"===h()?n.$mp&&n.$mp.page.is+i:n.$scope&&n.$scope.route+i||n.$mp&&n.$mp.page.route+i},x=function(t){return!!("page"===t.mpType||t.$mp&&"page"===t.$mp.mpType||"page"===t.$options.mpType)},I=n(5).default,B=n(1).default||n(1),O=e.getSystemInfoSync(),q=function(){function n(){r(this,n),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:f(),ut:h(),mpn:v(),ak:B.appid,usv:c,v:y(),ch:_(),cn:"",pn:"",ct:"",t:g(),tt:"",p:"android"===O.platform?"a":"i",brand:O.brand||"",md:O.model,sv:O.system.replace(/(Android|iOS)\s/,""),mpsdk:O.SDKVersion||"",mpv:O.version||"",lang:O.language,pr:O.pixelRatio,ww:O.windowWidth,wh:O.windowHeight,sw:O.screenWidth,sh:O.screenHeight}}return u(n,[{key:"_applicationShow",value:function(){if(this.__licationHide){if(k(),D("app").overtime){var t={path:this._lastPageRoute,scene:this.statData.sc};this._sendReportRequest(t)}this.__licationHide=!1}}},{key:"_applicationHide",value:function(t,e){this.__licationHide=!0,k();var n=D();T();var o=C(this);this._sendHideRequest({urlref:o,urlref_ts:n.residenceTime},e)}},{key:"_pageShow",value:function(){var t,e,n=C(this),o=(t=getCurrentPages(),e=t[t.length-1].$vm,"bd"===h()?e.$mp&&e.$mp.page.is:e.$scope&&e.$scope.route||e.$mp&&e.$mp.page.route);if(this._navigationBarTitle.config=I&&I.pages[o]&&I.pages[o].titleNView&&I.pages[o].titleNView.titleText||I&&I.pages[o]&&I.pages[o].navigationBarTitleText||"",this.__licationShow)return T(),this.__licationShow=!1,void(this._lastPageRoute=n);if(k(),this._lastPageRoute=n,D("page").overtime){var i={path:this._lastPageRoute,scene:this.statData.sc};this._sendReportRequest(i)}T()}},{key:"_pageHide",value:function(){if(!this.__licationHide){k();var t=D("page");return this._sendPageRequest({url:this._lastPageRoute,urlref:this._lastPageRoute,urlref_ts:t.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(t){this._sendEventRequest({key:t},0)}},{key:"_sendReportRequest",value:function(t){this._navigationBarTitle.lt="1";var n,o,i=t.query&&"{}"!==JSON.stringify(t.query)?"?"+JSON.stringify(t.query):"";this.statData.lt="1",this.statData.url=t.path+i||"",this.statData.t=g(),this.statData.sc=function(t){var n=h(),o="";return t||("wx"===n&&(o=e.getLaunchOptionsSync().scene),o)}(t.scene),this.statData.fvts=(n=e.getStorageSync("First__Visit__Time"),o=0,n?o=n:(o=g(),e.setStorageSync("First__Visit__Time",o),e.removeStorageSync("Last__Visit__Time")),o),this.statData.lvts=function(){var t=e.getStorageSync("Last__Visit__Time"),n=0;return n=t||"",e.setStorageSync("Last__Visit__Time",g()),n}(),this.statData.tvc=function(){var t=e.getStorageSync("Total__Visit__Count"),n=1;return t&&(n=t,n++),e.setStorageSync("Total__Visit__Count",n),n}(),"n"===h()?this.getProperty():this.getNetworkInfo()}},{key:"_sendPageRequest",value:function(t){var e=t.url,n=t.urlref,o=t.urlref_ts;this._navigationBarTitle.lt="11";var i={ak:this.statData.ak,uuid:this.statData.uuid,lt:"11",ut:this.statData.ut,url:e,tt:this.statData.tt,urlref:n,urlref_ts:o,ch:this.statData.ch,usv:this.statData.usv,t:g(),p:this.statData.p};this.request(i)}},{key:"_sendHideRequest",value:function(t,e){var n=t.urlref,o=t.urlref_ts,i={ak:this.statData.ak,uuid:this.statData.uuid,lt:"3",ut:this.statData.ut,urlref:n,urlref_ts:o,ch:this.statData.ch,usv:this.statData.usv,t:g(),p:this.statData.p};this.request(i,e)}},{key:"_sendEventRequest",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=void 0===e?"":e,o=t.value,i=void 0===o?"":o,a=this._lastPageRoute,r={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 i?JSON.stringify(i):i.toString(),usv:this.statData.usv,t:g(),p:this.statData.p};this.request(r)}},{key:"getNetworkInfo",value:function(){var t=this;e.getNetworkType({success:function(e){t.statData.net=e.networkType,t.getLocation()}})}},{key:"getProperty",value:function(){var e=this;t.runtime.getProperty(t.runtime.appid,function(t){e.statData.v=t.version||"",e.getNetworkInfo()})}},{key:"getLocation",value:function(){var t=this;B.getLocation?e.getLocation({type:"wgs84",geocode:!0,success:function(e){e.address&&(t.statData.cn=e.address.country,t.statData.pn=e.address.province,t.statData.ct=e.address.city),t.statData.lat=e.latitude,t.statData.lng=e.longitude,t.request(t.statData)}}):(this.statData.lat=0,this.statData.lng=0,this.request(this.statData))}},{key:"request",value:function(t,n){var o=this,i=g(),a=this._navigationBarTitle;t.ttn=a.page,t.ttpj=a.config,t.ttc=a.report;var r=this._reportingRequestData;if("n"===h()&&(r=e.getStorageSync("__UNI__STAT__DATA")||{}),r[t.lt]||(r[t.lt]=[]),r[t.lt].push(t),"n"===h()&&e.setStorageSync("__UNI__STAT__DATA",r),S=g(),"n"===h()&&(m=e.getStorageSync("__page__residence__time")),!(S-m<10)||n){var s=this._reportingRequestData;"n"===h()&&(s=e.getStorageSync("__UNI__STAT__DATA")),b();var u=[],l=[],p=[],f=function(t){s[t].forEach(function(e){var n=function(t){var e="";for(var n in t)e+=n+"="+t[n]+"&";return e.substr(0,e.length-1)}(e);0===t?u.push(n):3===t?p.push(n):l.push(n)})};for(var d in s)f(d);u.push.apply(u,l.concat(p));var v={usv:c,t:i,requests:JSON.stringify(u)};this._reportingRequestData={},"n"===h()&&e.removeStorageSync("__UNI__STAT__DATA"),"h5"!==t.ut?"n"!==h()||"a"!==this.statData.p?this._sendRequest(v):setTimeout(function(){o._sendRequest(v)},200):this.imageRequest(v)}}},{key:"_sendRequest",value:function(t){var n=this;e.request({url:"https://tongji.dcloud.io/uni/stat",method:"POST",data:t,success:function(){},fail:function(e){++n._retry<3&&setTimeout(function(){n._sendRequest(t)},1e3)}})}},{key:"imageRequest",value:function(t){var e=new Image,n=function(t){var e=Object.keys(t).sort(),n={},o="";for(var i in e)n[e[i]]=t[e[i]],o+=e[i]+"="+t[e[i]]+"&";return{sign:"",options:o.substr(0,o.length-1)}}(function(t){var e={};for(var n in t)e[n]=encodeURIComponent(t[n]);return e}(t)).options;e.src="https://tongji.dcloud.io/uni/stat.gif?"+n}},{key:"sendEvent",value:function(t,e){var n,o;(o=e,(n=t)?"string"!=typeof n?(console.error("uni.report [eventName] 参数类型错误,只能为 String 类型"),1):n.length>255?(console.error("uni.report [eventName] 参数长度不能大于 255"),1):"string"!=typeof o&&"object"!=typeof o?(console.error("uni.report [options] 参数类型错误,只能为 String 或 Object 类型"),1):"string"==typeof o&&o.length>255?(console.error("uni.report [options] 参数长度不能大于 255"),1):"title"===n&&"string"!=typeof o?(console.error("uni.report [eventName] 参数为 title 时，[options] 参数只能为 String 类型"),1):void 0:(console.error("uni.report 缺少 [eventName] 参数"),1))||("title"!==t?this._sendEventRequest({key:t,value:"object"==typeof e?JSON.stringify(e):e},1):this._navigationBarTitle.report=e)}}]),n}(),P=function(t){function n(){var t;return r(this,n),(t=o(this,i(n).call(this))).instance=null,"function"==typeof e.addInterceptor&&(t.addInterceptorInit(),t.interceptLogin(),t.interceptShare(!0),t.interceptRequestPayment()),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,q),u(n,null,[{key:"getInstance",value:function(){return this.instance||(this.instance=new n),this.instance}}]),u(n,[{key:"addInterceptorInit",value:function(){var t=this;e.addInterceptor("setNavigationBarTitle",{invoke:function(e){t._navigationBarTitle.page=e.title}})}},{key:"interceptLogin",value:function(){var t=this;e.addInterceptor("login",{complete:function(){t._login()}})}},{key:"interceptShare",value:function(t){var n=this;t?e.addInterceptor("share",{success:function(){n._share()},fail:function(){n._share()}}):n._share()}},{key:"interceptRequestPayment",value:function(){var t=this;e.addInterceptor("requestPayment",{success:function(){t._payment("pay_success")},fail:function(){t._payment("pay_fail")}})}},{key:"report",value:function(t,e){this.self=e,b(),this.__licationShow=!0,this._sendReportRequest(t,!0)}},{key:"load",value:function(t,e){if(!e.$scope&&!e.$mp){var n=getCurrentPages();e.$scope=n[n.length-1]}this.self=e,this._query=t}},{key:"show",value:function(t){this.self=t,x(t)?this._pageShow(t):this._applicationShow(t)}},{key:"ready",value:function(t){}},{key:"hide",value:function(t){this.self=t,x(t)?this._pageHide(t):this._applicationHide(t,!0)}},{key:"error",value:function(t){this._platform;var e="";e=t.message?t.stack:JSON.stringify(t);var n={ak:this.statData.ak,uuid:this.statData.uuid,lt:"31",ut:this.statData.ut,ch:this.statData.ch,mpsdk:this.statData.mpsdk,mpv:this.statData.mpv,v:this.statData.v,em:e,usv:this.statData.usv,t:g(),p:this.statData.p};this.request(n)}}]),n}().getInstance(),R=!1,j={onLaunch:function(t){P.report(t,this)},onReady:function(){P.ready(this)},onLoad:function(t){if(P.load(t,this),this.$scope&&this.$scope.onShareAppMessage){var e=this.$scope.onShareAppMessage;this.$scope.onShareAppMessage=function(t){return P.interceptShare(!1),e.call(this,t)}}},onShow:function(){R=!1,P.show(this)},onHide:function(){R=!0,P.hide(this)},onUnload:function(){R?R=!1:P.hide(this)},onError:function(t){P.error(t)}};((d=n(6)).default||d).mixin(j),e.report=function(t,e){P.sendEvent(t,e)}}).call(this,n(0).weexPlus,n(0).default)},function(t){t.exports={_from:"@dcloudio/uni-stat@next",_id:"@dcloudio/uni-stat@2.0.0-23320190923002",_inBundle:!1,_integrity:"sha512-MnftsvgOac3q1FCOBPzivbFn8GNQFo7D2DY325HeEZyFCWgx5GEwHpGYjT1PQU6v7DaDn0ruxa3ObdpUIYbmZw==",_location:"/@dcloudio/uni-stat",_phantomChildren:{},_requested:{type:"tag",registry:!0,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.0-23320190923002.tgz",_shasum:"0c400c140ca0b3c05f52d25f11583cf05a0c4e9a",_spec:"@dcloudio/uni-stat@next",_where:"/Users/fxy/Documents/DCloud/HbuilderX-plugins/release/uniapp-cli",author:"",bugs:{url:"https://github.com/dcloudio/uni-app/issues"},bundleDependencies:!1,deprecated:!1,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:"fed4c73fb9142a1b277dd79313939cad90693d3e",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.0-23320190923002"}},function(t,e,n){"use strict";n.r(e),e.default={pages:{},globalStyle:{}}},function(t,e){t.exports=Vue},function(t,e){},,,,function(t,e,n){"use strict";var o=n(25),i=n(21),a=n(2);var r=Object(a.a)(i.default,o.a,o.b,!1,null,null,"1dede3a5");(function(){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(n(32).default,this.options.style):Object.assign(this.options.style,n(32).default)}).call(r),e.default=r.exports},,,,,,,,,,function(t,e,n){"use strict";var o=n(22),i=n.n(o);e.default=i.a},function(t,e,n){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={data:function(){return{kword:"",city:"北京",subNVue:t.getCurrentSubNVue(),iconSearch:"",iconLocation:"",iconYuyin:"",iconTongzhi:"",statusBarHeight:20}},beforeCreate:function(){weex.requireModule("dom").addRule("fontFace",{fontFamily:"iconfont",src:"url('https://at.alicdn.com/t/font_1087442_fe5vigfwr5m.ttf')"})},mounted:function(){this.init()},methods:{toChat:function(e){console.log(n(e,"myuid"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:44"));var o=!0,i=e,a={};t.getStorage({key:"summsg",success:function(t){a=t.data,console.log(n(t.data,"聊天的数据"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:52"))},fail:function(e){console.log(n("失败"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:55")),a[i]=[[]],a[i][0]=[],a[i][1]=[],a[i][2]="",a[i][0].push("2018-01-01"),a[i][1].push({user:"me",msg:"hello"}),a[i][2]=i,t.setStorage({key:"summsg",data:a,success:function(t){console.log(n("成功"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:74")),o=!1}})}}),o&&(null==a[i]?(a[i]=[[]],a[i][0]=[],a[i][1]=[],a[i][2]="",a[i][0].push("2019-01-01"),a[i][1].push({user:"me",msg:"hello"}),a[i][2]=i):(a[i][0].push("2019-01-01"),a[i][1].push({user:"me",msg:"hello"}),a[i][2]=i,console.log(n("发送一次"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:103"))),t.setStorage({key:"summsg",data:a,success:function(e){var o={};t.getStorage({key:"token",success:function(t){o.token=t.data},fail:function(e){t.showToast({title:"请您登陆之后在进行此操作",icon:"none"})}}),o.ruid=i,o.type="add",o.message="hello!",o.ruid&&o.token&&(t.request({url:"http://120.79.19.253:10086/Chat",data:o,success:function(e){console.log(n(e,"商品详情发起对话"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:130")),t.navigateTo({url:"../../msg/msg"})}}),console.log(n("消息发送成功过"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:137")),console.log(n("发消息函数被触发"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:138")))},fail:function(e){t.showToast({title:"联系商家失败，稍后再试",icon:"none"})}}))},saoma:function(){var e=this;t.scanCode({success:function(o){console.log(n("条码类型："+o.scanType," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:157")),console.log(n("条码内容："+o.result," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:158"));var i=JSON.parse(o.result);console.log(n(i,"扫码的消息"," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:160")),console.log(n(i.type," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:161")),console.log(n(typeof i," at pages\\tabBar\\home\\subNvue\\homeTitleNvue.nvue:162"));if("user"==i.type){var a=i.uid;e.toChat(a)}else if("product"==i.type){var r=i.pid;e.toGoods(r)}else t.showToast({title:"很抱歉，只能扫描蓝沢官方的二维码",icon:"none"})}})},toGoods:function(e){t.navigateTo({url:"../../goods/goods?pid="+e})},toSearch:function(){t.navigateTo({url:"../../goods/goods-list/goods-list?kword="+this.kword})},toMsg:function(){t.navigateTo({url:"../../msg/msg"})},init:function(){var e=this;t.getSystemInfo({success:function(t){e.statusBarHeight=t.statusBarHeight}}),this.nVueTitle=t.getCurrentSubNVue(),this.nVueTitle.onMessage(function(t){switch(t.data.type){case"location":e.setCity(t.data.city)}})},setCity:function(t){this.city=t},inputfocus:function(){this.subNVue.postMessage({type:"focus"})}}};e.default=o}).call(this,n(0).default,n(24).default)},function(t,e){t.exports={icon:{fontFamily:"iconfont",fontSize:"42"},content:{backgroundColor:"#ffffff",flexDirection:"column"},"status-bar":{flex:1},nav:{width:"750",paddingTop:0,paddingRight:"20",paddingBottom:0,paddingLeft:"20",position:"relative",height:"88",flexDirection:"row",justifyContent:"center",alignItems:"center"},location:{width:"60",height:"88",textAlign:"center",lineHeight:"88",color:"#ffc50a"},yuyin:{width:"60",height:"88",textAlign:"center",lineHeight:"88",color:"#000000"},tongzhi:{width:"60",height:"88",textAlign:"center",lineHeight:"88",color:"#000000"},"location-city-text":{width:"60",height:"88",lineHeight:"88",fontSize:"26",color:"#000000"},"input-box":{width:"465",marginLeft:"5",height:60,borderRadius:"60",backgroundColor:"#f5f5f5",position:"relative",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},"input-box-input":{width:"330",height:"60",fontSize:"28",marginLeft:"30"},search:{width:"60",fontSize:"34",paddingRight:"30",color:"#c0c0c0"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e.map(function(t){var e=Object.prototype.toString.call(t);if("[object object]"===e.toLowerCase())try{t="---BEGIN:JSON---"+JSON.stringify(t)+"---END:JSON---"}catch(e){t="[object object]"}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var n=function(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}(t).toUpperCase();t="NUMBER"===n||"BOOLEAN"===n?"---BEGIN:"+n+"---"+t+"---END:"+n+"---":String(t)}return t}),i="";if(o.length>1){var a=o.pop();i=o.join("---COMMA---"),0===a.indexOf(" at ")?i+=a:i+="---COMMA---"+a}else i=o[0];return i}},function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:["content"],style:{height:t.statusBarHeight+44+"wx"}},[n("div",{staticClass:["status-bar"],style:{height:t.statusBarHeight+"wx"}}),n("div",{staticClass:["nav"]},[n("text",{staticClass:["icon","location"]},[t._v(t._s(t.iconLocation))]),n("text",{staticClass:["location-city-text"]},[t._v(t._s(t.city))]),n("div",{staticClass:["input-box","row"]},[n("input",{staticClass:["input-box-input"],staticStyle:{placeholderColor:"#c0c0c0"},attrs:{placeholder:"默认关键字",value:t.kword},on:{focus:t.inputfocus,input:function(e){t.kword=e.target.attr.value}}}),n("text",{staticClass:["icon","search"],on:{click:function(e){t.toSearch()}}},[t._v(t._s(t.iconSearch))])]),n("text",{staticClass:["icon","tongzhi"],on:{click:t.toMsg}},[t._v(t._s(t.iconTongzhi))]),n("text",{staticClass:["icon","tongzhi"],on:{click:function(e){t.saoma()}}},[t._v("≎")])])])},i=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i})},,,,,,,function(t,e,n){"use strict";n.r(e);var o=n(23),i=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);e.default=i.a},,,,function(t,e,n){"use strict";n.r(e);n(3),n(7);var o=n(11);o.default.mpType="page",o.default.route="pages/tabBar/home/subNvue/homeTitleNvue",o.default.el="#root",new Vue(o.default)}]);