|
@@ -350,6 +350,19 @@ $(function() {
|
|
|
addGEO(getClick);
|
|
|
});
|
|
|
|
|
|
+ $('.text-second').on('click', '.title-first1', function() {
|
|
|
+ var add_text = $(this).find('.jzdz').text();
|
|
|
+ let cilckList = [];
|
|
|
+ allArr.map(function(item, index) {
|
|
|
+ cilckList.push(Object.assign({},item,{clickIndex: 1}))
|
|
|
+ });
|
|
|
+ let getClick = cilckList.filter(item => {
|
|
|
+ return item.address == add_text
|
|
|
+ });
|
|
|
+ xxGEO(getClick);
|
|
|
+ addGEO(getClick);
|
|
|
+ });
|
|
|
+
|
|
|
// $('.search-result').click(function(){
|
|
|
// console.log($(this).children('.title-first1'))
|
|
|
// })
|
|
@@ -357,7 +370,7 @@ $(function() {
|
|
|
$('.search-result').on('click', '.title-first1', function() {
|
|
|
var add_text = $(this).find('.jzdz').text();
|
|
|
let cilckList = [];
|
|
|
- // console.log(add_text);
|
|
|
+ console.log(add_text);
|
|
|
allArr.map(function(item, index) {
|
|
|
cilckList.push(Object.assign({},item,{clickIndex: 1}))
|
|
|
});
|