public static string GetThemeName(HttpContextBase hc) { var themeName = hc.获取当前用户().登录信息.主题; return !string.IsNullOrWhiteSpace(themeName) ? themeName : !string.IsNullOrWhiteSpace(AppDefaultThemeName) ? AppDefaultThemeName : DefaultThemeName; }