goods.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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_inviter_set}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="fixed-empty"></div>
  13. <form method="get" name="formSearch" id="formSearch">
  14. <div class="ds-search-form">
  15. <dl>
  16. <dt>{$Think.lang.ds_goods_name}</dt>
  17. <dd><input type="text" value="{$Request.get.goods_name|default=''}" name="goods_name" id="goods_name" class="txt"></dd>
  18. </dl>
  19. <div class="btn_group">
  20. <a href="javascript:void(0);" id="dssubmit" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  21. <a href="{:url('Inviter/goods')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  22. </div>
  23. </div>
  24. </form>
  25. <table class="ds-default-table">
  26. <thead>
  27. <tr class="thead">
  28. <th class="w80"></th>
  29. <th class="">{$Think.lang.ds_goods_name}</th>
  30. <th class="w180">{$Think.lang.inviter_ratio}</th>
  31. <th class="w80">{$Think.lang.goods_price}</th>
  32. <th class="w80">{$Think.lang.inviter_total_quantity}</th>
  33. <th class="w100">{$Think.lang.inviter_total_amount}</th>
  34. <th class="w100">{$Think.lang.inviter_amount}</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. {notempty name="goods_list"}
  39. {foreach name="goods_list" item="val"}
  40. <tr class="hover edit">
  41. <td><div class="pic-thumb"><img src="{:goods_thumb($val, 240)}" onload="javascript:ResizeImage(this,56,56);"/></div></td>
  42. <td>{$val.goods_name}</td>
  43. <td>
  44. <p>{$Think.lang.inviter_ratio}{$val.inviter_ratio}{$Think.lang.ds_percent}</p>
  45. </td>
  46. <td>{$Think.lang.currency}{$val.goods_price}</td>
  47. <td>{$val.inviter_total_quantity}</td>
  48. <td>{$Think.lang.currency}{$val.inviter_total_amount}</td>
  49. <td>{$Think.lang.currency}{$val.inviter_amount}</td>
  50. </tr>
  51. <tr style="display:none;">
  52. <td colspan="8"><div class="dssc-goods-sku ps-container"></div></td>
  53. </tr>
  54. {/foreach}
  55. {else /}
  56. <tr class="no_data">
  57. <td colspan="15">{$Think.lang.ds_no_record}</td>
  58. </tr>
  59. {/notempty}
  60. </tbody>
  61. </table>
  62. {$show_page|raw}
  63. </div>
  64. <script>
  65. $(function(){
  66. $('#dssubmit').click(function(){
  67. $('#formSearch').submit();
  68. });
  69. });
  70. </script>
  71. {include file="public/footer" /}