price_list.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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_groupbuy}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="explanation" id="explanation">
  13. <div class="title" id="checkZoom">
  14. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  15. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  16. </div>
  17. <ul>
  18. <li>{$Think.lang.groupbuy_price_range_help1}</li>
  19. </ul>
  20. </div>
  21. <table class="ds-default-table">
  22. <thead>
  23. <tr class="thead">
  24. <th></th>
  25. <th>{$Think.lang.gprange_name}</th>
  26. <th class="align-center">{$Think.lang.gprange_start}</th>
  27. <th class="align-center">{$Think.lang.gprange_end}</th>
  28. <th class="align-center">{$Think.lang.ds_handle}</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. {notempty name="groupbuypricerange_list"}
  33. {foreach name="groupbuypricerange_list" item="val"}
  34. <tr class="hover">
  35. <td class="w36"><input type="checkbox" value="{$val.gprange_id}" class="checkitem"></td>
  36. <td>{$val.gprange_name}</td>
  37. <td class="w18pre align-center">{$val.gprange_start}</td>
  38. <td class="w18pre align-center">{$val.gprange_end}</td>
  39. <td class="w156 align-center">
  40. <a href="javascript:dsLayerOpen('{:url('Groupbuy/price_edit',['gprange_id'=>$val.gprange_id])}','{$Think.lang.ds_edit}-{$Think.lang.groupbuy_price_list}')" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a> |
  41. <a href="JavaScript:void(0);" onClick="submit_delete('{$val.gprange_id}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  42. </td>
  43. </tr>
  44. {/foreach}
  45. {else /}
  46. <tr class="no_data">
  47. <td colspan="10">{$Think.lang.ds_no_record}</td>
  48. </tr>
  49. {/notempty}
  50. <tr><td colspan="20"><a href="javascript:dsLayerOpen('{:url('Groupbuy/price_add')}','{$Think.lang.groupbuy_price_add}')" class="btn-add-nofloat marginleft">{$Think.lang.groupbuy_price_add}</a></td></tr>
  51. </tbody>
  52. {notempty name="groupbuypricerange_list"}
  53. <tfoot>
  54. <tr class="tfoot">
  55. <td><input type="checkbox" class="checkall" id="checkall_1"></td>
  56. <td id="batchAction" colspan="15"><span class="all_checkbox">
  57. <label for="checkall_1">{$Think.lang.ds_select_all}</label>
  58. </span>&nbsp;&nbsp; <a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch();"><span>{$Think.lang.ds_del}</span></a>
  59. </tr>
  60. </tfoot>
  61. {/notempty}
  62. </table>
  63. </div>
  64. <script type="text/javascript">
  65. function submit_delete(ids_str){
  66. _uri = ADMINSITEURL+"/Groupbuy/price_drop.html?gprange_id=" + ids_str;
  67. dsLayerConfirm(_uri,'{$Think.lang.ds_ensure_del}');
  68. }
  69. </script>