(function(e){function n(n){for(var a,i,s=n[0],c=n[1],u=n[2],g=0,p=[];g-1||e.indexOf("Linux")>-1;return n}function r(){return!!navigator.userAgent.match(/(i[^;]+\;(U;)? CPU.+Mac OS X)/)}function o(){return"ipad"==navigator.userAgent.toLowerCase().match(/iPad/i)}function i(){return navigator.userAgent.indexOf("Windows NT")>=0}t("c975"),t("ac1f"),t("466d"),Object.defineProperty(n,"__esModule",{value:!0}),n.isAndroid=a,n.isIOS=r,n.isPad=o,n.isWinPad=i,n.default=void 0;var s={isAndroid:a,isIOS:r,isPad:o,isWinPad:i};n.default=s},"2a1b":function(e,n,t){"use strict";var a=t("dbce"),r=t("4ea4");t("d3b7"),t("ac1f"),t("5319"),t("1276"),Object.defineProperty(n,"__esModule",{value:!0}),n.loginWinxin=m,n.weixindata=h,n.shareLoad=w,n.setRouter=x,n.default=void 0,t("96cf");var o=r(t("b1f8")),i=r(t("1da1")),s=t("42f4"),c=a(t("6f3c")),u=t("1f01"),g=r(t("0f3e")),d=r(t("b0c5")),p="",l="",f="";function m(){return y.apply(this,arguments)}function y(){return y=(0,i.default)(regeneratorRuntime.mark((function e(){var n,t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(console.log("1"),f){e.next=5;break}return e.next=4,x();case 4:f=e.sent;case 5:try{n=getCurrentPages(),t=n[n.length-1],a=t.route}catch(r){console.log(r)}"pages/redirect/redirect"!=a&&(c.addLog("开始注册微信"),h().then((function(){try{_()}catch(r){console.log(r)}})));case 7:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)}function _(){try{var e="history"===f.mode?"":"/#",n=encodeURIComponent(g.default.state.baseURL+g.default.state.urlFile+e+"/pages/redirect/redirect"),t="https://open.weixin.qq.com/connect/oauth2/authorize?appid="+l+"&redirect_uri="+n+"&response_type=code&scope=snsapi_userinfo&state="+(new Date).getTime()+"#wechat_redirect";window.location.href=t}catch(a){console.log(a)}}function h(e){return b.apply(this,arguments)}function b(){return b=(0,i.default)(regeneratorRuntime.mark((function e(n){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,f){e.next=5;break}return e.next=4,x();case 4:f=e.sent;case 5:"history"===f.mode&&(window.entryUrl||(window.entryUrl=location.href.split("#")[0]),t=(0,u.isAndroid)()?location.href.split("#")[0]:window.entryUrl),"hash"===f.mode&&(t=location.href.split("#")[0]),c.addLog("注册开始",t),console.log("开始注册",t),e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](0),console.log("错误",e.t0);case 14:return e.abrupt("return",new Promise((function(e,n){try{(0,s.wechatConfig)({url:t}).then((function(n){var t=n.data;try{l=t.appId,d.default.config({debug:!1,appId:t.appId,timestamp:t.timestamp,nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList}),d.default.ready((function(n){c.addLog("注册完毕",t),console.log("注册完毕"),e(d.default)}))}catch(a){console.log(a)}})).catch((function(e){n(e),console.log(e)}))}catch(a){console.log(a)}})));case 15:case"end":return e.stop()}}),e,null,[[0,11]])}))),b.apply(this,arguments)}function w(e){console.log("开始调用分享");try{h().then((function(n){e?C(e):p?C():(0,s.share)({}).then((function(e){var n=e.data;p=n.data,C()}))}))}catch(n){console.log("报错",n)}}function C(e){try{var n;if(console.log("再付分享内容",e),e)n={link:e.link,imgUrl:e.imgUrl,desc:e.desc,title:e.title,success:e.success||function(e){console.log(e)},fail:e.fail||function(e){console.log(e)}};else{var t=uni.getStorageSync("userInfo");console.log(t);var a=window.location.href+"?spread="+t.uid;(0,o.default)("url"),a=a.replace(/[\?,&]{0,1}from=singlemessage/g,""),n={title:p.title,link:a,imgUrl:p.img,desc:p.synopsis,success:function(){}}}d.default.updateAppMessageShareData(n),d.default.updateTimelineShareData(n)}catch(r){console.log(r)}}function x(e){return new Promise((function(e,n){if(f=getApp().$router,console.log(f,"开始数据"),f)console.log(f,"成功"),e(f);else var t=setInterval((function(){f=getApp().$router,console.log(f,"返回数据"),f&&(console.log(f,"结束"),clearInterval(t),e(f))}),100)}))}var v={weixinObj:d.default,shareData:p,appId:l,setRouter:x,shareLoad:w};n.default=v},"3c16":function(e,n,t){"use strict";t.r(n);var a=t("bc34"),r=t("3f70");for(var o in r)"default"!==o&&function(e){t.d(n,e,(function(){return r[e]}))}(o);t("9e89");var i,s=t("f0c5"),c=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=c.exports},"3f70":function(e,n,t){"use strict";t.r(n);var a=t("7ffe"),r=t.n(a);for(var o in a)"default"!==o&&function(e){t.d(n,e,(function(){return a[e]}))}(o);n["default"]=r.a},"42f4":function(e,n,t){"use strict";var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.share=o,n.wechatConfig=i,n.wechatAuth=s;var r=a(t("4c3b"));function o(e){return(0,r.default)({url:"/api/share",method:"get",data:e})}function i(e){return(0,r.default)({url:"/api/wechat/config",method:"get",data:e})}function s(e){return(0,r.default)({url:"/api/wechat/auth",method:"get",data:e})}},"4c3b":function(e,n,t){"use strict";var a=t("4ea4");t("d3b7"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.upFilse=void 0;var r=a(t("87be")),o=a(t("0f3e")),i=t("a306");r.default.interceptors.response((function(e){try{var n=e.data;return 200!==n.status?(console.log(n.status),41e4==n.status?(o.default.commit("user/logout"),uni.showModal({title:"登陆",content:"您未登录!是否马上登录?",success:function(e){e.confirm&&((0,i.saveUrl)(),(0,i.interceptor)())}})):"系统出现异常"!=n.msg&&uni.showToast({title:n.msg,duration:1500,mask:!1,icon:"none"}),Promise.reject(n)):n}catch(t){console.log(t)}}),(function(e){return uni.showToast({title:"加载错误请重试",duration:1500,mask:!1,icon:"none"}),Promise.reject(e)})),r.default.interceptors.request((function(e){var n=uni.getStorageSync("token")||"";return e.header?e.header["Authori-zation"]="Bearer "+n:e.header={"Authori-zation":"Bearer "+n},e}),(function(e){return console.log(e),Promise.reject(e)}));var s=r.default.upFilse;n.upFilse=s;var c=r.default.open;n.default=c},"6ae7":function(e,n,t){"use strict";var a=t("4ea4"),r=a(t("5530"));t("e260"),t("e6cf"),t("cca6"),t("a79d"),t("d13f"),t("1c31");var o=a(t("e143")),i=a(t("0f3e")),s=a(t("3c16")),c=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1500,t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&uni.showToast({title:e,duration:n,mask:t,icon:a})},u=function(){var e=getCurrentPages(),n=e[e.length-2];return n};o.default.config.productionTip=!1,o.default.prototype.$fire=new o.default,o.default.prototype.$store=i.default,o.default.prototype.$api={msg:c,prePage:u},s.default.mpType="app";var g=new o.default((0,r.default)({},s.default));g.$mount()},"6f3c":function(e,n,t){"use strict";t("4160"),t("fb6a"),t("159b"),Object.defineProperty(n,"__esModule",{value:!0}),n.addLog=o,n.delLog=i,n.getLog=s,n.initLog=c,n.showLog=u;var a=100,r="log";function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=uni.getStorageSync(r)||[];t.unshift({title:e,content:n}),uni.setStorageSync(r,t),c(t)}function i(){return uni.setStorageSync(r,"")}function s(){return uni.getStorageSync(r)}function c(e){if(e.length>a){var n=e.slice(e.length-a);uni.setStorageSync(r,n)}}function u(e){var n="";uni.getStorageSync(r).forEach((function(e){n+=e.title+":"+JSON.stringify(e.content)})),uni.showModal({title:"日志",content:n})}},"77b4":function(e,n,t){var a=t("8102");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=t("4f06").default;r("2c3e6680",a,!0,{sourceMap:!1,shadowMode:!1})},7978:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={userInfo:{},orderInfo:{complete_count:0,received_count:0,unshipped_count:0,order_count:0,unpaid_count:0},hasLogin:!1},r={login:function(e){e.hasLogin=!0},logout:function(e,n){e.hasLogin=!1,e.userInfo={},e.orderInfo={complete_count:0,received_count:0,unshipped_count:0,order_count:0,unpaid_count:0},uni.removeStorage({key:"userInfo"}),uni.removeStorage({key:"token"})},setUserInfo:function(e,n){e.userInfo=n,uni.setStorage({key:"userInfo",data:n})},setOrderInfo:function(e,n){e.orderInfo=n}},o={},i={namespaced:!0,state:a,mutations:r,getters:o};n.default=i},"7ffe":function(e,n,t){"use strict";var a=t("4ea4");t("ac1f"),t("466d"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(t("5530")),o=t("26cb"),i=t("2a1b"),s={data:function(){return{appData:{}}},methods:(0,r.default)((0,r.default)({},(0,o.mapMutations)("user",["setUserInfo","login","hasLogin"])),(0,o.mapMutations)(["setBaseURl"])),onLaunch:function(e){var n=this,t=window.location.protocol+"//"+window.location.host;this.setBaseURl(t);var a=uni.getStorageSync("userInfo")||"";a.uid&&uni.getStorage({key:"userInfo",success:function(e){n.setUserInfo(e.data),n.login(e.data)}}),(0,i.setRouter)(this.$router);var r=uni.getStorageSync("weichatBrowser")||"";""===r&&(r="micromessenger"==navigator.userAgent.toLowerCase().match(/MicroMessenger/i),uni.setStorageSync("weichatBrowser",r)),r&&(0,i.weixindata)()},onShow:function(){},onHide:function(){}};n.default=s},8102:function(e,n,t){var a=t("24fb");n=a(!1),n.push([e.i,'@charset "UTF-8";\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/*颜色*/\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* 功能栏字体大小 */\r\n/*功能栏左侧小图标*/\r\n/*全局公共样式和字体图标*/\r\n/*初始化类*/@font-face{font-family:iconfont;\r\n\t/* project id 1482221 */src:url(https://at.alicdn.com/t/font_1482221_x9emymthrxs.eot);src:url(https://at.alicdn.com/t/font_1482221_x9emymthrxs.eot#iefix) format("embedded-opentype"),url(https://at.alicdn.com/t/font_1482221_x9emymthrxs.woff2) format("woff2"),url(https://at.alicdn.com/t/font_1482221_x9emymthrxs.woff) format("woff"),url(https://at.alicdn.com/t/font_1482221_x9emymthrxs.ttf) format("truetype"),url(https://at.alicdn.com/t/font_1482221_x9emymthrxs.svg#iconfont) format("svg")}.acea-row{display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-lines:multiple;-moz-box-lines:multiple;-o-box-lines:multiple;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.acea-row.row-middle{-webkit-box-align:center;-moz-box-align:center;-o-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.bg-color-red{background-color:#e93323!important}.acea-row.row-right{-webkit-box-pack:end;-moz-box-pack:end;-o-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.acea-row.row-between-wrapper{-webkit-box-align:center;-moz-box-align:center;-o-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-moz-box-pack:justify;-o-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.acea-row.row-column-around{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;justify-content:space-around;-webkit-justify-content:space-around}.acea-row.row-center-wrapper{-webkit-box-align:center;-moz-box-align:center;-o-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-moz-box-pack:center;-o-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.iconfont{font-family:iconfont!important;font-size:%?34?%;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:%?0?%;-moz-osx-font-smoothing:grayscale}.iconedit:before{content:"\\e649"}.iconfavorfill:before{content:"\\e64b"}.iconfavor:before{content:"\\e64c"}.iconlocation:before{content:"\\e651"}.iconroundcheckfill:before{content:"\\e656"}.iconroundcheck:before{content:"\\e657"}.iconunfold:before{content:"\\e661"}.iconlikefill:before{content:"\\e668"}.iconlike:before{content:"\\e669"}.iconshop:before{content:"\\e676"}.iconcart:before{content:"\\e6af"}.icondelete:before{content:"\\e6b4"}.iconhome:before{content:"\\e6b8"}.iconcartfill:before{content:"\\e6b9"}.iconhomefill:before{content:"\\e6bb"}.iconlock:before{content:"\\e6c0"}.iconfriendadd:before{content:"\\e6ca"}.iconfold:before{content:"\\e6de"}.iconapps:before{content:"\\e729"}.iconadd:before{content:"\\e767"}.iconmove:before{content:"\\e768"}.icontriangledownfill:before{content:"\\e79b"}.icontriangleupfill:before{content:"\\e79c"}.iconshaixuan:before{content:"\\e74a"}.iconyanzhengma:before{content:"\\e684"}.iconjifen:before{content:"\\e60f"}.iconwuliuxinxi:before{content:"\\e62b"}.iconmessage:before{content:"\\e78a"}.iconsetting:before{content:"\\e78e"}.iconaddition:before{content:"\\e6e0"}.iconclose:before{content:"\\e6e9"}.iconenter:after{content:"\\e6f8"}.iconprompt:before{content:"\\e71b"}.iconreturn:before{content:"\\e720"}.iconsearch:before{content:"\\e741"}.iconpengyouquan:before{content:"\\e62c"}.iconweixin:before{content:"\\e60e"}.iconzhifubao:before{content:"\\e673"}.iconyue:before{content:"\\e618"}.iconweixin1:before{content:"\\e622"}.iconlock1:before{content:"\\e64d"}.iconuser:before{content:"\\e64e"}.iconchenggongtixianshouyi:before{content:"\\e64f"}.iconviptuiguangdingdan:before{content:"\\e650"}.icondaifukuan:before{content:"\\e652"}.icondaijiesuanshouyi:before{content:"\\e653"}.icondaidakuanshouyi:before{content:"\\e654"}.icondaifahuo:before{content:"\\e655"}.icondaishouhuoshouyi:before{content:"\\e658"}.icondaishouhuo:before{content:"\\e659"}.iconwuxiaoshouyi:before{content:"\\e65a"}.icontixianmingxi:before{content:"\\e65b"}.iconshouyi:before{content:"\\e65c"}.iconkouchutixianshouxufei:before{content:"\\e65d"}.iconyishenqingshouyi:before{content:"\\e65e"}.icontuihuanhuo:before{content:"\\e65f"}\r\n/*水平线*/.hr{width:100%;position:relative;border-bottom:1px solid #ddd\r\n\t/* height: 0.5rpx; */}\r\n/* 一行显示 */.clamp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}\r\n/* 二行显示 */.clamp2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}\r\n/* 二行显示 */.ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.common-hover{background:#f5f5f5}\r\n/* 角标 */.corner{background-color:#e51c23;position:absolute;right:%?-18?%;top:%?-18?%;color:#fff;text-align:center;border-radius:999px;font-size:%?24?%!important;min-width:%?35?%;min-height:%?35?%;display:flex;align-items:center;justify-content:center;line-height:1}.flex_item{display:flex;align-items:center\r\n\t/* justify-content: space-between; */}\r\n/* 左右顶格加上下居中 */.flex-between-center{display:flex;justify-content:space-between;align-items:center}\r\n/* flex布局-整体居中 */.flex-center{display:flex;align-items:center;justify-content:center}.flex-start{display:flex;align-items:center;justify-content:flex-start}\r\n/*文字对齐*/.text-left{text-align:left!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}.text-right{text-align:right!important}.text-default{color:#212121!important}.text-white{color:#fff!important}.text-primary{color:#00bcd4!important}.text-success{color:#009688!important}.text-info{color:#03a9f4!important}.text-warning{color:#ffc107!important}.text-danger{color:#e51c23!important}.text-pink{color:#e91e63!important}.text-purple{color:#673ab7!important}.text-indigo{color:#3f51b5!important}.text-gray{color:#999!important}.bg-default{background-color:#f5f5f5!important}.bg-primary{background-color:#00bcd4!important}.bg-success{background-color:#009688!important}.bg-info{background-color:#03a9f4!important}.bg-warning{background-color:#ffb238!important}.bg-danger{background-color:#dc4d46!important}.bg-pink{background-color:#e91e63!important}.bg-purple{background-color:#673ab7!important}.bg-indigo{background-color:#3f51b5!important}.bg-white{background-color:#fff!important}.bg-gray{background-color:#e3e3e3!important}\r\n/* 边框 */.border-radius-15{border-radius:%?15?%}.border-radius-10{border-radius:%?10?%}.border-radius-all{border-radius:%?1000?%}\r\n/* 底部边线 */.borde-b{border-bottom:1px solid #ddd}\r\n/* 弹性盒子 */.flex{display:flex;align-items:center;justify-content:space-between}.items-left{justify-content:flex-start}.items-right{justify-content:flex-end}.flex-shrink-false{flex-shrink:0}.flex-grow-true{flex-grow:1}.position-relative{position:relative}uni-view,\r\nuni-scroll-view,\r\nuni-swiper,\r\nuni-swiper-item,\r\nuni-cover-view,\r\nuni-cover-image,\r\nuni-icon,\r\nuni-text,\r\nuni-rich-text,\r\nuni-progress,\r\nuni-button,\r\nuni-checkbox,\r\nuni-form,\r\nuni-input,\r\nuni-label,\r\nuni-radio,\r\nuni-slider,\r\nuni-switch,\r\nuni-textarea,\r\nuni-navigator,\r\nuni-audio,\r\nuni-camera,\r\nuni-image,\r\nuni-video{box-sizing:border-box}\r\n/* 骨架屏替代方案 */.Skeleton{background:#f3f3f3;padding:%?20?% 0;border-radius:%?8?%}\r\n/* 图片载入替代方案 */.image-wrapper{font-size:0;background:#f3f3f3;border-radius:4px}.image-wrapper uni-image{width:100%;height:100%;transition:.6s;opacity:0}.image-wrapper uni-image.loaded{opacity:1}uni-rich-text img{max-width:100%!important}\r\n/*边框*/.b-b:after,\r\n.b-t:after{position:absolute;z-index:3;left:0;right:0;height:0;content:"";-webkit-transform:scaleY(.5);transform:scaleY(.5);border-bottom:1px solid #e4e7ed}.b-b:after{bottom:0}.b-t:after{top:0}\r\n/* button样式改写 */uni-button,\r\nuni-button{height:%?80?%;line-height:%?80?%;font-size:%?34?%;font-weight:400}uni-button.no-border:before, uni-button.no-border:after, uni-button.no-border:before, uni-button.no-border:after{border:0}uni-button[type="default"],\r\nuni-button[type="default"]{color:#303133}\r\n/* input 样式 */.input-placeholder{color:#999}.placeholder{color:#999}.margin-l-10{margin-left:%?10?%!important}.margin-r-10{margin-right:%?10?%!important}.margin-t-10{margin-top:%?10?%!important}.margin-b-10{margin-bottom:%?10?%!important}.margin-10{margin:%?10?%!important}.margin-v-10{margin-top:%?10?%!important;margin-bottom:%?10?%!important}.margin-c-10{margin-left:%?10?%!important;margin-right:%?10?%!important}.padding-l-10{padding-left:%?10?%!important}.padding-r-10{padding-right:%?10?%!important}.padding-t-10{padding-top:%?10?%!important}.padding-b-10{padding-bottom:%?10?%!important}.padding-10{padding:%?10?%!important}.padding-v-10{padding-top:%?10?%!important;padding-bottom:%?10?%!important}.padding-c-10{padding-left:%?10?%!important;padding-right:%?10?%!important}.margin-l-20{margin-left:%?20?%!important}.margin-r-20{margin-right:%?20?%!important}.margin-t-20{margin-top:%?20?%!important}.margin-b-20{margin-bottom:%?20?%!important}.margin-20{margin:%?20?%!important}.margin-v-20{margin-top:%?20?%!important;margin-bottom:%?20?%!important}.margin-c-20{margin-left:%?20?%!important;margin-right:%?20?%!important}.padding-l-20{padding-left:%?20?%!important}.padding-r-20{padding-right:%?20?%!important}.padding-t-20{padding-top:%?20?%!important}.padding-b-20{padding-bottom:%?20?%!important}.padding-20{padding:%?20?%!important}.padding-v-20{padding-top:%?20?%!important;padding-bottom:%?20?%!important}.padding-c-20{padding-left:%?20?%!important;padding-right:%?20?%!important}.margin-l-30{margin-left:%?30?%!important}.margin-r-30{margin-right:%?30?%!important}.margin-t-30{margin-top:%?30?%!important}.margin-b-30{margin-bottom:%?30?%!important}.margin-30{margin:%?30?%!important}.margin-v-30{margin-top:%?30?%!important;margin-bottom:%?30?%!important}.margin-c-30{margin-left:%?30?%!important;margin-right:%?30?%!important}.padding-l-30{padding-left:%?30?%!important}.padding-r-30{padding-right:%?30?%!important}.padding-t-30{padding-top:%?30?%!important}.padding-b-30{padding-bottom:%?30?%!important}.padding-30{padding:%?30?%!important}.padding-v-30{padding-top:%?30?%!important;padding-bottom:%?30?%!important}.padding-c-30{padding-left:%?30?%!important;padding-right:%?30?%!important}.font-size-sm{font-size:%?24?%}.font-size-base{font-size:%?28?%}.font-size-lg{font-size:%?32?%}.font-color-yellow{color:#fd5b23}.font-color-gray{color:#999}.font-color-red{color:#dd524d}.border-color-yellow{border:%?1?% solid #fd5b23}uni-page-wrapper{background-color:#f8f8f8}uni-page-body{background-color:#f8f8f8;font-family:PingFang SC,STHeitiSC-Light,Helvetica-Light,arial,sans-serif,Droid Sans Fallback}body.?%PAGE?%{background-color:#f8f8f8}',""]),e.exports=n},"87be":function(e,n,t){"use strict";var a=t("4ea4");t("d3b7"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,t("96cf");var r=a(t("1da1")),o=(a(t("0f3e")),window.location.protocol+"//"+window.location.host),i={baseURL:o,header:{"Content-Type":"application/x-www-form-urlencoded"},interceptors:{request:function(e,n){i.request.success=e,i.request.error=n},response:function(e,n){i.response.success=e,i.response.error=n}},request:{success:function(e){return e},error:function(e){return e}},response:{success:function(e){return e},error:function(e){return e}},open:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,t){var a="",r="";a=i.request.success(n),r=i.baseURL+a.url,console.log("生产环境"),uni.request({url:r,method:a.method||"GET",data:a.data,header:n.header||i.header,success:function(n){if(200==n.statusCode)try{e(i.response.success(n))}catch(t){i.response.error(t)}},fail:function(e){i.response.error(e)}})}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));function n(n){return e.apply(this,arguments)}return n}(),upFilse:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,t){var a="",o="";try{a=i.request.success(n)}catch(u){i.request.error(u)}o=i.baseURL+a.url,console.log("生产环境");var s={upload_img_url:o},c={choose:function(e){return new Promise((function(n,t){uni.chooseImage({count:e,success:function(e){n(e.tempFilePaths)},fail:function(e){console.log(e),t(e)}})}))},upload_one:function(e){return new Promise((function(n,t){uni.showLoading({title:"上传中"}),uni.uploadFile({url:s.upload_img_url,filePath:e,name:"file",header:{"Authori-zation":"Bearer "+uni.getStorageSync("token")},success:function(e){"string"===typeof e.data?n(JSON.parse(e.data).data):n(e.data.data)},complete:function(){uni.hideLoading()}})}))},upload:function(e){var n=this,t=e.length;return new Promise(function(){var a=(0,r.default)(regeneratorRuntime.mark((function a(r,o){var i,s,c;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:i=[],s=0;case 2:if(!(s0&&void 0!==arguments[0]&&arguments[0],n=a(),t="/"+n.route,r="",o=Object.keys(n.options);if(o.length>0){for(var i in n.options)("speard"!=i||e)&&(r+=i+"="+n.options[i]+"&");t+="?"+r.substr(0,r.length-1)}return t}t("b64b"),Object.defineProperty(n,"__esModule",{value:!0}),n.getActionPage=a,n.interceptor=r,n.saveUrl=o,n.getPageUrl=i},b0c5:function(e,n,t){var a;t("c975"),t("ac1f"),t("466d"),t("5319"),t("1276");var r=t("9523");!function(r,o){a=function(){return o(r)}.call(n,t,n,e),void 0===a||(e.exports=a)}(window,(function(e,n){if(!e.jWeixin){var t,a,o={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"},i=function(){var e={};for(var n in o)e[o[n]]=n;return e}(),s=e.document,c=s.title,u=navigator.userAgent.toLowerCase(),g=navigator.platform.toLowerCase(),d=!(!g.match("mac")&&!g.match("win")),p=-1!=u.indexOf("wxdebugger"),l=-1!=u.indexOf("micromessenger"),f=-1!=u.indexOf("android"),m=-1!=u.indexOf("iphone")||-1!=u.indexOf("ipad"),y=(a=u.match(/micromessenger\/(\d+\.\d+\.\d+)/)||u.match(/micromessenger\/(\d+\.\d+)/))?a[1]:"",_={initStartTime:V(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},h={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:m?1:f?2:-1,clientVersion:y,url:encodeURIComponent(location.href)},b={},w={_completes:[]},C={state:0,data:{}};M((function(){_.initEndTime=V()}));var x=!1,v=[],S=(t={config:function(n){j("config",b=n);var t=!1!==b.check;M((function(){if(t)A(o.config,{verifyJsApiList:B(b.jsApiList),verifyOpenTagList:B(b.openTagList)},function(){w._complete=function(e){_.preVerifyEndTime=V(),C.state=1,C.data=e},w.success=function(e){h.isPreVerifyOk=0},w.fail=function(e){w._fail?w._fail(e):C.state=-1};var e=w._completes;return e.push((function(){!function(){if(!(d||p||b.debug||y<"6.0.2"||h.systemType<0)){var e=new Image;h.appId=b.appId,h.initTime=_.initEndTime-_.initStartTime,h.preVerifyTime=_.preVerifyEndTime-_.preVerifyStartTime,S.getNetworkType({isInnerInvoke:!0,success:function(n){h.networkType=n.networkType;var t="https://open.weixin.qq.com/sdk/report?v="+h.version+"&o="+h.isPreVerifyOk+"&s="+h.systemType+"&c="+h.clientVersion+"&a="+h.appId+"&n="+h.networkType+"&i="+h.initTime+"&p="+h.preVerifyTime+"&u="+h.url;e.src=t}})}}()})),w.complete=function(n){for(var t=0,a=e.length;t