{extend name="$base" /} {block name="resources"} {/block} {block name="head" }{/block} {block name="main" } {php} $member_detail = api('System.Member.memberInfo'); $member_info = $member_detail['data']; // 会员账户信息 $member_account = api("System.Member.memberAccount"); $member_account = $member_account['data']; // 会员等级信息 $member_level = api("System.Member.memberLevel", ['level_id' => $member_info['member_level']]); $member_level = $member_level['data']; $promoter_info = []; if(addon_is_exit('Nsfx')){ $promoter_info = api('Nsfx.Distribution.promoterDetail'); $promoter_info = $promoter_info['data']; } if(addon_is_exit('NsMemberSign')){ $isSign = api("NsMemberSign.MemberSign.isSignIn"); $isSign = $isSign['data']; } $coupon_count = api("System.Member.couponNum"); $coupon_count = $coupon_count['data']; $wapEntrance = api("System.Config.wapEntrance"); $wapEntrance = $wapEntrance['data']; {/php}
{if condition="$member_info['user_info']['user_headimg'] eq ''"} {else/} {/if}
{$member_info["user_info"]['nick_name']}
{if $member_level['level_name']}
{$member_level['level_name']}
{/if}
{$member_account['balance']}
余额
{$member_account['point']}
积分
{$coupon_count}
优惠券
全部订单
查看全部订单
{php} $order_status_num = api("System.Order.orderCount",['order_status' => 0]); $wait_pay = $order_status_num['data']; {/php}
{if $wait_pay > 99}
99+
{elseif $wait_pay > 0}
{$wait_pay}
{/if}
{:lang('member_pending_payment')}
{php} $order_status_num = api("System.Order.orderCount",['order_status' => 1]); $wait_delivery = $order_status_num['data']; {/php}
{if $wait_delivery > 99}
99+
{elseif $wait_delivery > 0}
{$wait_delivery}
{/if}
{:lang('member_shipment_pending')}
{php} $order_status_num = api("System.Order.orderCount",['order_status' => 2]); $wait_recieved = $order_status_num['data']; {/php}
{if $wait_recieved > 99}
99+
{elseif $wait_recieved > 0}
{$wait_recieved}
{/if}
{:lang('member_goods_received')}
{:lang('member_received_goods')}
{php} $order_status_num = api("System.Order.orderCount",['order_status' => -1]); $refunding = $order_status_num['data']; {/php}
{if $refunding > 99}
99+
{elseif $refunding > 0}
{$refunding}
{/if}
{:lang('refund_after_sale')}
{if addon_is_exit('Nsfx') == 1 && !empty($promoter_info)}

推广商品赢奖励

奖品多多

邀请好友共推广

齐心协力拉助力{$locknum}
{/if} {if addon_is_exit('Nsfx') == 1 }
{php} $user_account = api("System.Distribution.myCommission"); $user_account = $user_account['data']; $shopConfig = api("System.Distribution.shopConfig"); $shopConfig = $shopConfig['data']; {/php} {if condition = "$shopConfig.is_distribution_enable == 1"}
{if empty($promoter_info)}
分销中心
立即申请
{elseif $promoter_info['is_lock'] eq 1/}
分销中心
{else/}
分销中心
{/if}
{/if} {if !empty($promoter_info)}
￥{$user_account.commission}
累计佣金
￥{$user_account.commission_locked}
待审核
￥{$user_account.commission_withdraw}
已提现
{/if}
{/if}

{notempty name="$wapEntrance"} {foreach name="$wapEntrance" item="vo"} {if $vo.url == '/verification/index'} {php} $verification = api("System.Order.checkVerification"); $verification = $verification['data']; {/php} {if $verification}

- {$vo.title}

{/if} {else/}
- {if is_url($vo.url)} {else/} {/if}

  {$vo.title}

{/if} {/foreach} {/notempty}

{php} $copyright = api('System.Config.copyRight'); $copyright = $copyright['data']; {/php} {if $copyright['is_load'] > 0} {notempty name="$copyright['bottom_info']['copyright_logo']"} {else/} {/notempty} {notempty name="$copyright['bottom_info']['copyright_companyname']"} {$copyright['bottom_info']['copyright_companyname']} {else/} 山西牛酷信息科技有限公司 提供技术支持 {/notempty} {else/} 山西牛酷信息科技有限公司 提供技术支持 {/if}
{/block}