(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[68],{1351:function(e,a,t){},1513:function(e,a,t){"use strict";t.r(a);t(36);var n=t(10),c=t.n(n),i=t(3),r=t(4),s=t(6),l=t(7),m=t(0),o=t.n(m),u=(t(1351),t(1)),p=t(20),d=function(e){Object(s.a)(t,e);var a=Object(l.a)(t);function t(){var e;Object(i.a)(this,t);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(e=a.call.apply(a,[this].concat(r))).state={data:""},e.getIndexData=function(){u.f.post("".concat(API["base-api"],"/m/deposit/coupon"),{order_id:Object(u.c)("order_id")}).then((function(a){if(200===a.data.errno){var t=a.data.data;e.setState({data:t})}else c.a.info(a.data.msg,2)}))},e.invitation=function(a){var t=e.props.user;t&&t.data&&t.data.uid?window.location.href=a:e.props.history.push("/passport/login")},e}return Object(r.a)(t,[{key:"componentDidMount",value:function(){this.getIndexData()}},{key:"render",value:function(){var e=this,a=this.state.data;return o.a.createElement("div",{className:"callback-box"},o.a.createElement("div",{className:"banner"}),o.a.createElement("div",{className:"content"},o.a.createElement("div",{className:"title"},"\u606d\u559c\u4f60\uff0c\u83b7\u5f97\u4e00\u5f20"),o.a.createElement("div",{className:"coupon"},o.a.createElement("p",{className:"coupon-name"},"\u81a8\u80c0\u5238"),o.a.createElement("p",{className:"coupon-price"},o.a.createElement("span",null,a.amount),"\u5143"),o.a.createElement("p",{className:"coupon-time"},"\u6709\u6548\u671f\u81f3\uff1a",a.expire_time)),o.a.createElement("div",{className:"tip"},o.a.createElement("ul",null,new Array(19).fill("1").map((function(e,a){return o.a.createElement("li",{key:a})}))),"\u5168\u573a\u901a\u7528"),o.a.createElement("div",{className:"expand"},o.a.createElement("span",{className:"expand-small"},a.amount),"\u5143",o.a.createElement("img",{src:"https://cdn.julyedu.com/active19_717/m/expand.png",alt:""}),o.a.createElement("span",{className:"expand-big"},a.limit_amount),"\u5143"),o.a.createElement("button",{className:"invitation",onClick:function(){return e.invitation(a.share_url)}},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b\uff0c",a.amount,"\u5143\u53d8",a.limit_amount,"\u5143"),o.a.createElement("div",{className:"active-time"},"\u6d3b\u52a8\u65f6\u95f4\uff1a",a.start_time,"-",a.end_time),o.a.createElement("div",{className:"active-tip"},"\u9001\u52a9\u529b\u597d\u53cb",a.limit_amount,"\u5143\uff01")))}}]),t}(m.Component);a.default=Object(p.b)((function(e){return{user:e.user}}))(d)}}]);
//# sourceMappingURL=68.64a69641.chunk.js.map