Exemplo n.º 1
0
 /// <summary>
 /// 转账电话
 /// </summary>
 /// <param name="p">页数</param>
 /// <returns></returns>
 public ActionResult CVEPT(int p = 1)
 {
     long count;
     SearchTermsModel search = new SearchTermsModel() { Action = ViewBag.ActionName };
     ViewBag.ZFTList = SearchService.Search(search, out count, p);
     ViewBag.Count = count;
     ViewBag.Page = p < 1 ? 1 : p;
     ViewBag.Title = "转账电话";
     ViewBag.ActiveId = 3;
     return View("Common");
 }
Exemplo n.º 2
0
 /// <summary>
 /// 协议组件
 /// </summary>
 /// <param name="p"></param>
 /// <returns></returns>
 public ActionResult ProtocolComponent(int p = 1)
 {
     long count;
     SearchTermsModel search = new SearchTermsModel() { Action = ViewBag.ActionName };
     ViewBag.ZFTList = SearchService.Search(search, out count, p);
     ViewBag.Count = count;
     ViewBag.Page = p < 1 ? 1 : p;
     ViewBag.Title = "协议组件";
     ViewBag.ActiveId = 5;
     return View("Common");
 }
Exemplo n.º 3
0
        /// <summary>
        /// 搜索
        /// </summary>
        /// <returns>视图</returns>
        public ActionResult Search(SearchTermsModel search, int p = 1, string at = null)
        {
            //long count;
            //if (!string.IsNullOrWhiteSpace(at))
            //{
            //    search.Action = at;
            //}
            //ViewBag.ZFTList = SearchService.Search(search, out count, p);
            //ViewBag.Count = count;
            //ViewBag.Page = p < 1 ? 1 : p;

            return View("NewSearch");
        }
Exemplo n.º 4
0
 public ActionResult jh(int p =1)
 {
     long count;
     SearchTermsModel search = new SearchTermsModel() { Action = "newindex" };
     ViewBag.ZFTList = SearchService.Search<log_list>(search, out count, p);
     ViewBag.Count = count;
     ViewBag.Page = p < 1 ? 1 : p;
     ViewBag.Title = "转账电话";
     ViewBag.ActiveId = 13;
     return View();
 }