mallvouchertemplatelist.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_voucher_price_manage}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <table class="ds-default-table">
  13. <thead>
  14. <tr class="thead">
  15. <th>{$Think.lang.admin_mallvouchertemplate_title}</th>
  16. <th>{$Think.lang.admin_mallvouchertemplate_price}({$Think.lang.ds_yuan})</th>
  17. <th>{$Think.lang.admin_mallvouchertemplate_startdate}</th>
  18. <th>{$Think.lang.admin_mallvouchertemplate_enddate}</th>
  19. <th>{$Think.lang.admin_mallvouchertemplate_limit}({$Think.lang.ds_yuan})</th>
  20. <th class="align-center">{$Think.lang.ds_handle}</th>
  21. </tr>
  22. </thead>
  23. <tbody>
  24. {notempty name="mallvouchertemplate_list"}
  25. {foreach name="mallvouchertemplate_list" item="v"}
  26. <tr class="hover" id="ds_row_{$v.mallvouchertemplate_id}">
  27. <td><span>{$v.mallvouchertemplate_title}</span></td>
  28. <td><span>{$v.mallvouchertemplate_price}</span></td>
  29. <td><span>{$v.mallvouchertemplate_startdate|date='Y-m-d H:i'}</span></td>
  30. <td><span>{$v.mallvouchertemplate_enddate|date='Y-m-d H:i'}</span></td>
  31. <td><span>{$v.mallvouchertemplate_limit}</span></td>
  32. <td class="w120 align-center">
  33. {if !$v.mallvouchertemplate_giveout}
  34. <a class="dsui-btn-edit" href="{:url('Mallvouchertemplate/mallvouchertemplateedit',['mallvouchertemplate_id'=>$v.mallvouchertemplate_id])}">
  35. <i class="iconfont"></i>{$Think.lang.ds_edit}
  36. </a>
  37. {else}
  38. <a class="dsui-btn-edit" href="{:url('Mallvouchertemplate/mallvouchertemplateview',['mallvouchertemplate_id'=>$v.mallvouchertemplate_id])}">
  39. <i class="iconfont"></i>{$Think.lang.ds_detail}
  40. </a>
  41. {/if}
  42. {if !$v.mallvouchertemplate_giveout}
  43. <a href="javascript:dsLayerConfirm('{:url('Mallvouchertemplate/drop',['mallvouchertemplate_id'=>$v.mallvouchertemplate_id])}','{$Think.lang.ds_ensure_del}',{$v.mallvouchertemplate_id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  44. {/if}
  45. </td>
  46. {/foreach}
  47. {else /}
  48. <tr class="no_data">
  49. <td colspan="10">{$Think.lang.ds_no_record}</td>
  50. </tr>
  51. {/notempty}
  52. </tbody>
  53. </table>
  54. {$show_page|raw}
  55. </div>