(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/annex/vip_paid/index"],{2720:function(e,t,i){"use strict";i.r(t);var n=i("7c0f"),r=i("54c2");for(var o in r)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(o);i("a6f4");var a=i("828b"),c=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"ce8a3300",null,!1,n["a"],void 0);t["default"]=c.exports},"4cd6":function(e,t,i){"use strict";(function(e,t){var n=i("47a9");i("7561");n(i("3240"));var r=n(i("2720"));e.__webpack_require_UNI_MP_PLUGIN__=i,t(r.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"54c2":function(e,t,i){"use strict";i.r(t);var n=i("63f0"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=r.a},"63f0":function(e,t,i){"use strict";(function(e){var n=i("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(i("cef6")),o=i("8f59"),a=i("77d7"),c=(i("152a"),i("7ba4"),i("6e47")),s=n(i("bc59")),m={components:{recommend:function(){Promise.all([i.e("common/vendor"),i.e("components/recommend/index")]).then(function(){return resolve(i("6af4"))}.bind(null,i)).catch(i.oe)},NavBar:function(){i.e("components/NavBar").then(function(){return resolve(i("5962"))}.bind(null,i)).catch(i.oe)}},mixins:[r.default],filters:{dateFormat:function(e){return(0,s.default)(1e3*e).format("YYYY-MM-DD")},moneyFormat:function(e){return parseFloat(e)}},data:function(){return{memberType:[],userInfo:{},memberRights:[],memberExplain:[],memberCoupons:[],isGetFree:null,account:"",password:"",goodsList:[],pay_order_id:"",totalPrice:"0",page:1,limit:15,finished:!1,memberEndTime:"",type:"",svip:{},isShowAuth:!1,iconColor:"#FFFFFF",isScrolling:!1}},computed:(0,o.mapGetters)(["isLogin"]),onLoad:function(){this.isLogin&&this.onLunch()},onReachBottom:function(){this.groomList()},onPageScroll:function(t){e.$emit("scroll"),t.scrollTop>50?(this.isScrolling=!0,this.iconColor="#333333"):t.scrollTop<50&&(this.isScrolling=!1,this.iconColor="#FFFFFF")},methods:{onLunch:function(){this.memberCard(),this.groomList()},pay:function(){this.createMemberCard("weixin")},scrollToCard:function(){var t=e.createSelectorQuery().in(this);t.select("#card").boundingClientRect((function(t){e.pageScrollTo({scrollTop:t.top})})).exec()},goDetail:function(t){e.navigateTo({url:"/pages/goods_details/index?id=".concat(t)})},memberCard:function(){var t=this;e.showLoading({title:"正在加载…"}),(0,a.memberCard)().then((function(i){e.hideLoading();var n=i.data,r=n.is_get_free,o=n.member_coupons,c=n.member_explain,s=n.member_rights,m=n.member_type;t.isGetFree=r,t.userInfo=r.user_info,t.memberRights=s,t.memberType=m,t.memberCoupons=o,t.memberExplain=c,r.is_record&&(t.memberType=t.memberType.filter((function(e){return"free"!==e.type}))),t.totalPrice=parseFloat(t.memberType[0].pre_price),t.type=t.memberType[0].type,t.totalPrice=parseFloat(t.memberType[0].pre_price),t.svip=t.memberType[0],(0,a.memberOverdueTime)({member_type:t.svip.type,vip_day:t.svip.vip_day}).then((function(e){t.memberEndTime=e.data.data}))})).catch((function(t){e.showToast({title:t,icon:"none"})}))},groomList:function(){var t=this;this.finished||(e.showLoading({title:"加载中"}),(0,a.groomList)(5,{page:this.page,limit:this.limit}).then((function(i){e.hideLoading(),t.goodsList=t.goodsList.concat(i.data.list),t.finished=i.data.list.length