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