Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e52e2637
authored
Jun 20, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复html2canvs截图绝对定位缺失问题
1 parent
786490f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
src/pages/monitor/detail/index.vue
src/pages/monitor/detail/index.vue
View file @
e52e263
...
@@ -102,8 +102,7 @@
...
@@ -102,8 +102,7 @@
</div>
</div>
<div
style=
"margin-bottom: 19px;"
v-if=
"sitTableData && sitTableData.length"
>
<div
style=
"margin-bottom: 19px;"
v-if=
"sitTableData && sitTableData.length"
>
<div
class=
"table-title"
>
<div
class=
"table-title"
>
警情研判
<span
class=
"risk-title"
>
警情研判
<glsx-image
class=
"risk-img"
v-if=
"pieList[0] && pieList[0].alarmLevel"
:src=
"`risk-level${pieList[0].alarmLevel}.png`"
/></span>
<glsx-image
class=
"risk-img"
v-if=
"pieList[0] && pieList[0].alarmLevel"
:src=
"`risk-level${pieList[0].alarmLevel}.png`"
/>
</div>
</div>
<el-table
class=
"table"
:data=
"sitTableData"
border
size=
"small"
v-loading=
"loading"
style=
"width: 100%"
>
<el-table
class=
"table"
:data=
"sitTableData"
border
size=
"small"
v-loading=
"loading"
style=
"width: 100%"
>
<el-table-column
fixed
prop=
"idx"
label=
"序号"
min-width=
"60"
align=
"center"
></el-table-column>
<el-table-column
fixed
prop=
"idx"
label=
"序号"
min-width=
"60"
align=
"center"
></el-table-column>
...
@@ -1054,15 +1053,17 @@ export default {
...
@@ -1054,15 +1053,17 @@ export default {
text-align
:
center
;
text-align
:
center
;
color
:
#111111
;
color
:
#111111
;
background
:
#fbfbfb
;
background
:
#fbfbfb
;
position
:
relative
;
.risk-title{
margin-left
:
112px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.risk-img
{
.risk-img
{
position
:
absolute
;
width
:
100px
;
width
:
100px
;
height
:
22px
;
height
:
22px
;
margin-left
:
12px
;
margin-left
:
12px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment