@Html.ActionLink("首页", "Index", "Index", new{},new { @class = "nav-link" });

routeValues参数以前喜欢用null,现在觉得使用匿名参数更好。匿名参数“new{}”