{eyou:assign name="typeid" value="$eyou.field.typeid"}//栏目页显示数量,列表显示的话改$field.typeid {eyou:sql sql='Select count(*) as AllNum from ey_arctype where parent_id = $typeid AND is_del = 0 AND status = 1' cachetime='-1'} {$field.AllNum} {/eyou:sql}
{eyou:assign name="typeid" value="$eyou.field.typeid"}//栏目页显示数量,列表显示的话改$field.typeid {eyou:sql sql='Select count(*) as AllNum from ey_arctype where parent_id = $typeid AND is_del = 0 AND status = 1' cachetime='-1'} {$field.AllNum} {/eyou:sql}
教程内容BUG提交
提交