{eyou:static file="users/skin/css/eyoucms.css"/} {eyou:static file="users/skin/css/element/index.css" /} {eyou:static file="users/skin/css/e-user.css" /} {eyou:include file="users/skin/css/diy_css.htm"/} {eyou:static file="/public/static/common/js/jquery.min.js"/} {eyou:static file="/public/plugins/layer-v3.1.0/layer.js"/} {eyou:static file="/public/static/common/js/tag_global.js"/}
{eyou:include file="users/users_header.htm" /}
{eyou:include file="users/users_left.htm" /}

# 我的订单

{eyou:spstatus id="field3"}
全部订单{eyou:if condition="0 != $field3.All"} ({$field3.All}) {/eyou:if} 待付款{eyou:if condition="0 != $field3.PendingPayment"} ({$field3.PendingPayment}) {/eyou:if} 待收货{eyou:if condition="0 != $field3.PendingReceipt"} ({$field3.PendingReceipt}) {/eyou:if} 已完成{eyou:if condition="0 != $field3.Completed"} ({$field3.Completed}) {/eyou:if}
{/eyou:spstatus}
{eyou:spsearch id="search"} {$search.hidden}
{/eyou:spsearch}
{eyou:empty name="$eyou.field.data"}

马上去购物
{eyou:else/}

{eyou:sporderlist id="field" pagesize="10"}
- {eyou:eq name="$field.order_status" value="-1"}
  已关闭
  {/eyou:eq} {eyou:eq name="$field.order_status" value="0"}
  等待付款
  {/eyou:eq} {eyou:eq name="$field.order_status" value="1"}
  {eyou:eq name="$field.logistics_type" value='1'}待发货{eyou:else/}待核销{/eyou:eq}
  {/eyou:eq} {eyou:eq name="$field.order_status" value="2"}
  待收货
  {/eyou:eq} {eyou:eq name="$field.order_status" value="3"}
  已收货
  {/eyou:eq}

  {$field.add_time|date='Y年m月d日 H:i:s',###} | {$field.consignee} | 订单号：{$field.order_code}|{$field.pay_name} | 应付金额： {$field.order_amount} {empty name="$field.points_shop_order"}元{/empty}
  --- | ---
  {eyou:spordergoods id="order_field"} {$order_field.product_name} {eyou:volist name='$order_field.product_spec_list' id='spec'}{$spec.value} {/eyou:volist} {$order_field.product_price}{empty name="$field.points_shop_order"}元{/empty} × {$order_field.num} {/eyou:spordergoods} | {eyou:eq name="$field.order_status" value="0"} 立即付款 {/eyou:eq} {eyou:eq name="$field.order_status" value="1"} {eyou:eq name="$field.logistics_type" value='1'} 提醒发货 {eyou:else/} 待核销 {/eyou:eq} {/eyou:eq} {eyou:eq name="$field.order_status" value="2"} {eyou:eq name="$field.prom_type" value="0"} 物流查询 {/eyou:eq} 确认收货 {/eyou:eq} {eyou:eq name="$field.order_status" value="3"} 已完成 {/eyou:eq} 订单详情 {eyou:if condition="in_array($field.order_status, [1, 2, 3]) && isset($field.allow_service) && 0 == $field.allow_service"} 申请售后 {/eyou:if} {eyou:eq name="$field.order_status" value="3"} {eyou:if condition="0 == $field.is_comment && !empty($usersConfig.shop_open_comment)"} 评价商品 {/eyou:if} {/eyou:eq} {eyou:eq name="$field.order_status" value="-1"} 已关闭 {/eyou:eq}

{$field.hidden} {/eyou:sporderlist}

{eyou:sppageorder listitem="index,end,pre,next" listsize="2"/}

{/eyou:empty}
{eyou:include file="users/users_footer.htm" /}