Advertisement

用layui批量删除

阅读量:

本篇文章介绍如何在Layui框架中实现前端批量删除功能。

前端表格代码示例如下:

复制代码
  <div class="layui-form news_list">

    
 	  	<table class="layui-table">
    
 		    <colgroup>
    
 				<col width="50" />
    
 				<col />
    
 				<col width="9%"/>
    
 				<col width="9%"/>
    
 				<col width="18%"/>
    
 				<col width="12%"/>
    
 		    </colgroup>
    
 		    <thead>
    
 				<tr>
    
 					<th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose" id="allChoose" /></th>
    
 					<th style="text-align:left;">公告标题(点击查看)</th>
    
 					<th>发布人</th>
    
 					<th>发送部门</th>
    
 					<th>发送时

全部评论 (0)

还没有任何评论哟~