(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3c12acd2"],{8070:function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"member-center"},[i("div",{staticClass:"header"},[i("div",{staticClass:"slider-banner banner"},[i("swiper",{ref:"mySwiper",staticClass:"swiper-wrapper",attrs:{options:t.swiperVip}},t._l(t.vipList,function(s,e){return i("swiperSlide",{key:e,staticClass:"swiper-slide memberBg",class:s.class,style:{backgroundImage:"url("+s.image+")"}},[i("div",{staticClass:"name"},[t._v(t._s(s.name))]),i("div",{staticClass:"discount"},[t._v("\n 可享受商品折扣: "+t._s(s.discount/10)+"折"),i("span",{staticClass:"iconfont icon-zhekou"})]),s.grade==t.grade?i("div",{staticClass:"nav acea-row"},t._l(t.vipComplete,function(s,e){return i("div",{key:e,staticClass:"item"},[i("div",{staticClass:"num"},[t._v(t._s(s.number))]),i("div",[t._v(t._s(s.real_name))])])}),0):t._e(),s.grade>t.grade?i("div",{staticClass:"lock"},[i("span",{staticClass:"iconfont icon-quanxianguanlisuozi"}),t._v("该会员等级尚未解锁\n ")]):t._e(),s.grade0&&t.vipList.forEach(function(s,e){!1===s.is_clear&&(t.swiper.slideTo(e),t.activeIndex=e,t.grade=s.grade)})}},computed:{swiper:function(){return this.$refs.mySwiper.swiper}},mounted:function(){var t=this;Object(c["U"])(),t.getInfo(),t.swiper.on("slideChange",function(){t.activeIndex=t.swiper.activeIndex,t.getTask()})},methods:{growthTap:function(){this.growthValue=!0},getInfo:function(){var t=this;Object(c["F"])().then(function(s){t.vipList=s.data.list,t.vipRequire=s.data.task.list,t.vipComplete=s.data.task.task,t.taskCount=s.data.task.reach_count},function(s){t.$dialog.message(s.msg)})},getTask:function(){var t=this;Object(c["G"])(t.vipList[t.activeIndex].id).then(function(s){t.vipRequire=s.data.list,t.vipComplete=s.data.task,t.taskCount=s.data.reach_count},function(s){t.$dialog.message(s.msg)})},showGrow:function(t){this.illustrate!=t.illustrate&&(this.illustrate=t.illustrate),this.growthValue=!1}}},l=o,d=e("2877"),p=Object(d["a"])(l,i,a,!1,null,null,null);s["default"]=p.exports},eb85:function(t,s,e){t.exports=e.p+"h5/img/value.7469f35b.jpg"}}]); //# sourceMappingURL=chunk-3c12acd2.3d0ad038.js.map