|
@@ -107,7 +107,6 @@ |
|
|
// 注册点击事件 |
|
|
// 注册点击事件 |
|
|
$('#lr_contact_companylist').on('tap', function (e) { |
|
|
$('#lr_contact_companylist').on('tap', function (e) { |
|
|
e = e || window.event; |
|
|
e = e || window.event; |
|
|
console.log(1213); |
|
|
|
|
|
var et = e.target || e.srcElement; |
|
|
var et = e.target || e.srcElement; |
|
|
var $et = $(et); |
|
|
var $et = $(et); |
|
|
if (et.tagName === 'IMG' || et.tagName === 'SPAN') { |
|
|
if (et.tagName === 'IMG' || et.tagName === 'SPAN') { |
|
@@ -117,7 +116,6 @@ |
|
|
var $list = $('<div class="lr-user-list" ></div>'); |
|
|
var $list = $('<div class="lr-user-list" ></div>'); |
|
|
var flag = false; |
|
|
var flag = false; |
|
|
var id = $et.attr('data-value'); |
|
|
var id = $et.attr('data-value'); |
|
|
console.log(id); |
|
|
|
|
|
if ($et.hasClass('company')) { |
|
|
if ($et.hasClass('company')) { |
|
|
if ($et.hasClass('bottom')) { |
|
|
if ($et.hasClass('bottom')) { |
|
|
$et.removeClass('bottom'); |
|
|
$et.removeClass('bottom'); |
|
@@ -130,7 +128,7 @@ |
|
|
var _html = '\ |
|
|
var _html = '\ |
|
|
<div class="lr-list-item user" data-value="'+ _item.id + '" >\ |
|
|
<div class="lr-list-item user" data-value="'+ _item.id + '" >\ |
|
|
<img src="'+ getHeadImg(_item) + '" >\ |
|
|
<img src="'+ getHeadImg(_item) + '" >\ |
|
|
<span >' + _item.name + '</span>\ |
|
|
|
|
|
|
|
|
<span >' + _item.name + '('+_item.mobile+')</span>\ |
|
|
</div>'; |
|
|
</div>'; |
|
|
|
|
|
|
|
|
$list.append(_html); |
|
|
$list.append(_html); |
|
@@ -177,7 +175,7 @@ |
|
|
var _html = '\ |
|
|
var _html = '\ |
|
|
<div class="lr-list-item user" data-value="'+ _item.id + '" >\ |
|
|
<div class="lr-list-item user" data-value="'+ _item.id + '" >\ |
|
|
<img src="'+ getHeadImg(_item) + '" >\ |
|
|
<img src="'+ getHeadImg(_item) + '" >\ |
|
|
<span >' + _item.name + '</span>\ |
|
|
|
|
|
|
|
|
<span >' + _item.name + '('+_item.mobile+')</span>\ |
|
|
</div>'; |
|
|
</div>'; |
|
|
|
|
|
|
|
|
$list.append(_html); |
|
|
$list.append(_html); |
|
|