<foreach name='parent' item='v'> <foreach name='son' item='vv'> <if condition="$vv.pid eq $v.id"> p_auth字符串的值等于s_auth的值 </if> </foreach> </foreach>