Ejemplo n.º 1
0
        public ActionResult Index()
        {
            List <IndexImage> indeximagelist = new JiaJiNewWebBLL.ImageBLL().IndexImageLsit();  //获取日期倒序显示前三条

            ViewData["indeximagelist"] = indeximagelist;


            //List<JiaJiNewWebModel.Active> activelist= new JiaJiNewWebBLL.ActiveBLL.ActiveLsit(国家最新活动数据显示点击热度最高的前五条
            //List<JiaJiNewWebModel.TeamIndexModel> termList = new JiaJiNewWebBLL.TeamBLL().TeamindexList(); //精英团队信息

            List <JiaJiNewWebModel.CountryDominant> HaiWaiIndexList = new JiaJiNewWebBLL.ApplyBLL().HaiWaiLiuXueIndexList(); //首页加载先显示美国的信息
            List <Information>             infolist   = infobll.GetInformationTopList();                                     //留学资讯
            List <JiaJiNewWebModel.Active> activelist = activebll.ActiveLsitIndex();                                         //根据

            ViewBag.infolist   = infolist;
            ViewBag.activelist = activelist;
            //ViewBag.teamList = termList;
            ViewBag.solutionList   = new JiaJiNewWebBLL.SolutionBLL().SolutionIndexList();  //获取解决方案的信息
            ViewBag.SolutionBuZhou = new JiaJiNewWebBLL.SolutionBLL().SolutionBuZhouList(); //获取解决方案步骤
            //ViewBag.LaugList = new JiaJiNewWebBLL.LanguageBLL().GetPeixunList();  //语言培训的内容显示位于页底
            //ViewBag.indexliuxue = new JiaJiNewWebBLL.LunBoImageBLL().IndexLXueList();  //首页留学
            //ViewBag.medium = mebll.GetMedium();     //媒体
            ViewBag.projectitem = projectbll.ProjectShow();

            ViewBag.indexzixun = new JiaJiNewWebBLL.LunBoImageBLL().IndexInforImage();  //首页资讯图片


            return(View());
        }
Ejemplo n.º 2
0
        ///<summary>
        ///获取背景提升项目
        /// </summary>
        /// <param></param>
        /// <returns></returns>
        public static List <JiaJiNewWebModel.projectItem> projectshow()
        {
            JiaJiNewWebBLL.ProjectBLL pbll = new JiaJiNewWebBLL.ProjectBLL();

            return(pbll.ProjectShow());
        }
Ejemplo n.º 3
0
 ///<summary>
 ///获取背景提升项目
 /// </summary>
 /// <param></param>
 /// <returns></returns>
 public string ProjectShow()
 {
     return(JsonConvert.SerializeObject(projectbll.ProjectShow()));
 }