bmomesHTML = bmomesHTML + '<ul class="mui-table-view" style="" id="table' + Btypes[i].id + '">';
};
for (var j = 0; j < bmomes.length; j++) {
if (bmomes[j].btype.indexOf(Btypes[i].id) >= 0) {
bmomesHTML = bmomesHTML + '<div class = "mui-card"><li class="mui-table-view-cell" id="' + bmomes[j].id + '">';
bmomesHTML = bmomesHTML + '<img class="mui-media-object mui-pull-left" src="' + bmomes[j].img + '" />';
bmomesHTML = bmomesHTML + '<div class="mui-media-body">';
bmomesHTML = bmomesHTML + '<p class="mui-ellipsis">';
bmomesHTML = bmomesHTML + '<span class="car-name">' + bmomes[j].name + '</span>';
bmomesHTML = bmomesHTML + '<span class="mui-h5 mui-pull-right">已服务' + bmomes[j].scount + "人 " + bmomes[j].score + "分";
bmomesHTML = bmomesHTML + '</p><p class="mui-ellipsis car-title">' + bmomes[j].title;
bmomesHTML = bmomesHTML + '</p><p class="mui-ellipsis">';
bmomesHTML = bmomesHTML + '<span class="mui-h5">' + bmomes[j].address + "</span>";
bmomesHTML = bmomesHTML + '<span class="mui-h5 mui-pull-right">' + bmomes[j].distance + "米</span>";
bmomesHTML = bmomesHTML + '</p></div></li></div>';
}
};
bmomesHTML = bmomesHTML + '</ul>';
使用mui('.mui-table-view').on('tap', '.mui-table-view-cell', function(e) {没有反应,为什么?应该怎么写?
1 个回复
灵媒 (作者)
这个就没问题