case 4 }); function toDetail(id){ let path = "/yisheng/"+id return path+'.html' // let are ^…