(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/home/index"],{"1f2c":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.$util.isEmpty(t.ad)),o=t.$util.isEmpty(t.category);t.$mp.data=Object.assign({},{$root:{g0:n,g1:o}})},c=[]},"241a":function(t,e,n){},"277f":function(t,e,n){"use strict";(function(t){n("6cdc");o(n("4a15"));var e=o(n("f5b8"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("f3be")["createPage"])},"3ef7":function(t,e,n){"use strict";n.r(e);var o=n("cb90"),r=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(c);e["default"]=r.a},c7d8:function(t,e,n){"use strict";var o=n("241a"),r=n.n(o);r.a},cb90:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("7736"),r=n("2f3b"),c=n("01ea"),a=n("5f87"),i=n("1b62");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l=function(){n.e("components/app-swiper").then(function(){return resolve(n("150c"))}.bind(null,n)).catch(n.oe)},s=function(){n.e("components/module/app-trademark").then(function(){return resolve(n("ea75"))}.bind(null,n)).catch(n.oe)},p=function(){n.e("pages/home/components/goods-list-big").then(function(){return resolve(n("0b57"))}.bind(null,n)).catch(n.oe)},m=function(){n.e("pages/home/components/goods-list-middle").then(function(){return resolve(n("1060"))}.bind(null,n)).catch(n.oe)},b=function(){n.e("pages/home/components/goods-list-small").then(function(){return resolve(n("fd08"))}.bind(null,n)).catch(n.oe)},g={name:"home",components:{AppSwiper:l,AppTrademark:s,goodsListBig:p,goodsListMiddle:m,goodsListSmall:b},mixins:[i.share],data:function(){return{data:{},ad:[],category:[],columnStyle:null,currentTabIndex:0,account:""}},computed:f({},(0,o.mapGetters)({orderShop:"getOrderShop"})),onLoad:function(t){},mounted:function(){},onShow:function(){t.hideTabBar()},methods:{init:function(){var e=this;(0,c.getOrderShop)().then((function(t){})),this._detail();var n=t.getStorageSync("account");(0,a.getShopUser)().then((function(t){var o={title:"".concat(t.name),desc:"",imgUrl:"",pagePath:"/pages/home/index?fromUserId=".concat(t.id,"&account=").concat(n)};e.jweixinFn(o),console.log("分享地址","/pages/home/index?fromUserId=".concat(t.id,"&account=").concat(n))}))},_detail:function(){var e=this;(0,r.getMainIndex)().then((function(n){if(e.data=n.data,e.$util.isEmpty(n.data))return!1;e.ad=n.data.ad.map((function(t){return t.img=t.adImg,t})),t.setNavigationBarTitle({title:n.data.sj.name}),e.category=n.data.category,e.columnStyle=n.data.columnStyle}))},adDetailFn:function(t){},tabClick:function(t){this.currentTabIndex=t}}};e.default=g}).call(this,n("f3be")["default"])},f5b8:function(t,e,n){"use strict";n.r(e);var o=n("1f2c"),r=n("3ef7");for(var c in r)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(c);n("c7d8");var a,i=n("0095"),u=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"4af02d49",null,!1,o["a"],a);e["default"]=u.exports}},[["277f","common/runtime","common/vendor"]]]);