index.html 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_promotion_bundling}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" name="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.bundling_name}</dt>
  16. <dd><input type="text" value="{$Request.get.bundling_name}" name="bundling_name" id="bundling_name" class="txt" style="width:100px;"></dd>
  17. </dl>
  18. <dl>
  19. <dt>{$Think.lang.ds_store_name}</dt>
  20. <dd><input type="text" value="{$Request.get.store_name}" name="store_name" id="store_name" class="txt" style="width:100px;"></dd>
  21. </dl>
  22. <dl>
  23. <dt>{$Think.lang.ds_state}</dt>
  24. <dd>
  25. <select name="state">
  26. <option>{$Think.lang.bundling_state_all}</option>
  27. <option {eq name="Request.get.state" value="1" }selected="selected"{/eq}>{$Think.lang.bundling_state_1}</option>
  28. <option {eq name="Request.get.state" value="0" }selected="selected"{/eq}>{$Think.lang.bundling_state_0}</option>
  29. </select>
  30. </dd>
  31. </dl>
  32. <div class="btn_group">
  33. <a href="javascript:document.formSearch.submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  34. <a href="{:url('Promotionbundling/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  35. </div>
  36. </div>
  37. </form>
  38. <!-- 帮助 -->
  39. <div class="explanation" id="explanation">
  40. <div class="title" id="checkZoom">
  41. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  42. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  43. </div>
  44. <ul>
  45. <li>{$Think.lang.bundling_quota_prompts}</li>
  46. </ul>
  47. </div>
  48. <!-- 列表 -->
  49. <form id="list_form" method="post">
  50. <table class="ds-default-table">
  51. <thead>
  52. <tr class="thead">
  53. <th>{$Think.lang.ds_store_name}</th>
  54. <th class="align-center">{$Think.lang.bundling_name}</th>
  55. <th class="align-center">{$Think.lang.bundling_price}</th>
  56. <th class="align-center">{$Think.lang.bundling_goods_count}</th>
  57. <th class="align-center">{$Think.lang.ds_status}</th>
  58. <th class="align-center">{$Think.lang.ds_handle}</th>
  59. </tr>
  60. </thead>
  61. <tbody id="treet1">
  62. {notempty name="pbundling_list"}
  63. {foreach name="pbundling_list" item="val"}
  64. <tr class="hover" id="ds_row_{val.bl_id}">
  65. <td class="align-left"><a href="{:url('home/Store/index',['store_id'=>$val.store_id])}" ><span>{$val.store_name}</span></a>
  66. {present name="flippedOwnShopIds[$val.store_id]"}
  67. <span class="ownshop">[{$Think.lang.ds_ownshop}]</span>
  68. {/present}
  69. </td>
  70. <td class="align-center">{$val.bl_name}</td>
  71. <td class="align-center">{$val.bl_discount_price}</td>
  72. <td class="align-center">{$val.count}</td>
  73. <td class="align-center">
  74. {$state_array[$val.bl_state]}
  75. </td>
  76. <td class="nowrap align-center">
  77. <a target="block" href="{:url('home/Goods/index',['goods_id'=>$val.goods_id])}" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
  78. <a href="javascript:dsLayerConfirm('{:url('Promotionbundling/del_bundling',['bl_id'=>$val.bl_id])}','{$Think.lang.ds_ensure_del}',{$val.bl_id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  79. </td>
  80. </tr>
  81. {/foreach}
  82. {else /}
  83. <tr class="no_data">
  84. <td colspan="16">{$Think.lang.ds_no_record}</td>
  85. </tr>
  86. {/notempty}
  87. </tbody>
  88. </table>
  89. {$show_page|raw}
  90. </form>
  91. </div>