Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
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
海康威视
web-project
Commits
8ee91dac
Commit
8ee91dac
authored
Dec 16, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ar修改
parent
41e96462
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
screenDisplay.vue
src/components/screenDisplay.vue
+7
-3
No files found.
src/components/screenDisplay.vue
View file @
8ee91dac
...
@@ -972,7 +972,9 @@ export default defineComponent({
...
@@ -972,7 +972,9 @@ export default defineComponent({
let
contentInfo
=
""
;
let
contentInfo
=
""
;
if
(
this
.
mapLevel
==
3
)
{
if
(
this
.
mapLevel
==
3
)
{
if
(
_this
.
heatBtnF
==
1
)
{
if
(
_this
.
heatBtnF
==
1
)
{
contentInfo
=
"<div class='mypopup mypopup1 mypopup3'>"
;
contentInfo
=
'<div class="mypopup mypopup1 mypopup3" id="'
+
markerId
+
'mypopup3'
+
'">'
transferList
.
forEach
((
element
)
=>
{
transferList
.
forEach
((
element
)
=>
{
contentInfo
+=
contentInfo
+=
"<div style='line-height:120%;'>"
+
"<div style='line-height:120%;'>"
+
...
@@ -985,7 +987,9 @@ export default defineComponent({
...
@@ -985,7 +987,9 @@ export default defineComponent({
}
else
{
}
else
{
transferList
.
forEach
((
element
)
=>
{
transferList
.
forEach
((
element
)
=>
{
contentInfo
=
contentInfo
=
"<div class='mypopup mypopup2 mypopup3'><div>"
+
'<div class="mypopup mypopup2 mypopup3" id="'
+
markerId
+
'mypopup3'
+
'">'
+
element
.
transferName
+
element
.
transferName
+
" "
+
" "
+
"</div><div style='text-align:center; margin-top:5px;'> 供热面积:"
+
"</div><div style='text-align:center; margin-top:5px;'> 供热面积:"
+
...
@@ -1018,7 +1022,7 @@ export default defineComponent({
...
@@ -1018,7 +1022,7 @@ export default defineComponent({
});
});
//选择所有的button元素
//选择所有的button元素
const
popupButtons1
=
document
.
querySelectorAll
(
"
.mypopup3"
);
const
popupButtons1
=
document
.
querySelectorAll
(
"
#"
+
markerId
+
'mypopup3'
);
const
popupButtons2
=
document
.
querySelector
(
"#"
+
markerId
);
const
popupButtons2
=
document
.
querySelector
(
"#"
+
markerId
);
console
.
log
(
'popupButtons1'
,
popupButtons1
)
console
.
log
(
'popupButtons1'
,
popupButtons1
)
console
.
log
(
'popupButtons2'
,
popupButtons2
)
console
.
log
(
'popupButtons2'
,
popupButtons2
)
...
...
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