public ActionResult AjaxGetItens(int pageIndex = 1, int type = 0)
        {
            base.pageSize = 15;

            var list = FSHistorySer.GetItemModel(pageIndex, out TotalPage, "", base.pageSize, 0, true);

            return(WriteSuccess("", list));
        }
        public ActionResult Index()
        {
            base.pageSize = 15;
            var list = FSHistorySer.GetItemModel(1, out TotalPage, "", base.pageSize, 0, true);

            SetViewBagPage();
            ViewBag.list = list;
            return(View());
        }
Esempio n. 3
0
        // GET: /Home/
        public ActionResult Index()
        {
            HomeViewModel model = new HomeViewModel();

            model.FSHistoryList    = FSHistorySer.GetItemModel(1, out TotalPage, "", 10, 0, true).ToList();
            model.ImageList        = siteService.GetItems(1, 5, 0, true).ToList();
            model.NewList          = news.NewPageList(1, 1, "", out TotalPage, 10, true);
            model.NewListType      = news.NewPageList(1, 3, "", out TotalPage, 10, true);
            model.vipUserImageList = Commerce.GetItemModel(1, "", out TotalPage, 2, 1000, true).ToList();
            model.MemberTellList   = memberSer.GetMemberMsgByPage(1, pageSize, out TotalPage, 1, false);
            model.MemberNewsList   = memberSer.GetMemberMsgByPage(1, pageSize, out TotalPage, 2, false);
            model.MemberZhaoList   = memberSer.GetMemberMsgByPage(1, pageSize, out TotalPage, 3, false);
            ViewBag.ModelList      = model;
            return(View());
        }
Esempio n. 4
0
        //
        // GET: /admin/FSHistory/

        public ActionResult Index()
        {
            ViewBag.DateList = FSHistorySer.GetItemModel(1, out TotalPage, "");
            SetViewBagPage();
            return(View());
        }
Esempio n. 5
0
        public ActionResult SearchCommerce(int index, string name)
        {
            var list = FSHistorySer.GetItemModel(index, out TotalPage, name);

            return(Json(new { rowCount = TotalPage, pageCount = ViewBag.PageCount, date = list }));
        }