(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/vipShop"],{"0a37":function(n,t,e){"use strict";var o=e("5ead"),i=e.n(o);i.a},"1a96":function(n,t,e){"use strict";(function(n){e("856e");o(e("66fd"));var t=o(e("3be2"));function o(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=e,n(t.default)}).call(this,e("543d")["createPage"])},"3be2":function(n,t,e){"use strict";e.r(t);var o=e("4632"),i=e("8123");for(var a in i)"default"!==a&&function(n){e.d(t,n,(function(){return i[n]}))}(a);e("0a37");var u,l=e("f0c5"),c=Object(l["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);t["default"]=c.exports},4632:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return o}));var o={uniLoadMore:function(){return e.e("components/uni-load-more/uni-load-more").then(e.bind(null,"ef69"))}},i=function(){var n=this,t=n.$createElement;n._self._c},a=[]},"5ead":function(n,t,e){},8123:function(n,t,e){"use strict";e.r(t);var o=e("955a"),i=e.n(o);for(var a in o)"default"!==a&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=i.a},"955a":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=e("b19f"),i=function(){e.e("uview-ui/components/u-loadmore/u-loadmore").then(function(){return resolve(e("4191"))}.bind(null,e)).catch(e.oe)},a={components:{uniLoadMore:i},data:function(){return{vipList:[],page:1,limit:10,loadingType:"more"}},onLoad:function(){this.getVipList()},onReachBottom:function(){this.getVipList()},methods:{navToDetailPage:function(t){var e=t.id;n.navigateTo({url:"/pages/product/product?id="+e+"&isVip=0"})},getVipList:function(){var t=this,e=this;"loading"!==e.loadingType&&"noMore"!==e.loadingType&&(e.loadingType="loading",(0,o.getVip)({page:e.page,limit:e.limit,is_vip:3}).then((function(o){o.data.forEach((function(n){n.isVip=n.store_type?"3":"0"})),console.log(o.data,"vip商品"),o.data.length>0&&(e.vipList=e.vipList.concat(o.data),console.log(e.vipList,"vip"),e.page++),e.limit==o.data.length?(console.log("haiyou"),e.loadingType="more"):(console.log("wule"),e.loadingType="noMore"),console.log(e.loadingType,"12345789"),n.hideLoading(),t.$set(e.vipList,"loaded",!0)})))}}};t.default=a}).call(this,e("543d")["default"])}},[["1a96","common/runtime","common/vendor"]]]);