{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="users/skin/js/global.js"/} {eyou:static file="/public/plugins/layer-v3.1.0/layer.js"/}
{eyou:include file="users/users_header.htm" /}
{eyou:include file="users/users_left.htm" /}

# 积分兑换

全部商品 兑换记录
我的{$score_name} : {$users.scores}
{eyou:empty name="$list"}

当前暂无兑换记录哦~

{eyou:else/}

{eyou:volist name="$list" id="vo" key="k"}

- ## {$vo.giftname}

  {$vo.score}{$score_name}

  {eyou:if condition='$users.scores >= $vo.score'}

  {eq name='$vo.type' value='-1'} 立即兑换 {else/} 立即兑换 {/eq}

  {eyou:else /}

  {$score_name}不足

  {/eyou:if}
{/eyou:volist}

{/eyou:empty}

ID | 商品名称 | 消耗({$score_name}) | 兑换时间 | 状态
--- | --- | --- | --- | ---
{eyou:empty name="$order_list"}
当前暂无兑换记录哦~
{eyou:else/} {eyou:volist name="$order_list" id="vo"}
{$vo.key} | {$vo.giftname} | {$vo.score}{eyou:if condition="$vo.status eq 2"}[已返还]{/eyou:if} | {$vo.add_time|MyDate="Y-m-d H:i",###} | {eyou:if condition="$vo.status eq 1"} 已发货 {elseif condition="$vo.status eq 2"} 发货取消 {else /} 待发货 {/eyou:if}
{/eyou:volist} {/eyou:empty}

{$page} {eyou:if condition="!empty($pager->totalRows)"}
共{$pager->totalRows}条记录
{/eyou:if}
{eyou:include file="users/users_footer.htm" /}