联系官方销售客服
1835022288
028-61286886
个人中心怎么循环出不同状态的订单呢?
按照默认的模板没有遍历出来
{loop $list $t} <tr class="odd gradeX"> <td> <a href="[removed]dr_mall_table_more({$t.id});" style="margin-right:5px">{$t.sn}</a> {dr_store_order_source($t.source)}</td> <td>{$t.name}</td> <td class="price">¥{number_format($t.money, 2)}</td> <td style="text-align:center"><a href="{dr_member_url($uriprefix.'/show', ['id'=>$t.id])}">{dr_store_order_info_status($t)}</a></td> <td>{dr_date($t.inputtime, 'Y-m-d H:i:s', 'red')}</td> <td> <label><a href="{dr_member_url($uriprefix.'/show', ['id'=>$t.id])}" class="btn btn-xs green"> <i class="fa fa-edit"></i> {dr_lang('详情')}</a></label> {if $t.status!=0} {if $t.pay_status==0} <label><a href="{dr_url('store/order/pay', ['id'=>$t.id])}" target="_blank" class="btn btn-xs red"> <i class="fa fa-rmb"></i> {dr_lang('付款')}</a></label> {/if} {if $t.deliver_status==1} <label><a href="[removed];" onclick="dr_ajax_confirm_url('{dr_member_url('store/operation/delivery', ['id'=>$t.id])}','确定收到货物了吗?', '{FC_NOW_URL}')" class="btn btn-xs blue"> <i class="fa fa-check-circle"></i> {dr_lang('收货')}</a></label> {/if} {if $t.status==1} {if $t.pay_status == 0} <label><a href="[removed];" onclick="dr_iframe('关闭订单', '{dr_member_url('store/operation/close', ['id'=>$t.id])}')" class="btn btn-xs red"> <i class="fa fa-times-circle"></i> {dr_lang('关闭')}</a></label> {else} <label><a href="[removed];" onclick="" class="btn btn-xs red"> <i class="fa fa-check-circle"></i> {dr_lang('退款')}</a></label> {/if} {/if} {if $t.status==9 && $t.comment==0} <label><a href="{dr_member_url($uriprefix.'/comment', ['id'=>$t.id])}" class="btn btn-xs blue"> <i class="fa fa-comments"></i> {dr_lang('评价')}</a></label> {/if} {/if} </td> </tr> {/loop}