(function(e){function n(n){for(var t,r,c=n[0],s=n[1],u=n[2],d=0,g=[];d<c.length;d++)r=c[d],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&g.push(a[r][0]),a[r]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t]);p&&p(n);while(g.length)g.shift()();return i.push.apply(i,u||[]),o()}function o(){for(var e,n=0;n<i.length;n++){for(var o=i[n],t=!0,c=1;c<o.length;c++){var s=o[c];0!==a[s]&&(t=!1)}t&&(i.splice(n--,1),e=r(r.s=o[0]))}return e}var t={},a={index:0},i=[];function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.e=function(e){var n=[],o=a[e];if(0!==o)if(o)n.push(o[2]);else{var t=new Promise((function(n,t){o=a[e]=[n,t]}));n.push(o[2]=t);var i,c=document.createElement("script");c.charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.src=function(e){return r.p+"static/js/"+({"pages-address-list":"pages-address-list","pages-address-upsert":"pages-address-upsert","pages-cart-cart":"pages-cart-cart","pages-category-category":"pages-category-category","pages-coupon-list":"pages-coupon-list","pages-index-index":"pages-index-index","pages-notice-notice":"pages-notice-notice","pages-order-appraise":"pages-order-appraise","pages-order-create":"pages-order-create","pages-order-detail":"pages-order-detail","pages-order-list~pages-product-favorite~pages-product-groupshop":"pages-order-list~pages-product-favorite~pages-product-groupshop","pages-order-list":"pages-order-list","pages-product-favorite":"pages-product-favorite","pages-product-groupshop":"pages-product-groupshop","pages-order-trace":"pages-order-trace","pages-pay-pay":"pages-pay-pay","pages-pay-success":"pages-pay-success","pages-product-appraise":"pages-product-appraise","pages-product-detail":"pages-product-detail","pages-product-list":"pages-product-list","pages-product-search":"pages-product-search","pages-public-bind":"pages-public-bind","pages-public-login":"pages-public-login","pages-public-register":"pages-public-register","pages-public-resetpwd":"pages-public-resetpwd","pages-user-about":"pages-user-about","pages-user-profile":"pages-user-profile","pages-user-user":"pages-user-user","pages-user-vip":"pages-user-vip"}[e]||e)+"."+{"pages-address-list":"7fac3dd3","pages-address-upsert":"841829d7","pages-cart-cart":"62b8c8c3","pages-category-category":"fb133e2a","pages-coupon-list":"78244ec3","pages-index-index":"fd9583e5","pages-notice-notice":"390e59ed","pages-order-appraise":"18c59e2f","pages-order-create":"f2f3cae4","pages-order-detail":"128fa8c6","pages-order-list~pages-product-favorite~pages-product-groupshop":"c52fc8df","pages-order-list":"32d76fcf","pages-product-favorite":"dc18173a","pages-product-groupshop":"8cc65fb4","pages-order-trace":"a0443a9d","pages-pay-pay":"8741284e","pages-pay-success":"ffcb76e1","pages-product-appraise":"2db22f3a","pages-product-detail":"4e700207","pages-product-list":"e1eef427","pages-product-search":"6118784d","pages-public-bind":"ec93e1f2","pages-public-login":"221949d9","pages-public-register":"03a0bc9a","pages-public-resetpwd":"28b22084","pages-user-about":"8628543e","pages-user-profile":"01f9a88c","pages-user-user":"df99f514","pages-user-vip":"8b0ea65f"}[e]+".js"}(e);var s=new Error;i=function(n){c.onerror=c.onload=null,clearTimeout(u);var o=a[e];if(0!==o){if(o){var t=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+t+": "+i+")",s.name="ChunkLoadError",s.type=t,s.request=i,o[1](s)}a[e]=void 0}};var u=setTimeout((function(){i({type:"timeout",target:c})}),12e4);c.onerror=c.onload=i,document.head.appendChild(c)}return Promise.all(n)},r.m=e,r.c=t,r.d=function(e,n,o){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)r.d(o,t,function(n){return e[n]}.bind(null,t));return o},r.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="/h5/",r.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],s=c.push.bind(c);c.push=n,c=c.slice();for(var u=0;u<c.length;u++)n(c[u]);var p=s;i.push([0,"chunk-vendors"]),o()})({0:function(e,n,o){e.exports=o("1bce")},"0a48":function(e,n,o){"use strict";o.d(n,"b",(function(){return t})),o.d(n,"c",(function(){return a})),o.d(n,"a",(function(){}));var t=function(){var e=this.$createElement,n=this._self._c||e;return n("App",{attrs:{keepAliveInclude:this.keepAliveInclude}})},a=[]},"1bce":function(e,n,o){"use strict";o("6a54");var t=o("3639").default,a=o("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.style=_,o("bf0f"),o("2797"),o("dc8a"),o("8f71"),o("20f3");var i=a(o("9b1b"));o("3dde"),o("a8b2"),o("1480"),o("6e4a"),o("a346"),o("9337");var r=a(o("9b8e")),c=a(o("3d3e")),s=a(o("3dcb")),u=t(o("2062")),p=a(o("3ecb"));Object.keys(u).forEach((function(e){r.default.filter(e,u[e])}));var d=o("a9eb"),g=o("5931");r.default.mixin({onShow:function(){g.configWeiXin((function(e){}))}});var l,f=!1;function m(e){var n=e.lastIndexOf("."),o="";return-1!==n&&(o=e.substring(n)),o}function y(e){e=e||32;for(var n="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",o=n.length,t="",a=0;a<e;a++)t+=n.charAt(Math.floor(Math.random()*o));return t}function _(e){return"aliyun"===p.default.OSS_PROVIDER?"?x-oss-process=style/"+e+"px":"qcloud"===p.default.OSS_PROVIDER?"?imageMogr2/thumbnail/"+e+"x/interlace/0":void 0}r.default.config.productionTip=!1,r.default.prototype.$fire=new r.default,r.default.prototype.$store=c.default,r.default.prototype.$api={msg:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1500,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&uni.showToast({title:e,duration:n,mask:o,icon:t})},prePage:function(){var e=getCurrentPages(),n=e[e.length-2];if(!n)return null;var o=n.$vm;return o=n,o},request:function(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=arguments.length>3?arguments[3]:void 0;return new Promise((function(a){l&&l.accessToken||(l=uni.getStorageSync("userInfo"));var r=l?l.accessToken:"",c=p.default.baseUrl;uni.request({url:c+"/m.api",data:(0,i.default)((0,i.default)({},o),{},{_gp:e,_mt:n}),method:"POST",header:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",ACCESSTOKEN:r},success:function(e){200===e.statusCode&&(200===e.data.errno?a(e.data):10001===e.data.errno?(t&&t(e.data),f||(f=!0,uni.showModal({title:"登录提示",content:"您尚未登录,是否立即登录?",showCancel:!0,confirmText:"登录",success:function(e){e.confirm&&uni.navigateTo({url:"/pages/public/login"})},fail:function(){},complete:function(){f=!1}}))):t?t(e.data):uni.showToast({title:e.data.errmsg,icon:"none"}))}})}))},uploadImg:function(e){l&&l.accessToken||(l=uni.getStorageSync("userInfo"));var n=l?l.accessToken:"",o=p.default.baseUrl;uni.chooseImage({sizeType:["compressed"],success:function(t){for(var a=0;a<t.tempFilePaths.length;a++){uni.showLoading({title:"图片上传中"});var i="imgs/"+y(15)+m(t.tempFilePaths[a]);uni.uploadFile({url:o+"/upload/user",filePath:t.tempFilePaths[a],name:"file",formData:{name:t.tempFilePaths[a],key:i},header:{ACCESSTOKEN:n},success:function(n){uni.hideLoading(),console.log(n),200===n.statusCode?e?e(JSON.parse(n.data).url):uni.showToast({title:"上传成功",icon:"none"}):(uni.hideLoading(),uni.showToast({title:"网络错误 code="+n.statusCode,icon:"none"}))}})}}})},logout:function(){l=void 0,uni.removeStorage({key:"userInfo"})},isVip:function(){return l&&l.level},setUserInfo:function(e){l=e},config:p.default,globalData:{},style:_},r.default.prototype.$jweixin=d,s.default.mpType="app";var h=new r.default((0,i.default)({},s.default));h.$mount()},2062:function(e,n,o){"use strict";function t(e){return("00"+e).substr(e.length)}o("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.dateFormat=function(e){return function(e,n){/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length)));var o={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds()};for(var a in o)if(new RegExp("(".concat(a,")")).test(n)){var i=o[a]+"";n=n.replace(RegExp.$1,1===RegExp.$1.length?i:t(i))}return n}(new Date(e),"yyyy-MM-dd hh:mm")},o("5c47"),o("0506"),o("a1c1"),o("23f4"),o("7d2f"),o("9c4e"),o("ab80")},"3a62":function(e,n){e.exports={baseUrl:"http://127.0.0.1:8981",h5Appid:"wxd069726abd2b7d23",debug:!1,OSS_PROVIDER:"qcloud"}},"3d3e":function(e,n,o){"use strict";o("6a54");var t=o("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=t(o("9b8e")),i=t(o("8f59"));a.default.use(i.default);var r=new i.default.Store({state:{hasLogin:!1,userInfo:{}},mutations:{login:function(e,n){e.hasLogin=!0,e.userInfo=n,uni.setStorageSync("userInfo",n)},logout:function(e){e.hasLogin=!1,e.userInfo={},uni.removeStorageSync("userInfo")}},actions:{},getters:{getUserInfo:function(e){return e.userInfo}}}),c=r;n.default=c},"3dcb":function(e,n,o){"use strict";o.r(n);var t=o("0a48"),a=o("918b");for(var i in a)["default"].indexOf(i)<0&&function(e){o.d(n,e,(function(){return a[e]}))}(i);o("b293");var r=o("828b"),c=Object(r["a"])(a["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],void 0);n["default"]=c.exports},"3ecb":function(e,n,o){var t;t=o("3a62"),e.exports=t},5931:function(e,n,o){"use strict";o("6a54");var t=o("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.configWeiXin=void 0;var a=t(o("2634")),i=t(o("2fdc")),r=t(o("3ecb")),c=o("a9eb"),s=function(){var e=(0,i.default)((0,a.default)().mark((function e(n){return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:uni.request({url:r.default.baseUrl+"/m.api",data:{_gp:"user",_mt:"getH5Sign",url:window.location.href},method:"POST",header:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},success:function(e){if(200===e.statusCode&&200===e.data.errno){var o=e.data.data;if(o){var t={debug:r.default.debug,appId:r.default.h5Appid,nonceStr:o.noncestr,timestamp:o.timestamp,signature:o.sign,jsApiList:["chooseWXPay"]};c.config(t),c.error((function(e){console.log("config fail:",e)})),c.ready((function(e){n&&n(c)}))}}}});case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();n.configWeiXin=s},"62b2":function(e,n,o){"use strict";o("6a54");var t=o("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=t(o("9b1b")),i=o("8f59"),r={methods:(0,a.default)({},(0,i.mapMutations)(["login"])),onLaunch:function(){var e=this,n=uni.getStorageSync("userInfo")||"";n.id&&1===n.status&&uni.getStorage({key:"userInfo",success:function(n){e.login(n.data)}})},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};n.default=r},"7f68":function(e,n,o){e.exports=o.p+"static/yticon.ttf"},"918b":function(e,n,o){"use strict";o.r(n);var t=o("62b2"),a=o.n(t);for(var i in t)["default"].indexOf(i)<0&&function(e){o.d(n,e,(function(){return t[e]}))}(i);n["default"]=a.a},"94a3":function(e,n,o){var t=o("c840");t.__esModule&&(t=t.default),"string"===typeof t&&(t=[[e.i,t,""]]),t.locals&&(e.exports=t.locals);var a=o("967d").default;a("81fe4c50",t,!0,{sourceMap:!1,shadowMode:!1})},a346:function(e,n,o){"use strict";(function(e){var n=o("f5bd").default;o("473f"),o("bf0f"),o("de6c"),o("5c47"),o("a1c1");var t=n(o("9b8e")),a={keys:function(){return[]}};e["____EA0BBFB____"]=!0,delete e["____EA0BBFB____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#FFFFFF",backgroundColor:"#f8f8f8"},tabBar:{color:"#C0C4CC",selectedColor:"#fa436a",borderStyle:"black",backgroundColor:"#ffffff",list:[{pagePath:"pages/index/index",iconPath:"static/tab-home.png",selectedIconPath:"static/tab-home-current.png",text:"首页",redDot:!1,badge:""},{pagePath:"pages/category/category",iconPath:"static/tab-cate.png",selectedIconPath:"static/tab-cate-current.png",text:"分类",redDot:!1,badge:""},{pagePath:"pages/cart/cart",iconPath:"static/tab-cart.png",selectedIconPath:"static/tab-cart-current.png",text:"购物车",redDot:!1,badge:""},{pagePath:"pages/user/user",iconPath:"static/tab-my.png",selectedIconPath:"static/tab-my-current.png",text:"我的",redDot:!1,badge:""}]},condition:{current:0,list:[{name:"",path:"",query:""}]}},e.__uniConfig.compilerVersion="4.24",e.__uniConfig.darkmode=!1,e.__uniConfig.themeConfig={},e.__uniConfig.uniPlatform="h5",e.__uniConfig.appId="__UNI__EA0BBFB",e.__uniConfig.appName="Uni商城",e.__uniConfig.appVersion="1.0.0",e.__uniConfig.appVersionCode="100",e.__uniConfig.router={mode:"history",base:"/h5/"},e.__uniConfig.publicPath="/h5/",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={},e.__uniConfig.qqMapKey=void 0,e.__uniConfig.googleMapKey=void 0,e.__uniConfig.aMapKey=void 0,e.__uniConfig.aMapSecurityJsCode=void 0,e.__uniConfig.aMapServiceHost=void 0,e.__uniConfig.locale="",e.__uniConfig.fallbackLocale=void 0,e.__uniConfig.locales=a.keys().reduce((function(e,n){var o=n.replace(/\.\/(uni-app.)?(.*).json/,"$2"),t=a(n);return Object.assign(e[o]||(e[o]={}),t.common||t),e}),{}),e.__uniConfig.nvue={"flex-direction":"column"},e.__uniConfig.__webpack_chunk_load__=o.e,t.default.component("pages-index-index",(function(e){var n={component:o.e("pages-index-index").then(function(){return e(o("592b"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-product-groupshop",(function(e){var n={component:Promise.all([o.e("pages-order-list~pages-product-favorite~pages-product-groupshop"),o.e("pages-product-groupshop")]).then(function(){return e(o("6037"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-address-list",(function(e){var n={component:o.e("pages-address-list").then(function(){return e(o("53b5"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-address-upsert",(function(e){var n={component:o.e("pages-address-upsert").then(function(){return e(o("247e"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-product-search",(function(e){var n={component:o.e("pages-product-search").then(function(){return e(o("4144"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-product-detail",(function(e){var n={component:o.e("pages-product-detail").then(function(){return e(o("a381"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-product-favorite",(function(e){var n={component:Promise.all([o.e("pages-order-list~pages-product-favorite~pages-product-groupshop"),o.e("pages-product-favorite")]).then(function(){return e(o("d9c3"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-product-list",(function(e){var n={component:o.e("pages-product-list").then(function(){return e(o("aaa1"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-product-appraise",(function(e){var n={component:o.e("pages-product-appraise").then(function(){return e(o("789a"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-user-profile",(function(e){var n={component:o.e("pages-user-profile").then(function(){return e(o("2dd6"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-cart-cart",(function(e){var n={component:o.e("pages-cart-cart").then(function(){return e(o("52af"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-public-login",(function(e){var n={component:o.e("pages-public-login").then(function(){return e(o("6174"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-public-register",(function(e){var n={component:o.e("pages-public-register").then(function(){return e(o("324d"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-public-resetpwd",(function(e){var n={component:o.e("pages-public-resetpwd").then(function(){return e(o("3451"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-public-bind",(function(e){var n={component:o.e("pages-public-bind").then(function(){return e(o("eab5"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-user-user",(function(e){var n={component:o.e("pages-user-user").then(function(){return e(o("e6a4"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-user-about",(function(e){var n={component:o.e("pages-user-about").then(function(){return e(o("b69c"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-user-vip",(function(e){var n={component:o.e("pages-user-vip").then(function(){return e(o("59a4"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-order-list",(function(e){var n={component:Promise.all([o.e("pages-order-list~pages-product-favorite~pages-product-groupshop"),o.e("pages-order-list")]).then(function(){return e(o("3d51"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-order-create",(function(e){var n={component:o.e("pages-order-create").then(function(){return e(o("4416"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-order-detail",(function(e){var n={component:o.e("pages-order-detail").then(function(){return e(o("0fef"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-order-appraise",(function(e){var n={component:o.e("pages-order-appraise").then(function(){return e(o("f3a9"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-order-trace",(function(e){var n={component:o.e("pages-order-trace").then(function(){return e(o("0c3f"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-pay-pay",(function(e){var n={component:o.e("pages-pay-pay").then(function(){return e(o("b475"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-pay-success",(function(e){var n={component:o.e("pages-pay-success").then(function(){return e(o("449f"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-notice-notice",(function(e){var n={component:o.e("pages-notice-notice").then(function(){return e(o("6c39"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-category-category",(function(e){var n={component:o.e("pages-category-category").then(function(){return e(o("070a"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),t.default.component("pages-coupon-list",(function(e){var n={component:o.e("pages-coupon-list").then(function(){return e(o("4641"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),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,{titleNView:{type:"transparent",searchInput:{backgroundColor:"rgba(231, 231, 231,.7)",borderRadius:"16px",placeholder:"请搜索宝贝名称",disabled:!0,placeholderColor:"#606266"},buttons:[]}})},[e("pages-index-index",{slot:"page"})])}},meta:{id:1,name:"pages-index-index",isNVue:!1,maxWidth:0,pagePath:"pages/index/index",isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,windowTop:0}},{path:"/pages/product/groupshop",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"团购"})},[e("pages-product-groupshop",{slot:"page"})])}},meta:{name:"pages-product-groupshop",isNVue:!1,maxWidth:0,pagePath:"pages/product/groupshop",windowTop:44}},{path:"/pages/address/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"收货地址"})},[e("pages-address-list",{slot:"page"})])}},meta:{name:"pages-address-list",isNVue:!1,maxWidth:0,pagePath:"pages/address/list",windowTop:44}},{path:"/pages/address/upsert",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",disableScroll:!0})},[e("pages-address-upsert",{slot:"page"})])}},meta:{name:"pages-address-upsert",isNVue:!1,maxWidth:0,pagePath:"pages/address/upsert",windowTop:44}},{path:"/pages/product/search",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"搜索"})},[e("pages-product-search",{slot:"page"})])}},meta:{name:"pages-product-search",isNVue:!1,maxWidth:0,pagePath:"pages/product/search",windowTop:44}},{path:"/pages/product/detail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"详情展示",titleNView:{type:"transparent"}})},[e("pages-product-detail",{slot:"page"})])}},meta:{name:"pages-product-detail",isNVue:!1,maxWidth:0,pagePath:"pages/product/detail",windowTop:0}},{path:"/pages/product/favorite",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{enablePullDownRefresh:!0,navigationBarTitleText:"商品收藏"})},[e("pages-product-favorite",{slot:"page"})])}},meta:{name:"pages-product-favorite",isNVue:!1,maxWidth:0,pagePath:"pages/product/favorite",windowTop:44}},{path:"/pages/product/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{enablePullDownRefresh:!0,navigationBarTitleText:"商品列表"})},[e("pages-product-list",{slot:"page"})])}},meta:{name:"pages-product-list",isNVue:!1,maxWidth:0,pagePath:"pages/product/list",windowTop:44}},{path:"/pages/product/appraise",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"全部评价"})},[e("pages-product-appraise",{slot:"page"})])}},meta:{name:"pages-product-appraise",isNVue:!1,maxWidth:0,pagePath:"pages/product/appraise",windowTop:44}},{path:"/pages/user/profile",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"修改资料"})},[e("pages-user-profile",{slot:"page"})])}},meta:{name:"pages-user-profile",isNVue:!1,maxWidth:0,pagePath:"pages/user/profile",windowTop:44}},{path:"/pages/cart/cart",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:2},__uniConfig.globalStyle,{navigationBarTitleText:"购物车"})},[e("pages-cart-cart",{slot:"page"})])}},meta:{id:2,name:"pages-cart-cart",isNVue:!1,maxWidth:0,pagePath:"pages/cart/cart",isQuit:!0,isTabBar:!0,tabBarIndex:2,windowTop:44}},{path:"/pages/public/login",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",titleNView:!1})},[e("pages-public-login",{slot:"page"})])}},meta:{name:"pages-public-login",isNVue:!1,maxWidth:0,pagePath:"pages/public/login",windowTop:0}},{path:"/pages/public/register",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",titleNView:!1})},[e("pages-public-register",{slot:"page"})])}},meta:{name:"pages-public-register",isNVue:!1,maxWidth:0,pagePath:"pages/public/register",windowTop:0}},{path:"/pages/public/resetpwd",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",titleNView:!1})},[e("pages-public-resetpwd",{slot:"page"})])}},meta:{name:"pages-public-resetpwd",isNVue:!1,maxWidth:0,pagePath:"pages/public/resetpwd",windowTop:0}},{path:"/pages/public/bind",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"",navigationStyle:"custom",titleNView:!1})},[e("pages-public-bind",{slot:"page"})])}},meta:{name:"pages-public-bind",isNVue:!1,maxWidth:0,pagePath:"pages/public/bind",windowTop:0}},{path:"/pages/user/user",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:3},__uniConfig.globalStyle,{navigationBarTitleText:"我的",titleNView:{type:"transparent",buttons:[]}})},[e("pages-user-user",{slot:"page"})])}},meta:{id:3,name:"pages-user-user",isNVue:!1,maxWidth:0,pagePath:"pages/user/user",isQuit:!0,isTabBar:!0,tabBarIndex:3,windowTop:0}},{path:"/pages/user/about",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"关于"})},[e("pages-user-about",{slot:"page"})])}},meta:{name:"pages-user-about",isNVue:!1,maxWidth:0,pagePath:"pages/user/about",windowTop:44}},{path:"/pages/user/vip",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"会员"})},[e("pages-user-vip",{slot:"page"})])}},meta:{name:"pages-user-vip",isNVue:!1,maxWidth:0,pagePath:"pages/user/vip",windowTop:44}},{path:"/pages/order/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的订单"})},[e("pages-order-list",{slot:"page"})])}},meta:{name:"pages-order-list",isNVue:!1,maxWidth:0,pagePath:"pages/order/list",windowTop:44}},{path:"/pages/order/create",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"创建订单"})},[e("pages-order-create",{slot:"page"})])}},meta:{name:"pages-order-create",isNVue:!1,maxWidth:0,pagePath:"pages/order/create",windowTop:44}},{path:"/pages/order/detail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"订单详情"})},[e("pages-order-detail",{slot:"page"})])}},meta:{name:"pages-order-detail",isNVue:!1,maxWidth:0,pagePath:"pages/order/detail",windowTop:44}},{path:"/pages/order/appraise",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"评价订单"})},[e("pages-order-appraise",{slot:"page"})])}},meta:{name:"pages-order-appraise",isNVue:!1,maxWidth:0,pagePath:"pages/order/appraise",windowTop:44}},{path:"/pages/order/trace",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"查看物流"})},[e("pages-order-trace",{slot:"page"})])}},meta:{name:"pages-order-trace",isNVue:!1,maxWidth:0,pagePath:"pages/order/trace",windowTop:44}},{path:"/pages/pay/pay",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"支付"})},[e("pages-pay-pay",{slot:"page"})])}},meta:{name:"pages-pay-pay",isNVue:!1,maxWidth:0,pagePath:"pages/pay/pay",windowTop:44}},{path:"/pages/pay/success",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"支付成功"})},[e("pages-pay-success",{slot:"page"})])}},meta:{name:"pages-pay-success",isNVue:!1,maxWidth:0,pagePath:"pages/pay/success",windowTop:44}},{path:"/pages/notice/notice",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"通知"})},[e("pages-notice-notice",{slot:"page"})])}},meta:{name:"pages-notice-notice",isNVue:!1,maxWidth:0,pagePath:"pages/notice/notice",windowTop:44}},{path:"/pages/category/category",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:1},__uniConfig.globalStyle,{navigationBarTitleText:"分类"})},[e("pages-category-category",{slot:"page"})])}},meta:{id:4,name:"pages-category-category",isNVue:!1,maxWidth:0,pagePath:"pages/category/category",isQuit:!0,isTabBar:!0,tabBarIndex:1,windowTop:44}},{path:"/pages/coupon/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的优惠券"})},[e("pages-coupon-list",{slot:"page"})])}},meta:{name:"pages-coupon-list",isNVue:!1,maxWidth:0,pagePath:"pages/coupon/list",windowTop:44}},{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,o("0ee4"))},a9eb:function(e,n,o){(function(e){var t,a=o("4550").default,i=o("bdbb").default;o("5ef2"),o("5c47"),o("a1c1"),o("d4b5"),o("2c10"),o("aa9c"),function(a,r){"object"==i(n)&&"object"==i(e)?e.exports=r(a):(t=function(){return r(a)}.call(n,o,n,e),void 0===t||(e.exports=t))}(window,(function(e,n){function o(n,o,t){e.WeixinJSBridge?WeixinJSBridge.invoke(n,i(o),(function(e){c(n,e,t)})):u(n,t)}function t(n,o,t){e.WeixinJSBridge?WeixinJSBridge.on(n,(function(e){t&&t.trigger&&t.trigger(e),c(n,e,o)})):u(n,t||o)}function i(e){return(e=e||{}).appId=I.appId,e.verifyAppId=I.appId,e.verifySignType="sha1",e.verifyTimestamp=I.timestamp+"",e.verifyNonceStr=I.nonceStr,e.verifySignature=I.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,n,o){"openEnterpriseChat"==e&&(n.errCode=n.err_code),delete n.err_code,delete n.err_desc,delete n.err_detail;var t=n.errMsg;t||(t=n.err_msg,delete n.err_msg,t=function(e,n){var o=e,t=f[o];t&&(o=t);var a="ok";if(n){var i=n.indexOf(":");"confirm"==(a=n.substring(i+1))&&(a="ok"),"failed"==a&&(a="fail"),-1!=a.indexOf("failed_")&&(a=a.substring(7)),-1!=a.indexOf("fail_")&&(a=a.substring(5)),"access denied"!=(a=(a=a.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=a||(a="permission denied"),"config"==o&&"function not exist"==a&&(a="ok"),""==a&&(a="fail")}return o+":"+a}(e,t),n.errMsg=t),(o=o||{})._complete&&(o._complete(n),delete o._complete),t=n.errMsg||"",I.debug&&!o.isInnerInvoke&&alert(JSON.stringify(n));var a=t.indexOf(":");switch(t.substring(a+1)){case"ok":o.success&&o.success(n);break;case"cancel":o.cancel&&o.cancel(n);break;default:o.fail&&o.fail(n)}o.complete&&o.complete(n)}function s(e){if(e){for(var n=0,o=e.length;n<o;++n){var t=e[n],a=l[t];a&&(e[n]=a)}return e}}function u(e,n){if(!(!I.debug||n&&n.isInnerInvoke)){var o=f[e];o&&(e=o),n&&n._complete&&delete n._complete,console.log('"'+e+'",',n||"")}}function p(){return(new Date).getTime()}function d(n){C&&(e.WeixinJSBridge?n():m.addEventListener&&m.addEventListener("WeixinJSBridgeReady",n,!1))}if(!e.jWeixin){var g,l={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"},f=function(){var e={};for(var n in l)e[l[n]]=n;return e}(),m=e.document,y=m.title,_=navigator.userAgent.toLowerCase(),h=navigator.platform.toLowerCase(),b=!(!h.match("mac")&&!h.match("win")),v=-1!=_.indexOf("wxdebugger"),C=-1!=_.indexOf("micromessenger"),S=-1!=_.indexOf("android"),w=-1!=_.indexOf("iphone")||-1!=_.indexOf("ipad"),x=(L=_.match(/micromessenger\/(\d+\.\d+\.\d+)/)||_.match(/micromessenger\/(\d+\.\d+)/))?L[1]:"",T={initStartTime:p(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},P={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:w?1:S?2:-1,clientVersion:x,url:encodeURIComponent(location.href)},I={},A={_completes:[]},k={state:0,data:{}};d((function(){T.initEndTime=p()}));var B=!1,O=[],M=(g={config:function(n){u("config",I=n);var t=!1!==I.check;d((function(){if(t)o(l.config,{verifyJsApiList:s(I.jsApiList)},function(){A._complete=function(e){T.preVerifyEndTime=p(),k.state=1,k.data=e},A.success=function(e){P.isPreVerifyOk=0},A.fail=function(e){A._fail?A._fail(e):k.state=-1};var e=A._completes;return e.push((function(){!function(e){if(!(b||v||I.debug||x<"6.0.2"||P.systemType<0)){var n=new Image;P.appId=I.appId,P.initTime=T.initEndTime-T.initStartTime,P.preVerifyTime=T.preVerifyEndTime-T.preVerifyStartTime,M.getNetworkType({isInnerInvoke:!0,success:function(e){P.networkType=e.networkType;var o="https://open.weixin.qq.com/sdk/report?v="+P.version+"&o="+P.isPreVerifyOk+"&s="+P.systemType+"&c="+P.clientVersion+"&a="+P.appId+"&n="+P.networkType+"&i="+P.initTime+"&p="+P.preVerifyTime+"&u="+P.url;n.src=o}})}}()})),A.complete=function(n){for(var o=0,t=e.length;o<t;++o)e[o]();A._completes=[]},A}()),T.preVerifyStartTime=p();else{k.state=1;for(var e=A._completes,n=0,a=e.length;n<a;++n)e[n]();A._completes=[]}})),M.invoke||(M.invoke=function(n,o,t){e.WeixinJSBridge&&WeixinJSBridge.invoke(n,i(o),t)},M.on=function(n,o){e.WeixinJSBridge&&WeixinJSBridge.on(n,o)})},ready:function(e){0!=k.state?e():(A._completes.push(e),!C&&I.debug&&e())},error:function(e){x<"6.0.2"||(-1==k.state?e(k.data):A._fail=e)},checkJsApi:function(e){o("checkJsApi",{jsApiList:s(e.jsApiList)},(e._complete=function(e){if(S){var n=e.checkResult;n&&(e.checkResult=JSON.parse(n))}e=function(e){var n=e.checkResult;for(var o in n){var t=f[o];t&&(n[t]=n[o],delete n[o])}return e}(e)},e))},onMenuShareTimeline:function(e){t(l.onMenuShareTimeline,{complete:function(){o("shareTimeline",{title:e.title||y,desc:e.title||y,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){t(l.onMenuShareAppMessage,{complete:function(n){"favorite"===n.scene?o("sendAppMessage",{title:e.title||y,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""}):o("sendAppMessage",{title:e.title||y,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){t(l.onMenuShareQQ,{complete:function(){o("shareQQ",{title:e.title||y,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){t(l.onMenuShareWeibo,{complete:function(){o("shareWeiboApp",{title:e.title||y,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){t(l.onMenuShareQZone,{complete:function(){o("shareQZone",{title:e.title||y,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},updateTimelineShareData:function(e){o("updateTimelineShareData",{title:e.title,link:e.link,imgUrl:e.imgUrl},e)},updateAppMessageShareData:function(e){o("updateAppMessageShareData",{title:e.title,desc:e.desc,link:e.link,imgUrl:e.imgUrl},e)},startRecord:function(e){o("startRecord",{},e)},stopRecord:function(e){o("stopRecord",{},e)},onVoiceRecordEnd:function(e){t("onVoiceRecordEnd",e)},playVoice:function(e){o("playVoice",{localId:e.localId},e)},pauseVoice:function(e){o("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){o("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){t("onVoicePlayEnd",e)},uploadVoice:function(e){o("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){o("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){o("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){o("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},(e._complete=function(e){if(S){var n=e.localIds;try{n&&(e.localIds=JSON.parse(n))}catch(e){}}},e))},getLocation:function(e){},previewImage:function(e){o(l.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){o("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){o("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(e){!1===B?(B=!0,o("getLocalImgData",{localId:e.localId},(e._complete=function(e){if(B=!1,0<O.length){var n=O.shift();wx.getLocalImgData(n)}},e))):O.push(e)},getNetworkType:function(e){o("getNetworkType",{},(e._complete=function(e){e=function(e){var n=e.errMsg;e.errMsg="getNetworkType:ok";var o=e.subtype;if(delete e.subtype,o)e.networkType=o;else{var t=n.indexOf(":"),a=n.substring(t+1);switch(a){case"wifi":case"edge":case"wwan":e.networkType=a;break;default:e.errMsg="getNetworkType:fail"}}return e}(e)},e))},openLocation:function(e){o("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)}},a(g,"getLocation",(function(e){o(l.getLocation,{type:(e=e||{}).type||"wgs84"},(e._complete=function(e){delete e.type},e))})),a(g,"hideOptionMenu",(function(e){o("hideOptionMenu",{},e)})),a(g,"showOptionMenu",(function(e){o("showOptionMenu",{},e)})),a(g,"closeWindow",(function(e){o("closeWindow",{},e=e||{})})),a(g,"hideMenuItems",(function(e){o("hideMenuItems",{menuList:e.menuList},e)})),a(g,"showMenuItems",(function(e){o("showMenuItems",{menuList:e.menuList},e)})),a(g,"hideAllNonBaseMenuItem",(function(e){o("hideAllNonBaseMenuItem",{},e)})),a(g,"showAllNonBaseMenuItem",(function(e){o("showAllNonBaseMenuItem",{},e)})),a(g,"scanQRCode",(function(e){o("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(w){var n=e.resultStr;if(n){var o=JSON.parse(n);e.resultStr=o&&o.scan_code&&o.scan_code.scan_result}}},e))})),a(g,"openAddress",(function(e){o(l.openAddress,{},(e._complete=function(e){var n;(n=e).postalCode=n.addressPostalCode,delete n.addressPostalCode,n.provinceName=n.proviceFirstStageName,delete n.proviceFirstStageName,n.cityName=n.addressCitySecondStageName,delete n.addressCitySecondStageName,n.countryName=n.addressCountiesThirdStageName,delete n.addressCountiesThirdStageName,n.detailInfo=n.addressDetailInfo,delete n.addressDetailInfo,e=n},e))})),a(g,"openProductSpecificView",(function(e){o(l.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)})),a(g,"addCard",(function(e){for(var n=e.cardList,t=[],a=0,i=n.length;a<i;++a){var r=n[a],c={card_id:r.cardId,card_ext:r.cardExt};t.push(c)}o(l.addCard,{card_list:t},(e._complete=function(e){var n=e.card_list;if(n){for(var o=0,t=(n=JSON.parse(n)).length;o<t;++o){var a=n[o];a.cardId=a.card_id,a.cardExt=a.card_ext,a.isSuccess=!!a.is_succ,delete a.card_id,delete a.card_ext,delete a.is_succ}e.cardList=n,delete e.card_list}},e))})),a(g,"chooseCard",(function(e){o("chooseCard",{app_id:I.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))})),a(g,"openCard",(function(e){for(var n=e.cardList,t=[],a=0,i=n.length;a<i;++a){var r=n[a],c={card_id:r.cardId,code:r.code};t.push(c)}o(l.openCard,{card_list:t},e)})),a(g,"consumeAndShareCard",(function(e){o(l.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)})),a(g,"chooseWXPay",(function(e){o(l.chooseWXPay,r(e),e)})),a(g,"openEnterpriseRedPacket",(function(e){o(l.openEnterpriseRedPacket,r(e),e)})),a(g,"startSearchBeacons",(function(e){o(l.startSearchBeacons,{ticket:e.ticket},e)})),a(g,"stopSearchBeacons",(function(e){o(l.stopSearchBeacons,{},e)})),a(g,"onSearchBeacons",(function(e){t(l.onSearchBeacons,e)})),a(g,"openEnterpriseChat",(function(e){o("openEnterpriseChat",{useridlist:e.userIds,chatname:e.groupName},e)})),a(g,"launchMiniProgram",(function(e){o("launchMiniProgram",{targetAppId:e.targetAppId,path:function(e){if("string"==typeof e&&0<e.length){var n=e.split("?")[0],o=e.split("?")[1];return n+=".html",void 0!==o?n+"?"+o:n}}(e.path),envVersion:e.envVersion},e)})),a(g,"miniProgram",{navigateBack:function(e){e=e||{},d((function(){o("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:e.delta||1}},e)}))},navigateTo:function(e){d((function(){o("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:e.url}},e)}))},redirectTo:function(e){d((function(){o("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:e.url}},e)}))},switchTab:function(e){d((function(){o("invokeMiniProgramAPI",{name:"switchTab",arg:{url:e.url}},e)}))},reLaunch:function(e){d((function(){o("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:e.url}},e)}))},postMessage:function(e){d((function(){o("invokeMiniProgramAPI",{name:"postMessage",arg:e.data||{}},e)}))},getEnv:function(n){d((function(){n({miniprogram:"miniprogram"===e.__wxjs_environment})}))}}),g),V=1,E={};return m.addEventListener("error",(function(e){if(!S){var n=e.target,o=n.tagName,t=n.src;if(("IMG"==o||"VIDEO"==o||"AUDIO"==o||"SOURCE"==o)&&-1!=t.indexOf("wxlocalresource://")){e.preventDefault(),e.stopPropagation();var a=n["wx-id"];if(a||(a=V++,n["wx-id"]=a),E[a])return;E[a]=!0,wx.ready((function(){wx.getLocalImgData({localId:t,success:function(e){n.src=e.localData}})}))}}}),!0),m.addEventListener("load",(function(e){if(!S){var n=e.target,o=n.tagName;if(n.src,"IMG"==o||"VIDEO"==o||"AUDIO"==o||"SOURCE"==o){var t=n["wx-id"];t&&(E[t]=!1)}}}),!0),n&&(e.wx=e.jWeixin=M),M}var L}))}).call(this,o("dc84")(e))},b293:function(e,n,o){"use strict";var t=o("94a3"),a=o.n(t);a.a},c840:function(e,n,o){var t=o("c86c"),a=o("2ec5"),i=o("7f68");n=t(!1);var r=a(i);n.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */@font-face{font-family:yticon;src:url('+r+') format("truetype")}.yticon{font-family:yticon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-iconfontshanchu1:before{content:"\\e619"}.icon-iconfontweixin:before{content:"\\e611"}.icon-alipay:before{content:"\\e636"}.icon-shang:before{content:"\\e624"}.icon-shouye:before{content:"\\e626"}.icon-shanchu4:before{content:"\\e622"}.icon-xiaoxi:before{content:"\\e618"}.icon-jiantour-copy:before{content:"\\e600"}.icon-fenxiang2:before{content:"\\e61e"}.icon-pingjia:before{content:"\\e67b"}.icon-daifukuan:before{content:"\\e68f"}.icon-pinglun-copy:before{content:"\\e612"}.icon-dianhua-copy:before{content:"\\e621"}.icon-shoucang:before{content:"\\e645"}.icon-xuanzhong2:before{content:"\\e62f"}.icon-gouwuche_:before{content:"\\e630"}.icon-icon-test:before{content:"\\e60c"}.icon-icon-test1:before{content:"\\e632"}.icon-bianji:before{content:"\\e646"}.icon-jiazailoading-A:before{content:"\\e8fc"}.icon-zuoshang:before{content:"\\e613"}.icon-jia2:before{content:"\\e60a"}.icon-huifu:before{content:"\\e68b"}.icon-sousuo:before{content:"\\e7ce"}.icon-arrow-fine-up:before{content:"\\e601"}.icon-hot:before{content:"\\e60e"}.icon-lishijilu:before{content:"\\e6b9"}.icon-zhengxinchaxun-zhifubaoceping-:before{content:"\\e616"}.icon-naozhong:before{content:"\\e64a"}.icon-xiatubiao--copy:before{content:"\\e608"}.icon-shoucang_xuanzhongzhuangtai:before{content:"\\e6a9"}.icon-jia1:before{content:"\\e61c"}.icon-bangzhu1:before{content:"\\e63d"}.icon-arrow-left-bottom:before{content:"\\e602"}.icon-arrow-right-bottom:before{content:"\\e603"}.icon-arrow-left-top:before{content:"\\e604"}.icon-icon--:before{content:"\\e744"}.icon-zuojiantou-up:before{content:"\\e605"}.icon-xia:before{content:"\\e62d"}.icon--jianhao:before{content:"\\e60b"}.icon-weixinzhifu:before{content:"\\e61a"}.icon-comment:before{content:"\\e64f"}.icon-weixin:before{content:"\\e61f"}.icon-fenlei1:before{content:"\\e620"}.icon-erjiye-yucunkuan:before{content:"\\e623"}.icon-Group-:before{content:"\\e688"}.icon-you:before{content:"\\e606"}.icon-forward:before{content:"\\e607"}.icon-tuijian:before{content:"\\e610"}.icon-bangzhu:before{content:"\\e679"}.icon-share:before{content:"\\e656"}.icon-yiguoqi:before{content:"\\e997"}.icon-shezhi1:before{content:"\\e61d"}.icon-fork:before{content:"\\e61b"}.icon-kafei:before{content:"\\e66a"}.icon-iLinkapp-:before{content:"\\e654"}.icon-saomiao:before{content:"\\e60d"}.icon-shezhi:before{content:"\\e60f"}.icon-shouhoutuikuan:before{content:"\\e631"}.icon-gouwuche:before{content:"\\e609"}.icon-dizhi:before{content:"\\e614"}.icon-fenlei:before{content:"\\e706"}.icon-xingxing:before{content:"\\e70b"}.icon-tuandui:before{content:"\\e633"}.icon-zuanshi:before{content:"\\e615"}.icon-zuo:before{content:"\\e63c"}.icon-yiguoqi1:before{content:"\\e700"}.icon-shoucang2:before{content:"\\e62e"}.icon-shouhuodizhi:before{content:"\\e712"}.icon-yishouhuo:before{content:"\\e71a"}.icon-dianzan-ash:before{content:"\\e617"}uni-view,\nuni-scroll-view,\nuni-swiper,\nuni-swiper-item,\nuni-cover-view,\nuni-cover-image,\nuni-icon,\nuni-text,\nuni-rich-text,\nuni-progress,\nuni-button,\nuni-checkbox,\nuni-form,\nuni-input,\nuni-label,\nuni-radio,\nuni-slider,\nuni-switch,\nuni-textarea,\nuni-navigator,\nuni-audio,\nuni-camera,\nuni-image,\nuni-video{box-sizing:border-box}\n/* 骨架屏替代方案 */.Skeleton{background:#f3f3f3;padding:%?20?% 0;border-radius:%?8?%}\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}.clamp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.common-hover{background:#f5f5f5}\n/*边框*/.b-b:after,\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}\n/* button样式改写 */uni-button,\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],\nuni-button[type=default]{color:#303133}\n/* input 样式 */.input-placeholder{color:#999}.placeholder{color:#999}',""]),e.exports=n}});
|