index.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {extend name="../../admin/view/main"}
  2. {block name="content"}
  3. <div class="think-box-shadow table-block">
  4. {include file='luckdraw_record/index_search'}
  5. <table class="layui-table" lay-skin="line">
  6. {notempty name='list'}
  7. <thead>
  8. <tr>
  9. <th class='list-table-check-td think-checkbox'>
  10. <input data-auto-none="" data-check-target='.list-check-box' type='checkbox'>
  11. </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='list-table-check-td think-checkbox'>
  24. <input class="list-check-box" value='{$vo.id}' type='checkbox'>
  25. </td>
  26. <td class='text-left nowrap'>
  27. {$vo.username|default=''}
  28. <span class="margin-left-5 layui-badge layui-bg-gray">{$vo.phone|default=''}</span>
  29. </td>
  30. <td class='text-left nowrap'>{$vo.info.name|default=''}</td>
  31. <td class='text-left nowrap'>
  32. {if $vo.prize_code neq ''}
  33. {$vo.prize_name|default=''}( {$vo.prize_level|default=''} )
  34. {$vo.prize_express ? "<span class='color-blue'>需要发货</span>":"<span class='color-desc'>无需发货</span>"}
  35. {else}<span class="layui-badge layui-bg-gray">未中奖</span>{/if}
  36. </td>
  37. <td class='text-left nowrap'>
  38. {$vo.create_at|format_datetime}
  39. </td>
  40. <td class='text-left nowrap'>
  41. {if empty($vo.prize_express)}
  42. {$vo.uncode_datetime|default='未核销'}
  43. {else}
  44. {$vo.express_province|default=''}{$vo.express_city|default=''}{$vo.express_area|default=''}
  45. {$vo.express_address|default=''}
  46. {/if}
  47. </td>
  48. </tr>
  49. {/foreach}
  50. </tbody>
  51. </table>
  52. {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
  53. </div>
  54. {/block}