(function(e){function t(t){for(var i,r,c=t[0],s=t[1],u=t[2],p=0,d=[];p1&&void 0!==arguments[1]?arguments[1]:{},n=t.method||e.method||"GET",i={baseURL:e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:(0,o.default)((0,o.default)({},e.custom||{}),t.custom||{}),header:(0,a.deepMerge)(e.header||{},t.header||{})},c=["getTask","validateStatus"];if(i=(0,o.default)((0,o.default)({},i),r(c,e,t)),"DOWNLOAD"===n);else if("UPLOAD"===n){delete i.header["content-type"],delete i.header["Content-Type"];var s=["files","file","filePath","name","formData"];s.forEach((function(e){"undefined"!==typeof t[e]&&(i[e]=t[e])}))}else{var u=["data","dataType","responseType","withCredentials"];i=(0,o.default)((0,o.default)({},i),r(u,e,t))}return i};t.default=c},1301:function(e,t,n){n("c975"),function(e){var t,n,i,o,a,r,c,s='',u=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss");if(u&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(e){console&&console.log(e)}}function p(){r||(r=!0,o())}n=function(){var e,t,n,i,o,a=document.createElement("div");a.innerHTML=s,s=null,(e=a.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",t=e,(n=document.body).firstChild?(i=t,(o=n.firstChild).parentNode.insertBefore(i,o)):n.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(n,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),n()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(o=n,a=e.document,r=!1,(c=function(){try{a.documentElement.doScroll("left")}catch(e){return void setTimeout(c,50)}p()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,p())})}(window)},1865:function(e,t,n){"use strict";var i=n("dbce");n("c975"),n("a15b"),n("fb6a"),n("accc"),n("d3b7"),n("ac1f"),n("25f0"),n("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=i(n("7ab0"));function a(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function r(e,t){if(!t)return e;var n;if(o.isURLSearchParams(t))n=t.toString();else{var i=[];o.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),i.push(a(t)+"="+a(e))})))})),n=i.join("&")}if(n){var r=e.indexOf("#");-1!==r&&(e=e.slice(0,r)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}},"1c0d":function(e,t,n){var i;n("c975"),n("ac1f"),n("466d"),n("5319"),n("1276");var o=n("9523");!function(o,a){i=function(){return a(o)}.call(t,n,t,e),void 0===i||(e.exports=i)}(window,(function(e,t){function n(t,n,i){e.WeixinJSBridge?WeixinJSBridge.invoke(t,a(n),(function(e){s(t,e,i)})):l(t,i)}function i(t,n,i){e.WeixinJSBridge?WeixinJSBridge.on(t,(function(e){i&&i.trigger&&i.trigger(e),s(t,e,n)})):l(t,i||n)}function a(e){return e=e||{},e.appId=O.appId,e.verifyAppId=O.appId,e.verifySignType="sha1",e.verifyTimestamp=O.timestamp+"",e.verifyNonceStr=O.nonceStr,e.verifySignature=O.signature,e}function r(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function c(e){return e.postalCode=e.addressPostalCode,delete e.addressPostalCode,e.provinceName=e.proviceFirstStageName,delete e.proviceFirstStageName,e.cityName=e.addressCitySecondStageName,delete e.addressCitySecondStageName,e.countryName=e.addressCountiesThirdStageName,delete e.addressCountiesThirdStageName,e.detailInfo=e.addressDetailInfo,delete e.addressDetailInfo,e}function s(e,t,n){"openEnterpriseChat"==e&&(t.errCode=t.err_code),delete t.err_code,delete t.err_desc,delete t.err_detail;var i=t.errMsg;i||(i=t.err_msg,delete t.err_msg,i=u(e,i),t.errMsg=i),(n=n||{})._complete&&(n._complete(t),delete n._complete),i=t.errMsg||"",O.debug&&!n.isInnerInvoke&&alert(JSON.stringify(t));var o=i.indexOf(":");switch(i.substring(o+1)){case"ok":n.success&&n.success(t);break;case"cancel":n.cancel&&n.cancel(t);break;default:n.fail&&n.fail(t)}n.complete&&n.complete(t)}function u(e,t){var n=e,i=v[n];i&&(n=i);var o="ok";if(t){var a=t.indexOf(":");"confirm"==(o=t.substring(a+1))&&(o="ok"),"failed"==o&&(o="fail"),-1!=o.indexOf("failed_")&&(o=o.substring(7)),-1!=o.indexOf("fail_")&&(o=o.substring(5)),"access denied"!=(o=(o=o.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=o||(o="permission denied"),"config"==n&&"function not exist"==o&&(o="ok"),""==o&&(o="fail")}return n+":"+o}function p(e){if(e){for(var t=0,n=e.length;t0){var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t}}if(!e.jWeixin){var y,b={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},v=function(){var e={};for(var t in b)e[b[t]]=t;return e}(),_=e.document,w=_.title,x=navigator.userAgent.toLowerCase(),k=navigator.platform.toLowerCase(),C=!(!k.match("mac")&&!k.match("win")),S=-1!=x.indexOf("wxdebugger"),A=-1!=x.indexOf("micromessenger"),T=-1!=x.indexOf("android"),M=-1!=x.indexOf("iphone")||-1!=x.indexOf("ipad"),P=function(){var e=x.match(/micromessenger\/(\d+\.\d+\.\d+)/)||x.match(/micromessenger\/(\d+\.\d+)/);return e?e[1]:""}(),I={initStartTime:f(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},B={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:M?1:T?2:-1,clientVersion:P,url:encodeURIComponent(location.href)},O={},z={_completes:[]},E={state:0,data:{}};g((function(){I.initEndTime=f()}));var V=!1,L=[],j=(y={config:function(e){O=e,l("config",e);var t=!1!==O.check;g((function(){if(t)n(b.config,{verifyJsApiList:p(O.jsApiList)},function(){z._complete=function(e){I.preVerifyEndTime=f(),E.state=1,E.data=e},z.success=function(e){B.isPreVerifyOk=0},z.fail=function(e){z._fail?z._fail(e):E.state=-1};var e=z._completes;return e.push((function(){d()})),z.complete=function(t){for(var n=0,i=e.length;n0){var t=L.shift();wx.getLocalImgData(t)}},e))):L.push(e)},getNetworkType:function(e){var t=function(e){var t=e.errMsg;e.errMsg="getNetworkType:ok";var n=e.subtype;if(delete e.subtype,n)e.networkType=n;else{var i=t.indexOf(":"),o=t.substring(i+1);switch(o){case"wifi":case"edge":case"wwan":e.networkType=o;break;default:e.errMsg="getNetworkType:fail"}}return e};n("getNetworkType",{},(e._complete=function(e){e=t(e)},e))},openLocation:function(e){n("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)}},o(y,"getLocation",(function(e){e=e||{},n(b.getLocation,{type:e.type||"wgs84"},(e._complete=function(e){delete e.type},e))})),o(y,"hideOptionMenu",(function(e){n("hideOptionMenu",{},e)})),o(y,"showOptionMenu",(function(e){n("showOptionMenu",{},e)})),o(y,"closeWindow",(function(e){n("closeWindow",{},e=e||{})})),o(y,"hideMenuItems",(function(e){n("hideMenuItems",{menuList:e.menuList},e)})),o(y,"showMenuItems",(function(e){n("showMenuItems",{menuList:e.menuList},e)})),o(y,"hideAllNonBaseMenuItem",(function(e){n("hideAllNonBaseMenuItem",{},e)})),o(y,"showAllNonBaseMenuItem",(function(e){n("showAllNonBaseMenuItem",{},e)})),o(y,"scanQRCode",(function(e){n("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(M){var t=e.resultStr;if(t){var n=JSON.parse(t);e.resultStr=n&&n.scan_code&&n.scan_code.scan_result}}},e))})),o(y,"openAddress",(function(e){n(b.openAddress,{},(e._complete=function(e){e=c(e)},e))})),o(y,"openProductSpecificView",(function(e){n(b.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)})),o(y,"addCard",(function(e){for(var t=e.cardList,i=[],o=0,a=t.length;o0&&void 0!==arguments[0]?arguments[0]:{};(0,a.default)(this,e),(0,l.isPlainObject)(t)||(t={},console.warn("设置全局参数必须接收一个Object")),this.config=(0,o.default)((0,o.default)({},p.default),t),this.interceptors={request:new s.default,response:new s.default}}return(0,r.default)(e,[{key:"setConfig",value:function(e){this.config=e(this.config)}},{key:"middleware",value:function(e){e=(0,u.default)(this.config,e);var t=[c.default,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n}},{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.middleware(e)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.middleware((0,o.default)({url:e,method:"GET"},t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware((0,o.default)({url:e,data:t,method:"POST"},n))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware((0,o.default)({url:e,data:t,method:"PUT"},n))}},{key:"delete",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware((0,o.default)({url:e,data:t,method:"DELETE"},n))}},{key:"connect",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware((0,o.default)({url:e,data:t,method:"CONNECT"},n))}},{key:"head",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware((0,o.default)({url:e,data:t,method:"HEAD"},n))}},{key:"options",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware((0,o.default)({url:e,data:t,method:"OPTIONS"},n))}},{key:"trace",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware((0,o.default)({url:e,data:t,method:"TRACE"},n))}},{key:"upload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="UPLOAD",this.middleware(t)}},{key:"download",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="DOWNLOAD",this.middleware(t)}}]),e}();t.default=d},6221:function(e,t,n){"use strict";var i=n("cbe6"),o=n.n(i);o.a},6329:function(e,t,n){"use strict";var i=n("4ea4");n("d3b7"),n("ac1f"),n("1276"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("96cf");var o=i(n("1da1")),a=i(n("5530")),r=i(n("d31f")),c=n("a2d1"),s=n("1c0d"),u="/wechat/h5/getJsapiTicket",p=new r.default,l=location.href.split("#")[0],d=(0,a.default)((0,a.default)({},s),{},{isOk:!1,config:function(){var e=this;return(0,o.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=s,t.t1=a.default,t.t2={debug:!1,jsApiList:["updateAppMessageShareData","updateTimelineShareData","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","startRecord","stopRecord","onVoiceRecordEnd","playVoice","pauseVoice","stopVoice","onVoicePlayEnd","uploadVoice","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","translateVoice","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]},t.next=5,p.get(u,{url:l});case 5:t.t3=t.sent.retBody,t.t4=(0,t.t1)(t.t2,t.t3),t.t0.config.call(t.t0,t.t4),s.ready((function(t){e.isOk=!0,e.hideMenu()})),s.error((function(t){console.log("失败"),e.isOk=!1}));case 10:case"end":return t.stop()}}),t)})))()},hideMenu:function(){s.hideAllNonBaseMenuItem()},showMenu:function(){s.showMenuItems({menuList:["menuItem:share:appMessage","menuItem:profile","menuItem:addContact","menuItem:dayMode","menuItem:nightMode","menuItem:share:timeline","menuItem:favorite"]})},share:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c.config.afterEndUrl,i=n+location.href.split("?")[0]+"?togetherId="+e.togetherId+"/#/"+e.routeUrl,o=(0,a.default)({title:e.nickname+"邀请你参与贵州省单株碳汇精准扶贫",link:i,desc:"购碳扶贫,你我同行",imgUrl:l+"/static/logo.png",trigger:function(e){},success:function(e){},cancel:function(e){},fail:function(e){}},t);console.log("shareInfo",o,"fullUrl",i),s.updateAppMessageShareData(o),s.updateTimelineShareData(o)},JSAPI:function(e){return new Promise((function(t){s.chooseWXPay({timestamp:e.timeStamp,nonceStr:e.nonceStr,package:e.packageValue,signType:e.signType,paySign:e.paySign,success:function(){t({code:0,msg:"成功"})},cancel:function(){t({code:1,msg:"取消"})},fail:function(){t({code:2,msg:"失败"})}})}))}});t.default=d},6461:function(e,t,n){e.exports=n.p+"static/img/iconfont.3e5f1609.svg"},"66cf":function(e,t,n){"use strict";var i=n("4ea4");n("4de4"),n("a9e3"),n("b680"),n("ac1f"),n("1276");var o=i(n("e143"));n("a2d1");o.default.filter("keepTwoNum",(function(e){var t=Number(e);return t.toFixed(2)})),o.default.filter("timestamp",(function(e){return e+"?t="+(new Date).getTime()})),o.default.filter("firstImg",(function(e,t,n){var i;return e?i=e instanceof Array?e[0]:e.split(",")[0]:e||(i="/static/img/inbuild.png"),i})),o.default.filter("miniImg",(function(e,t){return e+"?imageMogr2/quality/"+t}))},7365:function(e,t,n){"use strict";(function(e){var t=n("4ea4"),i=t(n("e143"));e["____8AE3764____"]=!0,delete e["____8AE3764____"],e.__uniConfig={tabBar:{color:"#7A7E83",selectedColor:"#3cc51f",borderStyle:"black",backgroundColor:"#ffffff",list:[{pagePath:"pages/index/index",iconPath:"static/img/icon_home.png",selectedIconPath:"static/img/icon_home-active.png",text:"首页",redDot:!1,badge:""},{pagePath:"pages/publish/chosetype/chosetype",iconPath:"static/img/icon_publish.png",selectedIconPath:"static/img/icon_publish_active.png",text:"我要发布",redDot:!1,badge:""},{pagePath:"pages/usercenter/usercenter",iconPath:"static/img/icon_user.png",selectedIconPath:"static/img/icon_user-active.png",text:"我的",redDot:!1,badge:""}]},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"贵州林产品",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.compilerVersion="2.8.11",e.__uniConfig.responsive={minWidth:768},e.__uniConfig.router={mode:"hash",base:"./"},e.__uniConfig.publicPath="./",e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},e.__uniConfig.sdkConfigs={maps:{qqmap:{key:""}}},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},e.__uniConfig.__webpack_chunk_load__=n.e,i.default.component("pages-index-index",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-index-index~pages-productcategory-productcategory~pages-producttype-producttype~pages-publish-~db9a769c"),n.e("pages-index-index")]).then(function(){return e(n("6b5a"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-login-login",(function(e){var t={component:n.e("pages-login-login").then(function(){return e(n("0802"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-publish-publish",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-index-index~pages-productcategory-productcategory~pages-producttype-producttype~pages-publish-~db9a769c"),n.e("pages-publish-publish")]).then(function(){return e(n("984c"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-publish-chosetype-chosetype",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-productcategory-productcategory~pages-producttype-producttype~pages-publish-~db9a769c"),n.e("pages-publish-chosetype-chosetype")]).then(function(){return e(n("00f8"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-publish-publishtype-publishtype",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-index-index~pages-productcategory-productcategory~pages-producttype-producttype~pages-publish-~db9a769c"),n.e("pages-publish-publishtype-publishtype")]).then(function(){return e(n("2812"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-publish-publishsuccess-publishsuccess",(function(e){var t={component:n.e("pages-publish-publishsuccess-publishsuccess").then(function(){return e(n("ca4c"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-producttype-producttype",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-index-index~pages-productcategory-productcategory~pages-producttype-producttype~pages-publish-~db9a769c"),n.e("pages-producttype-producttype")]).then(function(){return e(n("ad46"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-productcategory-productcategory",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-productcategory-productcategory~pages-producttype-producttype~pages-publish-~db9a769c"),n.e("pages-productcategory-productcategory")]).then(function(){return e(n("5015"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-searchresults-searchresults",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-index-index~pages-productcategory-productcategory~pages-producttype-producttype~pages-publish-~db9a769c"),n.e("pages-searchresults-searchresults")]).then(function(){return e(n("e54d"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-product-product",(function(e){var t={component:n.e("pages-product-product").then(function(){return e(n("8bf7"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-usercenter-usercenter",(function(e){var t={component:n.e("pages-usercenter-usercenter").then(function(){return e(n("8352"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-usercenter-myfocus-myfocus",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-usercenter-myfocus-myfocus")]).then(function(){return e(n("9b10"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-usercenter-focusme-focusme",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-usercenter-focusme-focusme")]).then(function(){return e(n("9291"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-usercenter-mypublish-mypublish",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-usercenter-mypublish-mypublish")]).then(function(){return e(n("186d"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-usercenter-authentication-authentication",(function(e){var t={component:n.e("pages-usercenter-authentication-authentication").then(function(){return e(n("b81f"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-usercenter-feedback-feedback",(function(e){var t={component:n.e("pages-usercenter-feedback-feedback").then(function(){return e(n("8dd4"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-inbuild-inbuild",(function(e){var t={component:n.e("pages-inbuild-inbuild").then(function(){return e(n("6105"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-supplier-supplier",(function(e){var t={component:Promise.all([n.e("pages-index-index~pages-producttype-producttype~pages-publish-publish~pages-publish-publishtype-publ~2314df39"),n.e("pages-index-index~pages-productcategory-productcategory~pages-producttype-producttype~pages-publish-~db9a769c"),n.e("pages-supplier-supplier")]).then(function(){return e(n("18d2"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),i.default.component("pages-supplier-supplierdetail-supplierdetail",(function(e){var t={component:n.e("pages-supplier-supplierdetail-supplierdetail").then(function(){return e(n("5c15"))}.bind(null,n)).catch(n.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(t.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(t.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),t})),e.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0},__uniConfig.globalStyle,{navigationBarTitleText:"首页",navigationStyle:"custom"})},[e("pages-index-index",{slot:"page"})])}},meta:{id:1,name:"pages-index-index",isNVue:!1,pagePath:"pages/index/index",isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,windowTop:0}},{path:"/pages/login/login",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-登录"})},[e("pages-login-login",{slot:"page"})])}},meta:{name:"pages-login-login",isNVue:!1,pagePath:"pages/login/login",windowTop:44}},{path:"/pages/publish/publish",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-发布商品"})},[e("pages-publish-publish",{slot:"page"})])}},meta:{name:"pages-publish-publish",isNVue:!1,pagePath:"pages/publish/publish",windowTop:44}},{path:"/pages/publish/chosetype/chosetype",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:1},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-我要发布",navigationStyle:"custom"})},[e("pages-publish-chosetype-chosetype",{slot:"page"})])}},meta:{id:2,name:"pages-publish-chosetype-chosetype",isNVue:!1,pagePath:"pages/publish/chosetype/chosetype",isQuit:!0,isTabBar:!0,tabBarIndex:1,windowTop:0}},{path:"/pages/publish/publishtype/publishtype",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-我要发布"})},[e("pages-publish-publishtype-publishtype",{slot:"page"})])}},meta:{name:"pages-publish-publishtype-publishtype",isNVue:!1,pagePath:"pages/publish/publishtype/publishtype",windowTop:44}},{path:"/pages/publish/publishsuccess/publishsuccess",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"等待处理"})},[e("pages-publish-publishsuccess-publishsuccess",{slot:"page"})])}},meta:{name:"pages-publish-publishsuccess-publishsuccess",isNVue:!1,pagePath:"pages/publish/publishsuccess/publishsuccess",windowTop:44}},{path:"/pages/producttype/producttype",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-产品分类"})},[e("pages-producttype-producttype",{slot:"page"})])}},meta:{name:"pages-producttype-producttype",isNVue:!1,pagePath:"pages/producttype/producttype",windowTop:44}},{path:"/pages/productcategory/productcategory",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-产品类别"})},[e("pages-productcategory-productcategory",{slot:"page"})])}},meta:{name:"pages-productcategory-productcategory",isNVue:!1,pagePath:"pages/productcategory/productcategory",windowTop:44}},{path:"/pages/searchresults/searchresults",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-搜索结果"})},[e("pages-searchresults-searchresults",{slot:"page"})])}},meta:{name:"pages-searchresults-searchresults",isNVue:!1,pagePath:"pages/searchresults/searchresults",windowTop:44}},{path:"/pages/product/product",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-产品详情"})},[e("pages-product-product",{slot:"page"})])}},meta:{name:"pages-product-product",isNVue:!1,pagePath:"pages/product/product",windowTop:44}},{path:"/pages/usercenter/usercenter",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:2},__uniConfig.globalStyle,{navigationBarTitleText:"我的",navigationStyle:"custom"})},[e("pages-usercenter-usercenter",{slot:"page"})])}},meta:{id:3,name:"pages-usercenter-usercenter",isNVue:!1,pagePath:"pages/usercenter/usercenter",isQuit:!0,isTabBar:!0,tabBarIndex:2,windowTop:0}},{path:"/pages/usercenter/myfocus/myfocus",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我有意向的"})},[e("pages-usercenter-myfocus-myfocus",{slot:"page"})])}},meta:{name:"pages-usercenter-myfocus-myfocus",isNVue:!1,pagePath:"pages/usercenter/myfocus/myfocus",windowTop:44}},{path:"/pages/usercenter/focusme/focusme",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"有意向我的"})},[e("pages-usercenter-focusme-focusme",{slot:"page"})])}},meta:{name:"pages-usercenter-focusme-focusme",isNVue:!1,pagePath:"pages/usercenter/focusme/focusme",windowTop:44}},{path:"/pages/usercenter/mypublish/mypublish",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的信息发布"})},[e("pages-usercenter-mypublish-mypublish",{slot:"page"})])}},meta:{name:"pages-usercenter-mypublish-mypublish",isNVue:!1,pagePath:"pages/usercenter/mypublish/mypublish",windowTop:44}},{path:"/pages/usercenter/authentication/authentication",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-企业认证"})},[e("pages-usercenter-authentication-authentication",{slot:"page"})])}},meta:{name:"pages-usercenter-authentication-authentication",isNVue:!1,pagePath:"pages/usercenter/authentication/authentication",windowTop:44}},{path:"/pages/usercenter/feedback/feedback",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"贵州林产品-意见反馈"})},[e("pages-usercenter-feedback-feedback",{slot:"page"})])}},meta:{name:"pages-usercenter-feedback-feedback",isNVue:!1,pagePath:"pages/usercenter/feedback/feedback",windowTop:44}},{path:"/pages/inbuild/inbuild",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"正在建设"})},[e("pages-inbuild-inbuild",{slot:"page"})])}},meta:{name:"pages-inbuild-inbuild",isNVue:!1,pagePath:"pages/inbuild/inbuild",windowTop:44}},{path:"/pages/supplier/supplier",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"供应商"})},[e("pages-supplier-supplier",{slot:"page"})])}},meta:{name:"pages-supplier-supplier",isNVue:!1,pagePath:"pages/supplier/supplier",windowTop:44}},{path:"/pages/supplier/supplierdetail/supplierdetail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"供应商详情"})},[e("pages-supplier-supplierdetail-supplierdetail",{slot:"page"})])}},meta:{name:"pages-supplier-supplierdetail-supplierdetail",isNVue:!1,pagePath:"pages/supplier/supplierdetail/supplierdetail",windowTop:44}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],e.UniApp&&new e.UniApp}).call(this,n("c8ba"))},"748c":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("e143")),a=i(n("2f62"));o.default.use(a.default);var r=new a.default.Store({state:{hasLogin:!1,token:"",userInfo:{}},mutations:{setLogin:function(e,t){e.userInfo=t||{},e.token=t.accessToken,e.tokenhead=t.tokenhead,e.hasLogin=Boolean(e.token),uni.setStorage({key:"userInfo",data:t.data}),uni.setStorage({key:"hasLogin",data:!0}),uni.setStorage({key:"token",data:t.accessToken}),uni.setStorage({key:"tokenhead",data:t.tokenhead})},logout:function(e){userInfo={},uni.removeStorage({key:"userInfo"})}},actions:{}}),c=r;t.default=c},"7a5a":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},a=[]},"7ab0":function(e,t,n){"use strict";n("d3b7"),n("25f0"),n("3ca3"),n("ddb0"),n("2b3d"),Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=o,t.isObject=a,t.isDate=r,t.isURLSearchParams=c,t.forEach=s,t.isBoolean=u,t.isPlainObject=p,t.deepMerge=l;var i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return null!==e&&"object"===typeof e}function r(e){return"[object Date]"===i.call(e)}function c(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function s(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,i=e.length;n=200&&e<300}};t.default=i},bc81:function(e,t,n){"use strict";var i=n("4ea4"),o=i(n("5530"));n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("7365"),n("1c31");var a=i(n("e143")),r=i(n("9a50")),c=n("a2d1"),s=i(n("748c")),u=i(n("d31f"));n("66cf");var p=i(n("6329")),l=new u.default;a.default.config.productionTip=!1;var d=function(e,t){uni.setNavigationBarTitle({title:e||t})};a.default.prototype.checkLogin=function(e,t){var n=uni.getStorageSync("token"),i=uni.getStorageSync("tokenhead"),o=uni.getStorageSync("userInfo");return""==n||""==i||""==o?(uni.redirectTo({url:"/pages/login/login?backpage="+e+"&backtype="+t}),!1):[n,i,o]},a.default.prototype.$wxApi=p.default,a.default.prototype.$api={http:l,setNavbarTitle:d},a.default.prototype.$getimg=c.config.imgUrl,a.default.prototype.$placeImg=c.config.placeImg,a.default.prototype.$store=s.default,a.default.prototype.config=c.config,r.default.mpType="app";var f=new a.default((0,o.default)({},r.default));f.$mount()},c2e3:function(e,t,n){"use strict";function i(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}n("ac1f"),n("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},cbe6:function(e,t,n){var i=n("06a0");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4f06").default;o("61001351",i,!0,{sourceMap:!1,shadowMode:!1})},d31f:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("5845")),a=o.default;t.default=a},d98b:function(e,t,n){e.exports=n.p+"static/fonts/iconfont.3aceb4b3.eot"},de99:function(e,t,n){"use strict";function i(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},ec5c:function(e,t,n){"use strict";var i=n("4ea4");n("4160"),n("d3b7"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("5530")),a=i(n("1865")),r=i(n("ee39")),c=i(n("f5d1")),s=function(e,t){var n={};return e.forEach((function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),n},u=function(e){return new Promise((function(t,n){var i,u={url:(0,a.default)((0,r.default)(e.baseURL,e.url),e.params),header:e.header,complete:function(i){i.config=e;try{"string"===typeof i.data&&(i.data=JSON.parse(i.data))}catch(o){}(0,c.default)(t,n,i)}};if("UPLOAD"===e.method){delete u.header["content-type"],delete u.header["Content-Type"];var p={filePath:e.filePath,name:e.name},l=["files","file","formData"];i=uni.uploadFile((0,o.default)((0,o.default)((0,o.default)({},u),p),s(l,e)))}else if("DOWNLOAD"===e.method)i=uni.downloadFile(u);else{var d=["data","method","dataType","responseType","withCredentials"];i=uni.request((0,o.default)((0,o.default)({},u),s(d,e)))}e.getTask&&e.getTask(i,e)}))};t.default=u},ee39:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=i(n("de99")),a=i(n("c2e3"));function r(e,t){return e&&!(0,o.default)(t)?(0,a.default)(e,t):t}},f5d1:function(e,t,n){"use strict";function i(e,t,n){var i=n.config.validateStatus,o=n.statusCode;!o||i&&!i(o)?t(n):e(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i}});