user_coupon.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {extend name='admin@main'}
  2. {block name="content"}
  3. <div class="think-box-shadow">
  4. <table class="layui-table margin-top-10" lay-skin="line">
  5. {notempty name='list'}
  6. <thead>
  7. <tr>
  8. <th class='text-left nowrap'>会员</th>
  9. <th class='text-left nowrap'>标题</th>
  10. <th class='text-left nowrap'>消费限制</th>
  11. <th class='text-left nowrap'>抵扣金额</th>
  12. <th class='text-left nowrap'>期限</th>
  13. <th class='text-left nowrap'>状态</th>
  14. <th class='text-left nowrap'>领取时间</th>
  15. <th class='text-left nowrap'>使用时间</th>
  16. <th class='text-left nowrap'>过期时间</th>
  17. </tr>
  18. </thead>
  19. {/notempty}
  20. <tbody>
  21. {foreach $list as $key=>$vo}
  22. <tr>
  23. <td class='text-left nowrap'>{$vo.user_name|default=''}</td>
  24. <td class='text-left nowrap'>{$vo.coupon_name|default=''}</td>
  25. <td class='text-left nowrap'>{$vo.low_amount|default=''}</td>
  26. <td class='text-left nowrap'>{$vo.amount|default=''}</td>
  27. <td class='text-left nowrap'>{$vo.low_day|default=''}</td>
  28. <td class='text-left nowrap'>{$status_arr[$vo.status]|default=''}</td>
  29. <td class='text-left nowrap'>{$vo.create_at|default=''}</td>
  30. <td class='text-left nowrap'>{$vo.used_time|default='--'}</td>
  31. <td class='text-left nowrap'>{$vo.past_at|default='--'}</td>
  32. </tr>
  33. {/foreach}
  34. </tbody>
  35. </table>
  36. {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
  37. </div>
  38. {/block}