完成上传组件的开发

This commit is contained in:
2020-04-10 21:19:03 +08:00
parent 5629daa722
commit a5a9c12ad0
18 changed files with 385 additions and 145 deletions

View File

@@ -6,7 +6,7 @@
<h3 class="box-title">{$meta_title}</h3>
<div class="box-tools pull-right">
<a class="btn btn-sm btn-primary" id="action_add" href="{:url('/admin/wechat/add')}">新 增</a>
<button class="btn btn-sm btn-danger ajax-post confirm" data-form="ids" url="{:url('/admin/wechat/del')}">删 除</button>
<button class="btn btn-sm btn-danger ajax-post confirm" data-form="ids" url="{:url('/admin/wechat/delete')}">删 除</button>
</div>
</div>
<div class="box-body">
@@ -18,7 +18,8 @@
<th class="">编号</th>
<th class="">名称</th>
<th class="">类型</th>
<th class="">appid</th>
<th class="">微信appid</th>
<th class="">微信秘钥</th>
<th class="">创建时间</th>
<th class="">操作</th>
</tr>
@@ -28,9 +29,10 @@
<tr>
<td><input class="ids row-selected" type="checkbox" name="id[]" value="{$item['id']}"></td>
<td>{$item['id']}</td>
<td>{$item['name']}</td>
<td>{$item['title']}</td>
<td>{$item['type_text']}</td>
<td>{$item['appid']}</td>
<td>{$item['app_id']}</td>
<td>{$item['secret']}</td>
<td>{$item['update_time']}</td>
<td>
<a href="{:url('/admin/wechat/edit', ['id'=>$item['id']])}">编辑</a>