Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JINRUN-DP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
JINRUN-DP
Commits
02b038b4
Commit
02b038b4
authored
Dec 13, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式调整
parent
3f3990a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
54 deletions
+38
-54
LeftOnlineMonitor.vue
src/components/MineMonitor/LeftOnlineMonitor.vue
+37
-52
RightTodayAlarm.vue
src/components/MineMonitor/RightTodayAlarm.vue
+1
-2
No files found.
src/components/MineMonitor/LeftOnlineMonitor.vue
View file @
02b038b4
...
@@ -4,23 +4,26 @@
...
@@ -4,23 +4,26 @@
<!-- SOS报警列表 -->
<!-- SOS报警列表 -->
<div
class=
"list-container"
>
<div
class=
"list-container"
>
<div
class=
"scroll-wrapper"
ref=
"vehicleScrollWrapper"
>
<dl
class=
"alarm-list"
>
<dl
class=
"alarm-list"
>
<dt
class=
"list-header"
>
<dt
class=
"list-header"
>
<span>
设备名称
</span>
<span>
设备名称
</span>
<span>
监测值
</span>
<span>
监测值
</span>
<span>
监测时间
</span>
<span>
监测时间
</span>
</dt>
</dt>
</dl>
<template
v-for=
"(item, index) in tableData"
:key=
"index"
>
<dd
class=
"list-item"
:class=
"getItemClass(item)"
>
<div
class=
"scroll-wrapper"
ref=
"vehicleScrollWrapper"
>
<span>
{{
item
.
name
}}
</span>
<dl
class=
"alarm-list"
>
<span>
{{
item
.
value
}}
</span>
<template
v-for=
"(item, index) in tableData"
:key=
"index"
>
<span>
{{
item
.
time
}}
</span>
<dd
class=
"list-item"
:class=
"getItemClass(item)"
>
</dd>
<span>
{{
item
.
name
}}
</span>
</
template
>
<span>
{{
item
.
value
}}
</span>
</dl>
<span>
{{
item
.
time
}}
</span>
</div>
</dd>
</div>
</
template
>
</dl>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -70,14 +73,13 @@ const tableData = ref([
...
@@ -70,14 +73,13 @@ const tableData = ref([
height
:
3rem
;
height
:
3rem
;
position
:
relative
;
position
:
relative
;
padding
:
0
.15rem
;
padding
:
0
.15rem
;
background-size
:
contain
;
width
:
100%
;
width
:
100%
;
margin-top
:
0
.3rem
;
margin-top
:
0
.3rem
;
background-image
:
url("@/assets/jinrun/module-bg.png")
;
background-image
:
url("@/assets/jinrun/module-bg.png")
;
background-size
:
cover
;
background-size
:
cover
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
margin-top
:
.26rem
;
margin-top
:
.26rem
;
.card-title
{
.card-title
{
position
:
absolute
;
position
:
absolute
;
left
:
0
.25rem
;
left
:
0
.25rem
;
...
@@ -90,38 +92,21 @@ background-size: cover;
...
@@ -90,38 +92,21 @@ background-size: cover;
}
}
.list-container
{
.list-container
{
height
:
2
.2
rem
;
height
:
2
.5
rem
;
overflow
:
hidden
;
overflow
:
hidden
;
}
.alarm-list
{
// padding-top: .2rem;
margin-top
:
.2rem
;
margin-top
:
.2rem
;
}
}
.scroll-wrapper
{
.alarm-list
{
height
:
100%
;
margin
:
0
;
overflow-y
:
auto
;
scrollbar-width
:
none
;
/* Firefox */
-ms-overflow-style
:
none
;
/* IE 10+ */
&
:
:-
webkit-scrollbar
{
display
:
none
;
/* Chrome Safari */
}
}
}
.list-header
{
.list-header
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
0
.1rem
;
padding
:
0
.1rem
;
// background: rgba(10, 25, 71, 0.8);
background-image
:
url("@/assets/jinrun/table-header-bg.png")
;
background-image
:
url("@/assets/jinrun/table-header-bg.png")
;
// border-radius: 0.05rem;
margin-bottom
:
0
.05rem
;
margin-bottom
:
0
.05rem
;
position
:
sticky
;
top
:
0
;
z-index
:
10
;
span
{
span
{
font-weight
:
500
;
font-weight
:
500
;
...
@@ -140,15 +125,23 @@ background-size: cover;
...
@@ -140,15 +125,23 @@ background-size: cover;
}
}
}
}
.scroll-wrapper
{
height
:
calc
(
100%
-
0
.45rem
);
/* 减去header的高度 */
overflow-y
:
auto
;
scrollbar-width
:
none
;
/* Firefox */
-ms-overflow-style
:
none
;
/* IE 10+ */
&
:
:-
webkit-scrollbar
{
display
:
none
;
/* Chrome Safari */
}
}
.list-item
{
.list-item
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
0
.1rem
;
padding
:
0
.1rem
;
margin-bottom
:
0
.05rem
;
margin-bottom
:
0
.05rem
;
// background: rgba(10, 25, 71, 0.6);
background-color
:
#2a496d
78
;
background-color
:
#2a496d
78
;
// border-radius: 0.05rem;
// border-left: 0.03rem solid #36a2eb;
span
{
span
{
font-size
:
0
.14rem
;
font-size
:
0
.14rem
;
...
@@ -187,12 +180,4 @@ background-size: cover;
...
@@ -187,12 +180,4 @@ background-size: cover;
}
}
}
}
.no-data
{
text-align
:
center
;
color
:
var
(
--
n-text-color-secondary
);
padding
:
0
.2rem
;
background
:
rgba
(
10
,
25
,
71
,
0
.3
);
border-radius
:
0
.05rem
;
margin
:
0
.1rem
;
}
</
style
>
</
style
>
\ No newline at end of file
src/components/MineMonitor/RightTodayAlarm.vue
View file @
02b038b4
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
<span>
{{
item
.
alarmTime
}}
</span>
<span>
{{
item
.
alarmTime
}}
</span>
</dd>
</dd>
</
template
>
</
template
>
<dd
v-if=
"sosData.length === 0"
class=
"no-data"
>
暂无SOS报警数据
</dd>
</dl>
</dl>
</div>
</div>
</div>
</div>
...
@@ -397,7 +396,7 @@ background-size: cover;
...
@@ -397,7 +396,7 @@ background-size: cover;
.no-data
{
.no-data
{
text-align
:
center
;
text-align
:
center
;
color
:
var
(
--
n-text-color-secondary
)
;
color
:
#fff
;
padding
:
0
.2rem
;
padding
:
0
.2rem
;
background
:
rgba
(
10
,
25
,
71
,
0
.3
);
background
:
rgba
(
10
,
25
,
71
,
0
.3
);
border-radius
:
0
.05rem
;
border-radius
:
0
.05rem
;
...
...
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