徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
3.3 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/activity/goods_combination/index"],{"0521":function(t,n,i){"use strict";var a=i("a706"),e=i.n(a);e.a},2066:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){return a}));var a={easyLoadimage:function(){return i.e("components/easy-loadimage/easy-loadimage").then(i.bind(null,"a9c6"))}},e=function(){var t=this.$createElement,n=(this._self._c,this.combinationList.length),i=this.combinationList.length;this.$mp.data=Object.assign({},{$root:{g0:n,g1:i}})},o=[]},5276:function(t,n,i){"use strict";i.r(n);var a=i("c62a"),e=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);n["default"]=e.a},"65b4":function(t,n,i){"use strict";i.r(n);var a=i("2066"),e=i("5276");for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);i("0521");var c=i("828b"),u=Object(c["a"])(e["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=u.exports},a706:function(t,n,i){},c62a:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i("c267"),e=i("6e47"),o=i("bad7"),c=t.getSystemInfoSync().statusBarHeight,u=(getApp(),{data:function(){return{sysHeight:c,pinkPeople:[],pinkCount:0,bannerList:[],circular:!0,autoplay:!0,interval:3e3,duration:500,combinationList:[],limit:10,page:1,loading:!1,loadend:!1,isBanner:!1,pageScrollStatus:!1}},components:{emptyPage:function(){i.e("components/emptyPage").then(function(){return resolve(i("bc18"))}.bind(null,i)).catch(i.oe)}},computed:{headerBg:function(){return"url("+o.HTTP_REQUEST_URL+"/statics/images/product/combination_header.png)"}},onPageScroll:function(n){n.scrollTop>130?this.pageScrollStatus=!0:n.scrollTop<130&&(this.pageScrollStatus=!1),t.$emit("scroll")},onLoad:function(){t.setNavigationBarTitle({title:"拼团列表"}),this.getCombinationList(),this.getBannerList(),this.getPink()},onShow:function(){t.removeStorageSync("form_type_cart")},methods:{getPink:function(){var t=this;(0,a.getPink)({type:2}).then((function(n){t.pinkPeople=n.data.avatars,t.pinkCount=n.data.pink_count}))},getBannerList:function(){var t=this;(0,a.getCombinationBannerList)().then((function(n){t.bannerList=n.data,t.isBanner=!0}))},goDetail:function(t){var n=t.link;this.$util.JumpPath(n)},openSubcribe:function(n){t.showLoading({title:"正在加载"}),(0,e.openPinkSubscribe)().then((function(i){t.hideLoading(),t.navigateTo({url:"/pages/activity/goods_details/index?id=".concat(n.id,"&type=3")})})).catch((function(){t.hideLoading()}))},getCombinationList:function(){var t=this;if(!t.loadend&&!t.loading){var n={page:t.page,limit:t.limit};this.loading=!0,(0,a.getCombinationList)(n).then((function(n){var i=t.combinationList,a=t.limit;t.page++,t.loadend=a>n.data.length,t.combinationList=i.concat(n.data),t.page=t.data.page,t.loading=!1})).catch((function(){t.loading=!1}))}},backPage:function(){t.navigateBack()}},onReachBottom:function(){this.getCombinationList()}});n.default=u}).call(this,i("df3c")["default"])},f5a0:function(t,n,i){"use strict";(function(t,n){var a=i("47a9");i("7561");a(i("3240"));var e=a(i("65b4"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(e.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])}},[["f5a0","common/runtime","common/vendor"]]]);