index.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {extend name='main'}
  2. {block name="button"}
  3. <!--{if auth("add")}-->
  4. <!--<button data-open='{:url("add")}' data-title="添加众筹项目" class='layui-btn layui-btn-sm layui-btn-primary'>添加众筹项目</button>-->
  5. <!--{/if}-->
  6. {/block}
  7. {block name="content"}
  8. <div class="think-box-shadow">
  9. {include file='bidding/index_search'}
  10. <table class="layui-table margin-top-10" lay-skin="line">
  11. {notempty name='list'}
  12. <thead>
  13. <tr>
  14. <th class='list-table-check-td think-checkbox'>
  15. <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
  16. </th>
  17. <th class='text-left nowrap'>视频</th>
  18. <th class='text-left nowrap'>图片</th>
  19. <th class='text-left nowrap'>标题</th>
  20. <th class='text-left nowrap'>数量</th>
  21. <th class='text-left nowrap'>规格</th>
  22. <th class='text-left nowrap'>包装</th>
  23. <th class='text-left nowrap'>状态</th>
  24. <th class='text-left nowrap'>发布时间</th>
  25. <th class='text-left nowrap'></th>
  26. </tr>
  27. </thead>
  28. {/notempty}
  29. <tbody>
  30. {foreach $list as $key=>$vo}
  31. <tr data-dbclick>
  32. <td class='list-table-check-td think-checkbox'>
  33. <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
  34. </td>
  35. <td class='text-left nowrap'>
  36. {if !empty($vo.video)}
  37. <video src="{$vo.video|default=''}" controls="controls" height="16%">
  38. </video>
  39. {else}
  40. 无视频
  41. {/if}
  42. </td>
  43. <td class='text-left nowrap'>
  44. {foreach $vo.images as $k=>$v}
  45. <img data-tips-image style="width:60px;height:60px" src="{$v|default=''}" class="margin-right-5 text-top">
  46. {/foreach}
  47. </td>
  48. <td class='text-left nowrap'>{$vo.title|default='-'}</td>
  49. <td class='text-left nowrap'>{$vo.number|default=0}</td>
  50. <td class='text-left nowrap'>{$vo.guige|default=0}</td>
  51. <td class='text-left nowrap'>{$vo.baozhuang|default=0}</td>
  52. <td class='text-left nowrap'>{eq name='vo.status' value='2'}<span class="color-red">已完成</span>{else}<span class="color-green">使用中</span>{/eq}</td>
  53. <td class='text-left nowrap'>{$vo.create_time|format_datetime}</td>
  54. <td class='text-left nowrap'>
  55. {if auth("edit")}
  56. <!-- <a data-dbclick class="layui-btn layui-btn-sm" data-title="编辑用户" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>-->
  57. <!-- <button data-open='{:url("edit")}?id={$vo.id}' data-title="编 辑" class='layui-btn layui-btn-sm layui-btn-primary'>编 辑</button>-->
  58. {/if}
  59. <button data-open='{:url("bidding_join/index")}?id={$vo.id}' data-title="招标人员" class="layui-btn layui-btn-sm">招标人员</button>
  60. <!-- {if auth("remove")}-->
  61. <!-- <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该用户吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>-->
  62. <!-- {/if}-->
  63. </td>
  64. </tr>
  65. {/foreach}
  66. </tbody>
  67. </table>
  68. {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
  69. </div>
  70. {/block}