index.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {extend name='admin@main'}
  2. {block name="content"}
  3. <div class="think-box-shadow">
  4. {include file='comment/index_search'}
  5. <table class="layui-table margin-top-10" lay-skin="line">
  6. {notempty name='list'}
  7. <thead>
  8. <tr>
  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. </tr>
  17. </thead>
  18. {/notempty}
  19. <tbody>
  20. {foreach $list as $key=>$vo}
  21. <tr>
  22. <td class="text-left nowrap relative">
  23. {notempty name='vo.headimg'}
  24. <img data-tips-image style="width:40px;height:40px" src="{$vo.headimg|default=''}" class="margin-right-5 text-top">
  25. {/notempty}
  26. <div class="inline-block">
  27. 会员ID:{$vo.user_id|default='--'}<br>
  28. 会员名称:{$vo.user_name|default='--'}
  29. </div>
  30. </td>
  31. <td class="text-left nowrap relative">
  32. {notempty name='vo.cover'}
  33. <img data-tips-image style="width:40px;height:40px" src="{$vo.cover|default=''}" class="margin-right-5 text-top">
  34. {/notempty}
  35. <div class="inline-block">
  36. 商品ID:{$vo.goods_id|default='--'}<br>
  37. 商品名称:{$vo.goods_name|default='--'}
  38. </div>
  39. </td>
  40. <td class='text-left nowrap'>{$vo.content|default=''}</td>
  41. <td class='text-left nowrap'>
  42. {if $vo['images']}
  43. {foreach :explode(',',$vo['images']) as $v}
  44. <img data-tips-image style="width:40px;height:40px" src="{$v|default=''}" class="margin-right-5 text-top">
  45. {/foreach}
  46. {else}
  47. ----
  48. {/if}
  49. </td>
  50. <td class='text-left nowrap'>
  51. <div class="inline-block">
  52. 物流评分:{$vo.wl_core|default='--'}<br>
  53. 服务评分:{$vo.serve_core|default='--'}<br>
  54. 商品描述:{$vo.goods_core|default='--'}
  55. </div>
  56. </td>
  57. <td class='text-left nowrap'>{$vo.create_at|default=''}</td>
  58. <td class='text-left nowrap'>
  59. <a class="layui-btn layui-btn-sm layui-btn-danger" data-action="{:url('del')}" data-value="id#{$vo.id}">删除</a>
  60. </td>
  61. </tr>
  62. {/foreach}
  63. </tbody>
  64. </table>
  65. {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
  66. </div>
  67. {/block}