index.html 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <table class="dsm-default-table order">
  4. <thead>
  5. <tr>
  6. <th class="w10"></th>
  7. <th colspan="2">{$Think.lang.member_pointorder_info_prodinfo}</th>
  8. <th class="w100">{$Think.lang.member_pointorder_exchangepoints}</th>
  9. <th class="w40">{$Think.lang.member_pointorder_exnum}</th>
  10. <th class="w150">{$Think.lang.member_pointorder_exchangepoints_shippingfee}</th>
  11. <th class="w100">{$Think.lang.transaction_status}</th>
  12. <th class="w100">{$Think.lang.member_pointorder_orderstate_handle}</th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. {notempty name="order_list"}
  17. {foreach name="order_list" item="val"}
  18. <tr>
  19. <td colspan="19" class="sep-row"></td>
  20. </tr>
  21. <tr>
  22. <th colspan="20"><span class="ml10">{$Think.lang.member_pointorder_ordersn}{$Think.lang.ds_colon}{$val.point_ordersn}</span><span>{$Think.lang.member_pointorder_addtime}{$Think.lang.ds_colon}{$val.point_addtime|date="Y-m-d H:i:s"}</span>
  23. </th>
  24. </tr>
  25. {foreach name="val.prodlist" item="v"}
  26. <tr>
  27. <td class="bdl"></td>
  28. <td class="w50">
  29. <div class="pic-thumb"><a href="{:url('Pointprod/pinfo',['id'=>$v.pointog_goodsid])}" target="_blank"><img src="{$v.point_goodsimage_small}" /></a></div>
  30. </td>
  31. <td class="tl">
  32. <dl class="goods-name">
  33. <dt><a href="{:url('Pointprod/pinfo',['id'=>$v.pointog_goodsid])}" target="_blank">{$v.pointog_goodsname}</a>
  34. </dt>
  35. </dl>
  36. </td>
  37. <td>{$v.pointog_goodspoints}</td>
  38. <td>{$v.pointog_goodsnum}</td>
  39. {if (isset($val.prodlist) && count($val.prodlist) >1 && $key == 0) || (isset($val.prodlist) && count($val.prodlist) ==1)}
  40. <td class="bdl" rowspan="{$val.prodlist|count}">
  41. <p class="price"><strong>{$val.point_allpoint}</strong></p>
  42. </td>
  43. <td rowspan="{$val.prodlist|count}" class="bdl">
  44. <p>{$val.point_orderstatetext}</p>
  45. <p>
  46. <a href="{:url('Memberpointorder/order_info',['order_id'=>$val.point_orderid])}"
  47. target="_blank">{$Think.lang.member_pointorder_viewinfo}</a>
  48. </p>
  49. </td>
  50. <td class="bdl bdr w100" rowspan="{$val.prodlist|count}"><p></p>
  51. {if $val.point_orderallowreceiving}
  52. <p>
  53. <a href="javascript:void(0)" class="dsm-btn" onclick="ds_ajaxget_confirm('{:url('Memberpointorder/receiving_order',['order_id'=>$val.point_orderid])}','{$Think.lang.member_pointorder_confirmreceivingtip}')">{$Think.lang.member_pointorder_confirmreceiving}</a>
  54. </p>
  55. {/if}
  56. {if $val.point_orderallowcancel}
  57. <p>
  58. <a href="javascript:void(0)" class="dsm-btn dsm-btn-orange" onclick="ds_ajaxget_confirm('{:url('Memberpointorder/cancel_order',['order_id'=>$val.point_orderid])}','{$Think.lang.member_pointorder_cancel_confirmtip}');">{$Think.lang.member_pointorder_cancel_title}</a>
  59. </p>
  60. {/if}
  61. </td>
  62. {/if}
  63. </tr>
  64. {/foreach}
  65. {/foreach}
  66. {else /}
  67. <tr>
  68. <td colspan="20" class="norecord">
  69. <div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div>
  70. </td>
  71. </tr>
  72. {/notempty}
  73. </tbody>
  74. <tfoot>
  75. {notempty name="order_list"}
  76. <tr>
  77. <td colspan="20">
  78. <div class="pagination">{$show_page|raw}</div>
  79. </td>
  80. </tr>
  81. {/notempty}
  82. </tfoot>
  83. </table>
  84. {/block}