Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DC-TOM
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
刘照晖
DC-TOM
Commits
c6060234
Commit
c6060234
authored
Jul 03, 2025
by
Cai Wei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(*): 兼容小屏幕
parent
a0c54578
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
3 deletions
+53
-3
bag-monitoring.vue
src/views/dustMonitoring/bag-monitoring.vue
+49
-3
index.vue
src/views/dustMonitoring/index.vue
+4
-0
No files found.
src/views/dustMonitoring/bag-monitoring.vue
View file @
c6060234
...
...
@@ -66,7 +66,6 @@
</div>
-->
</div>
<div
class=
"data-table"
>
<div
class=
"time-controls"
>
<div
class=
"time-desc"
>
<span
class=
"icon"
></span>
...
...
@@ -87,6 +86,8 @@
<el-button
@
click=
"reset"
>
重置
</el-button>
</div>
</div>
<div
class=
"data-table"
>
<table>
<thead>
...
...
@@ -566,6 +567,12 @@ onBeforeUnmount(() => {
align-items
:
center
;
margin-bottom
:
16px
;
@media
(
max-width
:
768px
)
{
flex-direction
:
column
;
align-items
:
flex-start
;
padding-top
:
50px
;
/* Make room for the select container */
}
.select-container
{
position
:
absolute
;
left
:
0
;
...
...
@@ -574,6 +581,13 @@ onBeforeUnmount(() => {
display
:
flex
;
align-items
:
center
;
z-index
:
99
;
@media
(
max-width
:
768px
)
{
width
:
100%
;
position
:
relative
;
margin-bottom
:
10px
;
}
.select-label
{
color
:
#909399
!
important
;
font-size
:
14px
;
...
...
@@ -602,6 +616,8 @@ onBeforeUnmount(() => {
.chart-container
{
width
:
100%
;
height
:
calc
(
100%
-
350px
);
min-height
:
200px
;
max-height
:
calc
(
50vh
-
50px
);
background-color
:
#000
;
border-radius
:
4px
;
display
:
flex
;
...
...
@@ -641,8 +657,16 @@ onBeforeUnmount(() => {
z-index
:
100
;
transition
:
transform
0
.3s
ease-in-out
;
@media
(
max-width
:
768px
)
{
width
:
280px
;
}
&
.collapsed
{
transform
:
translateX
(
345px
);
@media
(
max-width
:
768px
)
{
transform
:
translateX
(
300px
);
}
}
.panel-toggle
{
...
...
@@ -682,8 +706,18 @@ onBeforeUnmount(() => {
margin-bottom
:
5px
;
font-size
:
14px
;
@media
(
max-width
:
768px
)
{
flex-wrap
:
wrap
;
font-size
:
12px
;
}
div
{
flex
:
1
;
@media
(
max-width
:
768px
)
{
min-width
:
45%
;
margin-bottom
:
3px
;
}
}
}
}
...
...
@@ -698,10 +732,14 @@ onBeforeUnmount(() => {
border-radius
:
4px
;
padding
:
10px
0
;
box-sizing
:
border-box
;
overflow-x
:
auto
;
max-height
:
300px
;
overflow-y
:
auto
;
table
{
width
:
100%
;
border-collapse
:
collapse
;
min-width
:
600px
;
th
,
td
{
...
...
@@ -749,11 +787,20 @@ onBeforeUnmount(() => {
}
}
}
.time-controls
{
margin-bottom
:
10px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
flex-wrap
:
wrap
;
gap
:
10px
;
@media
(
max-width
:
768px
)
{
flex-direction
:
column
;
align-items
:
flex-start
;
}
.el-button
{
border-color
:
var
(
--
accent
);
...
...
@@ -809,6 +856,5 @@ onBeforeUnmount(() => {
width
:
60px
;
}
}
}
}
</
style
>
src/views/dustMonitoring/index.vue
View file @
c6060234
...
...
@@ -728,6 +728,10 @@ $borderColor: #3a3f45;
flex-direction
:
column
;
// background-color: #181d21;
color
:
#909399
;
&
:
:-
webkit-scrollbar
{
width
:
2px
;
background-color
:
rgba
(
58
,
63
,
69
,
0
.5
);
}
}
.top-box
{
width
:
100%
;
...
...
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