index.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <form method="get" action="{:url('Membervrorder/index')}" target="_self">
  4. <table class="dsm-search-table">
  5. <tr>
  6. <td>&nbsp;</td>
  7. <th>{$Think.lang.member_order_state}</th>
  8. <td class="w100"><select name="state_type">
  9. <option value="">{$Think.lang.member_order_all}</option>
  10. <option value="state_new" {if $Request.param.state_type=='state_new'}selected{/if}>{$Think.lang.store_pending_payment}</option>
  11. <option value="state_pay" {if $Request.param.state_type=='state_pay'}selected{/if}>{$Think.lang.store_paid_payment}</option>
  12. <option value="state_success" {if $Request.param.state_type=='state_success'}selected{/if}>{$Think.lang.store_done_payment}</option>
  13. <option value="state_cancel" {if $Request.param.state_type=='state_cancel'}selected{/if}>{$Think.lang.store_cancelled}</option>
  14. </select></td>
  15. <th>{$Think.lang.member_order_time}</th>
  16. <td class="w240">
  17. <input type="text" class="text w70" name="query_start_date" id="query_start_date" value="{$Request.param.query_start_date}"/><label class="add-on"><i class="iconfont">&#xe8d6;</i></label>&nbsp;&#8211;&nbsp;
  18. <input type="text" class="text w70" name="query_end_date" id="query_end_date" value="{$Request.param.query_end_date}"/>
  19. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label></td>
  20. <th>{$Think.lang.member_order_sn}</th>
  21. <td class="w160"><input type="text" class="text w150" name="order_sn" value="{$Request.param.order_sn}"></td>
  22. <td class="w70 tc">
  23. <input type="submit" class="submit" value="{$Think.lang.ds_search}"/>
  24. </td>
  25. </tr>
  26. </table>
  27. </form>
  28. <table class="dsm-default-table order">
  29. <thead>
  30. <tr>
  31. <th class="w10"></th>
  32. <th colspan="2">{$Think.lang.store_order_goods_detail}</th>
  33. <th class="w100">{$Think.lang.store_order_goods_single_price}</th>
  34. <th class="w40">{$Think.lang.store_show_order_amount}</th>
  35. <th class="w100">{$Think.lang.store_order_sell_back}</th>
  36. <th class="w120">{$Think.lang.store_order_sum}</th>
  37. <th class="w100">{$Think.lang.store_trading_status}</th>
  38. <th class="w120">{$Think.lang.store_trading_operations}</th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. {notempty name="order_list"}
  43. {foreach name="order_list" item="order_info"}
  44. <tr>
  45. <td class="sep-row" colspan="19"></td>
  46. </tr>
  47. <tr>
  48. <th colspan="20"><span class="ml10">{$Think.lang.store_order_sn}:{$order_info.order_sn}&nbsp;{if $order_info.order_from == '2'}<i class="iconfont">&#xe60e;</i>{/if}</span><span>{$Think.lang.store_order_add_time}:{:date('Y-m-d H:i',$order_info.add_time)}</span><span><a
  49. href="{:url('Store/index',['store_id'=>$order_info.store_id])}"
  50. title="{$order_info.store_name}">{$order_info.store_name}</a></span>
  51. <!-- QQ -->
  52. <span member_id="{$order_info.extend_store.member_id}">
  53. {notempty name="order_info.extend_store.store_qq"}
  54. <a target="_blank" href="{$Think.HTTP_TYPE}wpa.qq.com/msgrd?v=3&uin={$order_info.extend_store.store_qq}&site=qq&menu=yes" title="QQ: {$order_info.extend_store.store_qq}">
  55. <img border="0" src="{$Think.HTTP_TYPE}wpa.qq.com/pa?p=2:{$order_info.extend_store.store_qq}:52" style=" vertical-align: middle;"/></a>
  56. {/notempty}
  57. <!-- wang wang -->
  58. {notempty name="order_info.extend_store.store_ww"}
  59. <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid={$order_info.extend_store.store_ww}&site=cntaobao&s=2" class="vm">
  60. <img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid={$order_info.extend_store.store_ww}&site=cntaobao&s=2" alt="Wang Wang" style=" vertical-align: middle;"/></a>
  61. {/notempty}
  62. </span>
  63. </th>
  64. </tr>
  65. <tr>
  66. <td class="bdl"></td>
  67. <td class="w70"><div class="dsm-goods-thumb">
  68. <a href="{:url('Goods/index',['goods_id'=>$order_info.goods_id])}" target="_blank"/><img src="{:goods_thumb($order_info)}"/></a></div></td>
  69. <td class="tl"><dl class="goods-name">
  70. <dt>
  71. <a href="{:url('Goods/index',['goods_id'=>$order_info.goods_id])}" target="_blank" title="{$order_info.goods_name}">{$order_info.goods_name}</a></dt>
  72. <dd>
  73. {if $order_info.order_promotion_type == 1}
  74. <span class="sale-type">{$Think.lang.store_order_group}</span>
  75. {/if}
  76. {if $order_info.vr_indate}
  77. {$Think.lang.store_validity}:{:date('Y-m-d',$order_info.vr_indate)}</dd>
  78. {/if}
  79. </dl></td>
  80. <td>{$order_info.goods_price}</td>
  81. <td>{$order_info.goods_num}</td>
  82. <td>
  83. {if $order_info.if_refund}
  84. <a href="{:url('Membervrrefund/add_refund',['order_id'=>$order_info.order_id])}">{$Think.lang.store_order_refund}</a>
  85. {/if}
  86. </td>
  87. <td class="bdl"><strong>{$order_info.order_amount}</strong>
  88. <p title="{$Think.lang.member_order_pay_method}{$Think.lang.ds_colon}{$order_info.payment_name}">{$order_info.payment_name}</p></td>
  89. <td class="bdl"><p>{$order_info.state_desc|raw}</p>
  90. <p><a href="{:url('Membervrorder/show_order',['order_id'=>$order_info.order_id])}">{$Think.lang.store_order_view_order}</a></p></td>
  91. <td class="bdl bdr">
  92. {if $order_info.if_pay}
  93. <p><a class="dsm-btn dsm-btn-orange" href="{:url('Buyvirtual/pay',['order_id'=>$order_info.order_id])}"><i class="iconfont">&#xe6f0;</i>{$Think.lang.store_order_payment}</a></p>
  94. {/if}
  95. <!--取消订单-->
  96. {if $order_info.if_cancel}
  97. <p class="mt5">
  98. <a href="javascript:void(0)" class="dsm-btn dsm-btn-red" ds_type="dialog" dialog_width="480" dialog_title="{$Think.lang.store_order_cancel_order}" dialog_id="buyer_order_cancel_order" uri="{:url('Membervrorder/change_state',['state_type'=>'order_cancel','order_id'=>$order_info.order_id])}" id="order{$order_info.order_id}_action_cancel"><i class="iconfont">&#xe754;</i>{$Think.lang.store_order_cancel_order}</a></p>
  99. {/if}
  100. <!-- 评价 -->
  101. {if $order_info.if_evaluation}
  102. <p><a class="dsm-btn dsm-btn-acidblue" href="{:url('Memberevaluate/add_vr',['order_id'=>$order_info.order_id])}"><i class="iconfont">&#xe67e;</i>{$Think.lang.member_order_want_evaluate}</a></p>
  103. {/if}
  104. {if $order_info.evaluation_state == '1'}{$Think.lang.store_have_evaluation}{/if}
  105. </td>
  106. </tr>
  107. {/foreach}
  108. {else /}
  109. <tr>
  110. <td colspan="20" class="norecord"><div class="warning-option"><i></i><span>{$Think.lang.no_record}</span></div></td>
  111. </tr>
  112. {/notempty}
  113. </tbody>
  114. <tfoot>
  115. {notempty name="order_list"}
  116. <tr>
  117. <td colspan="20"><div class="pagination">{$show_page|raw}</div></td>
  118. </tr>
  119. {/notempty}
  120. </tfoot>
  121. </table>
  122. <script type="text/javascript">
  123. $(function(){
  124. $('#query_start_date').datepicker({dateFormat: 'yy-mm-dd'});
  125. $('#query_end_date').datepicker({dateFormat: 'yy-mm-dd'});
  126. });
  127. </script>
  128. {/block}