test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

112 lines
5.6 KiB

{php include wl_template('common/header');}
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="javascript:;">权益订单管理</a></li>
</ul>
<div class="app-content">
<!--顶部操作-->
<div class="app-filter">
<div class="filter-list">
<form action="" 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="{MODULE_NAME}" />
<input type="hidden" name="p" value="setting" />
<input type="hidden" name="ac" value="rights" />
<input type="hidden" name="do" value="rightsOrderIndex" />
<div class="form-group">
<label class="col-sm-2 control-label">权益类型</label>
<div class="col-sm-9">
<div class="btn-group">
<a href="{php echo wl_filter_url('rightsid:99');}" class="btn {if $rightsid == 99}btn-primary{else}btn-default{/if}">全部</a>
{loop $rightsList $rItem}
<a href="{php echo wl_filter_url('rightsid:'.$rItem['id'].',rights_bagid:0');}" class="btn {if $rightsid == $rItem['id']}btn-primary{else}btn-default{/if}">{$rItem['rights_type']}</a>
{/loop}
<a href="{php echo wl_filter_url('rights_bagid:2,rightsid:0');}" class="btn {if $rights_bagid == 2}btn-primary{else}btn-default{/if}">VIP特权包</a>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-2 control-label"></div>
<div class="col-sm-9">
<!-- <button class="btn btn-primary" type="submit">搜索</button>-->
<!-- <a href="{php echo web_url('setting/rights/rightsOrderIndex')}" class="btn btn-danger">清除</a>-->
</div>
</div>
</form>
</div>
</div>
<!--表格信息-->
<div class="app-table-list">
<!--列表信息-->
<div class="table-responsive order-list">
<table class="table table-hover">
<thead>
<tr>
<th class="text-center">订单号</th>
<th class="text-center"><span class="text-primary">绑定微信用户</span></th>
<th class="text-center">权益类型</th>
<th class="text-center">付费类型</th>
<th class="text-center">订单金额</th>
<th class="text-center">支付方式</th>
<th class="text-center">支付时间</th>
</tr>
</thead>
<tbody>
{loop $list $key $val}
<tr class="text-center">
<td>{$val['orderno']}</td>
<td>
<div style="height: 50px;float: left">
<div style="width: 50px;height: 50px;float: left;">
<img src="{$val['avatar']}" style="width: 100%;height: 100%"/>
</div>
<div style="float:left;height: 50px;line-height: 25px;margin-left: 5px">
{$val['nickname']}
</div>
</div>
</td>
<td>
{if $val['payfor'] == 'rightsBag'}
<label class="label label-danger">{$val['rights_type']}</label>
{else}
<label class="label label-success">{$val['rights_type']}</label>
{/if}
</td>
<td>
{if $val['payfor'] == 'rightsBag'}
<label class="label label-primary">特权包</label>
{else}
<label class="label label-inverse">单买</label>
{/if}
</td>
<td>{$val['price']}</td>
<td>
{if $val['status'] > 0 && $val['status'] != 5}
{if $val['paytype']==1}
<span> <i class="icow icow-yue text-warning" style="font-size: 17px;"></i><span>余额支付</span></span>
{elseif $val['paytype']==2}
<span> <i class="icow icow-weixinzhifu text-success" style="font-size: 17px"></i>微信支付</span>
{elseif $val['paytype']==3}
<span><i class="icow icow-zhifubaozhifu text-primary" style="font-size: 17px"></i>支付宝支付</span>
{else}
<label class='label label-danger'>未知方式</label>
{/if}
{else}
<label class='label label-default'>未支付</label>
{/if}
</td>
<td>{if $val['paytime'] > 0}{php echo date("Y-m-d H:i:s",$val['paytime']);}{/if}</td>
</tr>
{/loop}
</tbody>
</table>
</div>
<!--操作按钮 分页信息-->
<div class="app-table-foot clearfix">
<div class="pull-right">{$pager}</div>
</div>
</div>
</div>
<script>
</script>
{php include wl_template('common/footer');}