index.html 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_btn"}<a href="{:url('seller_chain/add')}" class="dssc-btn dssc-btn-green" title="{$Think.lang.ds_new}">{$Think.lang.ds_new}</a>{/block}
  3. {block name="seller_main"}
  4. <form method="get" action="">
  5. <table class="search-form">
  6. <tr>
  7. <td>&nbsp;</td>
  8. <th> <select name="search_field_name" >
  9. <option {if $search_field_name == 'chain_name'}selected='selected'{/if} value="chain_name">{$Think.lang.chain_name}</option>
  10. <option {if $search_field_name == 'chain_truename'}selected='selected'{/if} value="chain_truename">{$Think.lang.chain_truename}</option>
  11. <option {if $search_field_name == 'chain_mobile'}selected='selected'{/if} value="chain_mobile">{$Think.lang.chain_mobile}</option>
  12. <option {if $search_field_name == 'chain_addressname'}selected='selected'{/if} value="chain_addressname">{$Think.lang.chain_addressname}</option>
  13. </select>
  14. </th>
  15. <td class="w160"><input type="text" value="{$search_field_value}" name="search_field_value" class="text w150"></td>
  16. <td class="w160">
  17. <select name="search_state" >
  18. <option {if condition='$Request.param.search_state eq ""'}selected='selected'{/if} value="">{$Think.lang.chain_state}</option>
  19. <option {if condition='$Request.param.search_state eq "0"'}selected='selected'{/if} value="0">{$Think.lang.ds_disable}</option>
  20. <option {if condition='$Request.param.search_state eq "1"'}selected='selected'{/if} value="1">{$Think.lang.ds_enable}</option>
  21. </select>
  22. </td>
  23. <td class="tc w70">
  24. <input type="submit" class="submit" value="{$Think.lang.ds_search}" />
  25. </td>
  26. </tr>
  27. </table>
  28. </form>
  29. <table class="dssc-default-table">
  30. <thead>
  31. <tr>
  32. <th>{$Think.lang.chain_name}</th>
  33. <th class="align-center">{$Think.lang.chain_truename}</th>
  34. <th class="align-center">{$Think.lang.chain_mobile}</th>
  35. <th class="align-center">{$Think.lang.chain_addressname}</th>
  36. <th class="align-center">{$Think.lang.chain_area_info}</th>
  37. <th class="align-center">{$Think.lang.chain_state}</th>
  38. <th class="align-center">{$Think.lang.chain_if_pickup}</th>
  39. <th class="align-center">{$Think.lang.chain_if_collect}</th>
  40. <th class="align-center">{$Think.lang.chain_addtime}</th>
  41. <th class="align-center">{$Think.lang.ds_handle}</th>
  42. </tr>
  43. </thead>
  44. <tbody>
  45. {notempty name="chain_list"}
  46. {foreach name="chain_list" item="v" key="k" }
  47. <tr class="bd-line">
  48. <td><p class="name"><strong>{$v.chain_name}</strong></p></td>
  49. <td class="align-center">{$v.chain_truename}</td>
  50. <td class="align-center">{$v.chain_mobile}</td>
  51. <td class="align-center">{$v.chain_addressname}</td>
  52. <td class="align-center">{$v.chain_area_info}</td>
  53. <td class="align-center yes-onoff">
  54. {if $v.chain_state == '0'}
  55. {$Think.lang.ds_disable}
  56. {else /}
  57. {$Think.lang.ds_enable}
  58. {/if}
  59. </td>
  60. <td class="align-center yes-onoff">
  61. {if $v.chain_if_pickup == '0'}
  62. {$Think.lang.ds_no}
  63. {else /}
  64. {$Think.lang.ds_yes}
  65. {/if}
  66. </td>
  67. <td class="align-center yes-onoff">
  68. {if $v.chain_if_collect == '0'}
  69. {$Think.lang.ds_no}
  70. {else /}
  71. {$Think.lang.ds_yes}
  72. {/if}
  73. </td>
  74. <td class="align-center">{:date('Y-m-d H:i:s',$v.chain_addtime)}</td>
  75. <td class="nscs-table-handle">
  76. <span><a href="{:url('seller_chain/edit',['id'=>$v.chain_id])}" class="btn-blue"><i class="iconfont">&#xe731;</i><p>{$Think.lang.ds_edit}</p></a></span>
  77. <span><a href="javascript:ds_ajaxget_confirm('{:url('seller_chain/del',['id'=>$v.chain_id])}','{$Think.lang.ds_ensure_del}');" class="btn-red"><i class="iconfont">&#xe725;</i><p>{$Think.lang.ds_del}</p></a></span>
  78. </td>
  79. </tr>
  80. {/foreach}
  81. <tr>
  82. <td colspan="12"><div class="pagination"> {$show_page|raw}</div></td>
  83. </tr>
  84. {else /}
  85. <tr>
  86. <td colspan="12" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
  87. </tr>
  88. {/notempty}
  89. </tbody>
  90. </table>
  91. {/block}