index.html 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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='logistics/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. </tr>
  26. </thead>
  27. {/notempty}
  28. <tbody>
  29. {foreach $list as $key=>$vo}
  30. <tr data-dbclick>
  31. <td class='list-table-check-td think-checkbox'>
  32. <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
  33. </td>
  34. <td class='text-left nowrap'>
  35. {if !empty($vo.video)}
  36. <video src="{$vo.video|default=''}" controls="controls" height="16%">
  37. </video>
  38. {else}
  39. 无视频
  40. {/if}
  41. </td>
  42. <td class='text-left nowrap'>
  43. {foreach $vo.images as $k=>$v}
  44. <img data-tips-image style="width:60px;height:60px" src="{$v|default=''}" class="margin-right-5 text-top">
  45. {/foreach}
  46. </td>
  47. <td class='text-left nowrap'>{$vo.address|default='-'}</td>
  48. <td class='text-left nowrap'>{$vo.car|default=0}</td>
  49. <td class='text-left nowrap'>{$vo.price|default=0}</td>
  50. <td class='text-left nowrap'>{eq name='vo.status' value='2'}<span class="color-red">已完成</span>{else}<span class="color-green">使用中</span>{/eq}</td>
  51. <td class='text-left nowrap'>{$vo.create_time|format_datetime}</td>
  52. <td class='text-left nowrap'>
  53. {if auth("edit")}
  54. <!-- <a data-dbclick class="layui-btn layui-btn-sm" data-title="编辑用户" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>-->
  55. <!-- <button data-open='{:url("edit")}?id={$vo.id}' data-title="编 辑" class='layui-btn layui-btn-sm layui-btn-primary'>编 辑</button>-->
  56. {/if}
  57. <!-- <button data-open='{:url("bidding_join/index")}?id={$vo.id}' data-title="招标人员" class="layui-btn layui-btn-sm">招标人员</button>-->
  58. <!-- {if auth("remove")}-->
  59. <!-- <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>-->
  60. <!-- {/if}-->
  61. </td>
  62. </tr>
  63. {/foreach}
  64. </tbody>
  65. </table>
  66. {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
  67. </div>
  68. {/block}