{extend name="$member_base" /} {block name="right_main"} {php} $point_list = api("System.Member.accountRecordsList",['page_index'=>$page_index, 'account_type' => 1]); $point_list = $point_list['data']; $total_count = $point_list['total_count']; // 会员账户信息 $member_account = api("System.Member.memberAccount"); $member_account = $member_account['data']; {/php}
我的积分
{$member_account.point}

时间 | 收/支 | 详细说明
--- | --- | ---
{notempty name="$point_list['data']"} {foreach $point_list['data'] as $point}
{$point.create_time | getTimeStampTurnTime} | {$point.number} | {$point.text}
{/foreach} {else/}
您还没有与积分相关的数据！
{/notempty}

{if condition="$total_count>0"}

{/if} {/block} {block name="script"}
{/block}