(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[36],{1456:function(e,t,a){},1605:function(e,t,a){"use strict";a.r(t);var n=a(3),c=a(4),l=a(5),i=a(6),r=a(0),s=a.n(r),m=(a(1456),a(1)),u=a(60),o=function(e){Object(l.a)(a,e);var t=Object(i.a)(a);function a(){var e;Object(n.a)(this,a);for(var c=arguments.length,l=new Array(c),i=0;i<c;i++)l[i]=arguments[i];return(e=t.call.apply(t,[this].concat(l))).state={list:[],title:""},e}return Object(c.a)(a,[{key:"componentDidMount",value:function(){var e=this;m.f.get("".concat(API.home,"/sys/activity/lottery_names/").concat(Object(m.c)("tid"))).then((function(t){var a=t.data;if(200===a.code){var n=a.data;e.setState({title:n.title,list:n.list})}}))}},{key:"render",value:function(){var e=this.state,t=e.title,a=e.list;return s.a.createElement("div",{id:"prize-winner-list"},s.a.createElement("div",{className:"banner"},s.a.createElement("img",{src:"https://cdn.julyedu.com/active19_1111/m/prize-winner-list-banner.png",alt:"",className:"banner"})),s.a.createElement("h1",null,s.a.createElement("img",{className:"icon",src:"https://cdn.julyedu.com/active19_1111/title-decorate-left.png",alt:""}),s.a.createElement("span",null,t),s.a.createElement("img",{className:"icon",src:"https://cdn.julyedu.com/active19_1111/title-decorate-right.png",alt:""})),s.a.createElement("ul",null,s.a.createElement("li",{className:"head title"},s.a.createElement("div",{className:"code"},"\u4e2d\u5956\u7801"),s.a.createElement("div",{className:"user-name"},"\u7528\u6237\u540d\u79f0"),s.a.createElement("div",{className:"prize"},"\u5956\u54c1\u540d\u79f0")),a.map((function(e){return s.a.createElement("li",{key:e.code},s.a.createElement("div",{className:"code"},e.code),s.a.createElement("div",{className:"user-name"},e.name),s.a.createElement("div",{className:"prize"},e.prize))}))))}}]),a}(r.Component);t.default=Object(u.a)(o)}}]);
//# sourceMappingURL=prize-winner-list.c847904d.chunk.js.map