|
@ -70,6 +70,7 @@
|
|
|
</div>\
|
|
|
<div class="div-disease-item mt10" @click="diseaseClick(2)" :class="{active: activeIndex == 2}" @mouseout="diseaseMouseOut" @mouseover="diseaseMouseOver">\
|
|
|
<h4 class="c-b5e1fc c-f16 c-t-center div-disease-title">孕产妇人群</h4>\
|
|
|
<img src="../images/icon.png" class="icon-img" @click="detailClick(2)">\
|
|
|
<div class="c-row">\
|
|
|
<div class="c-33 bg-icon">\
|
|
|
<div class="absolute-content">\
|
|
@ -102,6 +103,7 @@
|
|
|
</div>\
|
|
|
<div class="div-disease-item mt10" @click="diseaseClick(3)" :class="{active: activeIndex == 3}" @mouseout="diseaseMouseOut" @mouseover="diseaseMouseOver">\
|
|
|
<h4 class="c-b5e1fc c-f16 c-t-center div-disease-title">65岁以上老年人人数</h4>\
|
|
|
<img src="../images/icon.png" class="icon-img" @click="detailClick(3)">\
|
|
|
<div class="c-row">\
|
|
|
<div class="c-33 bg-icon">\
|
|
|
<div class="absolute-content">\
|
|
@ -210,7 +212,10 @@
|
|
|
diseaseClick:function(type){
|
|
|
this.activeIndex = type;
|
|
|
this.cacheActiveIndex = type;
|
|
|
EventBus.$emit('refresh-json-data', {type:type});
|
|
|
if($(event.target).hasClass("icon-img")){//点击图片,则不触发重新请求数据
|
|
|
return false;
|
|
|
}
|
|
|
EventBus.$emit('refresh-json-data', {type:type});//触发首页重新请求数据方法
|
|
|
},
|
|
|
diseaseMouseOver:function(){
|
|
|
this.activeIndex = null;
|