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 6a5c737f
authored
Jun 13, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.20.1' into 'develop'
V1.20.1版本已上线,合并代码到develop See merge request
!35
2 parents
f0339971
d00649d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
src/assets/scss/monitor.scss
src/utils/mapService.js
src/assets/scss/monitor.scss
View file @
6a5c737
...
@@ -391,7 +391,7 @@
...
@@ -391,7 +391,7 @@
display
:
flex
;
display
:
flex
;
}
}
.lb
{}
//
.lb {}
.des
{
.des
{
flex
:
1
;
flex
:
1
;
...
@@ -571,6 +571,7 @@
...
@@ -571,6 +571,7 @@
.map-infowindow-title
{
.map-infowindow-title
{
position
:
relative
;
position
:
relative
;
padding-right
:
30px
;
.question_icon
{
.question_icon
{
display
:inline-block
;
display
:inline-block
;
background
:
url('https://img01.glsx.com.cn/weapp/resource/e-shield/circle-question.png')
no-repeat
;
background
:
url('https://img01.glsx.com.cn/weapp/resource/e-shield/circle-question.png')
no-repeat
;
...
@@ -589,6 +590,7 @@
...
@@ -589,6 +590,7 @@
border-radius
:
4px
;
border-radius
:
4px
;
color
:
#fff
;
color
:
#fff
;
font-size
:
12px
;
font-size
:
12px
;
pointer-events
:
none
;
p
{
p
{
margin
:
0
;
margin
:
0
;
}
}
...
...
src/utils/mapService.js
View file @
6a5c737
...
@@ -504,11 +504,14 @@ MapService.prototype = {
...
@@ -504,11 +504,14 @@ MapService.prototype = {
let
questionIcon
=
infoDiv
.
querySelector
(
'.question_icon'
);
let
questionIcon
=
infoDiv
.
querySelector
(
'.question_icon'
);
if
(
questionIcon
){
if
(
questionIcon
){
let
_obj
=
infoDiv
.
querySelector
(
'.popover_box'
);
let
_obj
=
infoDiv
.
querySelector
(
'.popover_box'
);
questionIcon
.
addEventListener
(
'mouseover'
,
function
(){
questionIcon
.
addEventListener
(
'mouseenter'
,
function
(
e
){
console
.
log
(
e
.
stopPropagation
)
_obj
.
style
.
display
=
'block'
;
_obj
.
style
.
display
=
'block'
;
e
.
stopPropagation
()
})
})
questionIcon
.
addEventListener
(
'mouse
out'
,
function
(
){
questionIcon
.
addEventListener
(
'mouse
leave'
,
function
(
e
){
_obj
.
style
.
display
=
'none'
;
_obj
.
style
.
display
=
'none'
;
e
.
stopPropagation
()
})
})
}
}
...
...
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