(function(e){function n(n){for(var o,i,s=n[0],c=n[1],u=n[2],g=0,d=[];g1&&void 0!==arguments[1]?arguments[1]:1500,t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&uni.showToast({title:e,duration:n,mask:t,icon:o})},u=function(){var e=getCurrentPages(),n=e[e.length-2];return n};r.default.config.productionTip=!1,r.default.prototype.$fire=new r.default,r.default.prototype.$store=i.default,r.default.prototype.$api={msg:c,prePage:u},s.default.mpType="app";var g=new r.default((0,a.default)({},s.default));g.$mount()},"58bf":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={userInfo:{},orderInfo:{complete_count:0,received_count:0,unshipped_count:0,order_count:0,unpaid_count:0},hasLogin:!1},a={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){console.log(n),e.userInfo=n,uni.setStorage({key:"userInfo",data:n})},setOrderInfo:function(e,n){e.orderInfo=n}},r={},i={namespaced:!0,state:o,mutations:a,getters:r};n.default=i},5944:function(e,n,t){"use strict";function o(){var e=getCurrentPages();return e[e.length-1]}function a(){var e=o(),n="/"+e.route,t="/pages/public/login",a=uni.getStorageSync("weichatBrowser");a&&(t="/pages/public/wxLogin"),n!=t&&uni.navigateTo({url:t})}function r(){var e=i(!0);uni.setStorageSync("present",e)}function i(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=o(),t="/"+n.route,a="",r=Object.keys(n.options);if(r.length>0){for(var i in n.options)("speard"!=i||e)&&(a+=i+"="+n.options[i]+"&");t+="?"+a.substr(0,a.length-1)}return t}t("b64b"),Object.defineProperty(n,"__esModule",{value:!0}),n.getActionPage=o,n.interceptor=a,n.saveUrl=r,n.getPageUrl=i},"82f9":function(e,n,t){var o=t("24fb");n=o(!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},"8a8c":function(e,n,t){"use strict";t("4160"),t("fb6a"),t("159b"),Object.defineProperty(n,"__esModule",{value:!0}),n.addLog=r,n.delLog=i,n.getLog=s,n.initLog=c,n.showLog=u;var o=100,a="log";function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=uni.getStorageSync(a)||[];t.unshift({title:e,content:n}),uni.setStorageSync(a,t),c(t)}function i(){return uni.setStorageSync(a,"")}function s(){return uni.getStorageSync(a)}function c(e){if(e.length>o){var n=e.slice(e.length-o);uni.setStorageSync(a,n)}}function u(e){var n="";uni.getStorageSync(a).forEach((function(e){n+=e.title+":"+JSON.stringify(e.content)})),uni.showModal({title:"日志",content:n})}},"93cb":function(e,n,t){var o=t("82f9");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var a=t("4f06").default;a("4f7dc1bf",o,!0,{sourceMap:!1,shadowMode:!1})},"94c9":function(e,n,t){"use strict";function o(){var e=navigator.userAgent,n=e.indexOf("Android")>-1||e.indexOf("Linux")>-1;return n}function a(){return!!navigator.userAgent.match(/(i[^;]+\;(U;)? CPU.+Mac OS X)/)}function r(){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=o,n.isIOS=a,n.isPad=r,n.isWinPad=i,n.default=void 0;var s={isAndroid:o,isIOS:a,isPad:r,isWinPad:i};n.default=s},"95d8":function(e,n,t){"use strict";t.r(n);var o=t("f48c"),a=t.n(o);for(var r in o)"default"!==r&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=a.a},9807:function(e,n,t){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"doc",n="";return"doc"==e&&(n=plus.io.PRIVATE_DOC),"www"==e&&(n=plus.io.PRIVATE_WWW),"public"==e&&(n=plus.io.PUBLIC_DOCUMENTS),"dom"==e&&(n=plus.io.PUBLIC_DOWNLOADS),new Promise((function(e,t){plus.io.requestFileSystem(n,(function(n){e(n)}),(function(e){t(e)}))}))}function a(e,n){return new Promise((function(t,o){e.root.getFile(n,{create:!0},(function(e){console.log("文件获取成功"),t(e)}),(function(e){o(e)}))}))}function r(e,n){return new Promise((function(t,o){e.createWriter((function(e){e.write(n),e.onwrite((function(e){t(e)})),e.onerror((function(e){o(e)}))}),(function(e){o(e.message)}))}))}function i(e,n){return new Promise((function(t,o){a(e,n).then((function(e){e.file((function(e){var n=new plus.io.FileReader;n.readAsText(e,"utf-8"),n.onloadend=function(e){t(e)},n.onerror((function(e){o(e)}))}),(function(e){o(e)}))})).catch((function(e){o(e)}))}))}t("d3b7"),Object.defineProperty(n,"__esModule",{value:!0}),n.getFileIndex=o,n.getFile=a,n.writerTxt=r,n.getFileText=i},a2e1:function(e,n,t){"use strict";var o=t("4ea4");t("d3b7"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,t("96cf");var a=o(t("1da1")),r=o(t("e594")),i={baseURL:r.default.state.baseURL,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,a.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 o="",a="";o=i.request.success(n),a=i.baseURL+o.url,console.log("生产环境"),uni.request({url:a,method:o.method||"GET",data:o.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,a.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 o="",r="";try{o=i.request.success(n)}catch(u){i.request.error(u)}r=i.baseURL+o.url,console.log("生产环境");var s={upload_img_url:r},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 o=(0,a.default)(regeneratorRuntime.mark((function o(a,r){var i,s,c;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:i=[],s=0;case 2:if(!(s