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
80357104
Commit
80357104
authored
1 year ago
by
李翰林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改模板
parent
ac54db8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
30 deletions
+37
-30
Krjk.jsx
src/pages/Storeboard/Krjk.jsx
+21
-19
index.less
src/pages/Storeboard/index.less
+16
-11
No files found.
src/pages/Storeboard/Krjk.jsx
View file @
80357104
...
...
@@ -71,21 +71,23 @@ export default ({ data }) => {
<
div
className=
"content-header"
>
库容监控
</
div
>
{
/* 库位展示 */
}
<
div
className=
"jk-content numStatus"
style=
{
{
position
:
"relative"
}
}
>
<
div
className=
"numberStatus"
>
<
span
>
1
</
span
>
<
span
>
2
</
span
>
<
span
>
3
</
span
>
<
span
>
4
</
span
>
<
span
>
5
</
span
>
<
span
>
6
</
span
>
<
span
>
7
</
span
>
<
span
>
8
</
span
>
<
span
>
9
</
span
>
<
span
>
10
</
span
>
</
div
>
<
Carousel
className=
"jk-content-carousel"
afterChange=
{
()
=>
{
}
}
>
<
div
className=
"numberStatus"
>
<
span
>
1
</
span
>
<
span
>
2
</
span
>
<
span
>
3
</
span
>
<
span
>
4
</
span
>
<
span
>
5
</
span
>
<
span
>
6
</
span
>
<
span
>
7
</
span
>
<
span
>
8
</
span
>
<
span
>
9
</
span
>
<
span
>
10
</
span
>
</
div
>
<
Carousel
className=
"jk-content-carousel"
afterChange=
{
()
=>
{}
}
dotPosition=
"right"
>
<
div
className=
"jk-content-unit"
>
<
div
className=
"jk-statusContent"
>
{
statusArr1Left
?.
map
((
it
)
=>
{
...
...
@@ -117,8 +119,8 @@ export default ({ data }) => {
<
span
style=
{
{
position
:
"absolute"
,
left
:
"-18
px"
,
bottom
:
"-
8
px"
,
right
:
"4
px"
,
bottom
:
"-
23
px"
,
color
:
"white"
,
}
}
>
...
...
@@ -184,8 +186,8 @@ export default ({ data }) => {
<
span
style=
{
{
position
:
"absolute"
,
left
:
"-18
px"
,
bottom
:
"-
8
px"
,
right
:
"4
px"
,
bottom
:
"-
23
px"
,
color
:
"white"
,
}
}
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/Storeboard/index.less
View file @
80357104
...
...
@@ -254,23 +254,26 @@
width: 500px;
padding: 12px 0px 24px 24px;
.ant-carousel{
width: 100%
;
.ant-carousel
{
width: 100%;
height: 100%;
}
.slick-dots{
}
.slick-dots {
button {
width: 24px !important;
}
}
.jk-content-unit {
width: 5
0
0px;
padding:
16
px;
width: 5
2
0px;
padding:
8px 24px 32px 30
px;
flex: 1;
display: flex;
flex-direction: column;
margin-left: 6px;
gap: 2px;
height: 5
0
0px;
height: 5
2
0px;
.jk-statusBottom {
width: 100%;
...
...
@@ -285,7 +288,7 @@
flex: 9%;
background-color: #00bbf2;
// border-radius: 50%;
border:1px red;
border:
1px red;
margin: 1px
}
...
...
@@ -318,7 +321,7 @@
.bgline3 {
background: linear-gradient(90deg, #00bbf277 0%
, #ffffff77 100%);
background: linear-gradient(90deg, #00bbf277 0%, #ffffff77 100%);
}
...
...
@@ -338,6 +341,7 @@
height: calc(100% - 10px);
display: flex;
flex-direction: column;
span {
flex: 1;
display: flex;
...
...
@@ -362,6 +366,8 @@
align-self: center;
height: auto;
width: 100%;
padding-left: 16px;
padding-right: 16px;
span {
color: #fff;
...
...
@@ -369,7 +375,6 @@
height: auto;
text-align: center;
font-size: 16px;
padding-top: 6px;
}
}
}
...
...
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