index.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_btn"}
  3. {if isset($isPlatformStore) || config('ds_config.groupbuy_price')==0}
  4. <a href="{:url('Sellergroupbuy/groupbuy_add_vr')}" style="right:100px"
  5. class="dssc-btn dssc-btn-green" title="{$Think.lang.new_virtual_goods_snap}"><i class="iconfont">&#xe6db;</i>{$Think.lang.new_virtual_panic_buying}</a>
  6. <a href="{:url('Sellergroupbuy/groupbuy_add')}" class="dssc-btn dssc-btn-green"
  7. title="{$Think.lang.groupbuy_index_new_group}"><i
  8. class="iconfont">&#xe6db;</i>{$Think.lang.groupbuy_index_new_group}</a>
  9. {else /}
  10. {notempty name="current_groupbuy_quota"}
  11. <a href="{:url('Sellergroupbuy/groupbuy_add_vr')}" style="right:200px"
  12. class="dssc-btn dssc-btn-green" title="{$Think.lang.new_virtual_goods_snap}"><i class="iconfont">&#xe6db;</i>{$Think.lang.new_virtual_panic_buying}</a>
  13. <a href="{:url('Sellergroupbuy/groupbuy_add')}" style="right:100px"
  14. class="dssc-btn dssc-btn-green" title="{$Think.lang.groupbuy_index_new_group}"><i
  15. class="iconfont">&#xe6db;</i>{$Think.lang.groupbuy_index_new_group}</a>
  16. <a class="dssc-btn dssc-btn-acidblue" href="{:url('Sellergroupbuy/groupbuy_quota_add')}"
  17. title="{$Think.lang.set_renewal}"><i class="iconfont">&#xe6a1;</i>{$Think.lang.set_renewal}</a>
  18. {else /}
  19. <a class="dssc-btn dssc-btn-acidblue" href="{:url('Sellergroupbuy/groupbuy_quota_add')}"
  20. title="{$Think.lang.purchase_plan}"><i class="iconfont">&#xe6a1;</i>{$Think.lang.purchase_plan}</a>
  21. {/notempty}
  22. {/if}
  23. {/block}
  24. {block name="seller_main"}
  25. {if isset($isPlatformStore) || config('ds_config.groupbuy_price')==0}
  26. <div class="alert alert-block mt10">
  27. <ul class="mt5">
  28. <li>{$Think.lang.purchase_plan1}</li>
  29. <li>{$Think.lang.purchase_plan2}</li>
  30. </ul>
  31. </div>
  32. {else /}
  33. <div class="alert alert-block mt10">
  34. {notempty name="current_groupbuy_quota"}
  35. <strong>{$Think.lang.set_expiration_time}{$Think.lang.ds_colon}</strong><strong
  36. style="color: #F00;">{$current_groupbuy_quota.groupbuyquota_endtime|date="Y-m-d H:i:s"}</strong>
  37. {else /}
  38. <strong>{$Think.lang.please_buy_package_first}</strong>
  39. {/notempty}
  40. <ul class="mt5">
  41. <li>{$Think.lang.package_instructions1}</li>
  42. <li>{$Think.lang.package_instructions2}</li>
  43. <li>{$Think.lang.package_instructions3}</li>
  44. <li>4、<strong style="color: red">{$Think.lang.package_instructions4}</strong></li>
  45. </ul>
  46. </div>
  47. {/if}
  48. <form method="get">
  49. <table class="search-form">
  50. <tr>
  51. <td>&nbsp;</td>
  52. <th>{$Think.lang.snap_type}</th>
  53. <td class="w100">
  54. <select name="groupbuy_vr" class="w90">
  55. <option value="">{$Think.lang.ds_all}</option>
  56. <option value="0" {if $Request.get.groupbuy_vr=='0'}selected{/if}>{$Think.lang.online_rob}</option>
  57. <option value="1" {if $Request.get.groupbuy_vr=='1'}selected{/if}>{$Think.lang.virtual_rob}</option>
  58. </select>
  59. </td>
  60. <th>{$Think.lang.groupbuy_index_activity_state}</th>
  61. <td class="w100"><select name="groupbuy_state" class="w90">
  62. {notempty name="groupbuy_state_array"}
  63. {foreach name="groupbuy_state_array" item="val"}
  64. <option value="{$key}" {if $key== $Request.get.groupbuy_state}selected{/if}>{$val}</option>
  65. {/foreach}
  66. {/notempty}
  67. </select></td>
  68. <th>{$Think.lang.group_name}</th>
  69. <td class="w160">
  70. <input class="text" type="text" name="groupbuy_name" value="{$Request.get.groupbuy_name}"/>
  71. </td>
  72. <td class="w70 tc">
  73. <input type="submit" class="submit" value="{$Think.lang.ds_search}"/>
  74. </td>
  75. </tr>
  76. </table>
  77. </form>
  78. <table class="dssc-default-table">
  79. <thead>
  80. <tr>
  81. <th class="w100"></th>
  82. <th class="w50"></th>
  83. <th class="tl">{$Think.lang.group_name}</th>
  84. <th class="w200">{$Think.lang.start_time}</th>
  85. <th class="w200">{$Think.lang.end_time}</th>
  86. <th class="w150">{$Think.lang.browse_number}</th>
  87. <th class="w150">{$Think.lang.text_buy}</th>
  88. <th class="w200">{$Think.lang.groupbuy_index_activity_state}</th>
  89. </tr>
  90. </thead>
  91. <tbody>
  92. {notempty name="group"}
  93. {foreach name="group" item="group"}
  94. <tr class="bd-line">
  95. <td></td>
  96. <td>
  97. <div class="pic-thumb"><a href="{$group.groupbuy_url}" target="_blank"><img src="{:groupbuy_thumb($group.groupbuy_image,'small')}"/></a></div>
  98. </td>
  99. <td class="tl">
  100. <dl class="goods-name">
  101. <dt>
  102. {if $group.groupbuy_is_vr}
  103. <span title="{$Think.lang.virtual_exchange}" class="type-virtual">{$Think.lang.virtual_rob}</span>
  104. {/if}
  105. <a target="_blank" href="{$group.groupbuy_url}">{$group.groupbuy_name}</a>
  106. </dt>
  107. </dl>
  108. </td>
  109. <td>{$group.start_time_text}</td>
  110. <td>{$group.end_time_text}</td>
  111. <td>{$group.groupbuy_views}</td>
  112. <td>{$group.groupbuy_buy_quantity}</td>
  113. <td>{$group.groupbuy_state_text}</td>
  114. </tr>
  115. {/foreach}
  116. {else /}
  117. <tr>
  118. <td colspan="20" class="norecord">
  119. <div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div>
  120. </td>
  121. </tr>
  122. {/notempty}
  123. </tbody>
  124. <tfoot>
  125. <tr>
  126. <td colspan="20">
  127. <div class="pagination">{$show_page|raw}</div>
  128. </td>
  129. </tr>
  130. </tfoot>
  131. </table>
  132. {/block}