Commit 80a00715 by 前端

Merge branch 'v1.20.1' into 'master'

V1.20.1版本已上线,合并代码到master

See merge request !36
2 parents e10b5d07 d00649d1
...@@ -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;
} }
......
...@@ -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('mouseout',function(){ questionIcon.addEventListener('mouseleave',function(e){
_obj.style.display = 'none'; _obj.style.display = 'none';
e.stopPropagation()
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!