1 line
4.4 KiB
HTML
1 line
4.4 KiB
HTML
{layout name="layout/food" /}
|
|
|
|
<div class="row-content am-cf">
|
|
|
|
<div class="row">
|
|
|
|
<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
|
|
|
|
<div class="widget am-cf">
|
|
|
|
<div class="widget-head am-cf">
|
|
|
|
<div class="widget-title am-cf">用户列表</div>
|
|
|
|
</div>
|
|
|
|
<div class="widget-body am-fr">
|
|
|
|
<!-- 工具栏 -->
|
|
|
|
<div class="page_toolbar am-margin-bottom am-cf">
|
|
|
|
<form class="toolbar-form" action="{:url('food.user/wx_index')}">
|
|
|
|
<div class="am-u-sm-12">
|
|
|
|
<div class="am fr">
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="am-scrollable-horizontal am-u-sm-12">
|
|
|
|
<table width="100%" class="am-table am-table-hover tpl-table-black">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>头像</th>
|
|
|
|
<th>昵称</th>
|
|
|
|
<th>关注时间</th>
|
|
|
|
<th>是否是审核员</th>
|
|
|
|
<th>操作</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{if !empty($list)}
|
|
|
|
{foreach $list as $item}
|
|
|
|
<tr>
|
|
|
|
<td class="am-text-middle">{$item['id']}</td>
|
|
|
|
<td class="am-text-middle">
|
|
|
|
<img src="{$item['headimgurl']}" width="72" height="72" alt="">
|
|
|
|
</td>
|
|
|
|
<td class="am-text-middle">{$item['nickname']|default='--'}</td>
|
|
|
|
|
|
<td class="am-text-middle">{$item['create_time']|default='--'}</td>
|
|
|
|
<td class="am-text-middle">{$item['is_role']|default='--'}</td>
|
|
|
|
|
|
<td class="am-text-middle">
|
|
|
|
<div class="tpl-table-black-operation">
|
|
|
|
<a class="j-recharge tpl-table-black-operation-default"
|
|
|
|
href="javascript:void(0);"
|
|
|
|
title="核销员"
|
|
|
|
data-user_id="{$item['id']}"
|
|
|
|
<i class="iconfont icon-qiandai"></i>变更核销员
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
{else /}
|
|
|
|
<tr>
|
|
|
|
<td colspan="12" class="am-text-center">暂无记录</td>
|
|
|
|
</tr>
|
|
|
|
{/if}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="am-u-lg-12 am-cf">
|
|
|
|
<div class="am-fr"></div>
|
|
|
|
<div class="am-fr pagination-total am-margin-right">
|
|
|
|
<!-- <div class="am-vertical-align-middle">总记录:</div>-->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{include file="food/user/tpl/tp_recharge1" /}
|
|
|
|
<script>
|
|
|
|
$(function () {
|
|
|
|
/**
|
|
|
|
* 账户充值
|
|
|
|
*/
|
|
|
|
$('.j-recharge').on('click', function () {
|
|
|
|
var data = $(this).data();
|
|
|
|
|
|
$.showAction({
|
|
|
|
title: '核销员变更',
|
|
|
|
area: '460px',
|
|
|
|
content: template('tpl-recharge1', data),
|
|
|
|
uCheck: true,
|
|
|
|
success: function ($content) {
|
|
|
|
$('#my-form').formPost({
|
|
|
|
url: "{:url('food.user/recharge1')}"
|
|
|
|
});
|
|
|
|
},
|
|
|
|
btn2: function ($content) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
</script> |