index.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_btn"}
  3. <a href="javascript:void(0)" class="dssc-btn dssc-btn-green" ds_type="dialog" dialog_title="{$Think.lang.store_goods_brand_apply}" dialog_id="my_goods_brand_apply" dialog_width="480" uri="{:url('Sellerbrand/brand_add')}">{$Think.lang.store_goods_brand_apply}</a>
  4. {/block}
  5. {block name="seller_main"}
  6. <table class="search-form">
  7. <form method="get">
  8. <tr>
  9. <td>&nbsp;</td>
  10. <th>{$Think.lang.store_goods_brand_name}</th>
  11. <td class="w160"><input type="text" class="text" name="brand_name" value="{$Request.param.brand_name}"/></td>
  12. <td class="w70 tc">
  13. <input type="submit" class="submit" value="{$Think.lang.ds_search}" />
  14. </td>
  15. </tr>
  16. </form>
  17. </table>
  18. <table class="dssc-default-table">
  19. <thead>
  20. <tr>
  21. <th class="w150">{$Think.lang.store_goods_brand_icon}</th>
  22. <th>{$Think.lang.store_goods_brand_name}</th>
  23. <th>{$Think.lang.store_goods_brand_belong_class}</th>
  24. <th class="w100">{$Think.lang.ds_handle}</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. {notempty name="brand_list"}
  29. {foreach name="brand_list" item="val"}
  30. <tr class="bd-line">
  31. <td><img src="{:brand_image($val.brand_pic)}" onload="javascript:ResizeImage(this,88,44);" /></td>
  32. <td>{$val.brand_name}</td>
  33. <td>{$val.brand_class}</td>
  34. <td class="dscs-table-handle">
  35. {if $val.brand_apply == 0}
  36. <span><a href="javascript:void(0)" class="btn-blue" ds_type="dialog" dialog_title="{$Think.lang.store_goods_brand_edit}" dialog_id="my_goods_brand_edit" dialog_width="480" uri="{:url('Sellerbrand/brand_add',['brand_id'=>$val.brand_id])}"><i class="iconfont">&#xe731;</i><p>{$Think.lang.ds_edit}</p></a></span>
  37. <span><a href="javascript:void(0)" class="btn-red" onclick="ds_ajaxget_confirm('{:url('Sellerbrand/drop_brand',['brand_id'=>$val.brand_id])}','{$Think.lang.ds_ensure_del}');"><i class="iconfont">&#xe725;</i><p>{$Think.lang.ds_del}</p></a></span>{/if}</td>
  38. </tr>
  39. {/foreach}
  40. {else /}
  41. <tr>
  42. <td colspan="4" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
  43. </tr>
  44. {/notempty}
  45. </tbody>
  46. <tfoot>
  47. {notempty name="brand_list"}
  48. <tr>
  49. <td colspan="4"><div class="pagination">{$show_page|raw}</div></td>
  50. </tr>
  51. {/notempty}
  52. </tfoot>
  53. </table>
  54. {/block}