index.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_btn"}
  3. <a href="{:url('Sellernavigation/navigation_add')}" class="dssc-btn dssc-btn-green" title="{$Think.lang.store_navigation_new}">{$Think.lang.store_navigation_new}</a>
  4. {/block}
  5. {block name="seller_main"}
  6. <table class="dssc-default-table">
  7. <thead>
  8. <tr>
  9. <th class="w150">{$Think.lang.store_goods_class_sort}</th>
  10. <th class="w250">{$Think.lang.store_navigation_name}</th>
  11. <th class="w500">{$Think.lang.ds_handle}</th>
  12. </tr>
  13. </thead>
  14. <tbody>
  15. {if $navigation_list}
  16. {foreach name="navigation_list" item="nav"}
  17. <tr class="bd-line">
  18. <td>{$nav.storenav_sort}</td>
  19. <td ><dl><dt><a href="{if $nav.storenav_url eq ''}{:url('Store/article',array('store_id' =>session('store_id'),'storenav_id'=>$nav.storenav_id))}{else}{$nav.storenav_url}{/if}">{$nav.storenav_title}</a></dt></dl></td>
  20. <td class="dscs-table-handle">
  21. <span><a href="{:url('Sellernavigation/navigation_edit',array('storenav_id' => $nav.storenav_id))}" class="btn-blue"><i class="iconfont">&#xe731;</i><p> {$Think.lang.ds_edit}</p></a></span>
  22. <span> <a href="javascript:ds_ajaxget_confirm('{:url('Sellernavigation/navigation_del',['storenav_id'=>$nav.storenav_id])}','{$Think.lang.ds_ensure_del}');" class="btn-red" ><i class="iconfont">&#xe725;</i><p>{$Think.lang.ds_del}</p></a></span>
  23. </td>
  24. </tr>
  25. {/foreach}
  26. {else}
  27. <tr>
  28. <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
  29. </tr>
  30. {/if}
  31. </tbody>
  32. </table>
  33. {/block}