{set:$orderStep = Order_Class::orderStep($this->order_info)} {foreach:items=$orderStep item=$stepData key=$eventTime}

{$eventTime}  {$stepData}

{/foreach}

订单号:{$this->order_info['order_no']} 下单日期:{$this->order_info['create_time']} 状态: {echo:Order_Class::orderStatusText(Order_Class::getOrderStatus($this->order_info))}

{if:order_class::isCancel($this->order_info)} {/if} {if:order_class::isGoPay($this->order_info)} {/if} {if:order_class::isConfirm($this->order_info)} {/if} {if:order_class::isRefund($this->order_info)} {/if}

{if:$this->order_info['goods_type'] == 'default'}

收件人信息

收货人: {$this->order_info['accept_name']}
地址: {$this->order_info['province_str']} {$this->order_info['city_str']} {$this->order_info['area_str']} {$this->order_info['address']}
邮编: {$this->order_info['postcode']}
固定电话: {$this->order_info['telphone']}
手机号码: {$this->order_info['mobile']}
{elseif:$this->order_info['goods_type'] == 'code'}

验证码信息

消费验证码: {foreach:items=Api::run('getOrderCodeByOrderId',array('id' => $this->order_info['order_id'])) item=$codeRow}

{$codeRow['code']} [{if:$codeRow['is_used']}已使用:{$codeRow['use_time']}{else:}未使用{/if}]

{/foreach} {if:!isset($codeRow)}付款后自动显示{/if}
{elseif:$this->order_info['goods_type'] == 'download'}

文件信息

文件下载: {foreach:items=Api::run('getOrderDownloadByOrderId',array('id' => $this->order_info['order_id'])) item=$downloadRow}

点击下载 [已下载:{$downloadRow['num']}/{$downloadRow['limit_num']}] 截至 {$downloadRow['end_time']} 过期

{/foreach} {if:!isset($downloadRow)}付款后自动显示{/if}
{/if}

支付及配送

{if:$this->order_info['goods_type'] == 'default'} {/if} {if:$this->order_info['takeself']} {/if} {if:isset($this->order_info['freight'])} {/if} {if:$this->order_info['paynote']} {/if}
支付方式: {$this->order_info['payment']}
配送方式: {$this->order_info['delivery']}
运费: {$this->order_info['real_freight']}
自提地址: {$this->order_info['takeself']['province_str']} {$this->order_info['takeself']['city_str']} {$this->order_info['takeself']['area_str']} {$this->order_info['takeself']['address']}
自提联系方式: 座机:{$this->order_info['takeself']['phone']}    手机:{$this->order_info['takeself']['mobile']}
自提码: {$this->order_info['checkcode']}
物流公司: {$this->order_info['freight']['freight_name']}
快递单号: {$this->order_info['freight']['delivery_code']}
支付说明: {$this->order_info['paynote']}
{if:$this->order_info['invoice']==1}

发票信息

所需税金: {$this->order_info['taxes']}
发票信息: {echo:CountSum::invoiceText($this->order_info['invoice_info'])}
{/if}

商品清单

{foreach:items=Api::run('getOrderGoodsListByGoodsid',array('#order_id#',$this->order_info['order_id'])) item=$good} {set:$good_info = JSON::decode($good['goods_array'])} {/foreach}
图片 商品名称 赠送积分 商品价格 优惠金额 商品数量 小计 状态
{$good_info['name']} {if:$good_info['value']!=''}

{$good_info['value']}

{/if}
{echo:$good['point']*$good['goods_nums']} ¥{$good['goods_price']} ¥{echo:$good['goods_price']-$good['real_price']} x {$good['goods_nums']} ¥{echo:$good['goods_nums']*$good['real_price']} {echo:Order_Class::goodsSendStatus($good['is_send'])} {if:$good['delivery_id']} {/if}

商品总金额:¥{$this->order_info['payable_amount']}

{if:$this->order_info['real_freight'] > 0}

+ 运费:¥{$this->order_info['real_freight']}

{/if} {if:$this->order_info['taxes'] > 0}

+ 税金:¥{$this->order_info['taxes']}

{/if} {if:$this->order_info['pay_fee'] > 0}

+ 支付手续费:¥{$this->order_info['pay_fee']}

{/if} {if:$this->order_info['insured'] > 0}

+ 保价:¥{$this->order_info['insured']}

{/if}

订单折扣或涨价:¥{$this->order_info['discount']}

{if:$this->order_info['promotions'] > 0}

- 促销优惠金额:¥{$this->order_info['promotions']}

{/if} {if:$this->order_info['spend_point'] > 0}

- 消耗积分:{$this->order_info['spend_point']} 积分

{/if}

订单支付金额: