wpfw_ewei_shopv2/template/web/finance/credit.html
2023-02-14 19:57:32 +08:00

103 lines
4.2 KiB
HTML

{template '_header'}
<div class="page-heading"> <h2>{if $type=='credit1'}积分{else}余额{/if}明细</h2> </div>
<form action="./index.php" method="get" class="form-horizontal" role="form" id="form1">
<input type="hidden" name="c" value="site" />
<input type="hidden" name="a" value="entry" />
<input type="hidden" name="m" value="{EWEI_SHOP_V2_MODULE_NAME}" />
<input type="hidden" name="do" value="web" />
<input type="hidden" name="r" value="finance.credit.{$type}" />
<div class="page-toolbar row m-b-sm m-t-sm">
<div class="col-sm-5">
<div class="btn-group btn-group-sm" style='float:left'>
<button class="btn btn-default btn-sm" type="button" data-toggle='refresh'><i class='fa fa-refresh'></i></button>
</div>
<div class='input-group input-group-sm' >
{php echo tpl_daterange('time', array('sm'=>true,'placeholder'=>'操作时间'),true);}
</div>
</div>
<div class="col-sm-7 pull-right">
<select name='groupid' class='form-control input-sm select-md' style="width:100px;float: left;" >
<option value=''>会员分组</option>
{loop $groups $group}
<option value='{$group['id']}' {if $_GPC['groupid']==$group['id']}selected{/if}>{$group['groupname']}</option>
{/loop}
</select>
<select name='level' class='form-control input-sm select-md' style="width:100px;float: left;" >
<option value=''>会员等级</option>
{loop $levels $level}
<option value='{$level['id']}' {if $_GPC['level']==$level['id']}selected{/if}>{$level['levelname']}</option>
{/loop}
</select>
<div class="input-group">
<input type="text" class="form-control input-sm" name="keyword" value="{$_GPC['keyword']}" placeholder="请输入会员信息/操作人信息" />
<span class="input-group-btn">
<button class="btn btn-sm btn-primary" type="submit"> 搜索</button>
{if $type=='credit'}
{ifp 'finance.credit.credit1.export'}
<button type="submit" name="export" value="1" class="btn btn-success btn-sm">导出 Excel</button>
{/if}
{else}
{ifp 'finance.credit.credit2.export'}
<button type="submit" name="export" value="1" class="btn btn-success btn-sm">导出 Excel</button>
{/if}
{/if}
</span>
</div>
</div>
</div>
</form>
<table class="table table-hover table-responsive">
<thead class="navbar-inner">
<tr>
<th style='width:120px;'>粉丝</th>
<th style='width:100px;'>会员信息</th>
<th style='width:80px;'>{if $type=='credit1'}积分{else}余额{/if}变化</th>
<th style='width:80px;'>备注</th>
<th style='width:80px;'>操作人</th>
<th style='width:100px;'>操作时间</th>
</tr>
</thead>
<tbody>
{loop $list $row}
<tr >
<td data-toggle='tooltip' title='{$row['nickname']}'>
{ifp 'member.list.detail'}
<a href="{php echo webUrl('member/list/detail',array('id' => $row['mid']));}" target='_blank'>
<img src='{php echo tomedia($row['avatar'])}' style='width:30px;height:30px;padding1px;border:1px solid #ccc' /> {$row['nickname']}
</a>
{else}
<img src='{php echo tomedia($row['avatar'])}' style='width:30px;height:30px;padding1px;border:1px solid #ccc' /> {$row['nickname']}
{/if}
</td>
<td>{$row['realname']}<br/>{$row['mobile']}</td>
<td>{$row['num']}</td>
<td data-toggle='popover' data-html='true' data-placement='top' data-trigger='hover' data-content='{$row['remark']}'>{$row['remark']}</td>
<td>{if empty($row['username'])}本人{else}{$row['username']}{/if}</td>
<td>{php echo date('Y-m-d H:i:s',$row['createtime'])}</td>
</tr>
{/loop}
</tbody>
</table>
{$pager}
{template '_footer'}