Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
de014bef
Commit
de014bef
authored
Nov 19, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
驾驶舱细节优化
parent
f744b188
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
5 deletions
+25
-5
HGBI003.jsp
src/main/webapp/HG/BI/HGBI003.jsp
+25
-5
device_01.jpg
src/main/webapp/common/img/device_01.jpg
+0
-0
No files found.
src/main/webapp/HG/BI/HGBI003.jsp
View file @
de014bef
...
...
@@ -123,6 +123,20 @@
font-size
:
16px
;
font-weight
:
bold
;
}
.device-img
{
position
:
relative
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
84%
;
height
:
100%
;
}
.device-img
img
{
display
:
block
;
height
:
100%
;
width
:
100%
;
border-radius
:
4px
;
}
</style>
</head>
<body>
...
...
@@ -200,7 +214,11 @@
<div
style=
"color: #01A9FF;font-size: 1vw;"
>
{{ item.deviceModel }}
</div>
</div>
<div
style=
"height: 15.5vh;width: 100%;display: flex;justify-content: center;align-items: center;"
>
<img
src=
"${ctx}/common/img/avi.png"
style=
"width: 3vw;height: 6vh;"
alt
/>
<div
v-if=
"item.imgUrl"
class=
"device-img"
>
<img
:src=
"item.imgUrl"
style=
"height: 100%;"
alt=
""
>
</div>
<img
v-else
src=
"${ctx}/common/img/avi.png"
style=
"width: 3vw;height: 6vh;"
alt
/>
</div>
</div>
</div>
...
...
@@ -239,7 +257,8 @@
<div
style=
"color: #01A9FF;font-size: 1vw;"
>
{{ item.deviceModel }}
</div>
</div>
<div
style=
"height: 15.5vh;width: 100%;display: flex;justify-content: center;align-items: center;"
>
<img
src=
"${ctx}/common/img/avi.png"
style=
"width: 3vw;height: 6vh;"
alt
/>
<img
v-if=
"item.imgUrl"
:src=
"item.imgUrl"
style=
"height: 100%;"
alt=
""
>
<img
v-else
src=
"${ctx}/common/img/avi.png"
style=
"width: 3vw;height: 6vh;"
alt
/>
</div>
</div>
</div>
...
...
@@ -356,6 +375,7 @@
deviceName
:
'数控龙门加工中心'
,
status
:
'3'
,
deviceModel
:
'NSP42014C'
,
imgUrl
:
`
${
ctx
}
/common/img/device_01.jpg`
},
{
deviceName
:
'数控平面钻床1号'
,
...
...
@@ -385,7 +405,7 @@
_this
.
queryBySbStatusList
=
res
.
extAttr
.
result
;
}
let
newArr
=
deviceList
.
slice
(
_this
.
queryBySbStatusList
.
length
,
5
-
_this
.
queryBySbStatus
List
.
length
);
let
newArr
=
deviceList
.
slice
(
_this
.
queryBySbStatusList
.
length
,
device
List
.
length
);
_this
.
queryBySbStatusList
.
push
(...
newArr
)
_this
.
querySbYes
();
_this
.
querySbNo
();
...
...
@@ -548,7 +568,7 @@
})
}
let
newArr
=
list
.
slice
(
_this
.
querySbYesList
.
length
,
5
-
_this
.
querySbYesL
ist
.
length
);
let
newArr
=
list
.
slice
(
_this
.
querySbYesList
.
length
,
l
ist
.
length
);
_this
.
querySbYesList
.
push
(...
newArr
)
console
.
log
(
_this
.
querySbYesList
,
999998888
)
},
...
...
@@ -700,7 +720,7 @@
})
}
let
newArr
=
list
.
slice
(
_this
.
querySbNoList
.
length
,
5
-
_this
.
querySbNoL
ist
.
length
);
let
newArr
=
list
.
slice
(
_this
.
querySbNoList
.
length
,
l
ist
.
length
);
_this
.
querySbNoList
.
push
(...
newArr
)
console
.
log
(
_this
.
querySbNoList
,
77776666
)
...
...
src/main/webapp/common/img/device_01.jpg
0 → 100644
View file @
de014bef
203 KB
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