(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[4],{1598:function(e,t,n){"use strict";n.r(t);var s=n(3),a=n(4),i=n(5),r=n(6),c=n(0),u=n.n(c),o=n(20),l=n(1),p=(n(690),n(39)),b=n.n(p),m=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).getGift=function(){a.props.user.hasError?a.props.history.push("/passport",{from:a.props.location.pathname}):a.props.history.push("/blessingPreheat")},a.state={butText:"\u7acb\u5373\u9886\u53d6"},a}return Object(a.a)(n,[{key:"componentWillMount",value:function(){b.a.set("blessing_invite_uid",Object(l.c)("shareuid"),{domain:".julyedu.com",expires:30}),b.a.set("blessing_invite_code",Object(l.c)("inviteCode"),{domain:".julyedu.com",expires:30}),b.a.get("uid")&&this.setState((function(){return{butText:"\u5df2\u9886\u53d6\uff0c\u53bb\u4f7f\u7528"}}))}},{key:"render",value:function(){var e=this.state.butText;return u.a.createElement("div",{className:"activity__con"},u.a.createElement("div",{className:"banner__con"}),u.a.createElement("div",{className:"content__con"},u.a.createElement("div",{className:"button__get",onClick:this.getGift},e)))}}]),n}(c.Component);t.default=Object(o.b)((function(e){return{user:e.user}}),null)(m)},690:function(e,t,n){}}]);
//# sourceMappingURL=Activity.ff2a279a.chunk.js.map