{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['type'] == 'assemble' && $assemRow = Api::run('getAssembleCommanderByOrderNo',['order_no' => $this->order_info['order_no']])} {set:$assemPer = $assemRow['member_nums']/$assemRow['limit_nums']*100}

拼团信息

拼团状态:
{if:$assemRow['is_finish'] == 1} 恭喜您,拼团成功,欢迎下次参与 {elseif:$assemRow['is_pay'] == 1} {$assemRow['limit_nums']}人成团,还差{echo:$assemRow['limit_nums']-$assemRow['member_nums']}人, {set:$shareUrl=Active::assembleUrl($this->order_info['order_no'])} 立即邀请好友加团 {set:$shareUrl=urlencode($shareUrl)} {else:} 付款后邀请更多好友加团 {/if}
{/if} {if:goods_class::isDelivery($this->order_info['goods_type'])}

收件人信息

收货人: {$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}
{elseif:$this->order_info['goods_type'] == 'preorder'} {foreach:items=Api::run('getOrderPreorderByOrderId',array('id' => $this->order_info['order_id'])) item=$preorderRow}

预订信息

预订日期: {$preorderRow['start_date']}——{$preorderRow['end_date']}
{/foreach} {/if}

支付及配送

{if:$this->order_info['distribution']} {/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)} {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['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}

订单支付金额: