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
9a0f9a09
Commit
9a0f9a09
authored
Aug 25, 2023
by
程恺文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
随机播放渐入渐出
parent
fcad09eb
Pipeline
#78027
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
19 deletions
+21
-19
index.js
src/pages/user/login/template/project/jiangxiNew/index.js
+21
-19
No files found.
src/pages/user/login/template/project/jiangxiNew/index.js
View file @
9a0f9a09
...
...
@@ -70,24 +70,26 @@ const Login = forwardRef((props, _ref) => {
const
[
action
,
setAction
]
=
useState
(()
=>
new
LoginAction
(
Object
.
assign
({},
props
,
{
history
}),
setVisible
,
false
));
const
[
dateObj
,
setDateObj
]
=
useState
({});
const
[
loginType
,
setLoginType
]
=
useState
(
'OA账号'
);
const
[
img
,
setImg
]
=
useState
([
'湖口润泉水源地'
,
'会昌润泉石壁坑水库'
,
'景德镇水务公司'
,
'景德镇水务新洋湖水厂'
,
'乐平润泉水务公司'
,
'南城润泉麻源水库1'
,
'南城润泉麻源水库2'
,
'南城润泉麻源水库3'
,
'南康润泉龙华水厂'
,
'南康润泉龙华水厂2'
,
// '上高润泉第二水厂',
'上高润泉第二水厂平流沉淀池'
,
'上高润泉水务公司'
,
// '上高润泉水务公司2',
'寻乌润泉大路水厂'
,
// '永修润泉湖东水厂',
]);
const
[
img
,
setImg
]
=
useState
(
[
'湖口润泉水源地'
,
'会昌润泉石壁坑水库'
,
'景德镇水务公司'
,
'景德镇水务新洋湖水厂'
,
'乐平润泉水务公司'
,
'南城润泉麻源水库1'
,
'南城润泉麻源水库2'
,
'南城润泉麻源水库3'
,
'南康润泉龙华水厂'
,
'南康润泉龙华水厂2'
,
// '上高润泉第二水厂',
'上高润泉第二水厂平流沉淀池'
,
'上高润泉水务公司'
,
// '上高润泉水务公司2',
'寻乌润泉大路水厂'
,
// '永修润泉湖东水厂',
].
sort
(()
=>
0.5
-
Math
.
random
()),
);
const
[
imgObj
,
setimgObj
]
=
useState
({
湖口润泉水源地
,
会昌润泉石壁坑水库
,
...
...
@@ -250,7 +252,7 @@ const Login = forwardRef((props, _ref) => {
const
getBJ
=
(
url
)
=>
{
return
(
<
div
style
=
{{
background
:
`url(
${
url
}
) no-repeat`
}}
style
=
{{
background
:
`url(
${
url
}
) no-repeat`
,
transition
:
'background-image 1s'
}}
className
=
{
classnames
(
styles
.
lvchenglogin
,
'lvcheng'
)}
>
...
...
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