{if ($userinfo['phone'])}
已绑定号码
{$userinfo['phone']}
{else}
手机号码
验证码
{/if}
{if (!$userinfo['phone'])} {/if}