Files
liche/admin/views/app/appusual/lists.php
T
2021-07-05 09:56:27 +08:00

55 lines
2.6 KiB
PHP
Executable File

<div class="coms-table-wrap">
<!-- no-border 去掉头部就有边控了-->
<div class="coms-table-hd clearfix no-border">
<form action="/app/app/lists" class="form-search" onsubmit="return false">
<div class="am-form am-form-horizontal">
<div class="am-form-group fl">
<div class="am-para-inline w150">
<input type="text" name="keyword" value="<?=$keyword?>" placeholder="请输入小程序名称"/>
</div>
</div>
<div class="am-form-group fl" style="margin-left: 10px">
<button id="search-btn" type="submit" class="am-btn am-btn-sm am-btn-success w100">搜索</button>
</div>
<div class="am-form-group fl" style="margin-left: 10px">
<button type="button" data-modal="/app/app/get" class="am-btn am-btn-success am-btn-sm w100">新增</button>
</div>
<div class="am-form-group fr ml10" style="font-size: 15px;line-height: 32px;">
<span>共有<?=$pager['totle']?>条数据</span>
</div>
</div>
</form>
</div>
<div class="coms-table-bd">
<table class="am-table am-table-bordered">
<thead>
<tr>
<th width="10%"><span>ID</span></th>
<th width="30%"><span>小程序名称</span></th>
<th width="20%"><span>创建时间</span></th>
<th width="20%"><span>操作</span></th>
</tr>
</thead>
<tbody>
<?php foreach ($lists as $key=> $item) {?>
<tr>
<td style="vertical-align:middle;word-wrap:break-word"><?=$item['id']?></td>
<td style="vertical-align:middle;word-wrap:break-word"><?=$item['name']?></td>
<td style="vertical-align:middle;word-wrap:break-word"><?=$item['c_time']?></td>
<td style="vertical-align:middle;word-wrap:break-word">
<a class="am-btn am-btn-primary am-btn-xs mr10" href="javascript:void(0);" data-modal="/app/app/get?id=<?=$item['id']?>">详情</a>
<a class="am-btn am-btn-danger am-btn-xs mr10" data-ajax="post" data-params-id="<?=$item['id']?>" data-action="/app/app/del">删除</a>
</td>
</tr>
<?php }?>
</tbody>
</table>
</div>
<div class="coms-table-ft clearfix">
<div class="coms-pagination fr mr20">
</div>
</div>
</div>
<script>
</script>