(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[37],{1019:function(e,t,a){},1163:function(e,t,a){"use strict";a.r(t);var n=a(4),c=a(5),i=a(7),l=a(6),s=a(0),r=a.n(s),m=(a(1019),a(1)),u=a(60),o=function(e){Object(i.a)(a,e);var t=Object(l.a)(a);function a(){var e;Object(n.a)(this,a);for(var c=arguments.length,i=new Array(c),l=0;l<c;l++)i[l]=arguments[l];return(e=t.call.apply(t,[this].concat(i))).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 r.a.createElement("div",{id:"prize-winner-list"},r.a.createElement("div",{className:"banner"},r.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png",alt:"",className:"banner"})),r.a.createElement("h1",null,r.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png",alt:""}),r.a.createElement("span",null,t),r.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png",alt:""})),r.a.createElement("ul",null,r.a.createElement("li",{className:"head title"},r.a.createElement("div",{className:"code"},"\u4e2d\u5956\u7801"),r.a.createElement("div",{className:"user-name"},"\u7528\u6237\u540d\u79f0"),r.a.createElement("div",{className:"prize"},"\u5956\u54c1\u540d\u79f0")),a.map((function(e){return r.a.createElement("li",{key:e.code},r.a.createElement("div",{className:"code"},e.code),r.a.createElement("div",{className:"user-name"},e.name),r.a.createElement("div",{className:"prize"},e.prize))}))))}}]),a}(s.Component);t.default=Object(u.a)(o)}}]);
//# sourceMappingURL=prize-winner-list.fcfc57d3.chunk.js.map