index.html 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <form method="get" action="">
  4. <table class="search-form">
  5. <tr>
  6. <td>&nbsp;</td>
  7. <th>{$Think.lang.complain_datetime}</th>
  8. <td class="w240"><input name="add_time_from" id="add_time_from" type="text" class="text w70" value="{$Request.get.add_time_from}" /><label class="add-on"><i class="iconfont">&#xe8d6;</i></label> &#8211; <input name="add_time_to" id="add_time_to" type="text" class="text w70" value="{$Request.get.add_time_to}" /><label class="add-on"><i class="iconfont">&#xe8d6;</i></label></td>
  9. <th class="w60">{$Think.lang.processing_status}</th>
  10. <td class="w80"><select name="state">
  11. <option value="" {if $Request.get.state == ''}selected{/if}>{$Think.lang.ds_all}</option>
  12. <option value="1" {if $Request.get.state == '1'}selected{/if}>{$Think.lang.complain_state_inprogress}</option>
  13. <option value="2" {if $Request.get.state == '2'}selected{/if}>{$Think.lang.complain_state_finish}</option>
  14. </select></td>
  15. <td class="w70 tc">
  16. <input type="submit" class="submit" value="{$Think.lang.ds_search}" />
  17. </td>
  18. </tr>
  19. </table>
  20. </form>
  21. <table class="dssc-default-table">
  22. <thead>
  23. <tr>
  24. <th class="w10"></th>
  25. <th class="w80 tl">{$Think.lang.complaint_number}</th>
  26. <th class="tl" colspan="2">{$Think.lang.complaint_goods}</th>
  27. <th class="tl">{$Think.lang.complain_subject_content}</th>
  28. <th class="w160">{$Think.lang.complain_datetime}</th>
  29. <th class="w80">{$Think.lang.complain_state}</th>
  30. <th class="w100">{$Think.lang.ds_handle}</th>
  31. </tr>
  32. </thead>
  33. <tbody>
  34. {if $complain_list}
  35. {foreach name="complain_list" item="val" key="key" }
  36. {php}$goods = $goods_list[$val['order_goods_id']];{/php}
  37. <tr class="bd-line">
  38. <td></td>
  39. <td class="tl">{$val.complain_id}</td>
  40. <td class="w50"><div class="pic-thumb"><a target="_blank" href="{:url('Goods/index',['goods_id'=>$goods.goods_id])}"><img src="{:goods_thumb($goods, 240)}" /></a></div></td>
  41. <td class="tl"><dl class="goods-name">
  42. <dt><a target="_blank" href="{:url('Goods/index',['goods_id'=>$goods.goods_id])}">{$goods.goods_name}</a></dt>
  43. <dd>{$Think.lang.complain_accuser}:{$val.accuser_name}</dd>
  44. </dl></td>
  45. <td class="tl">{$val.complain_subject_content}</td>
  46. <td class="goods-time">{$val.complain_datetime|date="Y-m-d H:i:s"}</td>
  47. <td>
  48. {if $val.complain_state eq '10'}{$Think.lang.complain_state_new}
  49. {elseif $val.complain_state eq '20'}{$Think.lang.complain_state_appeal}
  50. {elseif $val.complain_state eq '30'}{$Think.lang.complain_state_talk}
  51. {elseif $val.complain_state eq '40'}{$Think.lang.complain_state_handle}
  52. {elseif $val.complain_state eq '99'}{$Think.lang.complain_state_finish}{/if}
  53. </td>
  54. <td class="dscs-table-handle"><span><a href="{:url('Sellercomplain/complain_show',['complain_id'=>$val.complain_id])}" class="btn-orange"><i class="iconfont">&#xe70b;</i>
  55. <p>{$Think.lang.complain_text_detail}</p>
  56. </a></span>
  57. </td>
  58. </tr>
  59. {/foreach}
  60. {else}
  61. <tr>
  62. <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
  63. </tr>
  64. {/if}
  65. </tbody>
  66. <tfoot>
  67. {if $complain_list}
  68. <tr>
  69. <td colspan="20"><div class="pagination">{$show_page|raw}</div></td>
  70. </tr>
  71. {/if}
  72. </tfoot>
  73. </table>
  74. <script>
  75. $(function(){
  76. $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
  77. $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
  78. });
  79. </script>
  80. {/block}