(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-redirect-redirect"],{"2ce0":function(t,e,a){"use strict";a.r(e);var n=a("5db4"),u=a("c17c");for(var r in u)"default"!==r&&function(t){a.d(e,t,(function(){return u[t]}))}(r);var d,o=a("f0c5"),i=Object(o["a"])(u["default"],n["b"],n["c"],!1,null,"6b035411",null,!1,n["a"],d);e["default"]=i.exports},"5db4":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return u})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view")},r=[]},"9c8a":function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=r,e.getUserInfo=d,e.spreadBanner=o,e.getAddressList=i,e.addressEdit=c,e.addressDel=l,e.setAddressDefault=f,e.getCartList=s,e.getCartNum=p,e.cartDel=h,e.getcollectList=g,e.delcollect=m,e.getMyfans=v,e.transfer_accounts=w,e.apply=b,e.rate=y,e.apply_status=_,e.article=S,e.details=x,e.user_product=A;var u=n(a("13b0"));function r(t){return(0,u.default)({url:"/api/order/data",method:"get",data:t})}function d(t){return(0,u.default)({url:"/api/userinfo",method:"get",data:t})}function o(t){return(0,u.default)({url:"/api/spread/banner",method:"get",data:t})}function i(t){return(0,u.default)({url:"/api/address/list",method:"get",data:t})}function c(t){return(0,u.default)({url:"/api/address/edit",method:"post",data:t})}function l(t){return(0,u.default)({url:"/api/address/del",method:"post",data:t})}function f(t){return(0,u.default)({url:"/api/address/default/set",method:"post",data:t})}function s(t){return(0,u.default)({url:"/api/cart/list",method:"get",data:t})}function p(t){return(0,u.default)({url:"/api/cart/num",method:"post",data:t})}function h(t){return(0,u.default)({url:"/api/cart/del",method:"post",data:t})}function g(t){return(0,u.default)({url:"/api/collect/user",method:"get",data:t})}function m(t){return(0,u.default)({url:"/api/collect/del",method:"post",data:t})}function v(t){return(0,u.default)({url:"/api/auction/lower",method:"get",data:t})}function w(t){return(0,u.default)({url:"/api/auction/transfer_accounts",method:"post",data:t})}function b(t){return(0,u.default)({url:"/api/auction/apply",method:"post",data:t})}function y(t){return(0,u.default)({url:"/api/rate",method:"get",data:t})}function _(t){return(0,u.default)({url:"/api/auction/apply_status",method:"get",data:t})}function S(t,e){return(0,u.default)({url:"/api/article/list/"+e,method:"GET",data:t})}function x(t,e){return(0,u.default)({url:"/api/article/details/"+e,method:"GET",data:t})}function A(t){return(0,u.default)({url:"/api/auction/user_product",method:"GET",data:t})}},c17c:function(t,e,a){"use strict";a.r(e);var n=a("d48f"),u=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=u.a},d48f:function(t,e,a){"use strict";var n=a("4ea4");a("ac1f"),a("466d"),a("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n(a("5530")),r=a("9c8a"),d=a("26cb"),o=a("5223"),i={computed:(0,u.default)({},(0,d.mapState)(["urlFile"])),onLoad:function(t){this.loadH5()},methods:(0,u.default)((0,u.default)({},(0,d.mapMutations)("user",["login","setUserInfo"])),{},{loadH5:function(){var t=this,e=window.location.href,a=e.match(/code=([0-9]|[a-z]|[A-Z])*/g)[0].replace("code=",""),n=uni.getStorageSync("spread")||"";(0,o.wechatAuth)({code:a,spread:n}).then((function(e){var a=e.data;t.wchatAuth(a)})).catch((function(t){uni.showModal({title:"错误",content:JSON.stringify(t),showCancel:!1})}))},wchatAuth:function(t){var e=this;uni.setStorageSync("token",t.token),(0,r.getUserInfo)({}).then((function(t){e.login(),e.setUserInfo(t.data);var a=uni.getStorageSync("present")||"/pages/index/index";"pages/product/product"==a&&(a="/pages/index/index"),uni.switchTab({url:a,fail:function(t){uni.navigateTo({url:a,fail:function(t){uni.navigateTo({url:"/pages/index/index"})}})}})})).catch((function(t){uni.showModal({title:"错误",content:JSON.stringify(t),showCancel:!1})}))}})};e.default=i}}]);