(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{"9ryg":function(P,i,e){P.exports={wrap:"wrap___3-UaI",content:"content___3E-as",hint:"hint___3otcH",titleWrap:"titleWrap___3zROb",title:"title___2jI7q",bind:"bind___1czD7",flexRow:"flexRow___1MeAa",wechatLogo:"wechatLogo___3pmnJ",qqLogo:"qqLogo___12-6e",action:"action___1a_9A",modal:"modal___3aSrG"}},"a90+":function(P,i,e){"use strict";e.r(i);var G=e("miYZ"),A=e("tsqr"),B=e("WmNS"),l=e.n(B),$=e("/zsF"),F=e("PArb"),V=e("+L6B"),E=e("2/Rp"),h=e("9og8"),m=e("tJVT"),T=e("PpiC"),Y=e("5NDa"),L=e("5rEg"),o=e("q1tI"),t=e.n(o),W=e("9kvl"),I=e("9ryg"),r=e.n(I),O=e("ErOA"),j=L.a.TextArea,K=function(n){var g=n.user,U=n.account,y=n.globalSetting,Z=n.loading,Q=n.dispatch,X=Object(T.a)(n,["user","account","globalSetting","loading","dispatch"]),S=Object(o.useState)(),f=Object(m.a)(S,2),C=f[0],x=f[1],z=Object(o.useState)(),v=Object(m.a)(z,2),d=v[0],R=v[1],H=Object(o.useState)(!1),M=Object(m.a)(H,2),N=M[0],c=M[1];Object(o.useEffect)(function(){b()},[]);function b(){return p.apply(this,arguments)}function p(){return p=Object(h.a)(l.a.mark(function u(){var _;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(O.a)("/api/users/honor.json",{method:"get"});case 2:_=a.sent,_&&(x(_==null?void 0:_.honor),R(_==null?void 0:_.honor));case 4:case"end":return a.stop()}},u)})),p.apply(this,arguments)}function w(){return D.apply(this,arguments)}function D(){return D=Object(h.a)(l.a.mark(function u(){var _;return l.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(d){a.next=3;break}return A.b.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),a.abrupt("return");case 3:return a.next=5,Object(O.a)("/api/users/brief_introduction.json",{method:"post",body:{honor:d}});case 5:_=a.sent,_&&(b(),c(!1));case 7:case"end":return a.stop()}},u)})),D.apply(this,arguments)}return t.a.createElement("section",{className:r.a.wrap},t.a.createElement("div",{className:r.a.content},t.a.createElement("div",{className:"".concat(r.a.titleWrap," mt10")},t.a.createElement("div",{className:r.a.title,style:{width:"100%",display:"flex"}},t.a.createElement("span",{style:{flex:"1"}},t.a.createElement("span",null,"\u6210\u679C\u8363\u8A89"),t.a.createElement("span",{style:{fontSize:"14px",color:"#888888"}},"\uFF08\u6559\u5E08\u53EF\u4EE5\u5728\u8FD9\u91CC\u7F16\u64B0\u81EA\u5DF1\u7684\u6559\u7814\u6210\u679C\u3001\u8363\u8A89\u79F0\u53F7\uFF0C\u8FD9\u4E9B\u4FE1\u606F\u5C06\u5728\u8BFE\u7A0B\u4E2D\u5C55\u793A\uFF09")),t.a.createElement(E.a,{onClick:function(){return c(!0)}},"\u7F16\u8F91"))),t.a.createElement(F.a,null),N?t.a.createElement("div",null,t.a.createElement(j,{value:d,onChange:function(_){return R(_.target.value)},placeholder:"\u8BF7\u7F16\u64B0\u4E0D\u8D85\u8FC7300\u5B57\u7684\u6210\u679C\u3001\u8363\u8A89\u4ECB\u7ECD",maxLength:300}),t.a.createElement(E.a,{type:"primary",style:{marginRight:"10px",marginTop:"10px"},onClick:function(){return w()}},"\u786E\u8BA4"),t.a.createElement(E.a,{style:{marginTop:"10px"},onClick:function(){return c(!1)}},"\u53D6\u6D88")):C||"\u60A8\u5C1A\u672A\u7F16\u64B0\u81EA\u5DF1\u7684\u6559\u7814\u6210\u679C\u548C\u8363\u8A89\u79F0\u53F7\u54E6~"),t.a.createElement("div",{className:"".concat(r.a.hint," font14")},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"))};i.default=Object(W.a)(function(s){var n=s.user,g=s.account,U=s.loading,y=s.globalSetting;return{user:n,account:g,globalSetting:y,loading:U.models.index}})(K)}}]);
