用 input 代替了 下一页。
This commit is contained in:
@@ -54,16 +54,13 @@ const IdentityPage: React.FC<DispatchProp & UserModelState & IdentityModelState>
|
||||
title={formatMessage({ id: 'identity.title' })}
|
||||
/>
|
||||
{user && <div className={styles.content}>
|
||||
<AccountItem
|
||||
className="group"
|
||||
title="identity.realname"
|
||||
message={user.realname}
|
||||
showGo={false}
|
||||
onClick={() => dispatch({
|
||||
type: 'identity/onUpdateState',
|
||||
nameEditable: true,
|
||||
nameInput: user.realname,
|
||||
})}
|
||||
<Input
|
||||
className='group'
|
||||
size="large"
|
||||
placeholder={formatMessage({ id: 'identity.realname' })}
|
||||
value={user.realname}
|
||||
name="idcode"
|
||||
// onChange={e => dispatch({ type: 'identity/onUpdateState', realnameEditable: true, realnameInput: e.target.value })}
|
||||
/>
|
||||
<AccountItem
|
||||
className="group"
|
||||
@@ -79,18 +76,24 @@ const IdentityPage: React.FC<DispatchProp & UserModelState & IdentityModelState>
|
||||
// preview={fromLangToText(lang)}
|
||||
onClick={() => setIdtypesVisible(true)}
|
||||
/>
|
||||
<AccountItem
|
||||
className="group"
|
||||
title="identity.idcode"
|
||||
message={user.idcode}
|
||||
// onClick={() => dispatch(routerRedux.push('/chphone'))}
|
||||
<Input
|
||||
className='group'
|
||||
size="large"
|
||||
placeholder={formatMessage({ id: 'identity.idcode' })}
|
||||
value={user.idcode}
|
||||
name="idcode"
|
||||
// onChange={e => dispatch({ type: 'identity/onUpdateState', nameInput: e.target.value })}
|
||||
/>
|
||||
<AccountItem
|
||||
className="group"
|
||||
title="identity.idphoto"
|
||||
// onClick={() => dispatch(routerRedux.push('/lgpwd'))}
|
||||
/>
|
||||
// 此处应当加一个label,显示后台驳回理由
|
||||
<div className={styles.prompt}>
|
||||
<div>一级认证未能通过审核,原因为:</div>
|
||||
<div>后台返回的理由</div>
|
||||
<div>请重新提交。</div>
|
||||
</div>
|
||||
<Button
|
||||
className={styles.input}
|
||||
type="primary"
|
||||
|
||||
@@ -27,3 +27,9 @@
|
||||
.logout {
|
||||
margin: 16px 10px;
|
||||
}
|
||||
|
||||
.prompt{
|
||||
margin:8px;
|
||||
text-align:center;
|
||||
color:red
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user