支持table转卡片

This commit is contained in:
augushong
2020-03-26 20:59:50 +08:00
parent 0b0b8bd35d
commit 317e91ffba
7 changed files with 95 additions and 25 deletions

View File

@@ -45,7 +45,7 @@
</thead>
<tbody>
{volist name='list' id='vo'}
<tr>
<tr class="item">
<td>{$vo.id}</td>
<td>{$vo.name}</td>
<td>
@@ -77,7 +77,7 @@
layer.confirm('确定要删除吗?',function(){
$.get($(item).data('href'),function(result){
if(result.code == 0){
$(item).parents('tr').remove();
$(item).parents('.item').remove();
}
layer.msg(result.msg);
})