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
c8248e12
Commit
c8248e12
authored
3 years ago
by
崔佳豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 引导页样式优化
parent
3787be88
Pipeline
#48825
skipped with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
index.js
src/pages/bootpage/index.js
+5
-2
index.less
src/pages/bootpage/index.less
+6
-0
No files found.
src/pages/bootpage/index.js
View file @
c8248e12
...
...
@@ -83,7 +83,7 @@ const BootPage = props => {
// props.instance && props.instance.getUserInfoAndConfig('', true, type);
loginAction
&&
loginAction
.
getUserInfoAndConfig
(
''
,
true
,
type
);
},
[
loginAction
,
props
.
global
,
props
.
instance
],
[
loginAction
,
props
.
global
.
token
,
props
.
instance
],
);
useEffect
(()
=>
{
// eslint-disable-next-line no-use-before-define
...
...
@@ -114,7 +114,7 @@ const BootPage = props => {
},
[
loginAction
.
events
,
props
]);
const
renderIndustr
=
useMemo
(
()
=>
renderIndustries
(
props
.
global
,
handlePage
),
[
handlePage
,
props
.
global
],
[
handlePage
,
props
.
global
.
token
],
);
const
intl
=
useIntl
();
...
...
@@ -164,6 +164,9 @@ const BootPage = props => {
'animate__animated'
,
'duration-500ms'
,
)}
style
=
{{
width
:
`
${
scale
<
1
?
1280
:
Math
.
ceil
(
1280
*
scale
)}
px`
,
}}
>
<
ul
className
=
{
classNames
(
styles
.
bootPageUl
,
'animate__animated'
)}
...
...
This diff is collapsed.
Click to expand it.
src/pages/bootpage/index.less
View file @
c8248e12
...
...
@@ -156,6 +156,12 @@
}
}
:global {
.@{ant-prefix}-spin-nested-loading,
.@{ant-prefix}-spin-container {
height: 100%;
}
}
}
@media screen and (max-width: 1440px) {
...
...
This diff is collapsed.
Click to expand it.
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