|
@@ -670,8 +670,8 @@ $(function() {
|
|
|
});
|
|
|
|
|
|
// 点击列表中的一条,重置地图中心点
|
|
|
- $(document).on('click', '.title-first', function() {
|
|
|
- var add_text = $(this).find('.jzdz').text();
|
|
|
+ $(document).on('click', '.title-first li', function() {
|
|
|
+ var add_text = $(this).parents('.title-first').find('.jzdz').text();
|
|
|
let cilckList = [];
|
|
|
allArr.map(function(item, index) {
|
|
|
cilckList.push(Object.assign({},item,{clickIndex: 1}))
|
|
@@ -683,6 +683,13 @@ $(function() {
|
|
|
addGEO(getClick);
|
|
|
});
|
|
|
|
|
|
+ $(document).on('mouseover','.title-first',function(){
|
|
|
+ $(this).find('.correct_text').removeAttr('style').css({'color':'#2775CC','text-decoration':'underline'});
|
|
|
+ });
|
|
|
+ $(document).on('mouseleave','.title-first',function(){
|
|
|
+ $(this).find('.correct_text').css({'color':'#2775CC','text-decoration':'underline','visibility':'hidden'});
|
|
|
+ });
|
|
|
+
|
|
|
$('.text-second').on('click', '.title-first1 ul li', function() {
|
|
|
var add_text = $(this).parents('ul').find('.jzdz').text();
|
|
|
let cilckList = [];
|