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