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

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesB/pages/user/UserVip/index"],{"0d70":function(t,e,n){"use strict";var a=n("a201"),i=n.n(a);i.a},"2b4d":function(t,e,n){"use strict";n.r(e);var a=n("820b"),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},"6d1e":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=[]},"820b":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("aa63"),i=function(){Promise.all([n.e("common/vendor"),n.e("components/Recommend")]).then(function(){return resolve(n("fc41"))}.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"])},a201:function(t,e,n){},ea76:function(t,e,n){"use strict";n.r(e);var a=n("6d1e"),i=n("2b4d");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("0d70");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},f7dc:function(t,e,n){"use strict";(function(t){n("ef82");a(n("66fd"));var e=a(n("ea76"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["f7dc","common/runtime","common/vendor"]]]);