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
dac1291c
Commit
dac1291c
authored
Jun 21, 2023
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 江西登录页优化
parent
363385f8
Pipeline
#74729
passed with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
6 deletions
+17
-6
login.js
src/pages/user/login/login.js
+8
-0
index.js
src/pages/user/login/template/project/jiangxi/index.js
+7
-4
index.less
src/pages/user/login/template/project/jiangxi/index.less
+2
-2
No files found.
src/pages/user/login/login.js
View file @
dac1291c
...
...
@@ -1127,6 +1127,7 @@ class Login {
'request.preventCache'
:
Date
.
now
(),
})
.
then
(
response
=>
{
if
(
response
.
code
===
0
)
{
if
(
window
.
globalConfig
?.
hasGateWay
)
{
const
data
=
response
.
data
;
self
.
updateConfig
&&
...
...
@@ -1140,6 +1141,13 @@ class Login {
}
else
{
self
.
transformLoginHander
({
token
:
response
.
data
.
user_token
},
isRememberPWD
,
pwd
);
}
}
else
{
self
.
hasTry
=
true
;
self
.
handleLoginError
();
self
.
events
.
emit
(
'loginError'
,
response
.
msg
);
message
.
error
(
response
.
msg
);
}
})
.
catch
(
error
=>
{
self
.
hasTry
=
true
;
...
...
src/pages/user/login/template/project/jiangxi/index.js
View file @
dac1291c
import
React
,
{
forwardRef
,
useEffect
,
useRef
,
useState
}
from
'react'
;
import
{
Modal
,
Popover
,
Form
}
from
'antd'
;
import
{
Modal
,
Popover
,
Form
,
Tooltip
}
from
'antd'
;
import
{
Helmet
,
HelmetProvider
}
from
'react-helmet-async'
;
import
{
connect
}
from
'react-redux'
;
import
{
useHistory
,
withRouter
}
from
'@wisdom-utils/runtime'
;
...
...
@@ -187,10 +187,10 @@ const Login = forwardRef((props, _ref) => {
4
A
账号
<
/div
>
<
div
className
=
{
classnames
(
styles
.
tabItem
,
{
[
styles
.
tabActive
]:
loginType
===
'熊猫
平台
'
})}
onClick
=
{()
=>
tabChange
(
'熊猫
平台
'
)}
className
=
{
classnames
(
styles
.
tabItem
,
{
[
styles
.
tabActive
]:
loginType
===
'熊猫
账号
'
})}
onClick
=
{()
=>
tabChange
(
'熊猫
账号
'
)}
>
熊猫
平台
熊猫
账号
<
/div
>
<
/div
>
<
div
className
=
{
classnames
(
styles
[
'inner-bg'
],
styles
[
'login-part'
])}
ref
=
{
loginFormRef
}
>
...
...
@@ -214,10 +214,13 @@ const Login = forwardRef((props, _ref) => {
<
/div
>
<
/div
>
<
/div
>
<
Tooltip
title
=
"打开网站下载"
>
<
div
className
=
{
styles
.
linkBox
}
onClick
=
{
toLink
}
>
<
img
src
=
{
require
(
'./images/9.png'
)}
alt
=
""
/>
APP
下载
<
/div
>
<
/Tooltip
>
<
Modal
centered
visible
=
{
visible
}
width
=
{
340
}
footer
=
{
null
}
closable
=
{
false
}
bodyStyle
=
{{
padding
:
'15px'
}}
>
<
div
ref
=
{
sliVerify
}
/
>
<
/Modal
>
...
...
src/pages/user/login/template/project/jiangxi/index.less
View file @
dac1291c
...
...
@@ -48,7 +48,7 @@
}
.title-image {
width:
59
px;
width:
75
px;
margin-right: 20px;
}
...
...
@@ -56,7 +56,7 @@
font-size: 36px;
font-family: PingFang SC;
font-weight: 500;
color: #
FFFFFF
;
color: #
000000
;
text-shadow: 0px 1px 5px rgba(6, 27, 54, 0.8);
letter-spacing: 2px;
}
...
...
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