(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_shopping/shopping/activityDetails"],{889:function(t,i,n){"use strict";(function(t,i){var e=n(4);n(26);e(n(25));var r=e(n(890));t.__webpack_require_UNI_MP_PLUGIN__=n,i(r.default)}).call(this,n(1)["default"],n(2)["createPage"])},890:function(t,i,n){"use strict";n.r(i);var e=n(891),r=n(893);for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(i,t,(function(){return r[t]}))}(a);n(895);var c,o=n(34),u=Object(o["default"])(r["default"],e["render"],e["staticRenderFns"],!1,null,"3c19e10c",null,!1,e["components"],c);u.options.__file="pages_shopping/shopping/activityDetails.vue",i["default"]=u.exports},891:function(t,i,n){"use strict";n.r(i);var e=n(892);n.d(i,"render",(function(){return e["render"]})),n.d(i,"staticRenderFns",(function(){return e["staticRenderFns"]})),n.d(i,"recyclableRender",(function(){return e["recyclableRender"]})),n.d(i,"components",(function(){return e["components"]}))},892:function(t,i,n){"use strict";var e;n.r(i),n.d(i,"render",(function(){return r})),n.d(i,"staticRenderFns",(function(){return c})),n.d(i,"recyclableRender",(function(){return a})),n.d(i,"components",(function(){return e}));var r=function(){var t=this,i=t.$createElement;t._self._c},a=!1,c=[];r._withStripped=!0},893:function(t,i,n){"use strict";n.r(i);var e=n(894),r=n.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(a);i["default"]=r.a},894:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=n(195),r=function(){n.e("pages_shopping/components/specialBanner").then(function(){return resolve(n(1072))}.bind(null,n)).catch(n.oe)},a={components:{specialBanner:r},data:function(){return{activityId:null,products:[],activity:null,images:[],productList:[],swiperConfig:{indicatorDots:!0,indicatorColor:"rgba(255, 255, 255, .4)",indicatorActiveColor:"rgba(255, 255, 255, 1)",autoplay:!1,interval:3e3,duration:300,circular:!0,previousMargin:"58rpx",nextMargin:"58rpx"}}},onLoad:function(t){this.activityId=t.activityId,this.getStoreActivityDetails()},onShareAppMessage:function(t){return this.share(),{title:this.activity.title,path:"/pages_shopping/shopping/activityDetails?activityId="+this.activity.activityId,imageUrl:this.activity.logoUrl}},onShareTimeline:function(t){return this.share(),{title:this.activity.title,query:"",imageUrl:this.activity.logoUrl}},methods:{selectProduct:function(i){console.log(i),t.navigateTo({url:"../../pages/shopping/productDetails?productId="+i.id})},showDetail:function(i){t.navigateTo({url:"../../pages/shopping/productDetails?productId="+i.productId})},getStoreActivityDetails:function(){var i=this,n=this,r={activityId:this.activityId};(0,e.getStoreActivityDetails)(r).then((function(e){i.activity=e.activity,i.products=e.products,i.products.forEach((function(t){var i={picture:t.image,title:t.productName,description:t.keyword,id:t.productId,obj:t};n.productList.push(i)})),i.images=e.activity.images.split(","),t.setNavigationBarTitle({title:i.activity.title})}))},share:function(){(0,e.share)(this.activityId).then((function(t){}))}}};i.default=a}).call(this,n(2)["default"])},895:function(t,i,n){"use strict";n.r(i);var e=n(896),r=n.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(a);i["default"]=r.a},896:function(t,i,n){}},[[889,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages_shopping/shopping/activityDetails.js.map