!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r0&&1===c.pageNo)){n.next=9;break}return n.abrupt("return");case 9:e.list=e.list.concat(c.rows||[]),e.finished=c.pageNo>=c.totalPage,e.params.page=c.pageNo+1,e.dataShow=e.list.length>0,n.next=19;break;case 15:n.prev=15,n.t0=n.catch(0),e.dataShow=!1,e.finished=!0;case 19:case"end":return n.stop()}}),n,null,[[0,15]])})))()}},render:function(){var e,t,n=this;return i("div",{class:y.award},[i(v,null,null),this.dataShow?i(h,{class:y.videoList,loading:this.loading,"onUpdate:loading":function(e){return n.loading=e},finished:this.finished,finishedText:" ",immediateCheck:!1,onLoad:this.getList},(t=e=this.list.map((function(e){return i(m,{inset:!0,class:y.cellGroup},{default:function(){return[i(_,null,{icon:function(){return i(g,{src:e.imgUrl,class:y.image},null)},title:function(){return i("div",{class:y.title},[e.rewardName])},label:function(){return i("div",{class:y.label},[e.rewardDescribe])}}),i(_,{center:!0,title:"获奖时间:".concat(c(e.winningTime).format("YYYY-MM-DD")),titleClass:y.cellTitle},{value:function(){return i(u,{color:"linear-gradient(180deg, #FF8636 0%, #FF4E19 100%)",size:"small",class:y.button,onClick:function(){n.receiveRewardId=e.receiveRewardId,n.onGetAward()}},{default:function(){return[s("立即领取")]}})}})]}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!f(t)?e:{default:function(){return[e]}})):i(l,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无数据"},null),i(p,{show:this.status,"onUpdate:show":function(e){return n.status=e},class:y.popup},{default:function(){return[i("div",{class:y.popupContainer},["auth"===n.type&&i(d,null,[i(g,{src:"./assets/cert.7f558e5e.png",class:y.cert},null),i("h3",null,[s("您还没有实名认证")]),i("p",null,[s("完成实名认证后即可领取奖品")]),i("div",{class:[y.btnGroup,y.btnMore]},[i(u,{type:"primary",block:!0,class:y.lastBtn,onClick:function(){n.status=!1}},{default:function(){return[s("以后再说")]}}),i(u,{type:"primary",block:!0,color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",onClick:function(){n.popupShow=!0}},{default:function(){return[s("立即认证")]}})])]),"success"===n.type&&i(d,null,[i(g,{src:"./assets/award.2f8938c1.png",class:y.award},null),i("h3",null,[s("奖品领取成功!")]),i("p",null,[s("请耐心等待,活动奖品将会到达~")]),i("div",{class:[y.btnGroup]},[i(u,{type:"primary",block:!0,color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",onClick:function(){n.status=!1,n.list=[],n.params.page=1,n.getList()}},{default:function(){return[s("我知道了")]}})])])])]}}),i(b,{modelValue:this.popupShow,"onUpdate:modelValue":function(e){return n.popupShow=e}},{default:function(){return[i(w,{exists:n.exists,onSuccess:n.onAuthSuccess},null)]}})])}}))}}}))}();