|
@@ -22,9 +22,6 @@
|
|
|
<th class='list-table-check-td think-checkbox'>
|
|
|
<input data-auto-none data-check-target='.list-check-box' type='checkbox'>
|
|
|
</th>
|
|
|
- <th class='list-table-sort-td'>
|
|
|
- <button type="button" class="layui-btn layui-btn-xs" data-reload >刷 新</button>
|
|
|
- </th>
|
|
|
<th class='text-left nowrap'>头像地址</th>
|
|
|
<th class='text-left nowrap'>昵称</th>
|
|
|
<th class='text-left nowrap'>用户姓名</th>
|
|
@@ -44,7 +41,6 @@
|
|
|
<td class='list-table-check-td think-checkbox'>
|
|
|
<input class="list-check-box" value='{$vo.id}' type='checkbox'>
|
|
|
</td>
|
|
|
- <td class='text-left nowrap'></td>
|
|
|
<td class='text-left nowrap'>
|
|
|
<img data-tips-image style="width:50px;height:50px;vertical-align:top" src="{$vo.avatar|default=''}">
|
|
|
</td>
|
|
@@ -84,3 +80,27 @@
|
|
|
{empty name='list'}<span class="notdata">没 有 记 录 哦!</span>{else}{$pagehtml|raw|default=''}{/empty}
|
|
|
</div>
|
|
|
{/block}
|
|
|
+{block name='script'}
|
|
|
+<script>
|
|
|
+ // 更新
|
|
|
+ function btn_renew(msg) {
|
|
|
+ layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
|
|
|
+ var url = "/user/member/renew";
|
|
|
+ layer.closeAll();
|
|
|
+ $.ajax({
|
|
|
+ type: "post",
|
|
|
+ url: url,
|
|
|
+ data: {},
|
|
|
+ dataType: "json",
|
|
|
+ async: false,
|
|
|
+ success: function (data) {
|
|
|
+ layer.msg(data.info);
|
|
|
+ setTimeout(function () {
|
|
|
+ window.location.reload();
|
|
|
+ },1000)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+</script>
|
|
|
+{/block}
|