diff --git a/src/forge/Information/Component/memberApply.jsx b/src/forge/Information/Component/memberApply.jsx new file mode 100644 index 000000000..9025026fe --- /dev/null +++ b/src/forge/Information/Component/memberApply.jsx @@ -0,0 +1,82 @@ +import React , {forwardRef, useEffect} from 'react'; +import { Modal , Form , Input , Button } from 'antd'; +import UploadImage from '../../Team/Component/UploadImage'; +import { getImageUrl } from 'educoder'; + +const { TextArea } = Input; + +function MemberApply(props){ + const { getFieldDecorator, validateFields , setFieldsValue } = props.form; + const { current_user, onOk, visible, onCancel } = props + + useEffect(()=>{ + // if(email){ + // setFieldsValue({email}) + // } + },[current_user]) + + function onSure(){ + validateFields((error,values)=>{ + if(!error){ + console.log(values) + } + }) + } + + function getImageId(id){ + console.log(image) + } + + const layout = { + labelCol: { span: 5 }, + wrapperCol: { span: 18 }, + }; + return( + + + + + } + centered + > +
+

+ 若您未填写会员头像,会员名称,我们会将您的GitLink用户头像及昵称自动填入,请知悉 +

+
+ + {getFieldDecorator("name", { + initialValue: current_user.nickname + })( + + )} + + + + + + {getFieldDecorator("introduction",{ + rules:[{ required:true,message:"请输入会员简介" }] + })( +