1234567891011121314151617181920212223242526272829303132333435363738394041 |
- {extend name='admin@main'}
- {block name="content"}
- <div class="think-box-shadow">
- <table class="layui-table margin-top-10" lay-skin="line">
- {notempty name='list'}
- <thead>
- <tr>
- <th class='text-left nowrap'>会员</th>
- <th class='text-left nowrap'>标题</th>
- <th class='text-left nowrap'>消费限制</th>
- <th class='text-left nowrap'>抵扣金额</th>
- <th class='text-left nowrap'>期限</th>
- <th class='text-left nowrap'>状态</th>
- <th class='text-left nowrap'>领取时间</th>
- <th class='text-left nowrap'>使用时间</th>
- <th class='text-left nowrap'>过期时间</th>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr>
- <td class='text-left nowrap'>{$vo.user_name|default=''}</td>
- <td class='text-left nowrap'>{$vo.coupon_name|default=''}</td>
- <td class='text-left nowrap'>{$vo.low_amount|default=''}</td>
- <td class='text-left nowrap'>{$vo.amount|default=''}</td>
- <td class='text-left nowrap'>{$vo.low_day|default=''}</td>
- <td class='text-left nowrap'>{$status_arr[$vo.status]|default=''}</td>
- <td class='text-left nowrap'>{$vo.create_at|default=''}</td>
- <td class='text-left nowrap'>{$vo.used_time|default='--'}</td>
- <td class='text-left nowrap'>{$vo.past_at|default='--'}</td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- {/block}
|