index.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <table class="dssc-default-table">
  4. {notempty name="activity_list"}
  5. <thead>
  6. <tr>
  7. <th class="w20">&nbsp;</th>
  8. <th class="tl w200">{$Think.lang.store_activity_theme}</th>
  9. <th class="tl">{$Think.lang.store_activity_intro}</th>
  10. <th class="w150">{$Think.lang.store_activity_start_time}</th>
  11. <th class="w150">{$Think.lang.store_activity_end_time}</th>
  12. <th class="w90">{$Think.lang.ds_handle}</th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. {foreach name="activity_list" item="v"}
  17. <tr>
  18. <td></td>
  19. <td class="tl"><a target="_blank" href="{:url('Activity/detail',['activity_id'=>$v.activity_id])}">{$v.activity_title}</a></td>
  20. <td class="tl">{$v.activity_desc}</td>
  21. <td class="goods-time">{:date('Y-m-d',$v.activity_startdate)}</td>
  22. <td class="goods-time">{:date('Y-m-d',$v.activity_enddate)}</td>
  23. <td class="dscs-table-handle"><span><a id="a_{$v.activity_id}" href="{:url('Selleractivity/activity_apply',['activity_id'=>$v.activity_id])}" class="btn-green"><i class="iconfont">&#xe731;</i>
  24. <p>{$Think.lang.store_activity_join}</p>
  25. </a></span></td>
  26. </tr>
  27. {/foreach}
  28. {else /}
  29. <tr>
  30. <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
  31. </tr>
  32. {/notempty}
  33. </tbody>
  34. <tfoot>
  35. {notempty name="activity_list"}
  36. <tr>
  37. <td colspan="20"><div class="pagination">{$show_page|raw}</div></td>
  38. </tr>
  39. {/notempty}
  40. </tfoot>
  41. </table>
  42. {/block}