(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1213:function(e,t,n){"use strict";n.r(t);n(41);var a=n(12),i=n.n(a),c=n(5),s=n(7),o=n(6),u=n(8),r=n(9),l=n(0),b=n.n(l),d=n(22),p=n(3),m=n(37),f=n.n(m),v=(n(724),function(e){function t(e){var n;return Object(c.a)(this,t),(n=Object(o.a)(this,Object(u.a)(t).call(this,e))).getGift=function(){n.props.user.hasError?n.props.history.push("/passport"):(i.a.info("\u9886\u53d6\u6210\u529f\uff0c\u4f60\u53ef\u524d\u5f80\u4e03\u6708\u5728\u7ebf\u5b98\u7f51/APP\u8fdb\u884c\u67e5\u770b",2),localStorage.setItem("lingqu",1))},n.state={butText:"\u7acb\u5373\u9886\u53d6"},n}return Object(r.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){f.a.set("blessing_invite_uid",Object(p.c)("shareuid"),{domain:".julyedu.com",expires:30}),f.a.set("blessing_invite_code",Object(p.c)("inviteCode"),{domain:".julyedu.com",expires:30}),f.a.get("uid")&&this.setState(function(){return{butText:"\u5df2\u9886\u53d6"}})}},{key:"render",value:function(){var e=this.state.butText;return b.a.createElement("div",{className:"activity__con"},b.a.createElement("div",{className:"banner__con"}),b.a.createElement("div",{className:"content__con"},b.a.createElement("div",{className:"button__get",onClick:this.getGift},e)))}}]),t}(l.Component));t.default=Object(d.b)(function(e){return{user:e.user}},null)(v)},724:function(e,t,n){}}]);
//# sourceMappingURL=Activity.29bdd347.chunk.js.map