{if in_array('wx', $types)} 微信登录 {/if} {if in_array('qq', $types)} QQ登录 {/if} {if in_array('sina', $types)} 微博登录 {/if}