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
2.8 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesB/pages/user/UserVip/index"],{"1c04":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"349a":function(t,e,n){"use strict";var a=n("99e7"),i=n.n(a);i.a},"510d":function(t,e,n){"use strict";(function(t){n("0371");a(n("66fd"));var e=a(n("cff7"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"99e7":function(t,e,n){},bdb3:function(t,e,n){"use strict";n.r(e);var a=n("f716"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},cff7:function(t,e,n){"use strict";n.r(e);var a=n("1c04"),i=n("bdb3");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("349a");var s,r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],s);e["default"]=u.exports},f716:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("6e63"),i=function(){Promise.all([n.e("common/vendor"),n.e("components/Recommend")]).then(function(){return resolve(n("481e"))}.bind(null,n)).catch(n.oe)},o={name:"Poster",components:{Recommend:i},props:{},data:function(){return{vipList:[],vipRequire:[],vipComplete:[],taskCount:0,grade:0,swiperVip:{speed:1e3,effect:"coverflow",slidesPerView:"auto",centeredSlides:!0,coverflowEffect:{rotate:0,stretch:-20,depth:100,modifier:2,slideShadows:!1},observer:!0,observeParents:!0},loading:!1,growthValue:!0,illustrate:"",activeIndex:0}},watch:{vipList:function(){var t=this;t.vipList.length>0&&t.vipList.forEach((function(e,n){!1===e.isClear&&(t.activeIndex=n,t.grade=e.grade)}))}},computed:{swiper:function(){}},mounted:function(){var t=this;(0,a.setDetection)(),t.getInfo()},methods:{swiperChange:function(t){var e=this;e.activeIndex=t.mp.detail.current,e.getTask()},growthTap:function(){this.growthValue=!0},getInfo:function(){var e=this;(0,a.getVipInfo)().then((function(t){e.vipList=t.data.list,e.vipRequire=t.data.task.list,e.vipComplete=t.data.task.task,e.taskCount=t.data.task.reachCount}),(function(e){t.showToast({title:e.msg||e.response.data.msg||e.response.data.message,icon:"none",duration:2e3})}))},getTask:function(){var e=this;(0,a.getVipTask)(e.vipList[e.activeIndex].id).then((function(t){e.vipRequire=t.data.list,e.vipComplete=t.data.task,e.taskCount=t.data.reachCount}),(function(e){t.showToast({title:e.msg||e.response.data.msg||e.response.data.message,icon:"none",duration:2e3})}))},showGrow:function(t){this.illustrate!=t.illustrate&&(this.illustrate=t.illustrate),this.growthValue=!1}}};e.default=o}).call(this,n("543d")["default"])}},[["510d","common/runtime","common/vendor"]]]);