Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms
Project
Project
Details
Activity
Releases
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
wuhao
wms
Commits
9d6c9073
Commit
9d6c9073
authored
Sep 05, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
你好
parent
0b1fad65
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
40 deletions
+40
-40
Krjk.jsx
src/pages/Storeboard/Krjk.jsx
+16
-19
index.less
src/pages/Storeboard/index.less
+24
-21
No files found.
src/pages/Storeboard/Krjk.jsx
View file @
9d6c9073
...
@@ -54,30 +54,27 @@ export default ({ data }) => {
...
@@ -54,30 +54,27 @@ export default ({ data }) => {
<>
<>
<
div
className=
"data-content"
style=
{
{
position
:
"relative"
}
}
>
<
div
className=
"data-content"
style=
{
{
position
:
"relative"
}
}
>
<
div
className=
"content-header"
>
库容监控
</
div
>
<
div
className=
"content-header"
>
库容监控
</
div
>
<
div
className=
"jk-content"
>
<
div
className=
"jk-content numStatus"
style=
{
{
position
:
"relative"
}
}
>
<
div
className=
"jk-content-unit"
style=
{
{
position
:
"relative"
}
}
>
<
div
className=
"numberStatus"
>
<
div
<
span
>
1
</
span
>
className=
"jk-status numStatus"
<
span
>
2
</
span
>
style=
{
{
position
:
"relative"
}
}
<
span
>
3
</
span
>
>
<
span
>
4
</
span
>
<
div
className=
"numberStatus"
>
<
span
>
5
</
span
>
<
span
>
1
</
span
>
<
span
>
6
</
span
>
<
span
>
2
</
span
>
<
span
>
7
</
span
>
<
span
>
3
</
span
>
<
span
>
8
</
span
>
<
span
>
4
</
span
>
<
span
>
9
</
span
>
<
span
>
5
</
span
>
<
span
>
10
</
span
>
<
span
>
6
</
span
>
</
div
>
<
span
>
7
</
span
>
<
div
className=
"jk-content-unit"
>
<
span
>
8
</
span
>
<
div
className=
"jk-status "
style=
{
{
position
:
"relative"
}
}
>
<
span
>
9
</
span
>
<
span
>
10
</
span
>
</
div
>
<
div
className=
"statusLine bgline1"
></
div
>
<
div
className=
"statusLine bgline1"
></
div
>
<
span
<
span
style=
{
{
style=
{
{
position
:
"absolute"
,
position
:
"absolute"
,
bottom
:
"-20px"
,
bottom
:
"-20px"
,
left
:
"
15
px"
,
left
:
"
-2
px"
,
color
:
"white"
,
color
:
"white"
,
}
}
}
}
>
>
...
...
src/pages/Storeboard/index.less
View file @
9d6c9073
...
@@ -253,7 +253,9 @@
...
@@ -253,7 +253,9 @@
display: flex;
display: flex;
flex-direction: row;
flex-direction: row;
height: calc(100% - 32px);
height: calc(100% - 32px);
padding: 12px 12px 24px 12px;
padding: 12px 0px 24px 24px;
.jk-content-unit {
.jk-content-unit {
flex: 1;
flex: 1;
...
@@ -262,26 +264,6 @@
...
@@ -262,26 +264,6 @@
flex-direction: row;
flex-direction: row;
margin-left: 6px;
margin-left: 6px;
.numStatus {
width: 30px !important;
.numberStatus {
display: flex;
flex-direction: column;
justify-content: space-around;
height: 100%;
align-self: center;
span {
color: #fff;
flex: 1;
height: auto;
align-self: center;
font-size: 16px;
padding-top: 6px;
}
}
}
.jk-statusBottom {
.jk-statusBottom {
width: 100%;
width: 100%;
...
@@ -362,6 +344,27 @@
...
@@ -362,6 +344,27 @@
}
}
}
}
.numStatus {
position: absolute;
left: -25px;
.numberStatus {
display: flex;
flex-direction: column;
justify-content: space-around;
height: 100%;
align-self: center;
span {
color: #fff;
flex: 1;
height: auto;
align-self: center;
font-size: 16px;
padding-top: 6px;
}
}
}
.statuslogo {
.statuslogo {
>div {
>div {
...
...
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