{extend name="$base" /} {block name="resources"} {/block} {block name="head_href"}{:__URL('APP_MAIN/member/index')}{/block} {block name="main"} {php} $promoter_info = api("System.Distribution.promoterDetail"); $promoter_info = $promoter_info['data']; $member_info = api('System.Member.memberInfo'); $member_info = $member_info['data']; $shop_config = api('System.Distribution.shopConfig'); $shop_config = $shop_config['data']; if (!empty($member_info['user_info']['user_headimg'])) { $member_img = $member_info['user_info']['user_headimg']; } else { $member_img = '0'; } //分销商品列表 if($promoter_info) { $goods_list = api('System.Distribution.distributionGoodsList', ['page' => 1, 'page_size' => 4, 'uid' => $uid, 'type' => 'selected']); $goods_list = $goods_list['data']; } {/php} {notempty name="$promoter_info"}
{eq name="$member_img" value="0"} {else/} {/eq}
{$promoter_info["promoter_shop_name"]}的店铺
{$promoter_info['promoter_level_info']['level_name']}

{$promoter_info.team_count} {$promoter_info["commission"]['commission_cash']} {$promoter_info["commission"]['commission']}

我的团队 可提现佣金 累计佣金

推荐商品
添加推荐商品
{if !empty($goods_list['data'])}

{foreach $goods_list['data'] as $k => $v}
{/foreach}

{/if}
{else/}
{/notempty} {/block} {block name="footer"}{/block}