view.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {include file="public/header" /}
  2. <div class="page">
  3. <table class="ds-default-table order">
  4. <tbody>
  5. <tr class="space">
  6. <th colspan="2">{$Think.lang.order_detail}</th>
  7. </tr>
  8. <tr>
  9. <th>{$Think.lang.order_info}</th>
  10. </tr>
  11. <tr>
  12. <td colspan="2"><ul>
  13. <li><strong>{$Think.lang.ds_order_sn}:</strong>{$order_info.order_sn}</li>
  14. {if $order_info.trade_no}
  15. <li><strong>{$Think.lang.ds_trade_no}:</strong>{$order_info.trade_no}</li>
  16. {/if}
  17. <li><strong>{$Think.lang.order_state}:</strong>{$order_info.state_desc|raw}</li>
  18. <li><strong>{$Think.lang.order_total_price}:</strong><span class="red_common">{$Think.lang.currency}{$order_info.order_amount}</span></li>
  19. <li><strong>{$Think.lang.vrorder_pd_amount}:</strong>{$Think.lang.currency}{$order_info.pd_amount}</li>
  20. <li><strong>{$Think.lang.vrorder_rcb_amount}:</strong>{$Think.lang.currency}{$order_info.rcb_amount}</li>
  21. <li><strong>{$Think.lang.order_time}{$Think.lang.ds_colon}</strong>{:date('Y-m-d H:i:s',$order_info.add_time)}</li>
  22. <li><strong>{$Think.lang.ds_buyer_name}{$Think.lang.ds_colon}</strong>{$order_info.buyer_name}</li>
  23. <li><strong>{$Think.lang.mob_phone}{$Think.lang.ds_colon}</strong>{$order_info.buyer_phone}</li>
  24. <li><strong>{$Think.lang.ds_payment_code}{$Think.lang.ds_colon}</strong>{:get_order_payment_name($order_info.payment_code)}</li>
  25. {if $order_info.payment_time}
  26. <li><strong>{$Think.lang.payment_time}{$Think.lang.ds_colon}</strong>{:date('Y-m-d H:i:s',$order_info.payment_time)}</li>
  27. {/if}
  28. {present name="order_info.shipping_time"}
  29. <li><strong>{$Think.lang.ship_time}{$Think.lang.ds_colon}</strong>{:date('Y-m-d H:i:s',$order_info.shipping_time)}</li>
  30. {/present}
  31. {if $order_info.finnshed_time}
  32. <li><strong>{$Think.lang.complate_time}{$Think.lang.ds_colon}</strong>{:date('Y-m-d H:i:s',$order_info.finnshed_time)}</li>
  33. {/if}
  34. {present name="order_info.extend_order_common.order_message"}
  35. <li><strong>{$Think.lang.buyer_message}{$Think.lang.ds_colon}</strong>{$order_info.extend_order_common.order_message}</li>
  36. {/present}
  37. <li><strong>{$Think.lang.ds_store_name}{$Think.lang.ds_colon}</strong>{$order_info.store_name}</li>
  38. <li><strong>{$Think.lang.buyer_message}{$Think.lang.ds_colon}</strong>{$order_info.buyer_msg}</li>
  39. </ul>
  40. </td>
  41. </tr>
  42. <tr>
  43. <th>{$Think.lang.product_info}</th>
  44. </tr>
  45. <tr>
  46. <td><table class="ds-default-table goods ">
  47. <tbody>
  48. <tr>
  49. <th></th>
  50. <th>{$Think.lang.product_info}</th>
  51. <th class="align-center">{$Think.lang.product_price}</th>
  52. <th class="align-center">{$Think.lang.product_num}</th>
  53. <th class="align-center">{$Think.lang.vrorder_commis_rate}</th>
  54. <th class="align-center">{$Think.lang.vrorder_commis_price}</th>
  55. </tr>
  56. <tr>
  57. <td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><a href="{:url('home/goods/index',['goods_id'=>$order_info.goods_id])}" target="_blank"><img alt="{$Think.lang.product_pic}" src="{:goods_thumb($order_info)}" style="width: 60px"/></a></span></div></td>
  58. <td class="w50pre"><p><a href="{:url('home/goods/index',['goods_id'=>$order_info.goods_id])}" target="_blank">{$order_info.goods_name}</a></p><p>{if $order_info.order_promotion_type == 1}{$Think.lang.vrorder_groupbuy}{/if} {$Think.lang.vrorder_groupbuy_validity} {:date('Y-m-d',$order_info.vr_indate)}
  59. {if $order_info.vr_invalid_refund == '0'}
  60. {$Think.lang.vrorder_expired_no_refund}
  61. {/if}</p></td>
  62. <td class="w96 align-center"><span class="red_common">{$Think.lang.currency}{$order_info.goods_price}</span></td>
  63. <td class="w96 align-center">{$order_info.goods_num}</td>
  64. <td class="w96 align-center">{$order_info.commis_rate == 200 ? '' : $order_info.commis_rate.'%'}</td>
  65. <td class="w96 align-center">{$order_info.commis_rate == 200 ? '' : ds_price_format($order_info.goods_price *$order_info.commis_rate/100)}</td>
  66. </tr>
  67. </tbody>
  68. </table></td>
  69. </tr>
  70. <tr>
  71. <th>{$Think.lang.product_info}</th>
  72. </tr>
  73. <tr>
  74. <td>
  75. {if $order_info.virtual_type==0}
  76. <table class="ds-default-table goods">
  77. <tbody>
  78. <tr>
  79. <th class="w10"></th>
  80. <th>{$Think.lang.vr_code}</th>
  81. <th>{$Think.lang.product_price} ({$Think.lang.ds_yuan})</th>
  82. <th>{$Think.lang.product_num}</th>
  83. <th>{$Think.lang.vr_code}{$Think.lang.ds_status}</th>
  84. </tr>
  85. {notempty name="order_info.extend_vr_order_code"}
  86. {foreach name="order_info.extend_vr_order_code" item="code_info"}
  87. <tr>
  88. <td></td>
  89. <td class="w50">{$code_info.vr_code}</td>
  90. <td class="bdl">{$order_info.goods_price}</td>
  91. <td class="bdl">1</td>
  92. </td>
  93. <td class="bdl">{$code_info.vr_code_desc}</td>
  94. </tr>
  95. {/foreach}
  96. {else /}
  97. <tr><td colspan="20" class="align-center">{$Think.lang.vr_code_not_exist}</td></tr>
  98. {/notempty}
  99. </tbody>
  100. </table>
  101. {elseif $order_info.virtual_type==3}
  102. <a href='{:goods_resource($order_info["virtual_content"])}' target="_blank">下载商品</a>
  103. {else}
  104. {$order_info.virtual_content}
  105. {/if}
  106. </td>
  107. </tr>
  108. </tbody>
  109. </table>
  110. </div>