pintuan_manage.html 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {include file="public/header" /}
  2. <div class="page">
  3. <form method="get" name="formSearch">
  4. <div class="ds-search-form">
  5. <dl>
  6. <dt>{$Think.lang.ds_state}</dt>
  7. <dd>
  8. <select name="pintuangroup_state">
  9. {notempty name="pintuangroup_state_array"}
  10. <option value="">{$Think.lang.ds_please_choose}...</option>
  11. {foreach name="pintuangroup_state_array" item="val"}
  12. <option value="{$key}" {if condition="$Request.get.pintuangroup_state != '' && $Request.get.pintuangroup_state eq $key"}selected{/if}>{$val}</option>
  13. {/foreach}
  14. {/notempty}
  15. </select>
  16. <input name="pintuan_id" value="{$Request.param.pintuan_id}" type="hidden"/>
  17. </dd>
  18. </dl>
  19. <div class="btn_group">
  20. <a href="javascript:document.formSearch.submit();" class="btn" title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  21. {if $filtered}
  22. <a href="{:url('Promotionpintuan/pintuan_manage',['pintuan_id'=>$Request.param.pintuan_id])}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  23. {/if}
  24. </div>
  25. </div>
  26. <div class="explanation" id="explanation">
  27. <div class="title" id="checkZoom">
  28. <h4 title="{$Think.lang.ds_explanation_tip}">拼团信息</h4>
  29. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  30. </div>
  31. <ul>
  32. <li>拼团名称:{$pintuan_info.pintuan_name}</li>
  33. <li>拼团时间:{$pintuan_info.pintuan_starttime|date="Y-m-d H:i"}-{$pintuan_info.pintuan_end_time|date="Y-m-d H:i"}</li>
  34. <li>商品原价:{$pintuan_info.pintuan_goods_price}元</li>
  35. <li>成团折扣:{$pintuan_info.pintuan_zhe}折</li>
  36. <li>成团人数:{$pintuan_info.pintuan_limit_number}人</li>
  37. <li>购买限制:{$pintuan_info.pintuan_limit_quantity}个</li>
  38. <li>成团时限:{$pintuan_info.pintuan_limit_hour}小时</li>
  39. </ul>
  40. </div>
  41. </form>
  42. <!-- 列表 -->
  43. <form id="list_form" method="post">
  44. <table class="ds-default-table">
  45. <thead>
  46. <tr class="thead">
  47. <th width="300"><span>{$Think.lang.pintuangroup_starttime}</span></th>
  48. <th width="240"><span>{$Think.lang.pintuangroup_state}</span></th>
  49. <th class="align-center" width="120"><span>{$Think.lang.pintuangroup_joined}/{$Think.lang.pintuangroup_limit_number}</span></th>
  50. <th class="align-center" width="120"><span>{$Think.lang.pintuangroup_headid}</span></th>
  51. <th class="align-center" width="120"><span>{$Think.lang.pintuanorder}</span></th>
  52. </tr>
  53. </thead>
  54. <tbody id="treet1">
  55. {notempty name="pintuangroup_list"}
  56. {foreach name="pintuangroup_list" item="val"}
  57. <tr class="hover">
  58. <td>{$val.pintuangroup_starttime|date="Y-m-d H:i"}</td>
  59. <td>{$val.pintuangroup_state_text}({$val.pintuangroup_limit_hour}{$Think.lang.pintuangroup_limit_hour}/{$val.pintuangroup_limit_number}{$Think.lang.pintuangroup_limit_number})</td>
  60. <td>{$val.pintuangroup_joined}/{$val.pintuangroup_limit_number}</td>
  61. <td>{$val.member_name}</td>
  62. <td>
  63. {foreach name="val.order_list" item="order"}
  64. <a href="{:url('Order/show_order',['order_id'=>$order.order_id])}" target="_blank">{$order.order_sn}</a><br/>
  65. {/foreach}
  66. </td>
  67. </tr>
  68. {/foreach}
  69. {else /}
  70. <tr class="no_data">
  71. <td colspan="16">{$Think.lang.ds_no_record}</td>
  72. </tr>
  73. {/notempty}
  74. </tbody>
  75. </table>
  76. {$show_page|raw}
  77. </form>
  78. </div>