Commit 6a5c737f by 前端

Merge branch 'v1.20.1' into 'develop'

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

See merge request !35
2 parents f0339971 d00649d1
......@@ -391,7 +391,7 @@
display: flex;
}
.lb {}
// .lb {}
.des {
flex: 1;
......@@ -571,6 +571,7 @@
.map-infowindow-title {
position: relative;
padding-right:30px;
.question_icon {
display:inline-block;
background: url('https://img01.glsx.com.cn/weapp/resource/e-shield/circle-question.png') no-repeat;
......@@ -589,6 +590,7 @@
border-radius:4px;
color:#fff;
font-size:12px;
pointer-events: none;
p{
margin:0;
}
......
......@@ -504,11 +504,14 @@ MapService.prototype = {
let questionIcon = infoDiv.querySelector('.question_icon');
if(questionIcon){
let _obj = infoDiv.querySelector('.popover_box');
questionIcon.addEventListener('mouseover',function(){
questionIcon.addEventListener('mouseenter',function(e){
console.log(e.stopPropagation)
_obj.style.display = 'block';
e.stopPropagation()
})
questionIcon.addEventListener('mouseout',function(){
questionIcon.addEventListener('mouseleave',function(e){
_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!