拆分head和foot