index.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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_storegrade}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="post" name="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.store_grade_name}</dt>
  16. <dd><input type="text" value="{$like_storegrade_name|default=''}" name="like_storegrade_name" id="like_storegrade_name" class="txt"></dd>
  17. </dl>
  18. <dl>
  19. <dt></dt>
  20. <dd></dd>
  21. </dl>
  22. <div class="btn_group">
  23. <a href="javascript:document.formSearch.submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  24. {notempty name="like_storegrade_name"}
  25. <a class="btn btn-small " href="{:url('Storegrade/index')}" title="{$Think.lang.cancel_search}"><span>{$Think.lang.cancel_search}</span></a>
  26. {/notempty}
  27. </div>
  28. </div>
  29. </form>
  30. <table class="ds-default-table">
  31. <thead>
  32. <tr>
  33. <th>{$Think.lang.storegrade_sort}</th>
  34. <th>{$Think.lang.storegrade_name}</th>
  35. <th>{$Think.lang.storegrade_goods_limit}</th>
  36. <th>{$Think.lang.storegrade_album_limit}</th>
  37. <th>{$Think.lang.storegrade_price}</th>
  38. <th>{$Think.lang.ds_handle}</th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. {notempty name="storegrade_list"}
  43. {foreach name="storegrade_list" item="storegrade"}
  44. <tr id="ds_row_{$storegrade.storegrade_id}">
  45. <td>{$storegrade.storegrade_sort}</td>
  46. <td>{$storegrade.storegrade_name}</td>
  47. <td>{$storegrade.storegrade_goods_limit}</td>
  48. <td>{$storegrade.storegrade_album_limit}</td>
  49. <td>{$storegrade.storegrade_price}{$Think.lang.ds_yuan}/{$Think.lang.ds_year}</td>
  50. <td>
  51. <a href="javascript:dsLayerOpen('{:url('Storegrade/edit',['storegrade_id'=>$storegrade.storegrade_id])}','{$Think.lang.ds_edit}-{$storegrade.storegrade_name}')" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a>
  52. <a href="javascript:dsLayerConfirm('{:url('Storegrade/drop',['storegrade_id'=>$storegrade.storegrade_id])}','{$Think.lang.storegrade_drop_confrim}',{$storegrade.storegrade_id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  53. </td>
  54. </tr>
  55. {/foreach}
  56. {else /}
  57. <tr class="no_data">
  58. <td colspan="20">{$Think.lang.no_record}</td>
  59. </tr>
  60. {/notempty}
  61. </tbody>
  62. </table>
  63. </div>