完善SwitchView and 修复主页错误