(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[68],{1e3:function(e,a,t){},1158:function(e,a,t){"use strict";t.r(a);t(39);var n=t(10),c=t.n(n),i=t(4),r=t(5),s=t(6),l=t(7),o=t(0),m=t.n(o),u=(t(1e3),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,n=t.user;t.history;n&&n.data&&n.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 m.a.createElement("div",{className:"callback-box"},m.a.createElement("div",{className:"banner"}),m.a.createElement("div",{className:"content"},m.a.createElement("div",{className:"title"},"\u606d\u559c\u4f60\uff0c\u83b7\u5f97\u4e00\u5f20"),m.a.createElement("div",{className:"coupon"},m.a.createElement("p",{className:"coupon-name"},"\u81a8\u80c0\u5238"),m.a.createElement("p",{className:"coupon-price"},m.a.createElement("span",null,a.amount),"\u5143"),m.a.createElement("p",{className:"coupon-time"},"\u6709\u6548\u671f\u81f3\uff1a",a.expire_time)),m.a.createElement("div",{className:"tip"},m.a.createElement("ul",null,new Array(19).fill("1").map((function(e,a){return m.a.createElement("li",{key:a})}))),"\u5168\u573a\u901a\u7528"),m.a.createElement("div",{className:"expand"},m.a.createElement("span",{className:"expand-small"},a.amount),"\u5143",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png",alt:""}),m.a.createElement("span",{className:"expand-big"},a.limit_amount),"\u5143"),m.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"),m.a.createElement("div",{className:"active-time"},"\u6d3b\u52a8\u65f6\u95f4\uff1a",a.start_time,"-",a.end_time),m.a.createElement("div",{className:"active-tip"},"\u9001\u52a9\u529b\u597d\u53cb",a.limit_amount,"\u5143\uff01")))}}]),t}(o.Component);a.default=Object(p.b)((function(e){return{user:e.user}}))(d)}}]);
//# sourceMappingURL=68.cf2948f8.chunk.js.map