index.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <form id="list_form" method="get">
  4. <table class="dsm-search-table">
  5. <tr>
  6. <td></td>
  7. <td class="w100 tr">
  8. <select name="select_inform_state">
  9. <option value="0" {if !$Request.get.select_inform_state}selected=true{/if}>{$Think.lang.inform_state_all}</option>
  10. <option value="1" {if $Request.get.select_inform_state == '1'}selected=true{/if}> {$Think.lang.inform_state_unhandle} </option>
  11. <option value="2" {if $Request.get.select_inform_state== '2'}selected=true{/if}> {$Think.lang.inform_state_handled} </option>
  12. </select>
  13. </td>
  14. <td class="w70 tc">
  15. <input type="submit" class="submit" onclick="submit_search_form()" value="{$Think.lang.ds_search}" />
  16. </td>
  17. </tr>
  18. </table>
  19. </form>
  20. <table class="dsm-default-table">
  21. <thead>
  22. <tr>
  23. <th class="w10"></th>
  24. <th colspan="2">{$Think.lang.inform_goods_name}</th>
  25. <th class="w240">&nbsp;</th>
  26. <th class="w120">{$Think.lang.inform_datetime}</th>
  27. <th class="w120">{$Think.lang.inform_state}{$Think.lang.inform_handle_type}</th>
  28. <th class="w110">{$Think.lang.ds_handle}</th>
  29. </tr>
  30. </thead>
  31. {notempty name="inform_list"}
  32. <tbody>
  33. {foreach name="inform_list" item="val"}
  34. <tr class="bd-line">
  35. <td></td>
  36. <td class="w50">
  37. <div class="pic-thumb">
  38. <a href="{:url('Goods/index',['goods_id'=>$val.inform_goods_id])}" target="_blank">
  39. <img src="{:goods_cthumb($val.inform_goods_image)}"/>
  40. </a>
  41. </div>
  42. </td>
  43. <td class="tl">
  44. <dl class="goods-name">
  45. <dt><a href="{:url('Goods/index',['goods_id'=>$val.inform_goods_id])}" target="_blank">{$val.inform_goods_name} </a></dt>
  46. <dd>{$Think.lang.inform_merchants}:<a href="{:url('Store/index',['store_id'=>$val.inform_store_id])}">{$val.inform_store_name}</a>
  47. </dd>
  48. </dl>
  49. </td>
  50. <td class="tl">
  51. <p>{$Think.lang.inform_type}:{$val.informsubject_type_name}</p>
  52. <p>{$Think.lang.inform_subject}:{$val.informsubject_content}
  53. </td>
  54. <td>{$val.inform_datetime|date="Y-m-d"}</td>
  55. <td><p>
  56. {if $val.inform_state == '1'}
  57. {$Think.lang.inform_state_unhandle}
  58. {elseif $val.inform_state == '2'}
  59. {$Think.lang.inform_state_handled}
  60. {/if}
  61. </p>
  62. <p>
  63. {if $val.inform_handle_type == '1'}
  64. {$Think.lang.inform_handle_type_unuse}
  65. {elseif $val.inform_handle_type == '2'}
  66. {$Think.lang.inform_handle_type_venom}
  67. {elseif $val.inform_handle_type == '3'}
  68. {$Think.lang.inform_handle_type_valid}
  69. {/if}
  70. </p></td>
  71. <td class="dsm-table-handle">
  72. <span>
  73. <a href="{:url('Memberinform/inform_info',['inform_id'=>$val.inform_id])}" class="btn-blue"><i class="iconfont">&#xe70b;</i><p>{$Think.lang.ds_view}</p></a>
  74. </span>
  75. {if $val.inform_state == '1'}
  76. <span>
  77. <a class="btn-orange" href="javascript:void(0)" onclick="ds_ajaxget_confirm('{:url('Memberinform/inform_cancel',['inform_id'=>$val.inform_id])}','{$Think.lang.inform_cancel_confirm}');"><i class="iconfont">&#xe754;</i>
  78. <p>{$Think.lang.ds_cancel}</p>
  79. </a>
  80. </span>
  81. {/if}
  82. </td>
  83. </tr>
  84. {/foreach}
  85. {else /}
  86. <tr>
  87. <td colspan="20" class="norecord">
  88. <div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div>
  89. </td>
  90. </tr>
  91. {/notempty}
  92. </tbody>
  93. <tfoot>
  94. {notempty name="inform_list"}
  95. <tr>
  96. <td colspan="20">
  97. <div class="pagination">{$show_page|raw}</div>
  98. </td>
  99. </tr>
  100. {/notempty}
  101. </tfoot>
  102. </table>
  103. {/block}