From 876a5e6657d67df66bb525d02dd6d147ba81cae5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 05 一月 2023 09:53:37 +0800 Subject: [PATCH] 2023-01-05 --- src/pc/components/login/normal-login/signform.jsx | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/pc/components/login/normal-login/signform.jsx b/src/pc/components/login/normal-login/signform.jsx index 9410986..4d3d42d 100644 --- a/src/pc/components/login/normal-login/signform.jsx +++ b/src/pc/components/login/normal-login/signform.jsx @@ -133,9 +133,14 @@ const { wrap } = this.props const { activeWay, signWays, appType } = this.state + let style = {} + if (wrap.borderRadius) { + style.borderRadius = wrap.borderRadius + } + return ( <Form className="login-edit-form"> - {appType === 'pc' ? <div className="login-way-title">{activeWay.label}</div> : null} + {appType === 'pc' && wrap.topTip !== 'hidden' ? <div className="login-way-title">{activeWay.label}</div> : null} {activeWay.type === 'uname_pwd' ? <div className="form-item-wrap"> <Form.Item> <Input @@ -151,7 +156,7 @@ <Checkbox>{wrap.tip}</Checkbox>{wrap.groups.map((item, i) => (<span><span className="protocol" key={i}>銆妠item.label}銆�</span>{wrap.groups.length > i + 1 ? (wrap.groups.length > i + 2 ? '銆�' : '鍜�') : null}</span>))} </div> : null} <Form.Item className="btn-login"> - <Button type="primary" onDoubleClick={() => this.changeMenu()} className="sign-form-button"> + <Button type="primary" style={style} onDoubleClick={() => this.changeMenu()} className="sign-form-button"> 娉ㄥ唽 </Button> </Form.Item> @@ -178,7 +183,7 @@ <Checkbox>{wrap.tip}</Checkbox>{wrap.groups.map((item, i) => (<span><span className="protocol" key={i}>銆妠item.label}銆�</span>{wrap.groups.length > i + 1 ? (wrap.groups.length > i + 2 ? '銆�' : '鍜�') : null}</span>))} </div> : null} <Form.Item className="btn-login"> - <Button type="primary" onDoubleClick={() => this.changeMenu()} className="sign-form-button"> + <Button type="primary" style={style} onDoubleClick={() => this.changeMenu()} className="sign-form-button"> 娉ㄥ唽 </Button> </Form.Item> -- Gitblit v1.8.0