Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
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
王浩
zh-baseversion-project
Commits
9a2b75e9
Commit
9a2b75e9
authored
Jul 22, 2024
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
left组件优化完成
parent
d171861e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
225 additions
and
185 deletions
+225
-185
left-top-img.png
zh-baseversion-web/src/assets/firstimage/left-top-img.png
+0
-0
all.scss
zh-baseversion-web/src/assets/styles/all.scss
+28
-3
leftBar.vue
zh-baseversion-web/src/components/bigWindow/leftBar.vue
+167
-176
rightBar.vue
zh-baseversion-web/src/components/bigWindow/rightBar.vue
+30
-6
No files found.
zh-baseversion-web/src/assets/firstimage/left-top-img.png
0 → 100644
View file @
9a2b75e9
13.3 KB
zh-baseversion-web/src/assets/styles/all.scss
View file @
9a2b75e9
...
...
@@ -96,6 +96,23 @@
}
.el-table__body-wrapper
{
.el-table__body
{
border-spacing
:
0
5px
;
font-size
:
14px
;
td
:nth-child
(
4
)
.cell
{
text-align
:
center
;
}
}
.el-table__row
{
width
:
100%
;
// display: block;
vertical-align
:
5px
;
height
:
36px
;
width
:
350px
;
}
.el-table__row
:nth-child
(
2n
+
1
)
{
background-color
:
#e6e6e6
;
...
...
@@ -195,8 +212,9 @@
}
.el-table__body-wrapper
{
.el-table__row
:nth-child
(
2n
+
1
)
{
background-color
:
rgb
(
11
22
37
)
;
background-color
:
#062A45
;
&
:hover
td
{
background-color
:
#7bf8f4
30
!
important
;
...
...
@@ -205,13 +223,18 @@
td
{
.cell
{
// color: #525252;
color
:
rgba
(
123
,
248
,
244
,
1
);
// color: rgba(123, 248, 244, 1);
line-height
:
14px
;
color
:
#fff
;
}
}
}
.el-table__row
:nth-child
(
2n
)
{
background-color
:
#213b52
;
// background-color: #213b52;
background-color
:
#062A45
;
&
:hover
td
{
background-color
:
#7bf8f4
30
!
important
;
...
...
@@ -219,6 +242,7 @@
td
{
.cell
{
line-height
:
14px
;
color
:
#fff
;
}
}
...
...
@@ -621,6 +645,7 @@
}
.el-table__body-wrapper
{
.el-table__row
:nth-child
(
2n
+
1
)
{
background-color
:
#e6e6e6
;
...
...
zh-baseversion-web/src/components/bigWindow/leftBar.vue
View file @
9a2b75e9
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/components/bigWindow/rightBar.vue
View file @
9a2b75e9
...
...
@@ -424,8 +424,26 @@ export default {
changeTimer
:
false
,
repeatFinshed
:
false
,
tableHeight
:
135
,
tableData
:
[{
unitName
:
123
},{
unitName
:
456
},{
unitName
:
45446
}],
tableHeight
:
185
,
tableData
:
[
// {
// unitName: 123,
// handledStatus: 123,
// statusName: 345,
// alarmTime: "2014-11-11 10:10:10",
// },
// {
// unitName: 456,
// handledStatus: 123,
// statusName: 345,
// alarmTime: "2014-11-11 10:10:10",
// },
// { unitName: 45446, alarmTime: "2014-11-11 10:10:10" },
// { unitName: 45446, alarmTime: "2014-11-11 10:10:10" },
// { unitName: 45446, alarmTime: "2014-11-11 10:10:10" },
// { unitName: 45446, alarmTime: "2014-11-11 10:10:10" },
// { unitName: 45446, alarmTime: "2014-11-11 10:10:10" },
],
yujingdata
:
{
unitName
:
"省移动"
,
detectorType
:
""
,
...
...
@@ -497,7 +515,7 @@ export default {
cancel1
()
{},
getAlarm
()
{
return
alarmData
().
then
((
response
)
=>
{
return
;
//
return;
this
.
tableData
=
response
.
data
.
pageData
;
if
(
this
.
tableData
.
length
>
0
)
{
this
.
yujingdata
=
this
.
tableData
[
0
];
...
...
@@ -550,7 +568,8 @@ export default {
);
clearInterval
(
this
.
timer
);
this
.
timer
=
setInterval
(
async
()
=>
{
if
(
selectWrap
.
scrollTop
==
this
.
scrollHeight
)
{
// console.log(selectWrap.scrollTop,this.scrollHeight)
if
(
selectWrap
.
scrollTop
>=
this
.
scrollHeight
)
{
clearInterval
(
this
.
timer
);
await
this
.
getAlarm
();
selectWrap
.
scrollTop
=
0
;
...
...
@@ -1140,7 +1159,7 @@ export default {
};
</
script
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
.rightb
{
width
:
98%
;
height
:
100%
;
...
...
@@ -1393,8 +1412,13 @@ titletu2 {
.left
{
margin-top
:
10px
;
width
:
350px
;
height
:
5
5%
;
height
:
7
5%
;
margin-left
:
35px
;
.right-bottom-data-left
{
height
:
100%
;
// background: red;
}
}
.yj
{
padding
:
0px
10px
;
...
...
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