{eyou:models type="top" id="field1" currentstyle="active"}
{$field1.currentstyle}
{eyou:models name="$field1.children" id="field2" currentstyle="active"}
{$field2.currentstyle}
{/eyou:models}
{/eyou:models}
上述代码中,{$field1.currentstyle}有active值,{$field2.currentstyle}全部都是空值?