Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
2258a842
Commit
2258a842
authored
Nov 04, 2022
by
程恺文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:样式修改
parent
c6ed3108
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
7 deletions
+28
-7
FormLogin.js
src/pages/user/login/template/energy_GZ/FormLogin.js
+5
-4
index.less
src/pages/user/login/template/energy_GZ/index.less
+3
-0
FormLogin.js
src/pages/user/login/template/energy_JS2/FormLogin.js
+20
-3
No files found.
src/pages/user/login/template/energy_GZ/FormLogin.js
View file @
2258a842
...
...
@@ -55,10 +55,11 @@ const FormLogin = props => (
]}
/
>
<
div
className
=
{
styles
.
checkbox_wrap
}
>
<
Checkbox
checked
=
{
props
.
autoLogin
}
onChange
=
{
e
=>
props
.
setAutoLogin
(
e
.
target
.
checked
)}
>
{
'记住密码'
}
<
/Checkbox
>
<
a
href
=
"#"
>
忘记密码
?
<
/a
>
{
// <Checkbox checked={props.autoLogin} onChange={e => props.setAutoLogin(e.target.checked)}>
// {'记住密码'}
// </Checkbox>
// <a href="#">忘记密码?</a>
}
<
/div
>
<
Submit
loading
=
{
props
.
submitting
}
>
{
useIntl
().
formatMessage
({
id
:
'pages.login.submit'
})}
<
/Submit
>
<
/Form
>
...
...
src/pages/user/login/template/energy_GZ/index.less
View file @
2258a842
...
...
@@ -113,6 +113,9 @@ background-attachment:fixed;
.panda-console-base-input-affix-wrapper:focus, .panda-console-base-input-affix-wrapper-focused {
box-shadow: none;
}
.panda-console-base-form-item{
margin-bottom: 46px;
}
.panda-console-base-input-affix-wrapper {
color: #0599F4;
background: none;
...
...
src/pages/user/login/template/energy_JS2/FormLogin.js
View file @
2258a842
/*
* @Author: 634665781 634665781@qq.com
* @Date: 2022-08-15 15:16:26
* @LastEditors: 634665781 634665781@qq.com
* @LastEditTime: 2022-11-04 10:41:23
* @FilePath: \CivWeb\src\pages\user\login\template\energy_JS2\FormLogin.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
/*
* @Author: 634665781 634665781@qq.com
* @Date: 2022-08-15 15:16:26
* @LastEditors: 634665781 634665781@qq.com
* @LastEditTime: 2022-11-04 10:12:29
* @FilePath: \CivWeb\src\pages\user\login\template\energy_JS2\FormLogin.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
/* eslint-disable */
import
{
Checkbox
}
from
'antd'
;
import
React
from
'react'
;
...
...
@@ -55,10 +71,11 @@ const FormLogin = props => (
]}
/
>
<
div
className
=
{
styles
.
checkbox_wrap
}
>
<
Checkbox
checked
=
{
props
.
autoLogin
}
onChange
=
{
e
=>
props
.
setAutoLogin
(
e
.
target
.
checked
)}
>
{
'记住密码'
}
<
/Checkbox
>
<
Checkbox
checked
=
{
props
.
autoLogin
}
onChange
=
{
e
=>
props
.
setAutoLogin
(
e
.
target
.
checked
)}
>
{
'记住密码'
}
<
/Checkbox
>
<
a
href
=
"#"
>
忘记密码
?
<
/a
>
<
/div
>
<
Submit
loading
=
{
props
.
submitting
}
>
{
useIntl
().
formatMessage
({
id
:
'pages.login.submit'
})}
<
/Submit
>
<
/Form
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment