bind_class_index.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_btn"}
  3. {if !check_platform_store()}
  4. <a href="javascript:void(0)" class="dssc-btn dssc-btn-green" ds_type="dialog" dialog_title="{$Think.lang.apply_new_business_category}" dialog_id="my_goods_brand_apply" dialog_width="480" uri="{:url('Sellerinfo/bind_class_add')}">
  5. {$Think.lang.apply_new_business_category}
  6. </a>
  7. {/if}
  8. {/block}
  9. {block name="seller_main"}
  10. {if check_platform_store_bindingall_goodsclass()}
  11. <table class="dssc-default-table">
  12. <tbody>
  13. <tr>
  14. <td colspan="20" class="norecord"><div class="warning-option"><span>{$Think.lang.store_bound_all_categories}</span></div></td>
  15. </tr>
  16. </tbody>
  17. </table>
  18. {else/}
  19. <table class="dssc-default-table">
  20. <thead>
  21. <tr>
  22. <th class="w20"></th>
  23. <th colspan="3">{$Think.lang.business_category}</th>
  24. <th>{$Think.lang.commission_rate}</th>
  25. <th>{$Think.lang.ds_state}</th>
  26. <th>{$Think.lang.ds_handle}</th>
  27. </tr>
  28. </thead>
  29. <tbody>
  30. {notempty name="bind_list"}
  31. {foreach name="bind_list" item="val" }
  32. <tr class="bd-line">
  33. <td></td>
  34. <td class="w180 tl">{$val.class_1_name}</td>
  35. <td class="w180 tl">{if $val['class_2_name']}>{/if}&emsp;{$val.class_2_name}</td>
  36. <td class="w180 tl">{if $val['class_3_name']}{/if}&emsp;{$val.class_3_name}</td>
  37. <td class="w180">{$val.commis_rate} %</td>
  38. <td class="w100">{if $val['storebindclass_state'] == '1'}{$Think.lang.approved}{else/}{$Think.lang.audit}{/if}</td>
  39. <td class="dscs-table-handle">
  40. {if $val.storebindclass_state == '0'}
  41. <span><a href="javascript:void(0)" class="btn-red" onclick="ds_ajaxget_confirm('{:url('Sellerinfo/bind_class_del',['bid'=>$val.storebindclass_id])}','{$Think.lang.ds_ensure_del}');"><i class="iconfont">&#xe725;</i><p>{$Think.lang.ds_del}</p></a></span>
  42. {/if}
  43. </td>
  44. </tr>
  45. {/foreach}
  46. {else /}
  47. <tr>
  48. <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
  49. </tr>
  50. {/notempty}
  51. </tbody>
  52. </table>
  53. {/if}
  54. {/block}