(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_shopping/shopping/activityDetails"],{"86a5":function(t,i,e){"use strict";var n=e("e783"),a=e.n(n);a.a},9675:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("4b1b"),a={components:{specialBanner:function(){e.e("pages_shopping/components/specialBanner").then(function(){return resolve(e("7fd0"))}.bind(null,e)).catch(e.oe)}},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,e=this,a={activityId:this.activityId};(0,n.getStoreActivityDetails)(a).then((function(n){i.activity=n.activity,i.products=n.products,i.products.forEach((function(t){var i={picture:t.image,title:t.productName,description:t.keyword,id:t.productId,obj:t};e.productList.push(i)})),i.images=n.activity.images.split(","),t.setNavigationBarTitle({title:i.activity.title})}))},share:function(){(0,n.share)(this.activityId).then((function(t){}))}}};i.default=a}).call(this,e("df3c")["default"])},b110:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},a=[]},dc8e:function(t,i,e){"use strict";(function(t,i){var n=e("47a9");e("584a");n(e("3240"));var a=n(e("f87d"));t.__webpack_require_UNI_MP_PLUGIN__=e,i(a.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},e42b:function(t,i,e){"use strict";e.r(i);var n=e("9675"),a=e.n(n);for(var c in n)["default"].indexOf(c)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(c);i["default"]=a.a},e783:function(t,i,e){},f87d:function(t,i,e){"use strict";e.r(i);var n=e("b110"),a=e("e42b");for(var c in a)["default"].indexOf(c)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(c);e("86a5");var o=e("828b"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"3a0e4439",null,!1,n["a"],void 0);i["default"]=r.exports}},[["dc8e","common/runtime","common/vendor"]]]);