index.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <form method="get" action="{:url('Membercomplain/index')}">
  4. <table class="dsm-search-table">
  5. <tr>
  6. <td>&nbsp;</td>
  7. <td class="w100 tr"><select name="select_complain_state">
  8. <option value="0" {if $Request.param.select_complain_state== ''}selected=true{/empty}>{$Think.lang.complain_state_all}</option>
  9. <option value="1" {if $Request.param.select_complain_state=='1'}selected=true{/if}>{$Think.lang.complain_state_inprogress}</option>
  10. <option value="2" {if $Request.param.select_complain_state=='2'}selected=true{/if}> {$Think.lang.complain_state_finish}</option>
  11. </select></td>
  12. <td class="w70 tc">
  13. <input type="submit" class="submit" value="{$Think.lang.ds_search}" />
  14. </td>
  15. </tr>
  16. </table>
  17. </form>
  18. <table class="dsm-default-table">
  19. <thead>
  20. <tr>
  21. <th class="w10"></th>
  22. <th colspan="2">{$Think.lang.complaints_goods}</th>
  23. <th class="w200">{$Think.lang.complain_subject_content}</th>
  24. <th class="w200">{$Think.lang.complain_datetime}</th>
  25. <th class="w150">{$Think.lang.complain_state}</th>
  26. <th class="w110">{$Think.lang.ds_handle}</th>
  27. </tr>
  28. </thead>
  29. <tbody>
  30. {notempty name="complain_list"}
  31. {foreach name="complain_list" id="val"}
  32. {assign name="goods" value="$goods_list[$val.order_goods_id]"}
  33. <tr class="bd-line">
  34. <td></td>
  35. <td class="w50">
  36. <div class="pic-thumb">
  37. <a target="_blank" href="{:url('Goods/index',['goods_id'=>$goods.goods_id])}">
  38. <img src="{:goods_thumb($goods, 240)}" /></a>
  39. </div>
  40. </td>
  41. <td class="tl">
  42. <dl class="goods-name">
  43. <dt><a target="_blank" href="{:url('Goods/index',['goods_id'=>$goods.goods_id])}">{$goods.goods_name}</a>
  44. </dt>
  45. <dd>{$Think.lang.merchant|raw}:{$val.accused_name}</dd>
  46. </dl>
  47. </td>
  48. <td>{$val.complain_subject_content}</td>
  49. <td class="goods-time">{$val.complain_datetime|date="Y-m-d H:i:s"}</td>
  50. <td>
  51. {if $val.complain_state == '10'}{$Think.lang.complain_state_new}
  52. {elseif $val.complain_state == '20'}{$Think.lang.complain_state_appeal}
  53. {elseif $val.complain_state == '30'}{$Think.lang.complain_state_talk}
  54. {elseif $val.complain_state == '40'}{$Think.lang.complain_state_handle}
  55. {else $val.complain_state == '99'}{$Think.lang.complain_state_finish}
  56. {/if}
  57. </td>
  58. <td class="dsm-table-handle">
  59. <span>
  60. <a href="{:url('Membercomplain/complain_show',['complain_id'=>$val.complain_id])}" class="btn-blue"><i class="iconfont">&#xe70b;</i>
  61. <p>{$Think.lang.complain_text_detail}</p>
  62. </a>
  63. </span>
  64. {if $val.complain_state == '10'}
  65. <span>
  66. <a href="javascript:void(0)" onclick="ds_ajaxget_confirm('{:url('Membercomplain/complain_cancel',['complain_id'=>$val.complain_id])}','{$Think.lang.complain_cancel_confirm}');" class="btn-orange"><i class="iconfont">&#xe754;</i>
  67. <p>{$Think.lang.ds_cancel}</p>
  68. </a>
  69. </span>
  70. {/if}
  71. </td>
  72. </tr>
  73. {/foreach}
  74. {else /}
  75. <tr>
  76. <td colspan="20" class="norecord">
  77. <div class="warning-option"><i></i><span>{$Think.lang.no_record}</span></div>
  78. </td>
  79. </tr>
  80. {/notempty}
  81. </tbody>
  82. <tfoot>
  83. {notempty name="complain_list"}
  84. <tr>
  85. <td colspan="20">
  86. <div class="pagination">{$show_page|raw}</div>
  87. </td>
  88. </tr>
  89. {/notempty}
  90. </tfoot>
  91. </table>
  92. {/block}